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 @@ + + + + + diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/build.properties b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/build.properties index ee4c0e5e61..5c4361f507 100644 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/build.properties +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/build.properties @@ -8,7 +8,8 @@ # Oracle - initial API and implementation ################################################################################ source.. = src/,\ - property_files/ + model/src/,\ + property_files/ output.. = bin/ bin.includes = .,\ META-INF/,\ diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/eclipseLinkResourceModels.genmodel b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/eclipseLinkResourceModels.genmodel index 9d06acd532..f7808e1ed6 100644 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/eclipseLinkResourceModels.genmodel +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/eclipseLinkResourceModels.genmodel @@ -1,10 +1,11 @@ eclipselink_orm.ecore + * A representation of the model object 'Attributes'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.Attributes#getBasicCollections Basic Collections}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.Attributes#getBasicMaps Basic Maps}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.Attributes#getTransformations Transformations}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.Attributes#getVariableOneToOnes Variable One To Ones}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getAttributes() + * @model kind="class" + * @generated + */ +public class Attributes extends org.eclipse.jpt.jpa.core.resource.orm.Attributes implements XmlAttributes_2_3 +{ + /** + * The cached value of the '{@link #getStructures() Structures}' containment reference list. + * + * + * @see #getStructures() + * @generated + * @ordered + */ + protected EList structures; + + /** + * The cached value of the '{@link #getArrays() Arrays}' containment reference list. + * + * + * @see #getArrays() + * @generated + * @ordered + */ + protected EList arrays; + + /** + * The cached value of the '{@link #getBasicCollections() Basic Collections}' containment reference list. + * + * + * @see #getBasicCollections() + * @generated + * @ordered + */ + protected EList basicCollections; + + /** + * The cached value of the '{@link #getBasicMaps() Basic Maps}' containment reference list. + * + * + * @see #getBasicMaps() + * @generated + * @ordered + */ + protected EList basicMaps; + + /** + * The cached value of the '{@link #getTransformations() Transformations}' containment reference list. + * + * + * @see #getTransformations() + * @generated + * @ordered + */ + protected EList transformations; + + /** + * The cached value of the '{@link #getVariableOneToOnes() Variable One To Ones}' containment reference list. + * + * + * @see #getVariableOneToOnes() + * @generated + * @ordered + */ + protected EList variableOneToOnes; + + /** + * + * + * @generated + */ + protected Attributes() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.ATTRIBUTES; + } + + /** + * Returns the value of the 'Structures' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlStructure_2_3}. + * + *

+ * 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 getStructures() + { + if (structures == null) + { + structures = new EObjectContainmentEList(XmlStructure_2_3.class, this, EclipseLinkOrmPackage.ATTRIBUTES__STRUCTURES); + } + return structures; + } + + /** + * Returns the value of the 'Arrays' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlArray_2_3}. + * + *

+ * 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 getArrays() + { + if (arrays == null) + { + arrays = new EObjectContainmentEList(XmlArray_2_3.class, this, EclipseLinkOrmPackage.ATTRIBUTES__ARRAYS); + } + return arrays; + } + + /** + * Returns the value of the 'Basic Collections' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasicCollection}. + * + *

+ * 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 getBasicCollections() + { + if (basicCollections == null) + { + basicCollections = new EObjectContainmentEList(XmlBasicCollection.class, this, EclipseLinkOrmPackage.ATTRIBUTES__BASIC_COLLECTIONS); + } + return basicCollections; + } + + /** + * Returns the value of the 'Basic Maps' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasicMap}. + * + *

+ * 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 getBasicMaps() + { + if (basicMaps == null) + { + basicMaps = new EObjectContainmentEList(XmlBasicMap.class, this, EclipseLinkOrmPackage.ATTRIBUTES__BASIC_MAPS); + } + return basicMaps; + } + + /** + * Returns the value of the 'Transformations' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTransformation}. + * + *

+ * 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 getTransformations() + { + if (transformations == null) + { + transformations = new EObjectContainmentEList(XmlTransformation.class, this, EclipseLinkOrmPackage.ATTRIBUTES__TRANSFORMATIONS); + } + return transformations; + } + + /** + * Returns the value of the 'Variable One To Ones' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlVariableOneToOne}. + * + *

+ * 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 getVariableOneToOnes() + { + if (variableOneToOnes == null) + { + variableOneToOnes = new EObjectContainmentEList(XmlVariableOneToOne.class, this, EclipseLinkOrmPackage.ATTRIBUTES__VARIABLE_ONE_TO_ONES); + } + return variableOneToOnes; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case EclipseLinkOrmPackage.ATTRIBUTES__STRUCTURES: + return ((InternalEList)getStructures()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.ATTRIBUTES__ARRAYS: + return ((InternalEList)getArrays()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.ATTRIBUTES__BASIC_COLLECTIONS: + return ((InternalEList)getBasicCollections()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.ATTRIBUTES__BASIC_MAPS: + return ((InternalEList)getBasicMaps()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.ATTRIBUTES__TRANSFORMATIONS: + return ((InternalEList)getTransformations()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.ATTRIBUTES__VARIABLE_ONE_TO_ONES: + return ((InternalEList)getVariableOneToOnes()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.ATTRIBUTES__STRUCTURES: + return getStructures(); + case EclipseLinkOrmPackage.ATTRIBUTES__ARRAYS: + return getArrays(); + case EclipseLinkOrmPackage.ATTRIBUTES__BASIC_COLLECTIONS: + return getBasicCollections(); + case EclipseLinkOrmPackage.ATTRIBUTES__BASIC_MAPS: + return getBasicMaps(); + case EclipseLinkOrmPackage.ATTRIBUTES__TRANSFORMATIONS: + return getTransformations(); + case EclipseLinkOrmPackage.ATTRIBUTES__VARIABLE_ONE_TO_ONES: + return getVariableOneToOnes(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.ATTRIBUTES__STRUCTURES: + getStructures().clear(); + getStructures().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.ATTRIBUTES__ARRAYS: + getArrays().clear(); + getArrays().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.ATTRIBUTES__BASIC_COLLECTIONS: + getBasicCollections().clear(); + getBasicCollections().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.ATTRIBUTES__BASIC_MAPS: + getBasicMaps().clear(); + getBasicMaps().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.ATTRIBUTES__TRANSFORMATIONS: + getTransformations().clear(); + getTransformations().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.ATTRIBUTES__VARIABLE_ONE_TO_ONES: + getVariableOneToOnes().clear(); + getVariableOneToOnes().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.ATTRIBUTES__STRUCTURES: + getStructures().clear(); + return; + case EclipseLinkOrmPackage.ATTRIBUTES__ARRAYS: + getArrays().clear(); + return; + case EclipseLinkOrmPackage.ATTRIBUTES__BASIC_COLLECTIONS: + getBasicCollections().clear(); + return; + case EclipseLinkOrmPackage.ATTRIBUTES__BASIC_MAPS: + getBasicMaps().clear(); + return; + case EclipseLinkOrmPackage.ATTRIBUTES__TRANSFORMATIONS: + getTransformations().clear(); + return; + case EclipseLinkOrmPackage.ATTRIBUTES__VARIABLE_ONE_TO_ONES: + getVariableOneToOnes().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.ATTRIBUTES__STRUCTURES: + return structures != null && !structures.isEmpty(); + case EclipseLinkOrmPackage.ATTRIBUTES__ARRAYS: + return arrays != null && !arrays.isEmpty(); + case EclipseLinkOrmPackage.ATTRIBUTES__BASIC_COLLECTIONS: + return basicCollections != null && !basicCollections.isEmpty(); + case EclipseLinkOrmPackage.ATTRIBUTES__BASIC_MAPS: + return basicMaps != null && !basicMaps.isEmpty(); + case EclipseLinkOrmPackage.ATTRIBUTES__TRANSFORMATIONS: + return transformations != null && !transformations.isEmpty(); + case EclipseLinkOrmPackage.ATTRIBUTES__VARIABLE_ONE_TO_ONES: + return variableOneToOnes != null && !variableOneToOnes.isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public int eBaseStructuralFeatureID(int derivedFeatureID, Class baseClass) + { + if (baseClass == XmlAttributes_2_3.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.ATTRIBUTES__STRUCTURES: return EclipseLinkOrmV2_3Package.XML_ATTRIBUTES_23__STRUCTURES; + case EclipseLinkOrmPackage.ATTRIBUTES__ARRAYS: return EclipseLinkOrmV2_3Package.XML_ATTRIBUTES_23__ARRAYS; + default: return -1; + } + } + return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); + } + + /** + * + * + * @generated + */ + @Override + public int eDerivedStructuralFeatureID(int baseFeatureID, Class baseClass) + { + if (baseClass == XmlAttributes_2_3.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_3Package.XML_ATTRIBUTES_23__STRUCTURES: return EclipseLinkOrmPackage.ATTRIBUTES__STRUCTURES; + case EclipseLinkOrmV2_3Package.XML_ATTRIBUTES_23__ARRAYS: return EclipseLinkOrmPackage.ATTRIBUTES__ARRAYS; + default: return -1; + } + } + return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass); + } + + @Override + public List getAttributeMappings() { + // convert lists to arrays to avoid ConcurrentModificationException while adding to result list + ArrayList attributeMappings = new ArrayList(); + CollectionTools.addAll(attributeMappings, this.getIds().toArray(EMPTY_XML_ATTRIBUTE_MAPPING_ARRAY)); + CollectionTools.addAll(attributeMappings, this.getEmbeddedIds().toArray(EMPTY_XML_ATTRIBUTE_MAPPING_ARRAY)); + CollectionTools.addAll(attributeMappings, this.getBasics().toArray(EMPTY_XML_ATTRIBUTE_MAPPING_ARRAY)); + CollectionTools.addAll(attributeMappings, this.getBasicCollections().toArray(EMPTY_XML_ATTRIBUTE_MAPPING_ARRAY)); + CollectionTools.addAll(attributeMappings, this.getBasicMaps().toArray(EMPTY_XML_ATTRIBUTE_MAPPING_ARRAY)); + CollectionTools.addAll(attributeMappings, this.getVersions().toArray(EMPTY_XML_ATTRIBUTE_MAPPING_ARRAY)); + CollectionTools.addAll(attributeMappings, this.getManyToOnes().toArray(EMPTY_XML_ATTRIBUTE_MAPPING_ARRAY)); + CollectionTools.addAll(attributeMappings, this.getOneToManys().toArray(EMPTY_XML_ATTRIBUTE_MAPPING_ARRAY)); + CollectionTools.addAll(attributeMappings, this.getOneToOnes().toArray(EMPTY_XML_ATTRIBUTE_MAPPING_ARRAY)); + CollectionTools.addAll(attributeMappings, this.getVariableOneToOnes().toArray(EMPTY_XML_ATTRIBUTE_MAPPING_ARRAY)); + CollectionTools.addAll(attributeMappings, this.getManyToManys().toArray(EMPTY_XML_ATTRIBUTE_MAPPING_ARRAY)); + CollectionTools.addAll(attributeMappings, this.getElementCollections().toArray(EMPTY_XML_ATTRIBUTE_MAPPING_ARRAY)); + CollectionTools.addAll(attributeMappings, this.getEmbeddeds().toArray(EMPTY_XML_ATTRIBUTE_MAPPING_ARRAY)); + CollectionTools.addAll(attributeMappings, this.getTransformations().toArray(EMPTY_XML_ATTRIBUTE_MAPPING_ARRAY)); + CollectionTools.addAll(attributeMappings, this.getTransients().toArray(EMPTY_XML_ATTRIBUTE_MAPPING_ARRAY)); + CollectionTools.addAll(attributeMappings, this.getArrays().toArray(EMPTY_XML_ATTRIBUTE_MAPPING_ARRAY)); + CollectionTools.addAll(attributeMappings, this.getStructures().toArray(EMPTY_XML_ATTRIBUTE_MAPPING_ARRAY)); + return attributeMappings; + } + + protected static final XmlAttributeMapping[] EMPTY_XML_ATTRIBUTE_MAPPING_ARRAY = new XmlAttributeMapping[0]; + + // ********** translators ********** + + public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) { + return new SimpleTranslator( + elementName, + structuralFeature, + EclipseLinkOrmPackage.eINSTANCE.getAttributes(), + buildTranslatorChildren()); + } + + public static Translator buildTranslator() { + return buildTranslator( + EclipseLink.ATTRIBUTES, + OrmPackage.eINSTANCE.getXmlTypeMapping_Attributes()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + XmlId.buildTranslator(EclipseLink2_0.ID, OrmPackage.eINSTANCE.getAttributes_Ids()), + XmlEmbeddedId.buildTranslator(EclipseLink2_0.EMBEDDED_ID, OrmPackage.eINSTANCE.getAttributes_EmbeddedIds()), + XmlBasic.buildTranslator(EclipseLink2_0.BASIC, OrmPackage.eINSTANCE.getAttributes_Basics()), + XmlBasicCollection.buildTranslator(EclipseLink2_0.BASIC_COLLECTION, EclipseLinkOrmPackage.eINSTANCE.getAttributes_BasicCollections()), + XmlBasicMap.buildTranslator(EclipseLink2_0.BASIC_MAP, EclipseLinkOrmPackage.eINSTANCE.getAttributes_BasicMaps()), + XmlVersion.buildTranslator(EclipseLink2_0.VERSION, OrmPackage.eINSTANCE.getAttributes_Versions()), + XmlManyToOne.buildTranslator(EclipseLink2_0.MANY_TO_ONE, OrmPackage.eINSTANCE.getAttributes_ManyToOnes()), + XmlOneToMany.buildTranslator(EclipseLink2_0.ONE_TO_MANY, OrmPackage.eINSTANCE.getAttributes_OneToManys()), + XmlOneToOne.buildTranslator(EclipseLink2_0.ONE_TO_ONE, OrmPackage.eINSTANCE.getAttributes_OneToOnes()), + XmlVariableOneToOne.buildTranslator(EclipseLink2_0.VARIABLE_ONE_TO_ONE, EclipseLinkOrmPackage.eINSTANCE.getAttributes_VariableOneToOnes()), + XmlManyToMany.buildTranslator(EclipseLink2_0.MANY_TO_MANY, OrmPackage.eINSTANCE.getAttributes_ManyToManys()), + XmlElementCollection.buildTranslator(EclipseLink2_0.ELEMENT_COLLECTION, OrmV2_0Package.eINSTANCE.getXmlAttributes_2_0_ElementCollections()), + XmlEmbedded.buildTranslator(EclipseLink2_0.EMBEDDED, OrmPackage.eINSTANCE.getAttributes_Embeddeds()), + XmlTransformation.buildTranslator(EclipseLink2_0.TRANSFORMATION, EclipseLinkOrmPackage.eINSTANCE.getAttributes_Transformations()), + XmlTransient.buildTranslator(EclipseLink2_0.TRANSIENT, OrmPackage.eINSTANCE.getAttributes_Transients()), + XmlStructure.buildTranslator(EclipseLink2_3.STRUCTURE, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlAttributes_2_3_Structures()), + XmlArray.buildTranslator(EclipseLink2_3.ARRAY, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlAttributes_2_3_Arrays()), + }; + } +} diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/CacheCoordinationType.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/CacheCoordinationType.java new file mode 100644 index 0000000000..ce93ec06d2 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/CacheCoordinationType.java @@ -0,0 +1,295 @@ +/******************************************************************************* + * 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 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 'Cache Coordination 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#getCacheCoordinationType() + * @model + * @generated + */ +public enum CacheCoordinationType implements Enumerator +{ + /** + * The 'SEND OBJECT CHANGES' literal object. + * + * + * @see #SEND_OBJECT_CHANGES_VALUE + * @generated + * @ordered + */ + SEND_OBJECT_CHANGES(0, "SEND_OBJECT_CHANGES", "SEND_OBJECT_CHANGES"), + + /** + * The 'INVALIDATE CHANGED OBJECTS' literal object. + * + * + * @see #INVALIDATE_CHANGED_OBJECTS_VALUE + * @generated + * @ordered + */ + INVALIDATE_CHANGED_OBJECTS(1, "INVALIDATE_CHANGED_OBJECTS", "INVALIDATE_CHANGED_OBJECTS"), + + /** + * The 'SEND NEW OBJECTS WITH CHANGES' literal object. + * + * + * @see #SEND_NEW_OBJECTS_WITH_CHANGES_VALUE + * @generated + * @ordered + */ + SEND_NEW_OBJECTS_WITH_CHANGES(2, "SEND_NEW_OBJECTS_WITH_CHANGES", "SEND_NEW_OBJECTS_WITH_CHANGES"), + + /** + * The 'NONE' literal object. + * + * + * @see #NONE_VALUE + * @generated + * @ordered + */ + NONE(3, "NONE", "NONE"); + + /** + * The 'SEND OBJECT CHANGES' literal value. + * + *

+ * 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 VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the 'Cache Coordination Type' literal with the specified literal value. + * + * + * @generated + */ + public static CacheCoordinationType get(String literal) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + CacheCoordinationType result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Cache Coordination Type' literal with the specified name. + * + * + * @generated + */ + public static CacheCoordinationType getByName(String name) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + CacheCoordinationType result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Cache Coordination Type' literal with the specified integer value. + * + * + * @generated + */ + public static CacheCoordinationType get(int value) + { + switch (value) + { + case SEND_OBJECT_CHANGES_VALUE: return SEND_OBJECT_CHANGES; + case INVALIDATE_CHANGED_OBJECTS_VALUE: return INVALIDATE_CHANGED_OBJECTS; + case SEND_NEW_OBJECTS_WITH_CHANGES_VALUE: return SEND_NEW_OBJECTS_WITH_CHANGES; + case NONE_VALUE: return NONE; + } + return null; + } + + /** + * + * + * @generated + */ + private final int value; + + /** + * + * + * @generated + */ + private final String name; + + /** + * + * + * @generated + */ + private final String literal; + + /** + * Only this class can construct instances. + * + * + * @generated + */ + private CacheCoordinationType(int value, String name, String literal) + { + this.value = value; + this.name = name; + this.literal = literal; + } + + /** + * + * + * @generated + */ + public int getValue() + { + return value; + } + + /** + * + * + * @generated + */ + public String getName() + { + return name; + } + + /** + * + * + * @generated + */ + public String getLiteral() + { + return literal; + } + + /** + * Returns the literal value of the enumerator, which is its string representation. + * + * + * @generated + */ + @Override + public String toString() + { + return literal; + } + +} //CacheCoordinationType diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/CacheType.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/CacheType.java new file mode 100644 index 0000000000..2d35af2d10 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/CacheType.java @@ -0,0 +1,373 @@ +/******************************************************************************* + * 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 java.util.Arrays; +import java.util.Collections; +import java.util.List; +import org.eclipse.emf.common.util.Enumerator; + +/** + * + * + * 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#getCacheType() + * @model + * @generated + */ +public enum CacheType implements Enumerator +{ + /** + * The 'FULL' literal object. + * + * + * @see #FULL_VALUE + * @generated + * @ordered + */ + FULL(0, "FULL", "FULL"), + + /** + * The 'WEAK' literal object. + * + * + * @see #WEAK_VALUE + * @generated + * @ordered + */ + WEAK(1, "WEAK", "WEAK"), + + /** + * The 'SOFT' literal object. + * + * + * @see #SOFT_VALUE + * @generated + * @ordered + */ + SOFT(2, "SOFT", "SOFT"), + + /** + * The 'SOFT WEAK' literal object. + * + * + * @see #SOFT_WEAK_VALUE + * @generated + * @ordered + */ + SOFT_WEAK(3, "SOFT_WEAK", "SOFT_WEAK"), + + /** + * The 'HARD WEAK' literal object. + * + * + * @see #HARD_WEAK_VALUE + * @generated + * @ordered + */ + HARD_WEAK(4, "HARD_WEAK", "HARD_WEAK"), + + /** + * The 'CACHE' literal object. + * + * + * @see #CACHE_VALUE + * @generated + * @ordered + */ + CACHE(5, "CACHE", "CACHE"), + + /** + * The 'NONE' literal object. + * + * + * @see #NONE_VALUE + * @generated + * @ordered + */ + NONE(6, "NONE", "NONE"); + + /** + * The 'FULL' literal value. + * + *

+ * 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 List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the 'Cache Type' literal with the specified literal value. + * + * + * @generated + */ + public static CacheType get(String literal) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + CacheType result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Cache Type' literal with the specified name. + * + * + * @generated + */ + public static CacheType getByName(String name) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + CacheType result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Cache Type' literal with the specified integer value. + * + * + * @generated + */ + public static CacheType get(int value) + { + switch (value) + { + case FULL_VALUE: return FULL; + case WEAK_VALUE: return WEAK; + case SOFT_VALUE: return SOFT; + case SOFT_WEAK_VALUE: return SOFT_WEAK; + case HARD_WEAK_VALUE: return HARD_WEAK; + case CACHE_VALUE: return CACHE; + case NONE_VALUE: return NONE; + } + return null; + } + + /** + * + * + * @generated + */ + private final int value; + + /** + * + * + * @generated + */ + private final String name; + + /** + * + * + * @generated + */ + private final String literal; + + /** + * Only this class can construct instances. + * + * + * @generated + */ + private CacheType(int value, String name, String literal) + { + this.value = value; + this.name = name; + this.literal = literal; + } + + /** + * + * + * @generated + */ + public int getValue() + { + return value; + } + + /** + * + * + * @generated + */ + public String getName() + { + return name; + } + + /** + * + * + * @generated + */ + public String getLiteral() + { + return literal; + } + + /** + * Returns the literal value of the enumerator, which is its string representation. + * + * + * @generated + */ + @Override + public String toString() + { + return literal; + } + +} //CacheType diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/EclipseLinkOrmFactory.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/EclipseLinkOrmFactory.java new file mode 100644 index 0000000000..b52b8299ac --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/EclipseLinkOrmFactory.java @@ -0,0 +1,1259 @@ +/******************************************************************************* + * 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.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.impl.EFactoryImpl; +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +/** + * + * The Factory for the model. + * It provides a create method for each non-abstract class of the model. + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage + * @generated + */ +public class EclipseLinkOrmFactory extends EFactoryImpl +{ + + /** + * The singleton instance of the factory. + * + * + * @generated + */ + public static final EclipseLinkOrmFactory eINSTANCE = init(); + + /** + * Creates the default factory implementation. + * + * + * @generated + */ + public static EclipseLinkOrmFactory init() + { + try + { + EclipseLinkOrmFactory theEclipseLinkOrmFactory = (EclipseLinkOrmFactory)EPackage.Registry.INSTANCE.getEFactory("jpt.eclipselink.orm.xmi"); + if (theEclipseLinkOrmFactory != null) + { + return theEclipseLinkOrmFactory; + } + } + catch (Exception exception) + { + EcorePlugin.INSTANCE.log(exception); + } + return new EclipseLinkOrmFactory(); + } + + /** + * Creates an instance of the factory. + * + * + * @generated + */ + public EclipseLinkOrmFactory() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + public EObject create(EClass eClass) + { + switch (eClass.getClassifierID()) + { + case EclipseLinkOrmPackage.XML_ACCESS_METHODS: return (EObject)createXmlAccessMethods(); + case EclipseLinkOrmPackage.XML_ADDITIONAL_CRITERIA: return (EObject)createXmlAdditionalCriteria(); + case EclipseLinkOrmPackage.XML_ARRAY: return (EObject)createXmlArray(); + case EclipseLinkOrmPackage.ATTRIBUTES: return (EObject)createAttributes(); + case EclipseLinkOrmPackage.XML_BASIC: return (EObject)createXmlBasic(); + case EclipseLinkOrmPackage.XML_BASIC_COLLECTION: return (EObject)createXmlBasicCollection(); + case EclipseLinkOrmPackage.XML_BASIC_MAP: return (EObject)createXmlBasicMap(); + case EclipseLinkOrmPackage.XML_BATCH_FETCH: return (EObject)createXmlBatchFetch(); + case EclipseLinkOrmPackage.XML_CACHE: return (EObject)createXmlCache(); + case EclipseLinkOrmPackage.XML_CACHE_INDEX: return (EObject)createXmlCacheIndex(); + case EclipseLinkOrmPackage.XML_CHANGE_TRACKING: return (EObject)createXmlChangeTracking(); + case EclipseLinkOrmPackage.XML_CLONE_COPY_POLICY: return (EObject)createXmlCloneCopyPolicy(); + case EclipseLinkOrmPackage.XML_COLLECTION_TABLE: return (EObject)createXmlCollectionTable(); + case EclipseLinkOrmPackage.XML_CONVERSION_VALUE: return (EObject)createXmlConversionValue(); + case EclipseLinkOrmPackage.XML_CONVERTER: return (EObject)createXmlConverter(); + case EclipseLinkOrmPackage.XML_COPY_POLICY: return (EObject)createXmlCopyPolicy(); + case EclipseLinkOrmPackage.XML_CUSTOMIZER: return (EObject)createXmlCustomizer(); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION: return (EObject)createXmlElementCollection(); + case EclipseLinkOrmPackage.XML_EMBEDDABLE: return (EObject)createXmlEmbeddable(); + case EclipseLinkOrmPackage.XML_EMBEDDED: return (EObject)createXmlEmbedded(); + case EclipseLinkOrmPackage.XML_EMBEDDED_ID: return (EObject)createXmlEmbeddedId(); + case EclipseLinkOrmPackage.XML_ENTITY: return (EObject)createXmlEntity(); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS: return (EObject)createXmlEntityMappings(); + case EclipseLinkOrmPackage.XML_FETCH_ATTRIBUTE: return (EObject)createXmlFetchAttribute(); + case EclipseLinkOrmPackage.XML_FETCH_GROUP: return (EObject)createXmlFetchGroup(); + case EclipseLinkOrmPackage.XML_FIELD: return (EObject)createXmlField(); + case EclipseLinkOrmPackage.XML_HASH_PARTITIONING: return (EObject)createXmlHashPartitioning(); + case EclipseLinkOrmPackage.XML_ID: return (EObject)createXmlId(); + case EclipseLinkOrmPackage.XML_INDEX: return (EObject)createXmlIndex(); + case EclipseLinkOrmPackage.XML_INSTANTIATION_COPY_POLICY: return (EObject)createXmlInstantiationCopyPolicy(); + case EclipseLinkOrmPackage.XML_JOIN_FIELD: return (EObject)createXmlJoinField(); + case EclipseLinkOrmPackage.XML_JOIN_TABLE: return (EObject)createXmlJoinTable(); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY: return (EObject)createXmlManyToMany(); + case EclipseLinkOrmPackage.XML_MANY_TO_ONE: return (EObject)createXmlManyToOne(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS: return (EObject)createXmlMappedSuperclass(); + case EclipseLinkOrmPackage.XML_MULTITENANT: return (EObject)createXmlMultitenant(); + case EclipseLinkOrmPackage.XML_NAMED_CONVERTER: return (EObject)createXmlNamedConverter(); + case EclipseLinkOrmPackage.XML_NAMED_PLSQL_STORED_FUNCTION_QUERY: return (EObject)createXmlNamedPlsqlStoredFunctionQuery(); + case EclipseLinkOrmPackage.XML_NAMED_PLSQL_STORED_PROCEDURE_QUERY: return (EObject)createXmlNamedPlsqlStoredProcedureQuery(); + case EclipseLinkOrmPackage.XML_NAMED_STORED_FUNCTION_QUERY: return (EObject)createXmlNamedStoredFunctionQuery(); + case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY: return (EObject)createXmlNamedStoredProcedureQuery(); + case EclipseLinkOrmPackage.XML_NO_SQL: return (EObject)createXmlNoSql(); + case EclipseLinkOrmPackage.XML_OBJECT_TYPE_CONVERTER: return (EObject)createXmlObjectTypeConverter(); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY: return (EObject)createXmlOneToMany(); + case EclipseLinkOrmPackage.XML_ONE_TO_ONE: return (EObject)createXmlOneToOne(); + case EclipseLinkOrmPackage.XML_OPTIMISTIC_LOCKING: return (EObject)createXmlOptimisticLocking(); + case EclipseLinkOrmPackage.XML_ORDER_COLUMN: return (EObject)createXmlOrderColumn(); + case EclipseLinkOrmPackage.XML_PARTITIONING: return (EObject)createXmlPartitioning(); + case EclipseLinkOrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS: return (EObject)createXmlPersistenceUnitDefaults(); + case EclipseLinkOrmPackage.XML_PERSISTENCE_UNIT_METADATA: return (EObject)createXmlPersistenceUnitMetadata(); + case EclipseLinkOrmPackage.XML_PINNED_PARTITIONING: return (EObject)createXmlPinnedPartitioning(); + case EclipseLinkOrmPackage.XML_PLSQL_RECORD: return (EObject)createXmlPlsqlRecord(); + case EclipseLinkOrmPackage.XML_PLSQL_TABLE: return (EObject)createXmlPlsqlTable(); + case EclipseLinkOrmPackage.XML_PRIMARY_KEY: return (EObject)createXmlPrimaryKey(); + case EclipseLinkOrmPackage.XML_PROPERTY: return (EObject)createXmlProperty(); + case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS: return (EObject)createXmlQueryRedirectors(); + case EclipseLinkOrmPackage.XML_RANGE_PARTITIONING: return (EObject)createXmlRangePartitioning(); + case EclipseLinkOrmPackage.XML_REPLICATION_PARTITIONING: return (EObject)createXmlReplicationPartitioning(); + case EclipseLinkOrmPackage.XML_RETURN_INSERT: return (EObject)createXmlReturnInsert(); + case EclipseLinkOrmPackage.XML_ROUND_ROBIN_PARTITIONING: return (EObject)createXmlRoundRobinPartitioning(); + case EclipseLinkOrmPackage.XML_SECONDARY_TABLE: return (EObject)createXmlSecondaryTable(); + case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER: return (EObject)createXmlStoredProcedureParameter(); + case EclipseLinkOrmPackage.XML_STRUCT: return (EObject)createXmlStruct(); + case EclipseLinkOrmPackage.XML_STRUCT_CONVERTER: return (EObject)createXmlStructConverter(); + case EclipseLinkOrmPackage.XML_STRUCTURE: return (EObject)createXmlStructure(); + case EclipseLinkOrmPackage.XML_TABLE: return (EObject)createXmlTable(); + case EclipseLinkOrmPackage.XML_TABLE_GENERATOR: return (EObject)createXmlTableGenerator(); + case EclipseLinkOrmPackage.XML_TENANT_DISCRIMINATOR_COLUMN: return (EObject)createXmlTenantDiscriminatorColumn(); + case EclipseLinkOrmPackage.XML_TENANT_TABLE_DISCRIMINATOR: return (EObject)createXmlTenantTableDiscriminator(); + case EclipseLinkOrmPackage.XML_TIME_OF_DAY: return (EObject)createXmlTimeOfDay(); + case EclipseLinkOrmPackage.XML_TRANSFORMATION: return (EObject)createXmlTransformation(); + case EclipseLinkOrmPackage.XML_TRANSIENT: return (EObject)createXmlTransient(); + case EclipseLinkOrmPackage.XML_TYPE_CONVERTER: return (EObject)createXmlTypeConverter(); + case EclipseLinkOrmPackage.XML_UNION_PARTITIONING: return (EObject)createXmlUnionPartitioning(); + case EclipseLinkOrmPackage.XML_UUID_GENERATOR: return (EObject)createXmlUuidGenerator(); + case EclipseLinkOrmPackage.XML_VALUE_PARTITIONING: return (EObject)createXmlValuePartitioning(); + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE: return (EObject)createXmlVariableOneToOne(); + case EclipseLinkOrmPackage.XML_VERSION: return (EObject)createXmlVersion(); + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + @Override + public Object createFromString(EDataType eDataType, String initialValue) + { + switch (eDataType.getClassifierID()) + { + case EclipseLinkOrmPackage.CACHE_COORDINATION_TYPE: + return createCacheCoordinationTypeFromString(eDataType, initialValue); + case EclipseLinkOrmPackage.CACHE_TYPE: + return createCacheTypeFromString(eDataType, initialValue); + case EclipseLinkOrmPackage.XML_CHANGE_TRACKING_TYPE: + return createXmlChangeTrackingTypeFromString(eDataType, initialValue); + case EclipseLinkOrmPackage.XML_DIRECTION: + return createXmlDirectionFromString(eDataType, initialValue); + case EclipseLinkOrmPackage.EXISTENCE_TYPE: + return createExistenceTypeFromString(eDataType, initialValue); + case EclipseLinkOrmPackage.XML_JOIN_FETCH_TYPE: + return createXmlJoinFetchTypeFromString(eDataType, initialValue); + case EclipseLinkOrmPackage.XML_OPTIMISTIC_LOCKING_TYPE: + return createXmlOptimisticLockingTypeFromString(eDataType, initialValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + @Override + public String convertToString(EDataType eDataType, Object instanceValue) + { + switch (eDataType.getClassifierID()) + { + case EclipseLinkOrmPackage.CACHE_COORDINATION_TYPE: + return convertCacheCoordinationTypeToString(eDataType, instanceValue); + case EclipseLinkOrmPackage.CACHE_TYPE: + return convertCacheTypeToString(eDataType, instanceValue); + case EclipseLinkOrmPackage.XML_CHANGE_TRACKING_TYPE: + return convertXmlChangeTrackingTypeToString(eDataType, instanceValue); + case EclipseLinkOrmPackage.XML_DIRECTION: + return convertXmlDirectionToString(eDataType, instanceValue); + case EclipseLinkOrmPackage.EXISTENCE_TYPE: + return convertExistenceTypeToString(eDataType, instanceValue); + case EclipseLinkOrmPackage.XML_JOIN_FETCH_TYPE: + return convertXmlJoinFetchTypeToString(eDataType, instanceValue); + case EclipseLinkOrmPackage.XML_OPTIMISTIC_LOCKING_TYPE: + return convertXmlOptimisticLockingTypeToString(eDataType, instanceValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + public XmlAccessMethods createXmlAccessMethods() + { + XmlAccessMethods xmlAccessMethods = new XmlAccessMethods(); + return xmlAccessMethods; + } + + /** + * + * + * @generated + */ + public XmlAdditionalCriteria createXmlAdditionalCriteria() + { + XmlAdditionalCriteria xmlAdditionalCriteria = new XmlAdditionalCriteria(); + return xmlAdditionalCriteria; + } + + /** + * + * + * @generated + */ + public XmlArray createXmlArray() + { + XmlArray xmlArray = new XmlArray(); + return xmlArray; + } + + /** + * + * + * @generated + */ + public Attributes createAttributes() + { + Attributes attributes = new Attributes(); + return attributes; + } + + /** + * + * + * @generated + */ + public XmlBasic createXmlBasic() + { + XmlBasic xmlBasic = new XmlBasic(); + return xmlBasic; + } + + /** + * + * + * @generated + */ + public XmlBasicCollection createXmlBasicCollection() + { + XmlBasicCollection xmlBasicCollection = new XmlBasicCollection(); + return xmlBasicCollection; + } + + /** + * + * + * @generated + */ + public XmlBasicMap createXmlBasicMap() + { + XmlBasicMap xmlBasicMap = new XmlBasicMap(); + return xmlBasicMap; + } + + /** + * + * + * @generated + */ + public XmlBatchFetch createXmlBatchFetch() + { + XmlBatchFetch xmlBatchFetch = new XmlBatchFetch(); + return xmlBatchFetch; + } + + /** + * + * + * @generated + */ + public XmlCache createXmlCache() + { + XmlCache xmlCache = new XmlCache(); + return xmlCache; + } + + /** + * + * + * @generated + */ + public XmlCacheIndex createXmlCacheIndex() + { + XmlCacheIndex xmlCacheIndex = new XmlCacheIndex(); + return xmlCacheIndex; + } + + /** + * + * + * @generated + */ + public XmlChangeTracking createXmlChangeTracking() + { + XmlChangeTracking xmlChangeTracking = new XmlChangeTracking(); + return xmlChangeTracking; + } + + /** + * + * + * @generated + */ + public XmlCloneCopyPolicy createXmlCloneCopyPolicy() + { + XmlCloneCopyPolicy xmlCloneCopyPolicy = new XmlCloneCopyPolicy(); + return xmlCloneCopyPolicy; + } + + /** + * + * + * @generated + */ + public XmlCollectionTable createXmlCollectionTable() + { + XmlCollectionTable xmlCollectionTable = new XmlCollectionTable(); + return xmlCollectionTable; + } + + /** + * + * + * @generated + */ + public XmlConversionValue createXmlConversionValue() + { + XmlConversionValue xmlConversionValue = new XmlConversionValue(); + return xmlConversionValue; + } + + /** + * + * + * @generated + */ + public XmlConverter createXmlConverter() + { + XmlConverter xmlConverter = new XmlConverter(); + return xmlConverter; + } + + /** + * + * + * @generated + */ + public XmlCopyPolicy createXmlCopyPolicy() + { + XmlCopyPolicy xmlCopyPolicy = new XmlCopyPolicy(); + return xmlCopyPolicy; + } + + /** + * + * + * @generated + */ + public XmlCustomizer createXmlCustomizer() + { + XmlCustomizer xmlCustomizer = new XmlCustomizer(); + return xmlCustomizer; + } + + /** + * + * + * @generated + */ + public XmlElementCollection createXmlElementCollection() + { + XmlElementCollection xmlElementCollection = new XmlElementCollection(); + return xmlElementCollection; + } + + /** + * + * + * @generated + */ + public XmlEmbeddable createXmlEmbeddable() + { + XmlEmbeddable xmlEmbeddable = new XmlEmbeddable(); + return xmlEmbeddable; + } + + /** + * + * + * @generated + */ + public XmlEmbedded createXmlEmbedded() + { + XmlEmbedded xmlEmbedded = new XmlEmbedded(); + return xmlEmbedded; + } + + /** + * + * + * @generated + */ + public XmlEmbeddedId createXmlEmbeddedId() + { + XmlEmbeddedId xmlEmbeddedId = new XmlEmbeddedId(); + return xmlEmbeddedId; + } + + /** + * + * + * @generated + */ + public XmlEntity createXmlEntity() + { + XmlEntity xmlEntity = new XmlEntity(); + return xmlEntity; + } + + /** + * + * + * @generated + */ + public XmlEntityMappings createXmlEntityMappings() + { + XmlEntityMappings xmlEntityMappings = new XmlEntityMappings(); + return xmlEntityMappings; + } + + /** + * + * + * @generated + */ + public XmlFetchAttribute createXmlFetchAttribute() + { + XmlFetchAttribute xmlFetchAttribute = new XmlFetchAttribute(); + return xmlFetchAttribute; + } + + /** + * + * + * @generated + */ + public XmlFetchGroup createXmlFetchGroup() + { + XmlFetchGroup xmlFetchGroup = new XmlFetchGroup(); + return xmlFetchGroup; + } + + /** + * + * + * @generated + */ + public XmlField createXmlField() + { + XmlField xmlField = new XmlField(); + return xmlField; + } + + /** + * + * + * @generated + */ + public XmlId createXmlId() + { + XmlId xmlId = new XmlId(); + return xmlId; + } + + /** + * + * + * @generated + */ + public XmlIndex createXmlIndex() + { + XmlIndex xmlIndex = new XmlIndex(); + return xmlIndex; + } + + /** + * + * + * @generated + */ + public XmlInstantiationCopyPolicy createXmlInstantiationCopyPolicy() + { + XmlInstantiationCopyPolicy xmlInstantiationCopyPolicy = new XmlInstantiationCopyPolicy(); + return xmlInstantiationCopyPolicy; + } + + /** + * + * + * @generated + */ + public XmlJoinField createXmlJoinField() + { + XmlJoinField xmlJoinField = new XmlJoinField(); + return xmlJoinField; + } + + /** + * + * + * @generated + */ + public XmlJoinTable createXmlJoinTable() + { + XmlJoinTable xmlJoinTable = new XmlJoinTable(); + return xmlJoinTable; + } + + /** + * + * + * @generated + */ + public XmlManyToMany createXmlManyToMany() + { + XmlManyToMany xmlManyToMany = new XmlManyToMany(); + return xmlManyToMany; + } + + /** + * + * + * @generated + */ + public XmlManyToOne createXmlManyToOne() + { + XmlManyToOne xmlManyToOne = new XmlManyToOne(); + return xmlManyToOne; + } + + /** + * + * + * @generated + */ + public XmlMappedSuperclass createXmlMappedSuperclass() + { + XmlMappedSuperclass xmlMappedSuperclass = new XmlMappedSuperclass(); + return xmlMappedSuperclass; + } + + /** + * + * + * @generated + */ + public XmlMultitenant createXmlMultitenant() + { + XmlMultitenant xmlMultitenant = new XmlMultitenant(); + return xmlMultitenant; + } + + /** + * + * + * @generated + */ + public XmlNamedConverter createXmlNamedConverter() + { + XmlNamedConverter xmlNamedConverter = new XmlNamedConverter(); + return xmlNamedConverter; + } + + /** + * + * + * @generated + */ + public XmlNamedPlsqlStoredFunctionQuery createXmlNamedPlsqlStoredFunctionQuery() + { + XmlNamedPlsqlStoredFunctionQuery xmlNamedPlsqlStoredFunctionQuery = new XmlNamedPlsqlStoredFunctionQuery(); + return xmlNamedPlsqlStoredFunctionQuery; + } + + /** + * + * + * @generated + */ + public XmlNamedPlsqlStoredProcedureQuery createXmlNamedPlsqlStoredProcedureQuery() + { + XmlNamedPlsqlStoredProcedureQuery xmlNamedPlsqlStoredProcedureQuery = new XmlNamedPlsqlStoredProcedureQuery(); + return xmlNamedPlsqlStoredProcedureQuery; + } + + /** + * + * + * @generated + */ + public XmlNamedStoredFunctionQuery createXmlNamedStoredFunctionQuery() + { + XmlNamedStoredFunctionQuery xmlNamedStoredFunctionQuery = new XmlNamedStoredFunctionQuery(); + return xmlNamedStoredFunctionQuery; + } + + /** + * + * + * @generated + */ + public XmlNamedStoredProcedureQuery createXmlNamedStoredProcedureQuery() + { + XmlNamedStoredProcedureQuery xmlNamedStoredProcedureQuery = new XmlNamedStoredProcedureQuery(); + return xmlNamedStoredProcedureQuery; + } + + /** + * + * + * @generated + */ + public XmlNoSql createXmlNoSql() + { + XmlNoSql xmlNoSql = new XmlNoSql(); + return xmlNoSql; + } + + /** + * + * + * @generated + */ + public XmlObjectTypeConverter createXmlObjectTypeConverter() + { + XmlObjectTypeConverter xmlObjectTypeConverter = new XmlObjectTypeConverter(); + return xmlObjectTypeConverter; + } + + /** + * + * + * @generated + */ + public XmlOneToMany createXmlOneToMany() + { + XmlOneToMany xmlOneToMany = new XmlOneToMany(); + return xmlOneToMany; + } + + /** + * + * + * @generated + */ + public XmlOneToOne createXmlOneToOne() + { + XmlOneToOne xmlOneToOne = new XmlOneToOne(); + return xmlOneToOne; + } + + /** + * + * + * @generated + */ + public XmlOptimisticLocking createXmlOptimisticLocking() + { + XmlOptimisticLocking xmlOptimisticLocking = new XmlOptimisticLocking(); + return xmlOptimisticLocking; + } + + /** + * + * + * @generated + */ + public XmlOrderColumn createXmlOrderColumn() + { + XmlOrderColumn xmlOrderColumn = new XmlOrderColumn(); + return xmlOrderColumn; + } + + /** + * + * + * @generated + */ + public XmlPersistenceUnitDefaults createXmlPersistenceUnitDefaults() + { + XmlPersistenceUnitDefaults xmlPersistenceUnitDefaults = new XmlPersistenceUnitDefaults(); + return xmlPersistenceUnitDefaults; + } + + /** + * + * + * @generated + */ + public XmlPersistenceUnitMetadata createXmlPersistenceUnitMetadata() + { + XmlPersistenceUnitMetadata xmlPersistenceUnitMetadata = new XmlPersistenceUnitMetadata(); + return xmlPersistenceUnitMetadata; + } + + /** + * + * + * @generated + */ + public XmlPrimaryKey createXmlPrimaryKey() + { + XmlPrimaryKey xmlPrimaryKey = new XmlPrimaryKey(); + return xmlPrimaryKey; + } + + /** + * + * + * @generated + */ + public XmlProperty createXmlProperty() + { + XmlProperty xmlProperty = new XmlProperty(); + return xmlProperty; + } + + /** + * + * + * @generated + */ + public XmlQueryRedirectors createXmlQueryRedirectors() + { + XmlQueryRedirectors xmlQueryRedirectors = new XmlQueryRedirectors(); + return xmlQueryRedirectors; + } + + /** + * + * + * @generated + */ + public XmlReturnInsert createXmlReturnInsert() + { + XmlReturnInsert xmlReturnInsert = new XmlReturnInsert(); + return xmlReturnInsert; + } + + /** + * + * + * @generated + */ + public XmlSecondaryTable createXmlSecondaryTable() + { + XmlSecondaryTable xmlSecondaryTable = new XmlSecondaryTable(); + return xmlSecondaryTable; + } + + /** + * + * + * @generated + */ + public XmlStoredProcedureParameter createXmlStoredProcedureParameter() + { + XmlStoredProcedureParameter xmlStoredProcedureParameter = new XmlStoredProcedureParameter(); + return xmlStoredProcedureParameter; + } + + /** + * + * + * @generated + */ + public XmlStruct createXmlStruct() + { + XmlStruct xmlStruct = new XmlStruct(); + return xmlStruct; + } + + /** + * + * + * @generated + */ + public XmlStructConverter createXmlStructConverter() + { + XmlStructConverter xmlStructConverter = new XmlStructConverter(); + return xmlStructConverter; + } + + /** + * + * + * @generated + */ + public XmlStructure createXmlStructure() + { + XmlStructure xmlStructure = new XmlStructure(); + return xmlStructure; + } + + /** + * + * + * @generated + */ + public XmlTable createXmlTable() + { + XmlTable xmlTable = new XmlTable(); + return xmlTable; + } + + /** + * + * + * @generated + */ + public XmlTableGenerator createXmlTableGenerator() + { + XmlTableGenerator xmlTableGenerator = new XmlTableGenerator(); + return xmlTableGenerator; + } + + /** + * + * + * @generated + */ + public XmlTenantDiscriminatorColumn createXmlTenantDiscriminatorColumn() + { + XmlTenantDiscriminatorColumn xmlTenantDiscriminatorColumn = new XmlTenantDiscriminatorColumn(); + return xmlTenantDiscriminatorColumn; + } + + /** + * + * + * @generated + */ + public XmlTenantTableDiscriminator createXmlTenantTableDiscriminator() + { + XmlTenantTableDiscriminator xmlTenantTableDiscriminator = new XmlTenantTableDiscriminator(); + return xmlTenantTableDiscriminator; + } + + /** + * + * + * @generated + */ + public XmlTimeOfDay createXmlTimeOfDay() + { + XmlTimeOfDay xmlTimeOfDay = new XmlTimeOfDay(); + return xmlTimeOfDay; + } + + /** + * + * + * @generated + */ + public XmlTransformation createXmlTransformation() + { + XmlTransformation xmlTransformation = new XmlTransformation(); + return xmlTransformation; + } + + /** + * + * + * @generated + */ + public XmlTransient createXmlTransient() + { + XmlTransient xmlTransient = new XmlTransient(); + return xmlTransient; + } + + /** + * + * + * @generated + */ + public XmlTypeConverter createXmlTypeConverter() + { + XmlTypeConverter xmlTypeConverter = new XmlTypeConverter(); + return xmlTypeConverter; + } + + /** + * + * + * @generated + */ + public XmlVariableOneToOne createXmlVariableOneToOne() + { + XmlVariableOneToOne xmlVariableOneToOne = new XmlVariableOneToOne(); + return xmlVariableOneToOne; + } + + /** + * + * + * @generated + */ + public XmlVersion createXmlVersion() + { + XmlVersion xmlVersion = new XmlVersion(); + return xmlVersion; + } + + /** + * + * + * @generated + */ + public XmlHashPartitioning createXmlHashPartitioning() + { + XmlHashPartitioning xmlHashPartitioning = new XmlHashPartitioning(); + return xmlHashPartitioning; + } + + /** + * + * + * @generated + */ + public XmlPartitioning createXmlPartitioning() + { + XmlPartitioning xmlPartitioning = new XmlPartitioning(); + return xmlPartitioning; + } + + /** + * + * + * @generated + */ + public XmlPinnedPartitioning createXmlPinnedPartitioning() + { + XmlPinnedPartitioning xmlPinnedPartitioning = new XmlPinnedPartitioning(); + return xmlPinnedPartitioning; + } + + /** + * + * + * @generated + */ + public XmlPlsqlRecord createXmlPlsqlRecord() + { + XmlPlsqlRecord xmlPlsqlRecord = new XmlPlsqlRecord(); + return xmlPlsqlRecord; + } + + /** + * + * + * @generated + */ + public XmlPlsqlTable createXmlPlsqlTable() + { + XmlPlsqlTable xmlPlsqlTable = new XmlPlsqlTable(); + return xmlPlsqlTable; + } + + /** + * + * + * @generated + */ + public XmlRangePartitioning createXmlRangePartitioning() + { + XmlRangePartitioning xmlRangePartitioning = new XmlRangePartitioning(); + return xmlRangePartitioning; + } + + /** + * + * + * @generated + */ + public XmlReplicationPartitioning createXmlReplicationPartitioning() + { + XmlReplicationPartitioning xmlReplicationPartitioning = new XmlReplicationPartitioning(); + return xmlReplicationPartitioning; + } + + /** + * + * + * @generated + */ + public XmlRoundRobinPartitioning createXmlRoundRobinPartitioning() + { + XmlRoundRobinPartitioning xmlRoundRobinPartitioning = new XmlRoundRobinPartitioning(); + return xmlRoundRobinPartitioning; + } + + /** + * + * + * @generated + */ + public XmlUnionPartitioning createXmlUnionPartitioning() + { + XmlUnionPartitioning xmlUnionPartitioning = new XmlUnionPartitioning(); + return xmlUnionPartitioning; + } + + /** + * + * + * @generated + */ + public XmlUuidGenerator createXmlUuidGenerator() + { + XmlUuidGenerator xmlUuidGenerator = new XmlUuidGenerator(); + return xmlUuidGenerator; + } + + /** + * + * + * @generated + */ + public XmlValuePartitioning createXmlValuePartitioning() + { + XmlValuePartitioning xmlValuePartitioning = new XmlValuePartitioning(); + return xmlValuePartitioning; + } + + /** + * + * + * @generated + */ + public CacheCoordinationType createCacheCoordinationTypeFromString(EDataType eDataType, String initialValue) + { + CacheCoordinationType result = CacheCoordinationType.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * + * + * @generated + */ + public String convertCacheCoordinationTypeToString(EDataType eDataType, Object instanceValue) + { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * + * + * @generated + */ + public CacheType createCacheTypeFromString(EDataType eDataType, String initialValue) + { + CacheType result = CacheType.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * + * + * @generated + */ + public String convertCacheTypeToString(EDataType eDataType, Object instanceValue) + { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * + * + * @generated + */ + public XmlChangeTrackingType createXmlChangeTrackingTypeFromString(EDataType eDataType, String initialValue) + { + XmlChangeTrackingType result = XmlChangeTrackingType.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * + * + * @generated + */ + public String convertXmlChangeTrackingTypeToString(EDataType eDataType, Object instanceValue) + { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * + * + * @generated + */ + public XmlDirection createXmlDirectionFromString(EDataType eDataType, String initialValue) + { + XmlDirection result = XmlDirection.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * + * + * @generated + */ + public String convertXmlDirectionToString(EDataType eDataType, Object instanceValue) + { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * + * + * @generated + */ + public ExistenceType createExistenceTypeFromString(EDataType eDataType, String initialValue) + { + ExistenceType result = ExistenceType.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * + * + * @generated + */ + public String convertExistenceTypeToString(EDataType eDataType, Object instanceValue) + { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * + * + * @generated + */ + public XmlJoinFetchType createXmlJoinFetchTypeFromString(EDataType eDataType, String initialValue) + { + XmlJoinFetchType result = XmlJoinFetchType.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * + * + * @generated + */ + public String convertXmlJoinFetchTypeToString(EDataType eDataType, Object instanceValue) + { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * + * + * @generated + */ + public XmlOptimisticLockingType createXmlOptimisticLockingTypeFromString(EDataType eDataType, String initialValue) + { + XmlOptimisticLockingType result = XmlOptimisticLockingType.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * + * + * @generated + */ + public String convertXmlOptimisticLockingTypeToString(EDataType eDataType, Object instanceValue) + { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * + * + * @generated + */ + public EclipseLinkOrmPackage getEclipseLinkOrmPackage() + { + return (EclipseLinkOrmPackage)getEPackage(); + } + + /** + * + * + * @deprecated + * @generated + */ + @Deprecated + public static EclipseLinkOrmPackage getPackage() + { + return EclipseLinkOrmPackage.eINSTANCE; + } + +} diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/EclipseLinkOrmPackage.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/EclipseLinkOrmPackage.java new file mode 100644 index 0000000000..a0399d34b0 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/EclipseLinkOrmPackage.java @@ -0,0 +1,13527 @@ +/******************************************************************************* + * 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.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EEnum; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; +import org.eclipse.emf.ecore.impl.EPackageImpl; +import org.eclipse.emf.ecore.xml.type.XMLTypePackage; +import org.eclipse.jpt.jpa.core.resource.orm.OrmPackage; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package; + +/** + * + * The Package for the model. + * It contains accessors for the meta objects to represent + *
    + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • + *
+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmFactory + * @model kind="package" + * @generated + */ +public class EclipseLinkOrmPackage extends EPackageImpl +{ + + /** + * The package name. + * + * + * @generated + */ + public static final String eNAME = "orm"; + /** + * The package namespace URI. + * + * + * @generated + */ + public static final String eNS_URI = "jpt.eclipselink.orm.xmi"; + /** + * The package namespace name. + * + * + * @generated + */ + public static final String eNS_PREFIX = "org.eclipse.jpt.jpa.eclipselink.core.resource.orm"; + /** + * The singleton instance of the package. + * + * + * @generated + */ + public static final EclipseLinkOrmPackage eINSTANCE = org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage.init(); + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAccessMethods Xml Access Methods}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAccessMethods + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAccessMethods() + * @generated + */ + public static final int XML_ACCESS_METHODS = 0; + /** + * The feature id for the 'Get Method' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ACCESS_METHODS__GET_METHOD = 0; + /** + * The feature id for the 'Set Method' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ACCESS_METHODS__SET_METHOD = 1; + /** + * The number of structural features of the 'Xml Access Methods' class. + * + * + * @generated + * @ordered + */ + public static final int XML_ACCESS_METHODS_FEATURE_COUNT = 2; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAccessMethodsHolder Xml Access Methods Holder}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAccessMethodsHolder + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAccessMethodsHolder() + * @generated + */ + public static final int XML_ACCESS_METHODS_HOLDER = 1; + /** + * The feature id for the 'Access Methods' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS = 0; + /** + * The number of structural features of the 'Xml Access Methods Holder' class. + * + * + * @generated + * @ordered + */ + public static final int XML_ACCESS_METHODS_HOLDER_FEATURE_COUNT = 1; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAdditionalCriteria Xml Additional Criteria}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAdditionalCriteria + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAdditionalCriteria() + * @generated + */ + public static final int XML_ADDITIONAL_CRITERIA = 2; + /** + * The feature id for the 'Criteria' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ADDITIONAL_CRITERIA__CRITERIA = EclipseLinkOrmV2_2Package.XML_ADDITIONAL_CRITERIA_22__CRITERIA; + /** + * The number of structural features of the 'Xml Additional Criteria' class. + * + * + * @generated + * @ordered + */ + public static final int XML_ADDITIONAL_CRITERIA_FEATURE_COUNT = EclipseLinkOrmV2_2Package.XML_ADDITIONAL_CRITERIA_22_FEATURE_COUNT + 0; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlArray Xml Array}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlArray + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlArray() + * @generated + */ + public static final int XML_ARRAY = 3; + /** + * The feature id for the 'Access' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ARRAY__ACCESS = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING__ACCESS; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ARRAY__NAME = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING__NAME; + /** + * The feature id for the 'Access Methods' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ARRAY__ACCESS_METHODS = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 0; + /** + * The feature id for the 'Properties' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ARRAY__PROPERTIES = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 1; + /** + * The feature id for the 'Attribute Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ARRAY__ATTRIBUTE_TYPE = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 2; + /** + * The feature id for the 'Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ARRAY__CONVERTERS = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 3; + /** + * The feature id for the 'Type Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ARRAY__TYPE_CONVERTERS = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 4; + /** + * The feature id for the 'Object Type Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ARRAY__OBJECT_TYPE_CONVERTERS = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 5; + /** + * The feature id for the 'Struct Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ARRAY__STRUCT_CONVERTERS = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 6; + /** + * The feature id for the 'Lob' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ARRAY__LOB = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 7; + /** + * The feature id for the 'Temporal' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ARRAY__TEMPORAL = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 8; + /** + * The feature id for the 'Enumerated' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ARRAY__ENUMERATED = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 9; + /** + * The feature id for the 'Column' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ARRAY__COLUMN = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 10; + /** + * The feature id for the 'Database Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ARRAY__DATABASE_TYPE = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 11; + /** + * The feature id for the 'Target Class' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ARRAY__TARGET_CLASS = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 12; + /** + * The feature id for the 'Convert' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ARRAY__CONVERT = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 13; + /** + * The number of structural features of the 'Xml Array' class. + * + * + * @generated + * @ordered + */ + public static final int XML_ARRAY_FEATURE_COUNT = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 14; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAttributeMapping Xml Attribute Mapping}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAttributeMapping + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAttributeMapping() + * @generated + */ + public static final int XML_ATTRIBUTE_MAPPING = 4; + /** + * The feature id for the 'Access' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ATTRIBUTE_MAPPING__ACCESS = OrmPackage.XML_ATTRIBUTE_MAPPING__ACCESS; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ATTRIBUTE_MAPPING__NAME = OrmPackage.XML_ATTRIBUTE_MAPPING__NAME; + /** + * The feature id for the 'Access Methods' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ATTRIBUTE_MAPPING__ACCESS_METHODS = OrmPackage.XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 0; + /** + * The feature id for the 'Properties' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ATTRIBUTE_MAPPING__PROPERTIES = OrmPackage.XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 1; + /** + * The feature id for the 'Attribute Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE = OrmPackage.XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 2; + /** + * The number of structural features of the 'Xml Attribute Mapping' class. + * + * + * @generated + * @ordered + */ + public static final int XML_ATTRIBUTE_MAPPING_FEATURE_COUNT = OrmPackage.XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 3; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.Attributes Attributes}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.Attributes + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getAttributes() + * @generated + */ + public static final int ATTRIBUTES = 5; + /** + * The feature id for the 'Description' attribute. + * + * + * @generated + * @ordered + */ + public static final int ATTRIBUTES__DESCRIPTION = OrmPackage.ATTRIBUTES__DESCRIPTION; + /** + * The feature id for the 'Element Collections' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int ATTRIBUTES__ELEMENT_COLLECTIONS = OrmPackage.ATTRIBUTES__ELEMENT_COLLECTIONS; + /** + * The feature id for the 'Ids' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int ATTRIBUTES__IDS = OrmPackage.ATTRIBUTES__IDS; + /** + * The feature id for the 'Embedded Ids' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int ATTRIBUTES__EMBEDDED_IDS = OrmPackage.ATTRIBUTES__EMBEDDED_IDS; + /** + * The feature id for the 'Basics' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int ATTRIBUTES__BASICS = OrmPackage.ATTRIBUTES__BASICS; + /** + * The feature id for the 'Versions' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int ATTRIBUTES__VERSIONS = OrmPackage.ATTRIBUTES__VERSIONS; + /** + * The feature id for the 'Many To Ones' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int ATTRIBUTES__MANY_TO_ONES = OrmPackage.ATTRIBUTES__MANY_TO_ONES; + /** + * The feature id for the 'One To Manys' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int ATTRIBUTES__ONE_TO_MANYS = OrmPackage.ATTRIBUTES__ONE_TO_MANYS; + /** + * The feature id for the 'One To Ones' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int ATTRIBUTES__ONE_TO_ONES = OrmPackage.ATTRIBUTES__ONE_TO_ONES; + /** + * The feature id for the 'Many To Manys' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int ATTRIBUTES__MANY_TO_MANYS = OrmPackage.ATTRIBUTES__MANY_TO_MANYS; + /** + * The feature id for the 'Embeddeds' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int ATTRIBUTES__EMBEDDEDS = OrmPackage.ATTRIBUTES__EMBEDDEDS; + /** + * The feature id for the 'Transients' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int ATTRIBUTES__TRANSIENTS = OrmPackage.ATTRIBUTES__TRANSIENTS; + /** + * The feature id for the 'Structures' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int ATTRIBUTES__STRUCTURES = OrmPackage.ATTRIBUTES_FEATURE_COUNT + 0; + /** + * The feature id for the 'Arrays' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int ATTRIBUTES__ARRAYS = OrmPackage.ATTRIBUTES_FEATURE_COUNT + 1; + /** + * The feature id for the 'Basic Collections' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int ATTRIBUTES__BASIC_COLLECTIONS = OrmPackage.ATTRIBUTES_FEATURE_COUNT + 2; + /** + * The feature id for the 'Basic Maps' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int ATTRIBUTES__BASIC_MAPS = OrmPackage.ATTRIBUTES_FEATURE_COUNT + 3; + /** + * The feature id for the 'Transformations' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int ATTRIBUTES__TRANSFORMATIONS = OrmPackage.ATTRIBUTES_FEATURE_COUNT + 4; + /** + * The feature id for the 'Variable One To Ones' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int ATTRIBUTES__VARIABLE_ONE_TO_ONES = OrmPackage.ATTRIBUTES_FEATURE_COUNT + 5; + /** + * The number of structural features of the 'Attributes' class. + * + * + * @generated + * @ordered + */ + public static final int ATTRIBUTES_FEATURE_COUNT = OrmPackage.ATTRIBUTES_FEATURE_COUNT + 6; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasic Xml Basic}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasic + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlBasic() + * @generated + */ + public static final int XML_BASIC = 6; + /** + * The feature id for the 'Access' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC__ACCESS = OrmPackage.XML_BASIC__ACCESS; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC__NAME = OrmPackage.XML_BASIC__NAME; + /** + * The feature id for the 'Column' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC__COLUMN = OrmPackage.XML_BASIC__COLUMN; + /** + * The feature id for the 'Lob' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC__LOB = OrmPackage.XML_BASIC__LOB; + /** + * The feature id for the 'Temporal' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC__TEMPORAL = OrmPackage.XML_BASIC__TEMPORAL; + /** + * The feature id for the 'Enumerated' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC__ENUMERATED = OrmPackage.XML_BASIC__ENUMERATED; + /** + * The feature id for the 'Fetch' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC__FETCH = OrmPackage.XML_BASIC__FETCH; + /** + * The feature id for the 'Optional' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC__OPTIONAL = OrmPackage.XML_BASIC__OPTIONAL; + /** + * The feature id for the 'Sequence Generator' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC__SEQUENCE_GENERATOR = OrmPackage.XML_BASIC_FEATURE_COUNT + 0; + /** + * The feature id for the 'Table Generator' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC__TABLE_GENERATOR = OrmPackage.XML_BASIC_FEATURE_COUNT + 1; + /** + * The feature id for the 'Generated Value' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC__GENERATED_VALUE = OrmPackage.XML_BASIC_FEATURE_COUNT + 2; + /** + * The feature id for the 'Return Insert' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC__RETURN_INSERT = OrmPackage.XML_BASIC_FEATURE_COUNT + 3; + /** + * The feature id for the 'Return Update' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC__RETURN_UPDATE = OrmPackage.XML_BASIC_FEATURE_COUNT + 4; + /** + * The feature id for the 'Index' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC__INDEX = OrmPackage.XML_BASIC_FEATURE_COUNT + 5; + /** + * The feature id for the 'Uuid Generator' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC__UUID_GENERATOR = OrmPackage.XML_BASIC_FEATURE_COUNT + 6; + /** + * The feature id for the 'Field' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC__FIELD = OrmPackage.XML_BASIC_FEATURE_COUNT + 7; + /** + * The feature id for the 'Cache Index' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC__CACHE_INDEX = OrmPackage.XML_BASIC_FEATURE_COUNT + 8; + /** + * The feature id for the 'Access Methods' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC__ACCESS_METHODS = OrmPackage.XML_BASIC_FEATURE_COUNT + 9; + /** + * The feature id for the 'Properties' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC__PROPERTIES = OrmPackage.XML_BASIC_FEATURE_COUNT + 10; + /** + * The feature id for the 'Attribute Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC__ATTRIBUTE_TYPE = OrmPackage.XML_BASIC_FEATURE_COUNT + 11; + /** + * The feature id for the 'Mutable' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC__MUTABLE = OrmPackage.XML_BASIC_FEATURE_COUNT + 12; + /** + * The feature id for the 'Convert' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC__CONVERT = OrmPackage.XML_BASIC_FEATURE_COUNT + 13; + /** + * The feature id for the 'Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC__CONVERTERS = OrmPackage.XML_BASIC_FEATURE_COUNT + 14; + /** + * The feature id for the 'Type Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC__TYPE_CONVERTERS = OrmPackage.XML_BASIC_FEATURE_COUNT + 15; + /** + * The feature id for the 'Object Type Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC__OBJECT_TYPE_CONVERTERS = OrmPackage.XML_BASIC_FEATURE_COUNT + 16; + /** + * The feature id for the 'Struct Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC__STRUCT_CONVERTERS = OrmPackage.XML_BASIC_FEATURE_COUNT + 17; + /** + * The number of structural features of the 'Xml Basic' class. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC_FEATURE_COUNT = OrmPackage.XML_BASIC_FEATURE_COUNT + 18; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasicCollection Xml Basic Collection}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasicCollection + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlBasicCollection() + * @generated + */ + public static final int XML_BASIC_COLLECTION = 7; + /** + * The feature id for the 'Access' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC_COLLECTION__ACCESS = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING__ACCESS; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC_COLLECTION__NAME = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING__NAME; + /** + * The feature id for the 'Access Methods' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC_COLLECTION__ACCESS_METHODS = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 0; + /** + * The feature id for the 'Properties' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC_COLLECTION__PROPERTIES = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 1; + /** + * The feature id for the 'Attribute Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC_COLLECTION__ATTRIBUTE_TYPE = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 2; + /** + * The feature id for the 'Cascade On Delete' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC_COLLECTION__CASCADE_ON_DELETE = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 3; + /** + * The number of structural features of the 'Xml Basic Collection' class. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC_COLLECTION_FEATURE_COUNT = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 4; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasicMap Xml Basic Map}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasicMap + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlBasicMap() + * @generated + */ + public static final int XML_BASIC_MAP = 8; + /** + * The feature id for the 'Access' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC_MAP__ACCESS = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING__ACCESS; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC_MAP__NAME = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING__NAME; + /** + * The feature id for the 'Access Methods' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC_MAP__ACCESS_METHODS = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 0; + /** + * The feature id for the 'Properties' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC_MAP__PROPERTIES = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 1; + /** + * The feature id for the 'Attribute Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC_MAP__ATTRIBUTE_TYPE = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 2; + /** + * The feature id for the 'Cascade On Delete' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC_MAP__CASCADE_ON_DELETE = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 3; + /** + * The number of structural features of the 'Xml Basic Map' class. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC_MAP_FEATURE_COUNT = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 4; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBatchFetch Xml Batch Fetch}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBatchFetch + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlBatchFetch() + * @generated + */ + public static final int XML_BATCH_FETCH = 9; + /** + * The feature id for the 'Size' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_BATCH_FETCH__SIZE = EclipseLinkOrmV2_1Package.XML_BATCH_FETCH_21__SIZE; + /** + * The feature id for the 'Batch Fetch Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_BATCH_FETCH__BATCH_FETCH_TYPE = EclipseLinkOrmV2_1Package.XML_BATCH_FETCH_21__BATCH_FETCH_TYPE; + /** + * The number of structural features of the 'Xml Batch Fetch' class. + * + * + * @generated + * @ordered + */ + public static final int XML_BATCH_FETCH_FEATURE_COUNT = EclipseLinkOrmV2_1Package.XML_BATCH_FETCH_21_FEATURE_COUNT + 0; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBatchFetchHolder Xml Batch Fetch Holder}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBatchFetchHolder + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlBatchFetchHolder() + * @generated + */ + public static final int XML_BATCH_FETCH_HOLDER = 10; + /** + * The feature id for the 'Batch Fetch' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_BATCH_FETCH_HOLDER__BATCH_FETCH = 0; + /** + * The number of structural features of the 'Xml Batch Fetch Holder' class. + * + * + * @generated + * @ordered + */ + public static final int XML_BATCH_FETCH_HOLDER_FEATURE_COUNT = 1; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache Xml Cache}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCache() + * @generated + */ + public static final int XML_CACHE = 11; + /** + * The feature id for the 'Isolation' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_CACHE__ISOLATION = EclipseLinkOrmV2_2Package.XML_CACHE_22__ISOLATION; + /** + * The feature id for the 'Database Change Notification Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_CACHE__DATABASE_CHANGE_NOTIFICATION_TYPE = EclipseLinkOrmV2_2Package.XML_CACHE_22_FEATURE_COUNT + 0; + /** + * The feature id for the 'Expiry' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_CACHE__EXPIRY = EclipseLinkOrmV2_2Package.XML_CACHE_22_FEATURE_COUNT + 1; + /** + * The feature id for the 'Size' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_CACHE__SIZE = EclipseLinkOrmV2_2Package.XML_CACHE_22_FEATURE_COUNT + 2; + /** + * The feature id for the 'Shared' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_CACHE__SHARED = EclipseLinkOrmV2_2Package.XML_CACHE_22_FEATURE_COUNT + 3; + /** + * The feature id for the 'Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_CACHE__TYPE = EclipseLinkOrmV2_2Package.XML_CACHE_22_FEATURE_COUNT + 4; + /** + * The feature id for the 'Always Refresh' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_CACHE__ALWAYS_REFRESH = EclipseLinkOrmV2_2Package.XML_CACHE_22_FEATURE_COUNT + 5; + /** + * The feature id for the 'Refresh Only If Newer' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_CACHE__REFRESH_ONLY_IF_NEWER = EclipseLinkOrmV2_2Package.XML_CACHE_22_FEATURE_COUNT + 6; + /** + * The feature id for the 'Disable Hits' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_CACHE__DISABLE_HITS = EclipseLinkOrmV2_2Package.XML_CACHE_22_FEATURE_COUNT + 7; + /** + * The feature id for the 'Coordination Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_CACHE__COORDINATION_TYPE = EclipseLinkOrmV2_2Package.XML_CACHE_22_FEATURE_COUNT + 8; + /** + * The feature id for the 'Expiry Time Of Day' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_CACHE__EXPIRY_TIME_OF_DAY = EclipseLinkOrmV2_2Package.XML_CACHE_22_FEATURE_COUNT + 9; + /** + * The number of structural features of the 'Xml Cache' class. + * + * + * @generated + * @ordered + */ + public static final int XML_CACHE_FEATURE_COUNT = EclipseLinkOrmV2_2Package.XML_CACHE_22_FEATURE_COUNT + 10; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCacheHolder Xml Cache Holder}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCacheHolder + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCacheHolder() + * @generated + */ + public static final int XML_CACHE_HOLDER = 12; + /** + * The feature id for the 'Cache' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_CACHE_HOLDER__CACHE = 0; + /** + * The feature id for the 'Existence Checking' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_CACHE_HOLDER__EXISTENCE_CHECKING = 1; + /** + * The number of structural features of the 'Xml Cache Holder' class. + * + * + * @generated + * @ordered + */ + public static final int XML_CACHE_HOLDER_FEATURE_COUNT = 2; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCacheIndex Xml Cache Index}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCacheIndex + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCacheIndex() + * @generated + */ + public static final int XML_CACHE_INDEX = 13; + /** + * The feature id for the 'Column Names' attribute list. + * + * + * @generated + * @ordered + */ + public static final int XML_CACHE_INDEX__COLUMN_NAMES = EclipseLinkOrmV2_4Package.XML_CACHE_INDEX_24__COLUMN_NAMES; + /** + * The number of structural features of the 'Xml Cache Index' class. + * + * + * @generated + * @ordered + */ + public static final int XML_CACHE_INDEX_FEATURE_COUNT = EclipseLinkOrmV2_4Package.XML_CACHE_INDEX_24_FEATURE_COUNT + 0; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlChangeTracking Xml Change Tracking}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlChangeTracking + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlChangeTracking() + * @generated + */ + public static final int XML_CHANGE_TRACKING = 14; + /** + * The feature id for the 'Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_CHANGE_TRACKING__TYPE = 0; + /** + * The number of structural features of the 'Xml Change Tracking' class. + * + * + * @generated + * @ordered + */ + public static final int XML_CHANGE_TRACKING_FEATURE_COUNT = 1; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlChangeTrackingHolder Xml Change Tracking Holder}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlChangeTrackingHolder + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlChangeTrackingHolder() + * @generated + */ + public static final int XML_CHANGE_TRACKING_HOLDER = 15; + /** + * The feature id for the 'Change Tracking' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_CHANGE_TRACKING_HOLDER__CHANGE_TRACKING = 0; + /** + * The number of structural features of the 'Xml Change Tracking Holder' class. + * + * + * @generated + * @ordered + */ + public static final int XML_CHANGE_TRACKING_HOLDER_FEATURE_COUNT = 1; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCloneCopyPolicy Xml Clone Copy Policy}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCloneCopyPolicy + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCloneCopyPolicy() + * @generated + */ + public static final int XML_CLONE_COPY_POLICY = 16; + /** + * The feature id for the 'Method' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_CLONE_COPY_POLICY__METHOD = 0; + /** + * The feature id for the 'Working Copy Method' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_CLONE_COPY_POLICY__WORKING_COPY_METHOD = 1; + /** + * The number of structural features of the 'Xml Clone Copy Policy' class. + * + * + * @generated + * @ordered + */ + public static final int XML_CLONE_COPY_POLICY_FEATURE_COUNT = 2; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCollectionTable Xml Collection Table}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCollectionTable + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCollectionTable() + * @generated + */ + public static final int XML_COLLECTION_TABLE = 17; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_COLLECTION_TABLE__NAME = OrmPackage.XML_COLLECTION_TABLE__NAME; + /** + * The feature id for the 'Catalog' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_COLLECTION_TABLE__CATALOG = OrmPackage.XML_COLLECTION_TABLE__CATALOG; + /** + * The feature id for the 'Schema' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_COLLECTION_TABLE__SCHEMA = OrmPackage.XML_COLLECTION_TABLE__SCHEMA; + /** + * The feature id for the 'Unique Constraints' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_COLLECTION_TABLE__UNIQUE_CONSTRAINTS = OrmPackage.XML_COLLECTION_TABLE__UNIQUE_CONSTRAINTS; + /** + * The feature id for the 'Join Columns' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_COLLECTION_TABLE__JOIN_COLUMNS = OrmPackage.XML_COLLECTION_TABLE__JOIN_COLUMNS; + /** + * The feature id for the 'Creation Suffix' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_COLLECTION_TABLE__CREATION_SUFFIX = OrmPackage.XML_COLLECTION_TABLE_FEATURE_COUNT + 0; + /** + * The number of structural features of the 'Xml Collection Table' class. + * + * + * @generated + * @ordered + */ + public static final int XML_COLLECTION_TABLE_FEATURE_COUNT = OrmPackage.XML_COLLECTION_TABLE_FEATURE_COUNT + 1; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConversionValue Xml Conversion Value}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConversionValue + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConversionValue() + * @generated + */ + public static final int XML_CONVERSION_VALUE = 18; + /** + * The feature id for the 'Data Value' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_CONVERSION_VALUE__DATA_VALUE = 0; + /** + * The feature id for the 'Object Value' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_CONVERSION_VALUE__OBJECT_VALUE = 1; + /** + * The number of structural features of the 'Xml Conversion Value' class. + * + * + * @generated + * @ordered + */ + public static final int XML_CONVERSION_VALUE_FEATURE_COUNT = 2; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedConverter Xml Named Converter}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedConverter + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedConverter() + * @generated + */ + public static final int XML_NAMED_CONVERTER = 47; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_NAMED_CONVERTER__NAME = 0; + /** + * The number of structural features of the 'Xml Named Converter' class. + * + * + * @generated + * @ordered + */ + public static final int XML_NAMED_CONVERTER_FEATURE_COUNT = 1; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverter Xml Converter}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverter + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverter() + * @generated + */ + public static final int XML_CONVERTER = 19; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_CONVERTER__NAME = XML_NAMED_CONVERTER__NAME; + /** + * The feature id for the 'Class Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_CONVERTER__CLASS_NAME = XML_NAMED_CONVERTER_FEATURE_COUNT + 0; + /** + * The number of structural features of the 'Xml Converter' class. + * + * + * @generated + * @ordered + */ + public static final int XML_CONVERTER_FEATURE_COUNT = XML_NAMED_CONVERTER_FEATURE_COUNT + 1; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverterContainer Xml Converter Container}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverterContainer + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverterContainer() + * @generated + */ + public static final int XML_CONVERTER_CONTAINER = 20; + /** + * The feature id for the 'Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_CONVERTER_CONTAINER__CONVERTERS = 0; + /** + * The feature id for the 'Type Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_CONVERTER_CONTAINER__TYPE_CONVERTERS = 1; + /** + * The feature id for the 'Object Type Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS = 2; + /** + * The feature id for the 'Struct Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS = 3; + /** + * The number of structural features of the 'Xml Converter Container' class. + * + * + * @generated + * @ordered + */ + public static final int XML_CONVERTER_CONTAINER_FEATURE_COUNT = 4; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConvertibleMapping Xml Convertible Mapping}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConvertibleMapping + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConvertibleMapping() + * @generated + */ + public static final int XML_CONVERTIBLE_MAPPING = 21; + /** + * The feature id for the 'Lob' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_CONVERTIBLE_MAPPING__LOB = OrmPackage.XML_CONVERTIBLE_MAPPING__LOB; + /** + * The feature id for the 'Temporal' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_CONVERTIBLE_MAPPING__TEMPORAL = OrmPackage.XML_CONVERTIBLE_MAPPING__TEMPORAL; + /** + * The feature id for the 'Enumerated' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_CONVERTIBLE_MAPPING__ENUMERATED = OrmPackage.XML_CONVERTIBLE_MAPPING__ENUMERATED; + /** + * The feature id for the 'Convert' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_CONVERTIBLE_MAPPING__CONVERT = OrmPackage.XML_CONVERTIBLE_MAPPING_FEATURE_COUNT + 0; + /** + * The number of structural features of the 'Xml Convertible Mapping' class. + * + * + * @generated + * @ordered + */ + public static final int XML_CONVERTIBLE_MAPPING_FEATURE_COUNT = OrmPackage.XML_CONVERTIBLE_MAPPING_FEATURE_COUNT + 1; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCopyPolicy Xml Copy Policy}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCopyPolicy + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCopyPolicy() + * @generated + */ + public static final int XML_COPY_POLICY = 22; + /** + * The feature id for the 'Class' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_COPY_POLICY__CLASS = 0; + /** + * The number of structural features of the 'Xml Copy Policy' class. + * + * + * @generated + * @ordered + */ + public static final int XML_COPY_POLICY_FEATURE_COUNT = 1; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCustomizer Xml Customizer}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCustomizer + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCustomizer() + * @generated + */ + public static final int XML_CUSTOMIZER = 23; + /** + * The feature id for the 'Customizer Class Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_CUSTOMIZER__CUSTOMIZER_CLASS_NAME = 0; + /** + * The number of structural features of the 'Xml Customizer' class. + * + * + * @generated + * @ordered + */ + public static final int XML_CUSTOMIZER_FEATURE_COUNT = 1; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCustomizerHolder Xml Customizer Holder}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCustomizerHolder + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCustomizerHolder() + * @generated + */ + public static final int XML_CUSTOMIZER_HOLDER = 24; + /** + * The feature id for the 'Customizer' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_CUSTOMIZER_HOLDER__CUSTOMIZER = 0; + /** + * The number of structural features of the 'Xml Customizer Holder' class. + * + * + * @generated + * @ordered + */ + public static final int XML_CUSTOMIZER_HOLDER_FEATURE_COUNT = 1; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlElementCollection Xml Element Collection}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlElementCollection + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlElementCollection() + * @generated + */ + public static final int XML_ELEMENT_COLLECTION = 25; + /** + * The feature id for the 'Access' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__ACCESS = OrmPackage.XML_ELEMENT_COLLECTION__ACCESS; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__NAME = OrmPackage.XML_ELEMENT_COLLECTION__NAME; + /** + * The feature id for the 'Lob' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__LOB = OrmPackage.XML_ELEMENT_COLLECTION__LOB; + /** + * The feature id for the 'Temporal' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__TEMPORAL = OrmPackage.XML_ELEMENT_COLLECTION__TEMPORAL; + /** + * The feature id for the 'Enumerated' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__ENUMERATED = OrmPackage.XML_ELEMENT_COLLECTION__ENUMERATED; + /** + * The feature id for the 'Order Column' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__ORDER_COLUMN = OrmPackage.XML_ELEMENT_COLLECTION__ORDER_COLUMN; + /** + * The feature id for the 'Order By' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__ORDER_BY = OrmPackage.XML_ELEMENT_COLLECTION__ORDER_BY; + /** + * The feature id for the 'Attribute Overrides' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__ATTRIBUTE_OVERRIDES = OrmPackage.XML_ELEMENT_COLLECTION__ATTRIBUTE_OVERRIDES; + /** + * The feature id for the 'Association Overrides' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__ASSOCIATION_OVERRIDES = OrmPackage.XML_ELEMENT_COLLECTION__ASSOCIATION_OVERRIDES; + /** + * The feature id for the 'Map Key Attribute Overrides' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__MAP_KEY_ATTRIBUTE_OVERRIDES = OrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_ATTRIBUTE_OVERRIDES; + /** + * The feature id for the 'Map Key Temporal' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__MAP_KEY_TEMPORAL = OrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_TEMPORAL; + /** + * The feature id for the 'Map Key Enumerated' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__MAP_KEY_ENUMERATED = OrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_ENUMERATED; + /** + * The feature id for the 'Target Class' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__TARGET_CLASS = OrmPackage.XML_ELEMENT_COLLECTION__TARGET_CLASS; + /** + * The feature id for the 'Fetch' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__FETCH = OrmPackage.XML_ELEMENT_COLLECTION__FETCH; + /** + * The feature id for the 'Map Key' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__MAP_KEY = OrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY; + /** + * The feature id for the 'Map Key Class' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__MAP_KEY_CLASS = OrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_CLASS; + /** + * The feature id for the 'Map Key Column' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__MAP_KEY_COLUMN = OrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_COLUMN; + /** + * The feature id for the 'Map Key Join Columns' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__MAP_KEY_JOIN_COLUMNS = OrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_JOIN_COLUMNS; + /** + * The feature id for the 'Column' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__COLUMN = OrmPackage.XML_ELEMENT_COLLECTION__COLUMN; + /** + * The feature id for the 'Collection Table' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__COLLECTION_TABLE = OrmPackage.XML_ELEMENT_COLLECTION__COLLECTION_TABLE; + /** + * The feature id for the 'Access Methods' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__ACCESS_METHODS = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 0; + /** + * The feature id for the 'Properties' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__PROPERTIES = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 1; + /** + * The feature id for the 'Attribute Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__ATTRIBUTE_TYPE = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 2; + /** + * The feature id for the 'Convert' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__CONVERT = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 3; + /** + * The feature id for the 'Map Key Association Overrides' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__MAP_KEY_ASSOCIATION_OVERRIDES = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 4; + /** + * The feature id for the 'Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__CONVERTERS = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 5; + /** + * The feature id for the 'Type Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__TYPE_CONVERTERS = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 6; + /** + * The feature id for the 'Object Type Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__OBJECT_TYPE_CONVERTERS = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 7; + /** + * The feature id for the 'Struct Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__STRUCT_CONVERTERS = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 8; + /** + * The feature id for the 'Map Key Convert' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__MAP_KEY_CONVERT = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 9; + /** + * The feature id for the 'Join Fetch' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__JOIN_FETCH = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 10; + /** + * The feature id for the 'Batch Fetch' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__BATCH_FETCH = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 11; + /** + * The feature id for the 'Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__PARTITIONING = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 12; + /** + * The feature id for the 'Replication Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__REPLICATION_PARTITIONING = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 13; + /** + * The feature id for the 'Round Robin Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 14; + /** + * The feature id for the 'Pinned Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__PINNED_PARTITIONING = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 15; + /** + * The feature id for the 'Range Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__RANGE_PARTITIONING = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 16; + /** + * The feature id for the 'Value Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__VALUE_PARTITIONING = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 17; + /** + * The feature id for the 'Hash Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__HASH_PARTITIONING = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 18; + /** + * The feature id for the 'Union Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__UNION_PARTITIONING = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 19; + /** + * The feature id for the 'Partitioned' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__PARTITIONED = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 20; + /** + * The feature id for the 'Cascade On Delete' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__CASCADE_ON_DELETE = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 21; + /** + * The feature id for the 'Noncacheable' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__NONCACHEABLE = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 22; + /** + * The feature id for the 'Composite Member' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__COMPOSITE_MEMBER = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 23; + /** + * The feature id for the 'Field' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__FIELD = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 24; + /** + * The feature id for the 'Delete All' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__DELETE_ALL = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 25; + /** + * The number of structural features of the 'Xml Element Collection' class. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION_FEATURE_COUNT = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 26; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddable Xml Embeddable}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddable + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEmbeddable() + * @generated + */ + public static final int XML_EMBEDDABLE = 26; + /** + * The feature id for the 'Access' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDABLE__ACCESS = OrmPackage.XML_EMBEDDABLE__ACCESS; + /** + * The feature id for the 'Class Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDABLE__CLASS_NAME = OrmPackage.XML_EMBEDDABLE__CLASS_NAME; + /** + * The feature id for the 'Metadata Complete' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDABLE__METADATA_COMPLETE = OrmPackage.XML_EMBEDDABLE__METADATA_COMPLETE; + /** + * The feature id for the 'Description' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDABLE__DESCRIPTION = OrmPackage.XML_EMBEDDABLE__DESCRIPTION; + /** + * The feature id for the 'Attributes' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDABLE__ATTRIBUTES = OrmPackage.XML_EMBEDDABLE__ATTRIBUTES; + /** + * The feature id for the 'Access Methods' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDABLE__ACCESS_METHODS = OrmPackage.XML_EMBEDDABLE_FEATURE_COUNT + 0; + /** + * The feature id for the 'Parent Class' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDABLE__PARENT_CLASS = OrmPackage.XML_EMBEDDABLE_FEATURE_COUNT + 1; + /** + * The feature id for the 'Attribute Overrides' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDABLE__ATTRIBUTE_OVERRIDES = OrmPackage.XML_EMBEDDABLE_FEATURE_COUNT + 2; + /** + * The feature id for the 'Association Overrides' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDABLE__ASSOCIATION_OVERRIDES = OrmPackage.XML_EMBEDDABLE_FEATURE_COUNT + 3; + /** + * The feature id for the 'Plsql Records' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDABLE__PLSQL_RECORDS = OrmPackage.XML_EMBEDDABLE_FEATURE_COUNT + 4; + /** + * The feature id for the 'Plsql Tables' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDABLE__PLSQL_TABLES = OrmPackage.XML_EMBEDDABLE_FEATURE_COUNT + 5; + /** + * The feature id for the 'Struct' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDABLE__STRUCT = OrmPackage.XML_EMBEDDABLE_FEATURE_COUNT + 6; + /** + * The feature id for the 'No Sql' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDABLE__NO_SQL = OrmPackage.XML_EMBEDDABLE_FEATURE_COUNT + 7; + /** + * The feature id for the 'Customizer' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDABLE__CUSTOMIZER = OrmPackage.XML_EMBEDDABLE_FEATURE_COUNT + 8; + /** + * The feature id for the 'Change Tracking' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDABLE__CHANGE_TRACKING = OrmPackage.XML_EMBEDDABLE_FEATURE_COUNT + 9; + /** + * The feature id for the 'Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDABLE__CONVERTERS = OrmPackage.XML_EMBEDDABLE_FEATURE_COUNT + 10; + /** + * The feature id for the 'Type Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDABLE__TYPE_CONVERTERS = OrmPackage.XML_EMBEDDABLE_FEATURE_COUNT + 11; + /** + * The feature id for the 'Object Type Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDABLE__OBJECT_TYPE_CONVERTERS = OrmPackage.XML_EMBEDDABLE_FEATURE_COUNT + 12; + /** + * The feature id for the 'Struct Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDABLE__STRUCT_CONVERTERS = OrmPackage.XML_EMBEDDABLE_FEATURE_COUNT + 13; + /** + * The feature id for the 'Properties' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDABLE__PROPERTIES = OrmPackage.XML_EMBEDDABLE_FEATURE_COUNT + 14; + /** + * The feature id for the 'Copy Policy' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDABLE__COPY_POLICY = OrmPackage.XML_EMBEDDABLE_FEATURE_COUNT + 15; + /** + * The feature id for the 'Instantiation Copy Policy' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDABLE__INSTANTIATION_COPY_POLICY = OrmPackage.XML_EMBEDDABLE_FEATURE_COUNT + 16; + /** + * The feature id for the 'Clone Copy Policy' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDABLE__CLONE_COPY_POLICY = OrmPackage.XML_EMBEDDABLE_FEATURE_COUNT + 17; + /** + * The feature id for the 'Exclude Default Mappings' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDABLE__EXCLUDE_DEFAULT_MAPPINGS = OrmPackage.XML_EMBEDDABLE_FEATURE_COUNT + 18; + /** + * The number of structural features of the 'Xml Embeddable' class. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDABLE_FEATURE_COUNT = OrmPackage.XML_EMBEDDABLE_FEATURE_COUNT + 19; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbedded Xml Embedded}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbedded + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEmbedded() + * @generated + */ + public static final int XML_EMBEDDED = 27; + /** + * The feature id for the 'Access' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDED__ACCESS = OrmPackage.XML_EMBEDDED__ACCESS; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDED__NAME = OrmPackage.XML_EMBEDDED__NAME; + /** + * The feature id for the 'Attribute Overrides' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDED__ATTRIBUTE_OVERRIDES = OrmPackage.XML_EMBEDDED__ATTRIBUTE_OVERRIDES; + /** + * The feature id for the 'Association Overrides' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDED__ASSOCIATION_OVERRIDES = OrmPackage.XML_EMBEDDED__ASSOCIATION_OVERRIDES; + /** + * The feature id for the 'Field' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDED__FIELD = OrmPackage.XML_EMBEDDED_FEATURE_COUNT + 0; + /** + * The feature id for the 'Access Methods' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDED__ACCESS_METHODS = OrmPackage.XML_EMBEDDED_FEATURE_COUNT + 1; + /** + * The feature id for the 'Properties' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDED__PROPERTIES = OrmPackage.XML_EMBEDDED_FEATURE_COUNT + 2; + /** + * The feature id for the 'Attribute Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDED__ATTRIBUTE_TYPE = OrmPackage.XML_EMBEDDED_FEATURE_COUNT + 3; + /** + * The number of structural features of the 'Xml Embedded' class. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDED_FEATURE_COUNT = OrmPackage.XML_EMBEDDED_FEATURE_COUNT + 4; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddedId Xml Embedded Id}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddedId + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEmbeddedId() + * @generated + */ + public static final int XML_EMBEDDED_ID = 28; + /** + * The feature id for the 'Access' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDED_ID__ACCESS = OrmPackage.XML_EMBEDDED_ID__ACCESS; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDED_ID__NAME = OrmPackage.XML_EMBEDDED_ID__NAME; + /** + * The feature id for the 'Attribute Overrides' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDED_ID__ATTRIBUTE_OVERRIDES = OrmPackage.XML_EMBEDDED_ID__ATTRIBUTE_OVERRIDES; + /** + * The feature id for the 'Access Methods' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDED_ID__ACCESS_METHODS = OrmPackage.XML_EMBEDDED_ID_FEATURE_COUNT + 0; + /** + * The feature id for the 'Properties' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDED_ID__PROPERTIES = OrmPackage.XML_EMBEDDED_ID_FEATURE_COUNT + 1; + /** + * The feature id for the 'Attribute Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDED_ID__ATTRIBUTE_TYPE = OrmPackage.XML_EMBEDDED_ID_FEATURE_COUNT + 2; + /** + * The number of structural features of the 'Xml Embedded Id' class. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDED_ID_FEATURE_COUNT = OrmPackage.XML_EMBEDDED_ID_FEATURE_COUNT + 3; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity Xml Entity}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntity() + * @generated + */ + public static final int XML_ENTITY = 29; + /** + * The feature id for the 'Access' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__ACCESS = OrmPackage.XML_ENTITY__ACCESS; + /** + * The feature id for the 'Class Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__CLASS_NAME = OrmPackage.XML_ENTITY__CLASS_NAME; + /** + * The feature id for the 'Metadata Complete' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__METADATA_COMPLETE = OrmPackage.XML_ENTITY__METADATA_COMPLETE; + /** + * The feature id for the 'Description' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__DESCRIPTION = OrmPackage.XML_ENTITY__DESCRIPTION; + /** + * The feature id for the 'Attributes' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__ATTRIBUTES = OrmPackage.XML_ENTITY__ATTRIBUTES; + /** + * The feature id for the 'Named Queries' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__NAMED_QUERIES = OrmPackage.XML_ENTITY__NAMED_QUERIES; + /** + * The feature id for the 'Named Native Queries' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__NAMED_NATIVE_QUERIES = OrmPackage.XML_ENTITY__NAMED_NATIVE_QUERIES; + /** + * The feature id for the 'Sequence Generator' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__SEQUENCE_GENERATOR = OrmPackage.XML_ENTITY__SEQUENCE_GENERATOR; + /** + * The feature id for the 'Table Generator' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__TABLE_GENERATOR = OrmPackage.XML_ENTITY__TABLE_GENERATOR; + /** + * The feature id for the 'Pre Persist' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__PRE_PERSIST = OrmPackage.XML_ENTITY__PRE_PERSIST; + /** + * The feature id for the 'Post Persist' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__POST_PERSIST = OrmPackage.XML_ENTITY__POST_PERSIST; + /** + * The feature id for the 'Pre Remove' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__PRE_REMOVE = OrmPackage.XML_ENTITY__PRE_REMOVE; + /** + * The feature id for the 'Post Remove' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__POST_REMOVE = OrmPackage.XML_ENTITY__POST_REMOVE; + /** + * The feature id for the 'Pre Update' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__PRE_UPDATE = OrmPackage.XML_ENTITY__PRE_UPDATE; + /** + * The feature id for the 'Post Update' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__POST_UPDATE = OrmPackage.XML_ENTITY__POST_UPDATE; + /** + * The feature id for the 'Post Load' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__POST_LOAD = OrmPackage.XML_ENTITY__POST_LOAD; + /** + * The feature id for the 'Attribute Overrides' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__ATTRIBUTE_OVERRIDES = OrmPackage.XML_ENTITY__ATTRIBUTE_OVERRIDES; + /** + * The feature id for the 'Association Overrides' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__ASSOCIATION_OVERRIDES = OrmPackage.XML_ENTITY__ASSOCIATION_OVERRIDES; + /** + * The feature id for the 'Cacheable' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__CACHEABLE = OrmPackage.XML_ENTITY__CACHEABLE; + /** + * The feature id for the 'Id Class' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__ID_CLASS = OrmPackage.XML_ENTITY__ID_CLASS; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__NAME = OrmPackage.XML_ENTITY__NAME; + /** + * The feature id for the 'Table' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__TABLE = OrmPackage.XML_ENTITY__TABLE; + /** + * The feature id for the 'Secondary Tables' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__SECONDARY_TABLES = OrmPackage.XML_ENTITY__SECONDARY_TABLES; + /** + * The feature id for the 'Primary Key Join Columns' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__PRIMARY_KEY_JOIN_COLUMNS = OrmPackage.XML_ENTITY__PRIMARY_KEY_JOIN_COLUMNS; + /** + * The feature id for the 'Inheritance' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__INHERITANCE = OrmPackage.XML_ENTITY__INHERITANCE; + /** + * The feature id for the 'Discriminator Value' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__DISCRIMINATOR_VALUE = OrmPackage.XML_ENTITY__DISCRIMINATOR_VALUE; + /** + * The feature id for the 'Discriminator Column' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__DISCRIMINATOR_COLUMN = OrmPackage.XML_ENTITY__DISCRIMINATOR_COLUMN; + /** + * The feature id for the 'Sql Result Set Mappings' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__SQL_RESULT_SET_MAPPINGS = OrmPackage.XML_ENTITY__SQL_RESULT_SET_MAPPINGS; + /** + * The feature id for the 'Exclude Default Listeners' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__EXCLUDE_DEFAULT_LISTENERS = OrmPackage.XML_ENTITY__EXCLUDE_DEFAULT_LISTENERS; + /** + * The feature id for the 'Exclude Superclass Listeners' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__EXCLUDE_SUPERCLASS_LISTENERS = OrmPackage.XML_ENTITY__EXCLUDE_SUPERCLASS_LISTENERS; + /** + * The feature id for the 'Entity Listeners' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__ENTITY_LISTENERS = OrmPackage.XML_ENTITY__ENTITY_LISTENERS; + /** + * The feature id for the 'Access Methods' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__ACCESS_METHODS = OrmPackage.XML_ENTITY_FEATURE_COUNT + 0; + /** + * The feature id for the 'Parent Class' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__PARENT_CLASS = OrmPackage.XML_ENTITY_FEATURE_COUNT + 1; + /** + * The feature id for the 'Primary Key' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__PRIMARY_KEY = OrmPackage.XML_ENTITY_FEATURE_COUNT + 2; + /** + * The feature id for the 'Cache Interceptor' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__CACHE_INTERCEPTOR = OrmPackage.XML_ENTITY_FEATURE_COUNT + 3; + /** + * The feature id for the 'Query Redirectors' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__QUERY_REDIRECTORS = OrmPackage.XML_ENTITY_FEATURE_COUNT + 4; + /** + * The feature id for the 'Fetch Groups' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__FETCH_GROUPS = OrmPackage.XML_ENTITY_FEATURE_COUNT + 5; + /** + * The feature id for the 'Class Extractor' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__CLASS_EXTRACTOR = OrmPackage.XML_ENTITY_FEATURE_COUNT + 6; + /** + * The feature id for the 'Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__PARTITIONING = OrmPackage.XML_ENTITY_FEATURE_COUNT + 7; + /** + * The feature id for the 'Replication Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__REPLICATION_PARTITIONING = OrmPackage.XML_ENTITY_FEATURE_COUNT + 8; + /** + * The feature id for the 'Round Robin Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__ROUND_ROBIN_PARTITIONING = OrmPackage.XML_ENTITY_FEATURE_COUNT + 9; + /** + * The feature id for the 'Pinned Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__PINNED_PARTITIONING = OrmPackage.XML_ENTITY_FEATURE_COUNT + 10; + /** + * The feature id for the 'Range Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__RANGE_PARTITIONING = OrmPackage.XML_ENTITY_FEATURE_COUNT + 11; + /** + * The feature id for the 'Value Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__VALUE_PARTITIONING = OrmPackage.XML_ENTITY_FEATURE_COUNT + 12; + /** + * The feature id for the 'Hash Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__HASH_PARTITIONING = OrmPackage.XML_ENTITY_FEATURE_COUNT + 13; + /** + * The feature id for the 'Union Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__UNION_PARTITIONING = OrmPackage.XML_ENTITY_FEATURE_COUNT + 14; + /** + * The feature id for the 'Partitioned' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__PARTITIONED = OrmPackage.XML_ENTITY_FEATURE_COUNT + 15; + /** + * The feature id for the 'Additional Criteria' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__ADDITIONAL_CRITERIA = OrmPackage.XML_ENTITY_FEATURE_COUNT + 16; + /** + * The feature id for the 'Cascade On Delete' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__CASCADE_ON_DELETE = OrmPackage.XML_ENTITY_FEATURE_COUNT + 17; + /** + * The feature id for the 'Index' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__INDEX = OrmPackage.XML_ENTITY_FEATURE_COUNT + 18; + /** + * The feature id for the 'Multitenant' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__MULTITENANT = OrmPackage.XML_ENTITY_FEATURE_COUNT + 19; + /** + * The feature id for the 'Named Stored Function Queries' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__NAMED_STORED_FUNCTION_QUERIES = OrmPackage.XML_ENTITY_FEATURE_COUNT + 20; + /** + * The feature id for the 'Named Plsql Stored Function Queries' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__NAMED_PLSQL_STORED_FUNCTION_QUERIES = OrmPackage.XML_ENTITY_FEATURE_COUNT + 21; + /** + * The feature id for the 'Named Plsql Stored Procedure Queries' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__NAMED_PLSQL_STORED_PROCEDURE_QUERIES = OrmPackage.XML_ENTITY_FEATURE_COUNT + 22; + /** + * The feature id for the 'Plsql Records' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__PLSQL_RECORDS = OrmPackage.XML_ENTITY_FEATURE_COUNT + 23; + /** + * The feature id for the 'Plsql Tables' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__PLSQL_TABLES = OrmPackage.XML_ENTITY_FEATURE_COUNT + 24; + /** + * The feature id for the 'Struct' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__STRUCT = OrmPackage.XML_ENTITY_FEATURE_COUNT + 25; + /** + * The feature id for the 'Uuid Generator' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__UUID_GENERATOR = OrmPackage.XML_ENTITY_FEATURE_COUNT + 26; + /** + * The feature id for the 'Cache Index' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__CACHE_INDEX = OrmPackage.XML_ENTITY_FEATURE_COUNT + 27; + /** + * The feature id for the 'No Sql' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__NO_SQL = OrmPackage.XML_ENTITY_FEATURE_COUNT + 28; + /** + * The feature id for the 'Read Only' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__READ_ONLY = OrmPackage.XML_ENTITY_FEATURE_COUNT + 29; + /** + * The feature id for the 'Customizer' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__CUSTOMIZER = OrmPackage.XML_ENTITY_FEATURE_COUNT + 30; + /** + * The feature id for the 'Change Tracking' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__CHANGE_TRACKING = OrmPackage.XML_ENTITY_FEATURE_COUNT + 31; + /** + * The feature id for the 'Cache' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__CACHE = OrmPackage.XML_ENTITY_FEATURE_COUNT + 32; + /** + * The feature id for the 'Existence Checking' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__EXISTENCE_CHECKING = OrmPackage.XML_ENTITY_FEATURE_COUNT + 33; + /** + * The feature id for the 'Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__CONVERTERS = OrmPackage.XML_ENTITY_FEATURE_COUNT + 34; + /** + * The feature id for the 'Type Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__TYPE_CONVERTERS = OrmPackage.XML_ENTITY_FEATURE_COUNT + 35; + /** + * The feature id for the 'Object Type Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__OBJECT_TYPE_CONVERTERS = OrmPackage.XML_ENTITY_FEATURE_COUNT + 36; + /** + * The feature id for the 'Struct Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__STRUCT_CONVERTERS = OrmPackage.XML_ENTITY_FEATURE_COUNT + 37; + /** + * The feature id for the 'Named Stored Procedure Queries' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__NAMED_STORED_PROCEDURE_QUERIES = OrmPackage.XML_ENTITY_FEATURE_COUNT + 38; + /** + * The feature id for the 'Properties' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__PROPERTIES = OrmPackage.XML_ENTITY_FEATURE_COUNT + 39; + /** + * The feature id for the 'Optimistic Locking' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__OPTIMISTIC_LOCKING = OrmPackage.XML_ENTITY_FEATURE_COUNT + 40; + /** + * The feature id for the 'Copy Policy' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__COPY_POLICY = OrmPackage.XML_ENTITY_FEATURE_COUNT + 41; + /** + * The feature id for the 'Instantiation Copy Policy' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__INSTANTIATION_COPY_POLICY = OrmPackage.XML_ENTITY_FEATURE_COUNT + 42; + /** + * The feature id for the 'Clone Copy Policy' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__CLONE_COPY_POLICY = OrmPackage.XML_ENTITY_FEATURE_COUNT + 43; + /** + * The feature id for the 'Exclude Default Mappings' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY__EXCLUDE_DEFAULT_MAPPINGS = OrmPackage.XML_ENTITY_FEATURE_COUNT + 44; + /** + * The number of structural features of the 'Xml Entity' class. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_FEATURE_COUNT = OrmPackage.XML_ENTITY_FEATURE_COUNT + 45; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntityMappings Xml Entity Mappings}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntityMappings + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntityMappings() + * @generated + */ + public static final int XML_ENTITY_MAPPINGS = 30; + /** + * The feature id for the 'Version' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS__VERSION = OrmPackage.XML_ENTITY_MAPPINGS__VERSION; + /** + * The feature id for the 'Schema Location' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS__SCHEMA_LOCATION = OrmPackage.XML_ENTITY_MAPPINGS__SCHEMA_LOCATION; + /** + * The feature id for the 'Implied Version' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS__IMPLIED_VERSION = OrmPackage.XML_ENTITY_MAPPINGS__IMPLIED_VERSION; + /** + * The feature id for the 'Named Queries' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS__NAMED_QUERIES = OrmPackage.XML_ENTITY_MAPPINGS__NAMED_QUERIES; + /** + * The feature id for the 'Named Native Queries' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS__NAMED_NATIVE_QUERIES = OrmPackage.XML_ENTITY_MAPPINGS__NAMED_NATIVE_QUERIES; + /** + * The feature id for the 'Access' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS__ACCESS = OrmPackage.XML_ENTITY_MAPPINGS__ACCESS; + /** + * The feature id for the 'Description' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS__DESCRIPTION = OrmPackage.XML_ENTITY_MAPPINGS__DESCRIPTION; + /** + * The feature id for the 'Persistence Unit Metadata' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS__PERSISTENCE_UNIT_METADATA = OrmPackage.XML_ENTITY_MAPPINGS__PERSISTENCE_UNIT_METADATA; + /** + * The feature id for the 'Package' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS__PACKAGE = OrmPackage.XML_ENTITY_MAPPINGS__PACKAGE; + /** + * The feature id for the 'Schema' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS__SCHEMA = OrmPackage.XML_ENTITY_MAPPINGS__SCHEMA; + /** + * The feature id for the 'Catalog' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS__CATALOG = OrmPackage.XML_ENTITY_MAPPINGS__CATALOG; + /** + * The feature id for the 'Sequence Generators' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS__SEQUENCE_GENERATORS = OrmPackage.XML_ENTITY_MAPPINGS__SEQUENCE_GENERATORS; + /** + * The feature id for the 'Table Generators' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS__TABLE_GENERATORS = OrmPackage.XML_ENTITY_MAPPINGS__TABLE_GENERATORS; + /** + * The feature id for the 'Sql Result Set Mappings' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS__SQL_RESULT_SET_MAPPINGS = OrmPackage.XML_ENTITY_MAPPINGS__SQL_RESULT_SET_MAPPINGS; + /** + * The feature id for the 'Mapped Superclasses' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS__MAPPED_SUPERCLASSES = OrmPackage.XML_ENTITY_MAPPINGS__MAPPED_SUPERCLASSES; + /** + * The feature id for the 'Entities' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS__ENTITIES = OrmPackage.XML_ENTITY_MAPPINGS__ENTITIES; + /** + * The feature id for the 'Embeddables' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS__EMBEDDABLES = OrmPackage.XML_ENTITY_MAPPINGS__EMBEDDABLES; + /** + * The feature id for the 'Access Methods' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS__ACCESS_METHODS = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 0; + /** + * The feature id for the 'Partitioning' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS__PARTITIONING = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 1; + /** + * The feature id for the 'Replication Partitioning' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS__REPLICATION_PARTITIONING = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 2; + /** + * The feature id for the 'Round Robin Partitioning' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS__ROUND_ROBIN_PARTITIONING = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 3; + /** + * The feature id for the 'Pinned Partitioning' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS__PINNED_PARTITIONING = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 4; + /** + * The feature id for the 'Range Partitioning' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS__RANGE_PARTITIONING = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 5; + /** + * The feature id for the 'Value Partitioning' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS__VALUE_PARTITIONING = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 6; + /** + * The feature id for the 'Hash Partitioning' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS__HASH_PARTITIONING = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 7; + /** + * The feature id for the 'Union Partitioning' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS__UNION_PARTITIONING = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 8; + /** + * The feature id for the 'Tenant Discriminator Columns' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS__TENANT_DISCRIMINATOR_COLUMNS = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 9; + /** + * The feature id for the 'Named Stored Function Queries' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS__NAMED_STORED_FUNCTION_QUERIES = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 10; + /** + * The feature id for the 'Named Plsql Stored Function Queries' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS__NAMED_PLSQL_STORED_FUNCTION_QUERIES = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 11; + /** + * The feature id for the 'Named Plsql Stored Procedure Queries' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS__NAMED_PLSQL_STORED_PROCEDURE_QUERIES = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 12; + /** + * The feature id for the 'Plsql Records' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS__PLSQL_RECORDS = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 13; + /** + * The feature id for the 'Plsql Tables' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS__PLSQL_TABLES = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 14; + /** + * The feature id for the 'Uuid Generators' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS__UUID_GENERATORS = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 15; + /** + * The feature id for the 'Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS__CONVERTERS = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 16; + /** + * The feature id for the 'Type Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS__TYPE_CONVERTERS = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 17; + /** + * The feature id for the 'Object Type Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS__OBJECT_TYPE_CONVERTERS = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 18; + /** + * The feature id for the 'Struct Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS__STRUCT_CONVERTERS = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 19; + /** + * The feature id for the 'Named Stored Procedure Queries' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS__NAMED_STORED_PROCEDURE_QUERIES = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 20; + /** + * The number of structural features of the 'Xml Entity Mappings' class. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS_FEATURE_COUNT = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 21; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlFetchAttribute Xml Fetch Attribute}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlFetchAttribute + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlFetchAttribute() + * @generated + */ + public static final int XML_FETCH_ATTRIBUTE = 31; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_FETCH_ATTRIBUTE__NAME = EclipseLinkOrmV2_1Package.XML_FETCH_ATTRIBUTE_21__NAME; + /** + * The number of structural features of the 'Xml Fetch Attribute' class. + * + * + * @generated + * @ordered + */ + public static final int XML_FETCH_ATTRIBUTE_FEATURE_COUNT = EclipseLinkOrmV2_1Package.XML_FETCH_ATTRIBUTE_21_FEATURE_COUNT + 0; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlFetchGroup Xml Fetch Group}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlFetchGroup + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlFetchGroup() + * @generated + */ + public static final int XML_FETCH_GROUP = 32; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_FETCH_GROUP__NAME = EclipseLinkOrmV2_1Package.XML_FETCH_GROUP_21__NAME; + /** + * The feature id for the 'Load' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_FETCH_GROUP__LOAD = EclipseLinkOrmV2_1Package.XML_FETCH_GROUP_21__LOAD; + /** + * The feature id for the 'Attributes' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_FETCH_GROUP__ATTRIBUTES = EclipseLinkOrmV2_1Package.XML_FETCH_GROUP_21__ATTRIBUTES; + /** + * The number of structural features of the 'Xml Fetch Group' class. + * + * + * @generated + * @ordered + */ + public static final int XML_FETCH_GROUP_FEATURE_COUNT = EclipseLinkOrmV2_1Package.XML_FETCH_GROUP_21_FEATURE_COUNT + 0; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlField Xml Field}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlField + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlField() + * @generated + */ + public static final int XML_FIELD = 33; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_FIELD__NAME = EclipseLinkOrmV2_4Package.XML_FIELD_24__NAME; + /** + * The number of structural features of the 'Xml Field' class. + * + * + * @generated + * @ordered + */ + public static final int XML_FIELD_FEATURE_COUNT = EclipseLinkOrmV2_4Package.XML_FIELD_24_FEATURE_COUNT + 0; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlId Xml Id}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlId + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlId() + * @generated + */ + public static final int XML_ID = 35; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlIndex Xml Index}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlIndex + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlIndex() + * @generated + */ + public static final int XML_INDEX = 36; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlInstantiationCopyPolicy Xml Instantiation Copy Policy}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlInstantiationCopyPolicy + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlInstantiationCopyPolicy() + * @generated + */ + public static final int XML_INSTANTIATION_COPY_POLICY = 37; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinFetch Xml Join Fetch}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinFetch + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlJoinFetch() + * @generated + */ + public static final int XML_JOIN_FETCH = 38; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinTable Xml Join Table}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinTable + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlJoinTable() + * @generated + */ + public static final int XML_JOIN_TABLE = 40; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToMany Xml Many To Many}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToMany + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlManyToMany() + * @generated + */ + public static final int XML_MANY_TO_MANY = 41; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToOne Xml Many To One}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToOne + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlManyToOne() + * @generated + */ + public static final int XML_MANY_TO_ONE = 42; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass Xml Mapped Superclass}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlMappedSuperclass() + * @generated + */ + public static final int XML_MAPPED_SUPERCLASS = 43; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMutable Xml Mutable}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMutable + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlMutable() + * @generated + */ + public static final int XML_MUTABLE = 46; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery Xml Named Stored Procedure Query}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedStoredProcedureQuery() + * @generated + */ + public static final int XML_NAMED_STORED_PROCEDURE_QUERY = 51; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter Xml Object Type Converter}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlObjectTypeConverter() + * @generated + */ + public static final int XML_OBJECT_TYPE_CONVERTER = 53; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToMany Xml One To Many}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToMany + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOneToMany() + * @generated + */ + public static final int XML_ONE_TO_MANY = 54; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToOne Xml One To One}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToOne + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOneToOne() + * @generated + */ + public static final int XML_ONE_TO_ONE = 55; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOptimisticLocking Xml Optimistic Locking}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOptimisticLocking + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOptimisticLocking() + * @generated + */ + public static final int XML_OPTIMISTIC_LOCKING = 56; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOrderColumn Xml Order Column}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOrderColumn + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOrderColumn() + * @generated + */ + public static final int XML_ORDER_COLUMN = 57; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPersistenceUnitDefaults Xml Persistence Unit Defaults}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPersistenceUnitDefaults + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPersistenceUnitDefaults() + * @generated + */ + public static final int XML_PERSISTENCE_UNIT_DEFAULTS = 59; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPersistenceUnitMetadata Xml Persistence Unit Metadata}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPersistenceUnitMetadata + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPersistenceUnitMetadata() + * @generated + */ + public static final int XML_PERSISTENCE_UNIT_METADATA = 60; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPrimaryKey Xml Primary Key}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPrimaryKey + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPrimaryKey() + * @generated + */ + public static final int XML_PRIMARY_KEY = 64; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPrivateOwned Xml Private Owned}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPrivateOwned + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPrivateOwned() + * @generated + */ + public static final int XML_PRIVATE_OWNED = 65; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlProperty Xml Property}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlProperty + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlProperty() + * @generated + */ + public static final int XML_PROPERTY = 66; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPropertyContainer Xml Property Container}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPropertyContainer + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPropertyContainer() + * @generated + */ + public static final int XML_PROPERTY_CONTAINER = 67; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryContainer Xml Query Container}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryContainer + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlQueryContainer() + * @generated + */ + public static final int XML_QUERY_CONTAINER = 68; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryRedirectors Xml Query Redirectors}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryRedirectors + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlQueryRedirectors() + * @generated + */ + public static final int XML_QUERY_REDIRECTORS = 69; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlReadOnly Xml Read Only}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlReadOnly + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlReadOnly() + * @generated + */ + public static final int XML_READ_ONLY = 71; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlReturnInsert Xml Return Insert}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlReturnInsert + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlReturnInsert() + * @generated + */ + public static final int XML_RETURN_INSERT = 73; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlSecondaryTable Xml Secondary Table}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlSecondaryTable + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlSecondaryTable() + * @generated + */ + public static final int XML_SECONDARY_TABLE = 75; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter Xml Stored Procedure Parameter}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlStoredProcedureParameter() + * @generated + */ + public static final int XML_STORED_PROCEDURE_PARAMETER = 76; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructConverter Xml Struct Converter}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructConverter + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlStructConverter() + * @generated + */ + public static final int XML_STRUCT_CONVERTER = 78; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTable Xml Table}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTable + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTable() + * @generated + */ + public static final int XML_TABLE = 80; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTableGenerator Xml Table Generator}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTableGenerator + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTableGenerator() + * @generated + */ + public static final int XML_TABLE_GENERATOR = 81; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTimeOfDay Xml Time Of Day}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTimeOfDay + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTimeOfDay() + * @generated + */ + public static final int XML_TIME_OF_DAY = 84; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTransformation Xml Transformation}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTransformation + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTransformation() + * @generated + */ + public static final int XML_TRANSFORMATION = 85; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTransient Xml Transient}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTransient + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTransient() + * @generated + */ + public static final int XML_TRANSIENT = 86; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter Xml Type Converter}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTypeConverter() + * @generated + */ + public static final int XML_TYPE_CONVERTER = 87; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlVariableOneToOne Xml Variable One To One}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlVariableOneToOne + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlVariableOneToOne() + * @generated + */ + public static final int XML_VARIABLE_ONE_TO_ONE = 92; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlVersion Xml Version}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlVersion + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlVersion() + * @generated + */ + public static final int XML_VERSION = 93; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlHashPartitioning Xml Hash Partitioning}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlHashPartitioning + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlHashPartitioning() + * @generated + */ + public static final int XML_HASH_PARTITIONING = 34; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_HASH_PARTITIONING__NAME = EclipseLinkOrmV2_2Package.XML_HASH_PARTITIONING_22__NAME; + /** + * The number of structural features of the 'Xml Hash Partitioning' class. + * + * + * @generated + * @ordered + */ + public static final int XML_HASH_PARTITIONING_FEATURE_COUNT = EclipseLinkOrmV2_2Package.XML_HASH_PARTITIONING_22_FEATURE_COUNT + 0; + /** + * The feature id for the 'Access' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ID__ACCESS = OrmPackage.XML_ID__ACCESS; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ID__NAME = OrmPackage.XML_ID__NAME; + /** + * The feature id for the 'Column' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ID__COLUMN = OrmPackage.XML_ID__COLUMN; + /** + * The feature id for the 'Lob' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ID__LOB = OrmPackage.XML_ID__LOB; + /** + * The feature id for the 'Temporal' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ID__TEMPORAL = OrmPackage.XML_ID__TEMPORAL; + /** + * The feature id for the 'Enumerated' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ID__ENUMERATED = OrmPackage.XML_ID__ENUMERATED; + /** + * The feature id for the 'Sequence Generator' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ID__SEQUENCE_GENERATOR = OrmPackage.XML_ID__SEQUENCE_GENERATOR; + /** + * The feature id for the 'Table Generator' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ID__TABLE_GENERATOR = OrmPackage.XML_ID__TABLE_GENERATOR; + /** + * The feature id for the 'Generated Value' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ID__GENERATED_VALUE = OrmPackage.XML_ID__GENERATED_VALUE; + /** + * The feature id for the 'Index' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ID__INDEX = OrmPackage.XML_ID_FEATURE_COUNT + 0; + /** + * The feature id for the 'Uuid Generator' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ID__UUID_GENERATOR = OrmPackage.XML_ID_FEATURE_COUNT + 1; + /** + * The feature id for the 'Field' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ID__FIELD = OrmPackage.XML_ID_FEATURE_COUNT + 2; + /** + * The feature id for the 'Cache Index' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ID__CACHE_INDEX = OrmPackage.XML_ID_FEATURE_COUNT + 3; + /** + * The feature id for the 'Access Methods' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ID__ACCESS_METHODS = OrmPackage.XML_ID_FEATURE_COUNT + 4; + /** + * The feature id for the 'Properties' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ID__PROPERTIES = OrmPackage.XML_ID_FEATURE_COUNT + 5; + /** + * The feature id for the 'Attribute Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ID__ATTRIBUTE_TYPE = OrmPackage.XML_ID_FEATURE_COUNT + 6; + /** + * The feature id for the 'Mutable' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ID__MUTABLE = OrmPackage.XML_ID_FEATURE_COUNT + 7; + /** + * The feature id for the 'Convert' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ID__CONVERT = OrmPackage.XML_ID_FEATURE_COUNT + 8; + /** + * The feature id for the 'Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ID__CONVERTERS = OrmPackage.XML_ID_FEATURE_COUNT + 9; + /** + * The feature id for the 'Type Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ID__TYPE_CONVERTERS = OrmPackage.XML_ID_FEATURE_COUNT + 10; + /** + * The feature id for the 'Object Type Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ID__OBJECT_TYPE_CONVERTERS = OrmPackage.XML_ID_FEATURE_COUNT + 11; + /** + * The feature id for the 'Struct Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ID__STRUCT_CONVERTERS = OrmPackage.XML_ID_FEATURE_COUNT + 12; + /** + * The number of structural features of the 'Xml Id' class. + * + * + * @generated + * @ordered + */ + public static final int XML_ID_FEATURE_COUNT = OrmPackage.XML_ID_FEATURE_COUNT + 13; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_INDEX__NAME = EclipseLinkOrmV2_2Package.XML_INDEX_22__NAME; + /** + * The feature id for the 'Schema' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_INDEX__SCHEMA = EclipseLinkOrmV2_2Package.XML_INDEX_22__SCHEMA; + /** + * The feature id for the 'Catalog' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_INDEX__CATALOG = EclipseLinkOrmV2_2Package.XML_INDEX_22__CATALOG; + /** + * The feature id for the 'Table' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_INDEX__TABLE = EclipseLinkOrmV2_2Package.XML_INDEX_22__TABLE; + /** + * The feature id for the 'Unique' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_INDEX__UNIQUE = EclipseLinkOrmV2_2Package.XML_INDEX_22__UNIQUE; + /** + * The feature id for the 'Column Names' attribute list. + * + * + * @generated + * @ordered + */ + public static final int XML_INDEX__COLUMN_NAMES = EclipseLinkOrmV2_2Package.XML_INDEX_22__COLUMN_NAMES; + /** + * The number of structural features of the 'Xml Index' class. + * + * + * @generated + * @ordered + */ + public static final int XML_INDEX_FEATURE_COUNT = EclipseLinkOrmV2_2Package.XML_INDEX_22_FEATURE_COUNT + 0; + /** + * The number of structural features of the 'Xml Instantiation Copy Policy' class. + * + * + * @generated + * @ordered + */ + public static final int XML_INSTANTIATION_COPY_POLICY_FEATURE_COUNT = 0; + /** + * The feature id for the 'Join Fetch' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_JOIN_FETCH__JOIN_FETCH = 0; + /** + * The number of structural features of the 'Xml Join Fetch' class. + * + * + * @generated + * @ordered + */ + public static final int XML_JOIN_FETCH_FEATURE_COUNT = 1; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinField Xml Join Field}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinField + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlJoinField() + * @generated + */ + public static final int XML_JOIN_FIELD = 39; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_JOIN_FIELD__NAME = EclipseLinkOrmV2_4Package.XML_JOIN_FIELD_24__NAME; + /** + * The feature id for the 'Referenced Field Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_JOIN_FIELD__REFERENCED_FIELD_NAME = EclipseLinkOrmV2_4Package.XML_JOIN_FIELD_24__REFERENCED_FIELD_NAME; + /** + * The number of structural features of the 'Xml Join Field' class. + * + * + * @generated + * @ordered + */ + public static final int XML_JOIN_FIELD_FEATURE_COUNT = EclipseLinkOrmV2_4Package.XML_JOIN_FIELD_24_FEATURE_COUNT + 0; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_JOIN_TABLE__NAME = OrmPackage.XML_JOIN_TABLE__NAME; + /** + * The feature id for the 'Catalog' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_JOIN_TABLE__CATALOG = OrmPackage.XML_JOIN_TABLE__CATALOG; + /** + * The feature id for the 'Schema' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_JOIN_TABLE__SCHEMA = OrmPackage.XML_JOIN_TABLE__SCHEMA; + /** + * The feature id for the 'Unique Constraints' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_JOIN_TABLE__UNIQUE_CONSTRAINTS = OrmPackage.XML_JOIN_TABLE__UNIQUE_CONSTRAINTS; + /** + * The feature id for the 'Join Columns' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_JOIN_TABLE__JOIN_COLUMNS = OrmPackage.XML_JOIN_TABLE__JOIN_COLUMNS; + /** + * The feature id for the 'Inverse Join Columns' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_JOIN_TABLE__INVERSE_JOIN_COLUMNS = OrmPackage.XML_JOIN_TABLE__INVERSE_JOIN_COLUMNS; + /** + * The feature id for the 'Creation Suffix' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_JOIN_TABLE__CREATION_SUFFIX = OrmPackage.XML_JOIN_TABLE_FEATURE_COUNT + 0; + /** + * The number of structural features of the 'Xml Join Table' class. + * + * + * @generated + * @ordered + */ + public static final int XML_JOIN_TABLE_FEATURE_COUNT = OrmPackage.XML_JOIN_TABLE_FEATURE_COUNT + 1; + /** + * The feature id for the 'Access' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY__ACCESS = OrmPackage.XML_MANY_TO_MANY__ACCESS; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY__NAME = OrmPackage.XML_MANY_TO_MANY__NAME; + /** + * The feature id for the 'Target Entity' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY__TARGET_ENTITY = OrmPackage.XML_MANY_TO_MANY__TARGET_ENTITY; + /** + * The feature id for the 'Fetch' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY__FETCH = OrmPackage.XML_MANY_TO_MANY__FETCH; + /** + * The feature id for the 'Cascade' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY__CASCADE = OrmPackage.XML_MANY_TO_MANY__CASCADE; + /** + * The feature id for the 'Mapped By' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY__MAPPED_BY = OrmPackage.XML_MANY_TO_MANY__MAPPED_BY; + /** + * The feature id for the 'Join Table' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY__JOIN_TABLE = OrmPackage.XML_MANY_TO_MANY__JOIN_TABLE; + /** + * The feature id for the 'Order Column' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY__ORDER_COLUMN = OrmPackage.XML_MANY_TO_MANY__ORDER_COLUMN; + /** + * The feature id for the 'Order By' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY__ORDER_BY = OrmPackage.XML_MANY_TO_MANY__ORDER_BY; + /** + * The feature id for the 'Map Key Attribute Overrides' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY__MAP_KEY_ATTRIBUTE_OVERRIDES = OrmPackage.XML_MANY_TO_MANY__MAP_KEY_ATTRIBUTE_OVERRIDES; + /** + * The feature id for the 'Map Key Temporal' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY__MAP_KEY_TEMPORAL = OrmPackage.XML_MANY_TO_MANY__MAP_KEY_TEMPORAL; + /** + * The feature id for the 'Map Key Enumerated' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY__MAP_KEY_ENUMERATED = OrmPackage.XML_MANY_TO_MANY__MAP_KEY_ENUMERATED; + /** + * The feature id for the 'Map Key Class' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY__MAP_KEY_CLASS = OrmPackage.XML_MANY_TO_MANY__MAP_KEY_CLASS; + /** + * The feature id for the 'Map Key Column' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY__MAP_KEY_COLUMN = OrmPackage.XML_MANY_TO_MANY__MAP_KEY_COLUMN; + /** + * The feature id for the 'Map Key Join Columns' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY__MAP_KEY_JOIN_COLUMNS = OrmPackage.XML_MANY_TO_MANY__MAP_KEY_JOIN_COLUMNS; + /** + * The feature id for the 'Map Key' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY__MAP_KEY = OrmPackage.XML_MANY_TO_MANY__MAP_KEY; + /** + * The feature id for the 'Map Key Association Overrides' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY__MAP_KEY_ASSOCIATION_OVERRIDES = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 0; + /** + * The feature id for the 'Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY__CONVERTERS = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 1; + /** + * The feature id for the 'Type Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY__TYPE_CONVERTERS = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 2; + /** + * The feature id for the 'Object Type Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY__OBJECT_TYPE_CONVERTERS = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 3; + /** + * The feature id for the 'Struct Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY__STRUCT_CONVERTERS = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 4; + /** + * The feature id for the 'Map Key Convert' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY__MAP_KEY_CONVERT = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 5; + /** + * The feature id for the 'Batch Fetch' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY__BATCH_FETCH = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 6; + /** + * The feature id for the 'Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY__PARTITIONING = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 7; + /** + * The feature id for the 'Replication Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY__REPLICATION_PARTITIONING = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 8; + /** + * The feature id for the 'Round Robin Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY__ROUND_ROBIN_PARTITIONING = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 9; + /** + * The feature id for the 'Pinned Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY__PINNED_PARTITIONING = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 10; + /** + * The feature id for the 'Range Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY__RANGE_PARTITIONING = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 11; + /** + * The feature id for the 'Value Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY__VALUE_PARTITIONING = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 12; + /** + * The feature id for the 'Hash Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY__HASH_PARTITIONING = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 13; + /** + * The feature id for the 'Union Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY__UNION_PARTITIONING = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 14; + /** + * The feature id for the 'Partitioned' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY__PARTITIONED = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 15; + /** + * The feature id for the 'Cascade On Delete' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY__CASCADE_ON_DELETE = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 16; + /** + * The feature id for the 'Non Cacheable' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY__NON_CACHEABLE = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 17; + /** + * The feature id for the 'Join Fields' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY__JOIN_FIELDS = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 18; + /** + * The feature id for the 'Access Methods' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY__ACCESS_METHODS = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 19; + /** + * The feature id for the 'Properties' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY__PROPERTIES = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 20; + /** + * The feature id for the 'Attribute Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY__ATTRIBUTE_TYPE = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 21; + /** + * The feature id for the 'Join Fetch' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY__JOIN_FETCH = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 22; + /** + * The number of structural features of the 'Xml Many To Many' class. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY_FEATURE_COUNT = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 23; + /** + * The feature id for the 'Access' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_ONE__ACCESS = OrmPackage.XML_MANY_TO_ONE__ACCESS; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_ONE__NAME = OrmPackage.XML_MANY_TO_ONE__NAME; + /** + * The feature id for the 'Target Entity' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_ONE__TARGET_ENTITY = OrmPackage.XML_MANY_TO_ONE__TARGET_ENTITY; + /** + * The feature id for the 'Fetch' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_ONE__FETCH = OrmPackage.XML_MANY_TO_ONE__FETCH; + /** + * The feature id for the 'Cascade' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_ONE__CASCADE = OrmPackage.XML_MANY_TO_ONE__CASCADE; + /** + * The feature id for the 'Join Table' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_ONE__JOIN_TABLE = OrmPackage.XML_MANY_TO_ONE__JOIN_TABLE; + /** + * The feature id for the 'Join Columns' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_ONE__JOIN_COLUMNS = OrmPackage.XML_MANY_TO_ONE__JOIN_COLUMNS; + /** + * The feature id for the 'Id' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_ONE__ID = OrmPackage.XML_MANY_TO_ONE__ID; + /** + * The feature id for the 'Maps Id' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_ONE__MAPS_ID = OrmPackage.XML_MANY_TO_ONE__MAPS_ID; + /** + * The feature id for the 'Optional' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_ONE__OPTIONAL = OrmPackage.XML_MANY_TO_ONE__OPTIONAL; + /** + * The feature id for the 'Batch Fetch' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_ONE__BATCH_FETCH = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 0; + /** + * The feature id for the 'Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_ONE__PARTITIONING = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 1; + /** + * The feature id for the 'Replication Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_ONE__REPLICATION_PARTITIONING = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 2; + /** + * The feature id for the 'Round Robin Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_ONE__ROUND_ROBIN_PARTITIONING = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 3; + /** + * The feature id for the 'Pinned Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_ONE__PINNED_PARTITIONING = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 4; + /** + * The feature id for the 'Range Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_ONE__RANGE_PARTITIONING = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 5; + /** + * The feature id for the 'Value Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_ONE__VALUE_PARTITIONING = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 6; + /** + * The feature id for the 'Hash Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_ONE__HASH_PARTITIONING = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 7; + /** + * The feature id for the 'Union Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_ONE__UNION_PARTITIONING = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 8; + /** + * The feature id for the 'Partitioned' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_ONE__PARTITIONED = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 9; + /** + * The feature id for the 'Non Cacheable' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_ONE__NON_CACHEABLE = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 10; + /** + * The feature id for the 'Join Fields' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_ONE__JOIN_FIELDS = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 11; + /** + * The feature id for the 'Access Methods' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_ONE__ACCESS_METHODS = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 12; + /** + * The feature id for the 'Properties' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_ONE__PROPERTIES = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 13; + /** + * The feature id for the 'Attribute Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_ONE__ATTRIBUTE_TYPE = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 14; + /** + * The feature id for the 'Join Fetch' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_ONE__JOIN_FETCH = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 15; + /** + * The number of structural features of the 'Xml Many To One' class. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_ONE_FEATURE_COUNT = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 16; + /** + * The feature id for the 'Access' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__ACCESS = OrmPackage.XML_MAPPED_SUPERCLASS__ACCESS; + /** + * The feature id for the 'Class Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__CLASS_NAME = OrmPackage.XML_MAPPED_SUPERCLASS__CLASS_NAME; + /** + * The feature id for the 'Metadata Complete' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__METADATA_COMPLETE = OrmPackage.XML_MAPPED_SUPERCLASS__METADATA_COMPLETE; + /** + * The feature id for the 'Description' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__DESCRIPTION = OrmPackage.XML_MAPPED_SUPERCLASS__DESCRIPTION; + /** + * The feature id for the 'Attributes' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__ATTRIBUTES = OrmPackage.XML_MAPPED_SUPERCLASS__ATTRIBUTES; + /** + * The feature id for the 'Id Class' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__ID_CLASS = OrmPackage.XML_MAPPED_SUPERCLASS__ID_CLASS; + /** + * The feature id for the 'Exclude Default Listeners' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__EXCLUDE_DEFAULT_LISTENERS = OrmPackage.XML_MAPPED_SUPERCLASS__EXCLUDE_DEFAULT_LISTENERS; + /** + * The feature id for the 'Exclude Superclass Listeners' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__EXCLUDE_SUPERCLASS_LISTENERS = OrmPackage.XML_MAPPED_SUPERCLASS__EXCLUDE_SUPERCLASS_LISTENERS; + /** + * The feature id for the 'Entity Listeners' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__ENTITY_LISTENERS = OrmPackage.XML_MAPPED_SUPERCLASS__ENTITY_LISTENERS; + /** + * The feature id for the 'Access Methods' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__ACCESS_METHODS = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 0; + /** + * The feature id for the 'Parent Class' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__PARENT_CLASS = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 1; + /** + * The feature id for the 'Primary Key' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__PRIMARY_KEY = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 2; + /** + * The feature id for the 'Cacheable' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__CACHEABLE = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 3; + /** + * The feature id for the 'Cache Interceptor' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__CACHE_INTERCEPTOR = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 4; + /** + * The feature id for the 'Association Overrides' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__ASSOCIATION_OVERRIDES = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 5; + /** + * The feature id for the 'Attribute Overrides' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__ATTRIBUTE_OVERRIDES = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 6; + /** + * The feature id for the 'Fetch Groups' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__FETCH_GROUPS = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 7; + /** + * The feature id for the 'Sequence Generator' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__SEQUENCE_GENERATOR = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 8; + /** + * The feature id for the 'Table Generator' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__TABLE_GENERATOR = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 9; + /** + * The feature id for the 'Named Queries' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__NAMED_QUERIES = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 10; + /** + * The feature id for the 'Named Native Queries' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__NAMED_NATIVE_QUERIES = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 11; + /** + * The feature id for the 'Named Stored Procedure Queries' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__NAMED_STORED_PROCEDURE_QUERIES = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 12; + /** + * The feature id for the 'Sql Result Set Mappings' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__SQL_RESULT_SET_MAPPINGS = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 13; + /** + * The feature id for the 'Query Redirectors' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__QUERY_REDIRECTORS = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 14; + /** + * The feature id for the 'Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__PARTITIONING = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 15; + /** + * The feature id for the 'Replication Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__REPLICATION_PARTITIONING = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 16; + /** + * The feature id for the 'Round Robin Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__ROUND_ROBIN_PARTITIONING = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 17; + /** + * The feature id for the 'Pinned Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__PINNED_PARTITIONING = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 18; + /** + * The feature id for the 'Range Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__RANGE_PARTITIONING = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 19; + /** + * The feature id for the 'Value Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__VALUE_PARTITIONING = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 20; + /** + * The feature id for the 'Hash Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__HASH_PARTITIONING = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 21; + /** + * The feature id for the 'Union Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__UNION_PARTITIONING = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 22; + /** + * The feature id for the 'Partitioned' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__PARTITIONED = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 23; + /** + * The feature id for the 'Additional Criteria' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__ADDITIONAL_CRITERIA = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 24; + /** + * The feature id for the 'Multitenant' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__MULTITENANT = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 25; + /** + * The feature id for the 'Named Stored Function Queries' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__NAMED_STORED_FUNCTION_QUERIES = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 26; + /** + * The feature id for the 'Named Plsql Stored Function Queries' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__NAMED_PLSQL_STORED_FUNCTION_QUERIES = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 27; + /** + * The feature id for the 'Named Plsql Stored Procedure Queries' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__NAMED_PLSQL_STORED_PROCEDURE_QUERIES = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 28; + /** + * The feature id for the 'Plsql Records' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__PLSQL_RECORDS = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 29; + /** + * The feature id for the 'Plsql Tables' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__PLSQL_TABLES = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 30; + /** + * The feature id for the 'Uuid Generator' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__UUID_GENERATOR = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 31; + /** + * The feature id for the 'Cache Index' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__CACHE_INDEX = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 32; + /** + * The feature id for the 'Read Only' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__READ_ONLY = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 33; + /** + * The feature id for the 'Customizer' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__CUSTOMIZER = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 34; + /** + * The feature id for the 'Change Tracking' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__CHANGE_TRACKING = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 35; + /** + * The feature id for the 'Cache' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__CACHE = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 36; + /** + * The feature id for the 'Existence Checking' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__EXISTENCE_CHECKING = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 37; + /** + * The feature id for the 'Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__CONVERTERS = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 38; + /** + * The feature id for the 'Type Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__TYPE_CONVERTERS = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 39; + /** + * The feature id for the 'Object Type Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__OBJECT_TYPE_CONVERTERS = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 40; + /** + * The feature id for the 'Struct Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__STRUCT_CONVERTERS = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 41; + /** + * The feature id for the 'Properties' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__PROPERTIES = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 42; + /** + * The feature id for the 'Optimistic Locking' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__OPTIMISTIC_LOCKING = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 43; + /** + * The feature id for the 'Copy Policy' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__COPY_POLICY = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 44; + /** + * The feature id for the 'Instantiation Copy Policy' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__INSTANTIATION_COPY_POLICY = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 45; + /** + * The feature id for the 'Clone Copy Policy' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__CLONE_COPY_POLICY = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 46; + /** + * The feature id for the 'Exclude Default Mappings' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__EXCLUDE_DEFAULT_MAPPINGS = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 47; + /** + * The number of structural features of the 'Xml Mapped Superclass' class. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS_FEATURE_COUNT = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 48; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMultitenant Xml Multitenant}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMultitenant + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlMultitenant() + * @generated + */ + public static final int XML_MULTITENANT = 44; + /** + * The feature id for the 'Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MULTITENANT__TYPE = EclipseLinkOrmV2_3Package.XML_MULTITENANT_23__TYPE; + /** + * The feature id for the 'Tenant Discriminator Columns' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MULTITENANT__TENANT_DISCRIMINATOR_COLUMNS = EclipseLinkOrmV2_3Package.XML_MULTITENANT_23__TENANT_DISCRIMINATOR_COLUMNS; + /** + * The feature id for the 'Include Criteria' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MULTITENANT__INCLUDE_CRITERIA = EclipseLinkOrmV2_3Package.XML_MULTITENANT_23_FEATURE_COUNT + 0; + /** + * The feature id for the 'Tenant Table Discriminator' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MULTITENANT__TENANT_TABLE_DISCRIMINATOR = EclipseLinkOrmV2_3Package.XML_MULTITENANT_23_FEATURE_COUNT + 1; + /** + * The number of structural features of the 'Xml Multitenant' class. + * + * + * @generated + * @ordered + */ + public static final int XML_MULTITENANT_FEATURE_COUNT = EclipseLinkOrmV2_3Package.XML_MULTITENANT_23_FEATURE_COUNT + 2; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMultitenantHolder Xml Multitenant Holder}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMultitenantHolder + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlMultitenantHolder() + * @generated + */ + public static final int XML_MULTITENANT_HOLDER = 45; + /** + * The feature id for the 'Multitenant' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MULTITENANT_HOLDER__MULTITENANT = 0; + /** + * The number of structural features of the 'Xml Multitenant Holder' class. + * + * + * @generated + * @ordered + */ + public static final int XML_MULTITENANT_HOLDER_FEATURE_COUNT = 1; + /** + * The feature id for the 'Mutable' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MUTABLE__MUTABLE = 0; + /** + * The number of structural features of the 'Xml Mutable' class. + * + * + * @generated + * @ordered + */ + public static final int XML_MUTABLE_FEATURE_COUNT = 1; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedPlsqlStoredFunctionQuery Xml Named Plsql Stored Function Query}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedPlsqlStoredFunctionQuery + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedPlsqlStoredFunctionQuery() + * @generated + */ + public static final int XML_NAMED_PLSQL_STORED_FUNCTION_QUERY = 48; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_NAMED_PLSQL_STORED_FUNCTION_QUERY__NAME = EclipseLinkOrmV2_3Package.XML_NAMED_PLSQL_STORED_FUNCTION_QUERY_23__NAME; + /** + * The number of structural features of the 'Xml Named Plsql Stored Function Query' class. + * + * + * @generated + * @ordered + */ + public static final int XML_NAMED_PLSQL_STORED_FUNCTION_QUERY_FEATURE_COUNT = EclipseLinkOrmV2_3Package.XML_NAMED_PLSQL_STORED_FUNCTION_QUERY_23_FEATURE_COUNT + 0; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedPlsqlStoredProcedureQuery Xml Named Plsql Stored Procedure Query}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedPlsqlStoredProcedureQuery + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedPlsqlStoredProcedureQuery() + * @generated + */ + public static final int XML_NAMED_PLSQL_STORED_PROCEDURE_QUERY = 49; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_NAMED_PLSQL_STORED_PROCEDURE_QUERY__NAME = EclipseLinkOrmV2_3Package.XML_NAMED_PLSQL_STORED_PROCEDURE_QUERY_23__NAME; + /** + * The number of structural features of the 'Xml Named Plsql Stored Procedure Query' class. + * + * + * @generated + * @ordered + */ + public static final int XML_NAMED_PLSQL_STORED_PROCEDURE_QUERY_FEATURE_COUNT = EclipseLinkOrmV2_3Package.XML_NAMED_PLSQL_STORED_PROCEDURE_QUERY_23_FEATURE_COUNT + 0; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredFunctionQuery Xml Named Stored Function Query}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredFunctionQuery + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedStoredFunctionQuery() + * @generated + */ + public static final int XML_NAMED_STORED_FUNCTION_QUERY = 50; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_NAMED_STORED_FUNCTION_QUERY__NAME = EclipseLinkOrmV2_3Package.XML_NAMED_STORED_FUNCTION_QUERY_23__NAME; + /** + * The number of structural features of the 'Xml Named Stored Function Query' class. + * + * + * @generated + * @ordered + */ + public static final int XML_NAMED_STORED_FUNCTION_QUERY_FEATURE_COUNT = EclipseLinkOrmV2_3Package.XML_NAMED_STORED_FUNCTION_QUERY_23_FEATURE_COUNT + 0; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_NAMED_STORED_PROCEDURE_QUERY__NAME = 0; + /** + * The feature id for the 'Result Class' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_NAMED_STORED_PROCEDURE_QUERY__RESULT_CLASS = 1; + /** + * The feature id for the 'Result Set Mapping' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_NAMED_STORED_PROCEDURE_QUERY__RESULT_SET_MAPPING = 2; + /** + * The feature id for the 'Procedure Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_NAMED_STORED_PROCEDURE_QUERY__PROCEDURE_NAME = 3; + /** + * The feature id for the 'Returns Result Set' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_NAMED_STORED_PROCEDURE_QUERY__RETURNS_RESULT_SET = 4; + /** + * The feature id for the 'Hints' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_NAMED_STORED_PROCEDURE_QUERY__HINTS = 5; + /** + * The feature id for the 'Parameters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_NAMED_STORED_PROCEDURE_QUERY__PARAMETERS = 6; + /** + * The number of structural features of the 'Xml Named Stored Procedure Query' class. + * + * + * @generated + * @ordered + */ + public static final int XML_NAMED_STORED_PROCEDURE_QUERY_FEATURE_COUNT = 7; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNoSql Xml No Sql}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNoSql + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNoSql() + * @generated + */ + public static final int XML_NO_SQL = 52; + /** + * The feature id for the 'Data Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_NO_SQL__DATA_TYPE = EclipseLinkOrmV2_4Package.XML_NO_SQL_24__DATA_TYPE; + /** + * The feature id for the 'Data Format' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_NO_SQL__DATA_FORMAT = EclipseLinkOrmV2_4Package.XML_NO_SQL_24__DATA_FORMAT; + /** + * The number of structural features of the 'Xml No Sql' class. + * + * + * @generated + * @ordered + */ + public static final int XML_NO_SQL_FEATURE_COUNT = EclipseLinkOrmV2_4Package.XML_NO_SQL_24_FEATURE_COUNT + 0; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_OBJECT_TYPE_CONVERTER__NAME = XML_NAMED_CONVERTER__NAME; + /** + * The feature id for the 'Data Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_OBJECT_TYPE_CONVERTER__DATA_TYPE = XML_NAMED_CONVERTER_FEATURE_COUNT + 0; + /** + * The feature id for the 'Object Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_OBJECT_TYPE_CONVERTER__OBJECT_TYPE = XML_NAMED_CONVERTER_FEATURE_COUNT + 1; + /** + * The feature id for the 'Conversion Values' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_OBJECT_TYPE_CONVERTER__CONVERSION_VALUES = XML_NAMED_CONVERTER_FEATURE_COUNT + 2; + /** + * The feature id for the 'Default Object Value' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_OBJECT_TYPE_CONVERTER__DEFAULT_OBJECT_VALUE = XML_NAMED_CONVERTER_FEATURE_COUNT + 3; + /** + * The number of structural features of the 'Xml Object Type Converter' class. + * + * + * @generated + * @ordered + */ + public static final int XML_OBJECT_TYPE_CONVERTER_FEATURE_COUNT = XML_NAMED_CONVERTER_FEATURE_COUNT + 4; + /** + * The feature id for the 'Access' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY__ACCESS = OrmPackage.XML_ONE_TO_MANY__ACCESS; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY__NAME = OrmPackage.XML_ONE_TO_MANY__NAME; + /** + * The feature id for the 'Target Entity' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY__TARGET_ENTITY = OrmPackage.XML_ONE_TO_MANY__TARGET_ENTITY; + /** + * The feature id for the 'Fetch' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY__FETCH = OrmPackage.XML_ONE_TO_MANY__FETCH; + /** + * The feature id for the 'Cascade' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY__CASCADE = OrmPackage.XML_ONE_TO_MANY__CASCADE; + /** + * The feature id for the 'Mapped By' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY__MAPPED_BY = OrmPackage.XML_ONE_TO_MANY__MAPPED_BY; + /** + * The feature id for the 'Join Table' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY__JOIN_TABLE = OrmPackage.XML_ONE_TO_MANY__JOIN_TABLE; + /** + * The feature id for the 'Order Column' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY__ORDER_COLUMN = OrmPackage.XML_ONE_TO_MANY__ORDER_COLUMN; + /** + * The feature id for the 'Order By' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY__ORDER_BY = OrmPackage.XML_ONE_TO_MANY__ORDER_BY; + /** + * The feature id for the 'Map Key Attribute Overrides' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY__MAP_KEY_ATTRIBUTE_OVERRIDES = OrmPackage.XML_ONE_TO_MANY__MAP_KEY_ATTRIBUTE_OVERRIDES; + /** + * The feature id for the 'Map Key Temporal' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY__MAP_KEY_TEMPORAL = OrmPackage.XML_ONE_TO_MANY__MAP_KEY_TEMPORAL; + /** + * The feature id for the 'Map Key Enumerated' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY__MAP_KEY_ENUMERATED = OrmPackage.XML_ONE_TO_MANY__MAP_KEY_ENUMERATED; + /** + * The feature id for the 'Map Key Class' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY__MAP_KEY_CLASS = OrmPackage.XML_ONE_TO_MANY__MAP_KEY_CLASS; + /** + * The feature id for the 'Map Key Column' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY__MAP_KEY_COLUMN = OrmPackage.XML_ONE_TO_MANY__MAP_KEY_COLUMN; + /** + * The feature id for the 'Map Key Join Columns' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY__MAP_KEY_JOIN_COLUMNS = OrmPackage.XML_ONE_TO_MANY__MAP_KEY_JOIN_COLUMNS; + /** + * The feature id for the 'Map Key' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY__MAP_KEY = OrmPackage.XML_ONE_TO_MANY__MAP_KEY; + /** + * The feature id for the 'Join Columns' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY__JOIN_COLUMNS = OrmPackage.XML_ONE_TO_MANY__JOIN_COLUMNS; + /** + * The feature id for the 'Orphan Removal' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY__ORPHAN_REMOVAL = OrmPackage.XML_ONE_TO_MANY__ORPHAN_REMOVAL; + /** + * The feature id for the 'Map Key Association Overrides' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY__MAP_KEY_ASSOCIATION_OVERRIDES = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 0; + /** + * The feature id for the 'Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY__CONVERTERS = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 1; + /** + * The feature id for the 'Type Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY__TYPE_CONVERTERS = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 2; + /** + * The feature id for the 'Object Type Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY__OBJECT_TYPE_CONVERTERS = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 3; + /** + * The feature id for the 'Struct Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY__STRUCT_CONVERTERS = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 4; + /** + * The feature id for the 'Map Key Convert' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY__MAP_KEY_CONVERT = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 5; + /** + * The feature id for the 'Batch Fetch' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY__BATCH_FETCH = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 6; + /** + * The feature id for the 'Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY__PARTITIONING = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 7; + /** + * The feature id for the 'Replication Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY__REPLICATION_PARTITIONING = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 8; + /** + * The feature id for the 'Round Robin Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY__ROUND_ROBIN_PARTITIONING = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 9; + /** + * The feature id for the 'Pinned Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY__PINNED_PARTITIONING = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 10; + /** + * The feature id for the 'Range Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY__RANGE_PARTITIONING = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 11; + /** + * The feature id for the 'Value Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY__VALUE_PARTITIONING = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 12; + /** + * The feature id for the 'Hash Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY__HASH_PARTITIONING = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 13; + /** + * The feature id for the 'Union Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY__UNION_PARTITIONING = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 14; + /** + * The feature id for the 'Partitioned' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY__PARTITIONED = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 15; + /** + * The feature id for the 'Cascade On Delete' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY__CASCADE_ON_DELETE = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 16; + /** + * The feature id for the 'Noncacheable' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY__NONCACHEABLE = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 17; + /** + * The feature id for the 'Join Fields' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY__JOIN_FIELDS = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 18; + /** + * The feature id for the 'Delete All' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY__DELETE_ALL = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 19; + /** + * The feature id for the 'Access Methods' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY__ACCESS_METHODS = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 20; + /** + * The feature id for the 'Properties' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY__PROPERTIES = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 21; + /** + * The feature id for the 'Attribute Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY__ATTRIBUTE_TYPE = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 22; + /** + * The feature id for the 'Private Owned' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY__PRIVATE_OWNED = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 23; + /** + * The feature id for the 'Join Fetch' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY__JOIN_FETCH = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 24; + /** + * The number of structural features of the 'Xml One To Many' class. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY_FEATURE_COUNT = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 25; + /** + * The feature id for the 'Access' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE__ACCESS = OrmPackage.XML_ONE_TO_ONE__ACCESS; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE__NAME = OrmPackage.XML_ONE_TO_ONE__NAME; + /** + * The feature id for the 'Target Entity' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE__TARGET_ENTITY = OrmPackage.XML_ONE_TO_ONE__TARGET_ENTITY; + /** + * The feature id for the 'Fetch' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE__FETCH = OrmPackage.XML_ONE_TO_ONE__FETCH; + /** + * The feature id for the 'Cascade' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE__CASCADE = OrmPackage.XML_ONE_TO_ONE__CASCADE; + /** + * The feature id for the 'Join Table' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE__JOIN_TABLE = OrmPackage.XML_ONE_TO_ONE__JOIN_TABLE; + /** + * The feature id for the 'Join Columns' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE__JOIN_COLUMNS = OrmPackage.XML_ONE_TO_ONE__JOIN_COLUMNS; + /** + * The feature id for the 'Id' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE__ID = OrmPackage.XML_ONE_TO_ONE__ID; + /** + * The feature id for the 'Maps Id' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE__MAPS_ID = OrmPackage.XML_ONE_TO_ONE__MAPS_ID; + /** + * The feature id for the 'Optional' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE__OPTIONAL = OrmPackage.XML_ONE_TO_ONE__OPTIONAL; + /** + * The feature id for the 'Mapped By' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE__MAPPED_BY = OrmPackage.XML_ONE_TO_ONE__MAPPED_BY; + /** + * The feature id for the 'Primary Key Join Columns' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE__PRIMARY_KEY_JOIN_COLUMNS = OrmPackage.XML_ONE_TO_ONE__PRIMARY_KEY_JOIN_COLUMNS; + /** + * The feature id for the 'Orphan Removal' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE__ORPHAN_REMOVAL = OrmPackage.XML_ONE_TO_ONE__ORPHAN_REMOVAL; + /** + * The feature id for the 'Batch Fetch' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE__BATCH_FETCH = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 0; + /** + * The feature id for the 'Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE__PARTITIONING = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 1; + /** + * The feature id for the 'Replication Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE__REPLICATION_PARTITIONING = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 2; + /** + * The feature id for the 'Round Robin Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 3; + /** + * The feature id for the 'Pinned Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE__PINNED_PARTITIONING = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 4; + /** + * The feature id for the 'Range Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE__RANGE_PARTITIONING = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 5; + /** + * The feature id for the 'Value Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE__VALUE_PARTITIONING = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 6; + /** + * The feature id for the 'Hash Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE__HASH_PARTITIONING = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 7; + /** + * The feature id for the 'Union Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE__UNION_PARTITIONING = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 8; + /** + * The feature id for the 'Partitioned' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE__PARTITIONED = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 9; + /** + * The feature id for the 'Cascade On Delete' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE__CASCADE_ON_DELETE = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 10; + /** + * The feature id for the 'Non Cacheable' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE__NON_CACHEABLE = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 11; + /** + * The feature id for the 'Join Fields' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE__JOIN_FIELDS = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 12; + /** + * The feature id for the 'Access Methods' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE__ACCESS_METHODS = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 13; + /** + * The feature id for the 'Properties' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE__PROPERTIES = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 14; + /** + * The feature id for the 'Attribute Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE__ATTRIBUTE_TYPE = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 15; + /** + * The feature id for the 'Private Owned' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE__PRIVATE_OWNED = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 16; + /** + * The feature id for the 'Join Fetch' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE__JOIN_FETCH = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 17; + /** + * The number of structural features of the 'Xml One To One' class. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE_FEATURE_COUNT = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 18; + /** + * The feature id for the 'Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_OPTIMISTIC_LOCKING__TYPE = 0; + /** + * The feature id for the 'Cascade' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_OPTIMISTIC_LOCKING__CASCADE = 1; + /** + * The feature id for the 'Selected Columns' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_OPTIMISTIC_LOCKING__SELECTED_COLUMNS = 2; + /** + * The number of structural features of the 'Xml Optimistic Locking' class. + * + * + * @generated + * @ordered + */ + public static final int XML_OPTIMISTIC_LOCKING_FEATURE_COUNT = 3; + /** + * The feature id for the 'Column Definition' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ORDER_COLUMN__COLUMN_DEFINITION = OrmPackage.XML_ORDER_COLUMN__COLUMN_DEFINITION; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ORDER_COLUMN__NAME = OrmPackage.XML_ORDER_COLUMN__NAME; + /** + * The feature id for the 'Nullable' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ORDER_COLUMN__NULLABLE = OrmPackage.XML_ORDER_COLUMN__NULLABLE; + /** + * The feature id for the 'Insertable' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ORDER_COLUMN__INSERTABLE = OrmPackage.XML_ORDER_COLUMN__INSERTABLE; + /** + * The feature id for the 'Updatable' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ORDER_COLUMN__UPDATABLE = OrmPackage.XML_ORDER_COLUMN__UPDATABLE; + /** + * The feature id for the 'Correction Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ORDER_COLUMN__CORRECTION_TYPE = OrmPackage.XML_ORDER_COLUMN_FEATURE_COUNT + 0; + /** + * The number of structural features of the 'Xml Order Column' class. + * + * + * @generated + * @ordered + */ + public static final int XML_ORDER_COLUMN_FEATURE_COUNT = OrmPackage.XML_ORDER_COLUMN_FEATURE_COUNT + 1; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPartitioning Xml Partitioning}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPartitioning + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioning() + * @generated + */ + public static final int XML_PARTITIONING = 58; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_PARTITIONING__NAME = EclipseLinkOrmV2_2Package.XML_PARTITIONING_22__NAME; + /** + * The number of structural features of the 'Xml Partitioning' class. + * + * + * @generated + * @ordered + */ + public static final int XML_PARTITIONING_FEATURE_COUNT = EclipseLinkOrmV2_2Package.XML_PARTITIONING_22_FEATURE_COUNT + 0; + /** + * The feature id for the 'Access' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_PERSISTENCE_UNIT_DEFAULTS__ACCESS = OrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS__ACCESS; + /** + * The feature id for the 'Description' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_PERSISTENCE_UNIT_DEFAULTS__DESCRIPTION = OrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS__DESCRIPTION; + /** + * The feature id for the 'Delimited Identifiers' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_PERSISTENCE_UNIT_DEFAULTS__DELIMITED_IDENTIFIERS = OrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS__DELIMITED_IDENTIFIERS; + /** + * The feature id for the 'Schema' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_PERSISTENCE_UNIT_DEFAULTS__SCHEMA = OrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS__SCHEMA; + /** + * The feature id for the 'Catalog' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_PERSISTENCE_UNIT_DEFAULTS__CATALOG = OrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS__CATALOG; + /** + * The feature id for the 'Cascade Persist' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_PERSISTENCE_UNIT_DEFAULTS__CASCADE_PERSIST = OrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS__CASCADE_PERSIST; + /** + * The feature id for the 'Entity Listeners' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_PERSISTENCE_UNIT_DEFAULTS__ENTITY_LISTENERS = OrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS__ENTITY_LISTENERS; + /** + * The feature id for the 'Access Methods' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_PERSISTENCE_UNIT_DEFAULTS__ACCESS_METHODS = OrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS_FEATURE_COUNT + 0; + /** + * The feature id for the 'Tenant Discriminator Columns' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_PERSISTENCE_UNIT_DEFAULTS__TENANT_DISCRIMINATOR_COLUMNS = OrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS_FEATURE_COUNT + 1; + /** + * The number of structural features of the 'Xml Persistence Unit Defaults' class. + * + * + * @generated + * @ordered + */ + public static final int XML_PERSISTENCE_UNIT_DEFAULTS_FEATURE_COUNT = OrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS_FEATURE_COUNT + 2; + /** + * The feature id for the 'Description' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_PERSISTENCE_UNIT_METADATA__DESCRIPTION = OrmPackage.XML_PERSISTENCE_UNIT_METADATA__DESCRIPTION; + /** + * The feature id for the 'Xml Mapping Metadata Complete' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_PERSISTENCE_UNIT_METADATA__XML_MAPPING_METADATA_COMPLETE = OrmPackage.XML_PERSISTENCE_UNIT_METADATA__XML_MAPPING_METADATA_COMPLETE; + /** + * The feature id for the 'Persistence Unit Defaults' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_PERSISTENCE_UNIT_METADATA__PERSISTENCE_UNIT_DEFAULTS = OrmPackage.XML_PERSISTENCE_UNIT_METADATA__PERSISTENCE_UNIT_DEFAULTS; + /** + * The feature id for the 'Exclude Default Mappings' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_PERSISTENCE_UNIT_METADATA__EXCLUDE_DEFAULT_MAPPINGS = OrmPackage.XML_PERSISTENCE_UNIT_METADATA_FEATURE_COUNT + 0; + /** + * The number of structural features of the 'Xml Persistence Unit Metadata' class. + * + * + * @generated + * @ordered + */ + public static final int XML_PERSISTENCE_UNIT_METADATA_FEATURE_COUNT = OrmPackage.XML_PERSISTENCE_UNIT_METADATA_FEATURE_COUNT + 1; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPinnedPartitioning Xml Pinned Partitioning}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPinnedPartitioning + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPinnedPartitioning() + * @generated + */ + public static final int XML_PINNED_PARTITIONING = 61; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_PINNED_PARTITIONING__NAME = EclipseLinkOrmV2_2Package.XML_PINNED_PARTITIONING_22__NAME; + /** + * The number of structural features of the 'Xml Pinned Partitioning' class. + * + * + * @generated + * @ordered + */ + public static final int XML_PINNED_PARTITIONING_FEATURE_COUNT = EclipseLinkOrmV2_2Package.XML_PINNED_PARTITIONING_22_FEATURE_COUNT + 0; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPlsqlRecord Xml Plsql Record}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPlsqlRecord + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPlsqlRecord() + * @generated + */ + public static final int XML_PLSQL_RECORD = 62; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_PLSQL_RECORD__NAME = EclipseLinkOrmV2_3Package.XML_PLSQL_RECORD_23__NAME; + /** + * The number of structural features of the 'Xml Plsql Record' class. + * + * + * @generated + * @ordered + */ + public static final int XML_PLSQL_RECORD_FEATURE_COUNT = EclipseLinkOrmV2_3Package.XML_PLSQL_RECORD_23_FEATURE_COUNT + 0; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPlsqlTable Xml Plsql Table}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPlsqlTable + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPlsqlTable() + * @generated + */ + public static final int XML_PLSQL_TABLE = 63; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_PLSQL_TABLE__NAME = EclipseLinkOrmV2_3Package.XML_PLSQL_TABLE_23__NAME; + /** + * The number of structural features of the 'Xml Plsql Table' class. + * + * + * @generated + * @ordered + */ + public static final int XML_PLSQL_TABLE_FEATURE_COUNT = EclipseLinkOrmV2_3Package.XML_PLSQL_TABLE_23_FEATURE_COUNT + 0; + /** + * The feature id for the 'Validation' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_PRIMARY_KEY__VALIDATION = EclipseLinkOrmV1_1Package.XML_PRIMARY_KEY_11__VALIDATION; + /** + * The feature id for the 'Columns' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_PRIMARY_KEY__COLUMNS = EclipseLinkOrmV1_1Package.XML_PRIMARY_KEY_11__COLUMNS; + /** + * The feature id for the 'Cache Key Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_PRIMARY_KEY__CACHE_KEY_TYPE = EclipseLinkOrmV1_1Package.XML_PRIMARY_KEY_11_FEATURE_COUNT + 0; + /** + * The number of structural features of the 'Xml Primary Key' class. + * + * + * @generated + * @ordered + */ + public static final int XML_PRIMARY_KEY_FEATURE_COUNT = EclipseLinkOrmV1_1Package.XML_PRIMARY_KEY_11_FEATURE_COUNT + 1; + /** + * The feature id for the 'Private Owned' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_PRIVATE_OWNED__PRIVATE_OWNED = 0; + /** + * The number of structural features of the 'Xml Private Owned' class. + * + * + * @generated + * @ordered + */ + public static final int XML_PRIVATE_OWNED_FEATURE_COUNT = 1; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_PROPERTY__NAME = 0; + /** + * The feature id for the 'Value' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_PROPERTY__VALUE = 1; + /** + * The feature id for the 'Value Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_PROPERTY__VALUE_TYPE = 2; + /** + * The number of structural features of the 'Xml Property' class. + * + * + * @generated + * @ordered + */ + public static final int XML_PROPERTY_FEATURE_COUNT = 3; + /** + * The feature id for the 'Properties' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_PROPERTY_CONTAINER__PROPERTIES = 0; + /** + * The number of structural features of the 'Xml Property Container' class. + * + * + * @generated + * @ordered + */ + public static final int XML_PROPERTY_CONTAINER_FEATURE_COUNT = 1; + /** + * The feature id for the 'Named Stored Procedure Queries' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_QUERY_CONTAINER__NAMED_STORED_PROCEDURE_QUERIES = 0; + /** + * The number of structural features of the 'Xml Query Container' class. + * + * + * @generated + * @ordered + */ + public static final int XML_QUERY_CONTAINER_FEATURE_COUNT = 1; + /** + * The feature id for the 'All Queries' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_QUERY_REDIRECTORS__ALL_QUERIES = EclipseLinkOrmV2_0Package.XML_QUERY_REDIRECTORS_20__ALL_QUERIES; + /** + * The feature id for the 'Read All' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_QUERY_REDIRECTORS__READ_ALL = EclipseLinkOrmV2_0Package.XML_QUERY_REDIRECTORS_20__READ_ALL; + /** + * The feature id for the 'Read Object' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_QUERY_REDIRECTORS__READ_OBJECT = EclipseLinkOrmV2_0Package.XML_QUERY_REDIRECTORS_20__READ_OBJECT; + /** + * The feature id for the 'Report' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_QUERY_REDIRECTORS__REPORT = EclipseLinkOrmV2_0Package.XML_QUERY_REDIRECTORS_20__REPORT; + /** + * The feature id for the 'Update' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_QUERY_REDIRECTORS__UPDATE = EclipseLinkOrmV2_0Package.XML_QUERY_REDIRECTORS_20__UPDATE; + /** + * The feature id for the 'Insert' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_QUERY_REDIRECTORS__INSERT = EclipseLinkOrmV2_0Package.XML_QUERY_REDIRECTORS_20__INSERT; + /** + * The feature id for the 'Delete' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_QUERY_REDIRECTORS__DELETE = EclipseLinkOrmV2_0Package.XML_QUERY_REDIRECTORS_20__DELETE; + /** + * The number of structural features of the 'Xml Query Redirectors' class. + * + * + * @generated + * @ordered + */ + public static final int XML_QUERY_REDIRECTORS_FEATURE_COUNT = EclipseLinkOrmV2_0Package.XML_QUERY_REDIRECTORS_20_FEATURE_COUNT + 0; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlRangePartitioning Xml Range Partitioning}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlRangePartitioning + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlRangePartitioning() + * @generated + */ + public static final int XML_RANGE_PARTITIONING = 70; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_RANGE_PARTITIONING__NAME = EclipseLinkOrmV2_2Package.XML_RANGE_PARTITIONING_22__NAME; + /** + * The number of structural features of the 'Xml Range Partitioning' class. + * + * + * @generated + * @ordered + */ + public static final int XML_RANGE_PARTITIONING_FEATURE_COUNT = EclipseLinkOrmV2_2Package.XML_RANGE_PARTITIONING_22_FEATURE_COUNT + 0; + /** + * The feature id for the 'Read Only' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_READ_ONLY__READ_ONLY = 0; + /** + * The number of structural features of the 'Xml Read Only' class. + * + * + * @generated + * @ordered + */ + public static final int XML_READ_ONLY_FEATURE_COUNT = 1; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlReplicationPartitioning Xml Replication Partitioning}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlReplicationPartitioning + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlReplicationPartitioning() + * @generated + */ + public static final int XML_REPLICATION_PARTITIONING = 72; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_REPLICATION_PARTITIONING__NAME = EclipseLinkOrmV2_2Package.XML_REPLICATION_PARTITIONING_22__NAME; + /** + * The number of structural features of the 'Xml Replication Partitioning' class. + * + * + * @generated + * @ordered + */ + public static final int XML_REPLICATION_PARTITIONING_FEATURE_COUNT = EclipseLinkOrmV2_2Package.XML_REPLICATION_PARTITIONING_22_FEATURE_COUNT + 0; + /** + * The feature id for the 'Return Only' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_RETURN_INSERT__RETURN_ONLY = EclipseLinkOrmV2_1Package.XML_RETURN_INSERT_21__RETURN_ONLY; + /** + * The number of structural features of the 'Xml Return Insert' class. + * + * + * @generated + * @ordered + */ + public static final int XML_RETURN_INSERT_FEATURE_COUNT = EclipseLinkOrmV2_1Package.XML_RETURN_INSERT_21_FEATURE_COUNT + 0; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlRoundRobinPartitioning Xml Round Robin Partitioning}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlRoundRobinPartitioning + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlRoundRobinPartitioning() + * @generated + */ + public static final int XML_ROUND_ROBIN_PARTITIONING = 74; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ROUND_ROBIN_PARTITIONING__NAME = EclipseLinkOrmV2_2Package.XML_ROUND_ROBIN_PARTITIONING_22__NAME; + /** + * The number of structural features of the 'Xml Round Robin Partitioning' class. + * + * + * @generated + * @ordered + */ + public static final int XML_ROUND_ROBIN_PARTITIONING_FEATURE_COUNT = EclipseLinkOrmV2_2Package.XML_ROUND_ROBIN_PARTITIONING_22_FEATURE_COUNT + 0; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_SECONDARY_TABLE__NAME = OrmPackage.XML_SECONDARY_TABLE__NAME; + /** + * The feature id for the 'Catalog' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_SECONDARY_TABLE__CATALOG = OrmPackage.XML_SECONDARY_TABLE__CATALOG; + /** + * The feature id for the 'Schema' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_SECONDARY_TABLE__SCHEMA = OrmPackage.XML_SECONDARY_TABLE__SCHEMA; + /** + * The feature id for the 'Unique Constraints' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_SECONDARY_TABLE__UNIQUE_CONSTRAINTS = OrmPackage.XML_SECONDARY_TABLE__UNIQUE_CONSTRAINTS; + /** + * The feature id for the 'Primary Key Join Columns' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_SECONDARY_TABLE__PRIMARY_KEY_JOIN_COLUMNS = OrmPackage.XML_SECONDARY_TABLE__PRIMARY_KEY_JOIN_COLUMNS; + /** + * The feature id for the 'Creation Suffix' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_SECONDARY_TABLE__CREATION_SUFFIX = OrmPackage.XML_SECONDARY_TABLE_FEATURE_COUNT + 0; + /** + * The number of structural features of the 'Xml Secondary Table' class. + * + * + * @generated + * @ordered + */ + public static final int XML_SECONDARY_TABLE_FEATURE_COUNT = OrmPackage.XML_SECONDARY_TABLE_FEATURE_COUNT + 1; + /** + * The feature id for the 'Direction' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_STORED_PROCEDURE_PARAMETER__DIRECTION = 0; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_STORED_PROCEDURE_PARAMETER__NAME = 1; + /** + * The feature id for the 'Query Parameter' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_STORED_PROCEDURE_PARAMETER__QUERY_PARAMETER = 2; + /** + * The feature id for the 'Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_STORED_PROCEDURE_PARAMETER__TYPE = 3; + /** + * The feature id for the 'Jdbc Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_STORED_PROCEDURE_PARAMETER__JDBC_TYPE = 4; + /** + * The feature id for the 'Jdbc Type Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_STORED_PROCEDURE_PARAMETER__JDBC_TYPE_NAME = 5; + /** + * The number of structural features of the 'Xml Stored Procedure Parameter' class. + * + * + * @generated + * @ordered + */ + public static final int XML_STORED_PROCEDURE_PARAMETER_FEATURE_COUNT = 6; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStruct Xml Struct}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStruct + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlStruct() + * @generated + */ + public static final int XML_STRUCT = 77; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_STRUCT__NAME = EclipseLinkOrmV2_3Package.XML_STRUCT_23__NAME; + /** + * The number of structural features of the 'Xml Struct' class. + * + * + * @generated + * @ordered + */ + public static final int XML_STRUCT_FEATURE_COUNT = EclipseLinkOrmV2_3Package.XML_STRUCT_23_FEATURE_COUNT + 0; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_STRUCT_CONVERTER__NAME = XML_NAMED_CONVERTER__NAME; + /** + * The feature id for the 'Converter' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_STRUCT_CONVERTER__CONVERTER = XML_NAMED_CONVERTER_FEATURE_COUNT + 0; + /** + * The number of structural features of the 'Xml Struct Converter' class. + * + * + * @generated + * @ordered + */ + public static final int XML_STRUCT_CONVERTER_FEATURE_COUNT = XML_NAMED_CONVERTER_FEATURE_COUNT + 1; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructure Xml Structure}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructure + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlStructure() + * @generated + */ + public static final int XML_STRUCTURE = 79; + /** + * The feature id for the 'Access' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_STRUCTURE__ACCESS = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING__ACCESS; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_STRUCTURE__NAME = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING__NAME; + /** + * The feature id for the 'Access Methods' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_STRUCTURE__ACCESS_METHODS = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 0; + /** + * The feature id for the 'Properties' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_STRUCTURE__PROPERTIES = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 1; + /** + * The feature id for the 'Attribute Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_STRUCTURE__ATTRIBUTE_TYPE = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 2; + /** + * The number of structural features of the 'Xml Structure' class. + * + * + * @generated + * @ordered + */ + public static final int XML_STRUCTURE_FEATURE_COUNT = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 3; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TABLE__NAME = OrmPackage.XML_TABLE__NAME; + /** + * The feature id for the 'Catalog' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TABLE__CATALOG = OrmPackage.XML_TABLE__CATALOG; + /** + * The feature id for the 'Schema' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TABLE__SCHEMA = OrmPackage.XML_TABLE__SCHEMA; + /** + * The feature id for the 'Unique Constraints' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_TABLE__UNIQUE_CONSTRAINTS = OrmPackage.XML_TABLE__UNIQUE_CONSTRAINTS; + /** + * The feature id for the 'Creation Suffix' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TABLE__CREATION_SUFFIX = OrmPackage.XML_TABLE_FEATURE_COUNT + 0; + /** + * The number of structural features of the 'Xml Table' class. + * + * + * @generated + * @ordered + */ + public static final int XML_TABLE_FEATURE_COUNT = OrmPackage.XML_TABLE_FEATURE_COUNT + 1; + /** + * The feature id for the 'Description' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TABLE_GENERATOR__DESCRIPTION = OrmPackage.XML_TABLE_GENERATOR__DESCRIPTION; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TABLE_GENERATOR__NAME = OrmPackage.XML_TABLE_GENERATOR__NAME; + /** + * The feature id for the 'Initial Value' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TABLE_GENERATOR__INITIAL_VALUE = OrmPackage.XML_TABLE_GENERATOR__INITIAL_VALUE; + /** + * The feature id for the 'Allocation Size' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TABLE_GENERATOR__ALLOCATION_SIZE = OrmPackage.XML_TABLE_GENERATOR__ALLOCATION_SIZE; + /** + * The feature id for the 'Table' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TABLE_GENERATOR__TABLE = OrmPackage.XML_TABLE_GENERATOR__TABLE; + /** + * The feature id for the 'Catalog' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TABLE_GENERATOR__CATALOG = OrmPackage.XML_TABLE_GENERATOR__CATALOG; + /** + * The feature id for the 'Schema' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TABLE_GENERATOR__SCHEMA = OrmPackage.XML_TABLE_GENERATOR__SCHEMA; + /** + * The feature id for the 'Pk Column Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TABLE_GENERATOR__PK_COLUMN_NAME = OrmPackage.XML_TABLE_GENERATOR__PK_COLUMN_NAME; + /** + * The feature id for the 'Value Column Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TABLE_GENERATOR__VALUE_COLUMN_NAME = OrmPackage.XML_TABLE_GENERATOR__VALUE_COLUMN_NAME; + /** + * The feature id for the 'Pk Column Value' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TABLE_GENERATOR__PK_COLUMN_VALUE = OrmPackage.XML_TABLE_GENERATOR__PK_COLUMN_VALUE; + /** + * The feature id for the 'Unique Constraints' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_TABLE_GENERATOR__UNIQUE_CONSTRAINTS = OrmPackage.XML_TABLE_GENERATOR__UNIQUE_CONSTRAINTS; + /** + * The feature id for the 'Creation Suffix' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TABLE_GENERATOR__CREATION_SUFFIX = OrmPackage.XML_TABLE_GENERATOR_FEATURE_COUNT + 0; + /** + * The number of structural features of the 'Xml Table Generator' class. + * + * + * @generated + * @ordered + */ + public static final int XML_TABLE_GENERATOR_FEATURE_COUNT = OrmPackage.XML_TABLE_GENERATOR_FEATURE_COUNT + 1; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTenantDiscriminatorColumn Xml Tenant Discriminator Column}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTenantDiscriminatorColumn + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTenantDiscriminatorColumn() + * @generated + */ + public static final int XML_TENANT_DISCRIMINATOR_COLUMN = 82; + /** + * The feature id for the 'Column Definition' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TENANT_DISCRIMINATOR_COLUMN__COLUMN_DEFINITION = OrmPackage.ABSTRACT_XML_BASE_DISCRIMINATOR_COLUMN__COLUMN_DEFINITION; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TENANT_DISCRIMINATOR_COLUMN__NAME = OrmPackage.ABSTRACT_XML_BASE_DISCRIMINATOR_COLUMN__NAME; + /** + * The feature id for the 'Discriminator Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TENANT_DISCRIMINATOR_COLUMN__DISCRIMINATOR_TYPE = OrmPackage.ABSTRACT_XML_BASE_DISCRIMINATOR_COLUMN__DISCRIMINATOR_TYPE; + /** + * The feature id for the 'Length' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TENANT_DISCRIMINATOR_COLUMN__LENGTH = OrmPackage.ABSTRACT_XML_BASE_DISCRIMINATOR_COLUMN__LENGTH; + /** + * The feature id for the 'Context Property' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TENANT_DISCRIMINATOR_COLUMN__CONTEXT_PROPERTY = OrmPackage.ABSTRACT_XML_BASE_DISCRIMINATOR_COLUMN_FEATURE_COUNT + 0; + /** + * The feature id for the 'Table' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TENANT_DISCRIMINATOR_COLUMN__TABLE = OrmPackage.ABSTRACT_XML_BASE_DISCRIMINATOR_COLUMN_FEATURE_COUNT + 1; + /** + * The feature id for the 'Primary Key' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TENANT_DISCRIMINATOR_COLUMN__PRIMARY_KEY = OrmPackage.ABSTRACT_XML_BASE_DISCRIMINATOR_COLUMN_FEATURE_COUNT + 2; + /** + * The number of structural features of the 'Xml Tenant Discriminator Column' class. + * + * + * @generated + * @ordered + */ + public static final int XML_TENANT_DISCRIMINATOR_COLUMN_FEATURE_COUNT = OrmPackage.ABSTRACT_XML_BASE_DISCRIMINATOR_COLUMN_FEATURE_COUNT + 3; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTenantTableDiscriminator Xml Tenant Table Discriminator}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTenantTableDiscriminator + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTenantTableDiscriminator() + * @generated + */ + public static final int XML_TENANT_TABLE_DISCRIMINATOR = 83; + /** + * The feature id for the 'Context Property' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TENANT_TABLE_DISCRIMINATOR__CONTEXT_PROPERTY = EclipseLinkOrmV2_4Package.XML_TENANT_TABLE_DISCRIMINATOR_24__CONTEXT_PROPERTY; + /** + * The feature id for the 'Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TENANT_TABLE_DISCRIMINATOR__TYPE = EclipseLinkOrmV2_4Package.XML_TENANT_TABLE_DISCRIMINATOR_24__TYPE; + /** + * The number of structural features of the 'Xml Tenant Table Discriminator' class. + * + * + * @generated + * @ordered + */ + public static final int XML_TENANT_TABLE_DISCRIMINATOR_FEATURE_COUNT = EclipseLinkOrmV2_4Package.XML_TENANT_TABLE_DISCRIMINATOR_24_FEATURE_COUNT + 0; + /** + * The feature id for the 'Hour' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TIME_OF_DAY__HOUR = 0; + /** + * The feature id for the 'Minute' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TIME_OF_DAY__MINUTE = 1; + /** + * The feature id for the 'Second' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TIME_OF_DAY__SECOND = 2; + /** + * The feature id for the 'Millisecond' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TIME_OF_DAY__MILLISECOND = 3; + /** + * The number of structural features of the 'Xml Time Of Day' class. + * + * + * @generated + * @ordered + */ + public static final int XML_TIME_OF_DAY_FEATURE_COUNT = 4; + /** + * The feature id for the 'Access' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TRANSFORMATION__ACCESS = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING__ACCESS; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TRANSFORMATION__NAME = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING__NAME; + /** + * The feature id for the 'Access Methods' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_TRANSFORMATION__ACCESS_METHODS = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 0; + /** + * The feature id for the 'Properties' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_TRANSFORMATION__PROPERTIES = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 1; + /** + * The feature id for the 'Attribute Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TRANSFORMATION__ATTRIBUTE_TYPE = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 2; + /** + * The number of structural features of the 'Xml Transformation' class. + * + * + * @generated + * @ordered + */ + public static final int XML_TRANSFORMATION_FEATURE_COUNT = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 3; + /** + * The feature id for the 'Access' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TRANSIENT__ACCESS = OrmPackage.XML_TRANSIENT__ACCESS; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TRANSIENT__NAME = OrmPackage.XML_TRANSIENT__NAME; + /** + * The feature id for the 'Access Methods' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_TRANSIENT__ACCESS_METHODS = OrmPackage.XML_TRANSIENT_FEATURE_COUNT + 0; + /** + * The feature id for the 'Properties' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_TRANSIENT__PROPERTIES = OrmPackage.XML_TRANSIENT_FEATURE_COUNT + 1; + /** + * The feature id for the 'Attribute Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TRANSIENT__ATTRIBUTE_TYPE = OrmPackage.XML_TRANSIENT_FEATURE_COUNT + 2; + /** + * The number of structural features of the 'Xml Transient' class. + * + * + * @generated + * @ordered + */ + public static final int XML_TRANSIENT_FEATURE_COUNT = OrmPackage.XML_TRANSIENT_FEATURE_COUNT + 3; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TYPE_CONVERTER__NAME = XML_NAMED_CONVERTER__NAME; + /** + * The feature id for the 'Data Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TYPE_CONVERTER__DATA_TYPE = XML_NAMED_CONVERTER_FEATURE_COUNT + 0; + /** + * The feature id for the 'Object Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TYPE_CONVERTER__OBJECT_TYPE = XML_NAMED_CONVERTER_FEATURE_COUNT + 1; + /** + * The number of structural features of the 'Xml Type Converter' class. + * + * + * @generated + * @ordered + */ + public static final int XML_TYPE_CONVERTER_FEATURE_COUNT = XML_NAMED_CONVERTER_FEATURE_COUNT + 2; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeMapping Xml Type Mapping}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeMapping + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTypeMapping() + * @generated + */ + public static final int XML_TYPE_MAPPING = 88; + /** + * The feature id for the 'Access' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TYPE_MAPPING__ACCESS = OrmPackage.XML_TYPE_MAPPING__ACCESS; + /** + * The feature id for the 'Class Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TYPE_MAPPING__CLASS_NAME = OrmPackage.XML_TYPE_MAPPING__CLASS_NAME; + /** + * The feature id for the 'Metadata Complete' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TYPE_MAPPING__METADATA_COMPLETE = OrmPackage.XML_TYPE_MAPPING__METADATA_COMPLETE; + /** + * The feature id for the 'Description' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TYPE_MAPPING__DESCRIPTION = OrmPackage.XML_TYPE_MAPPING__DESCRIPTION; + /** + * The feature id for the 'Attributes' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_TYPE_MAPPING__ATTRIBUTES = OrmPackage.XML_TYPE_MAPPING__ATTRIBUTES; + /** + * The feature id for the 'Access Methods' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_TYPE_MAPPING__ACCESS_METHODS = OrmPackage.XML_TYPE_MAPPING_FEATURE_COUNT + 0; + /** + * The feature id for the 'Parent Class' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TYPE_MAPPING__PARENT_CLASS = OrmPackage.XML_TYPE_MAPPING_FEATURE_COUNT + 1; + /** + * The number of structural features of the 'Xml Type Mapping' class. + * + * + * @generated + * @ordered + */ + public static final int XML_TYPE_MAPPING_FEATURE_COUNT = OrmPackage.XML_TYPE_MAPPING_FEATURE_COUNT + 2; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlUnionPartitioning Xml Union Partitioning}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlUnionPartitioning + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlUnionPartitioning() + * @generated + */ + public static final int XML_UNION_PARTITIONING = 89; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_UNION_PARTITIONING__NAME = EclipseLinkOrmV2_2Package.XML_UNION_PARTITIONING_22__NAME; + /** + * The number of structural features of the 'Xml Union Partitioning' class. + * + * + * @generated + * @ordered + */ + public static final int XML_UNION_PARTITIONING_FEATURE_COUNT = EclipseLinkOrmV2_2Package.XML_UNION_PARTITIONING_22_FEATURE_COUNT + 0; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlUuidGenerator Xml Uuid Generator}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlUuidGenerator + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlUuidGenerator() + * @generated + */ + public static final int XML_UUID_GENERATOR = 90; + /** + * The feature id for the 'Description' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_UUID_GENERATOR__DESCRIPTION = EclipseLinkOrmV2_4Package.XML_UUID_GENERATOR_24__DESCRIPTION; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_UUID_GENERATOR__NAME = EclipseLinkOrmV2_4Package.XML_UUID_GENERATOR_24__NAME; + /** + * The feature id for the 'Initial Value' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_UUID_GENERATOR__INITIAL_VALUE = EclipseLinkOrmV2_4Package.XML_UUID_GENERATOR_24__INITIAL_VALUE; + /** + * The feature id for the 'Allocation Size' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_UUID_GENERATOR__ALLOCATION_SIZE = EclipseLinkOrmV2_4Package.XML_UUID_GENERATOR_24__ALLOCATION_SIZE; + /** + * The number of structural features of the 'Xml Uuid Generator' class. + * + * + * @generated + * @ordered + */ + public static final int XML_UUID_GENERATOR_FEATURE_COUNT = EclipseLinkOrmV2_4Package.XML_UUID_GENERATOR_24_FEATURE_COUNT + 0; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlValuePartitioning Xml Value Partitioning}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlValuePartitioning + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlValuePartitioning() + * @generated + */ + public static final int XML_VALUE_PARTITIONING = 91; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_VALUE_PARTITIONING__NAME = EclipseLinkOrmV2_2Package.XML_VALUE_PARTITIONING_22__NAME; + /** + * The number of structural features of the 'Xml Value Partitioning' class. + * + * + * @generated + * @ordered + */ + public static final int XML_VALUE_PARTITIONING_FEATURE_COUNT = EclipseLinkOrmV2_2Package.XML_VALUE_PARTITIONING_22_FEATURE_COUNT + 0; + /** + * The feature id for the 'Access' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_VARIABLE_ONE_TO_ONE__ACCESS = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING__ACCESS; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_VARIABLE_ONE_TO_ONE__NAME = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING__NAME; + /** + * The feature id for the 'Access Methods' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_VARIABLE_ONE_TO_ONE__ACCESS_METHODS = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 0; + /** + * The feature id for the 'Properties' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_VARIABLE_ONE_TO_ONE__PROPERTIES = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 1; + /** + * The feature id for the 'Attribute Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_VARIABLE_ONE_TO_ONE__ATTRIBUTE_TYPE = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 2; + /** + * The feature id for the 'Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_VARIABLE_ONE_TO_ONE__PARTITIONING = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 3; + /** + * The feature id for the 'Replication Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_VARIABLE_ONE_TO_ONE__REPLICATION_PARTITIONING = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 4; + /** + * The feature id for the 'Round Robin Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_VARIABLE_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 5; + /** + * The feature id for the 'Pinned Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_VARIABLE_ONE_TO_ONE__PINNED_PARTITIONING = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 6; + /** + * The feature id for the 'Range Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_VARIABLE_ONE_TO_ONE__RANGE_PARTITIONING = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 7; + /** + * The feature id for the 'Value Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_VARIABLE_ONE_TO_ONE__VALUE_PARTITIONING = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 8; + /** + * The feature id for the 'Hash Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_VARIABLE_ONE_TO_ONE__HASH_PARTITIONING = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 9; + /** + * The feature id for the 'Union Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_VARIABLE_ONE_TO_ONE__UNION_PARTITIONING = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 10; + /** + * The feature id for the 'Partitioned' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_VARIABLE_ONE_TO_ONE__PARTITIONED = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 11; + /** + * The feature id for the 'Non Cacheable' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_VARIABLE_ONE_TO_ONE__NON_CACHEABLE = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 12; + /** + * The feature id for the 'Target Interface' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_VARIABLE_ONE_TO_ONE__TARGET_INTERFACE = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 13; + /** + * The number of structural features of the 'Xml Variable One To One' class. + * + * + * @generated + * @ordered + */ + public static final int XML_VARIABLE_ONE_TO_ONE_FEATURE_COUNT = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 14; + /** + * The feature id for the 'Access' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_VERSION__ACCESS = OrmPackage.XML_VERSION__ACCESS; + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_VERSION__NAME = OrmPackage.XML_VERSION__NAME; + /** + * The feature id for the 'Column' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_VERSION__COLUMN = OrmPackage.XML_VERSION__COLUMN; + /** + * The feature id for the 'Lob' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_VERSION__LOB = OrmPackage.XML_VERSION__LOB; + /** + * The feature id for the 'Temporal' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_VERSION__TEMPORAL = OrmPackage.XML_VERSION__TEMPORAL; + /** + * The feature id for the 'Enumerated' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_VERSION__ENUMERATED = OrmPackage.XML_VERSION__ENUMERATED; + /** + * The feature id for the 'Index' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_VERSION__INDEX = OrmPackage.XML_VERSION_FEATURE_COUNT + 0; + /** + * The feature id for the 'Access Methods' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_VERSION__ACCESS_METHODS = OrmPackage.XML_VERSION_FEATURE_COUNT + 1; + /** + * The feature id for the 'Properties' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_VERSION__PROPERTIES = OrmPackage.XML_VERSION_FEATURE_COUNT + 2; + /** + * The feature id for the 'Attribute Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_VERSION__ATTRIBUTE_TYPE = OrmPackage.XML_VERSION_FEATURE_COUNT + 3; + /** + * The feature id for the 'Mutable' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_VERSION__MUTABLE = OrmPackage.XML_VERSION_FEATURE_COUNT + 4; + /** + * The feature id for the 'Convert' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_VERSION__CONVERT = OrmPackage.XML_VERSION_FEATURE_COUNT + 5; + /** + * The feature id for the 'Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_VERSION__CONVERTERS = OrmPackage.XML_VERSION_FEATURE_COUNT + 6; + /** + * The feature id for the 'Type Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_VERSION__TYPE_CONVERTERS = OrmPackage.XML_VERSION_FEATURE_COUNT + 7; + /** + * The feature id for the 'Object Type Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_VERSION__OBJECT_TYPE_CONVERTERS = OrmPackage.XML_VERSION_FEATURE_COUNT + 8; + /** + * The feature id for the 'Struct Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_VERSION__STRUCT_CONVERTERS = OrmPackage.XML_VERSION_FEATURE_COUNT + 9; + /** + * The number of structural features of the 'Xml Version' class. + * + * + * @generated + * @ordered + */ + public static final int XML_VERSION_FEATURE_COUNT = OrmPackage.XML_VERSION_FEATURE_COUNT + 10; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.CacheCoordinationType Cache Coordination Type}' enum. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.CacheCoordinationType + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getCacheCoordinationType() + * @generated + */ + public static final int CACHE_COORDINATION_TYPE = 94; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.CacheType Cache Type}' enum. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.CacheType + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getCacheType() + * @generated + */ + public static final int CACHE_TYPE = 95; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlChangeTrackingType Xml Change Tracking Type}' enum. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlChangeTrackingType + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlChangeTrackingType() + * @generated + */ + public static final int XML_CHANGE_TRACKING_TYPE = 96; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlDirection Xml Direction}' enum. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlDirection + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlDirection() + * @generated + */ + public static final int XML_DIRECTION = 97; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.ExistenceType Existence Type}' enum. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.ExistenceType + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getExistenceType() + * @generated + */ + public static final int EXISTENCE_TYPE = 98; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinFetchType Xml Join Fetch Type}' enum. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinFetchType + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlJoinFetchType() + * @generated + */ + public static final int XML_JOIN_FETCH_TYPE = 99; + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOptimisticLockingType Xml Optimistic Locking Type}' enum. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOptimisticLockingType + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOptimisticLockingType() + * @generated + */ + public static final int XML_OPTIMISTIC_LOCKING_TYPE = 100; + /** + * + * + * @generated + */ + private EClass xmlAccessMethodsEClass = null; + /** + * + * + * @generated + */ + private EClass xmlAccessMethodsHolderEClass = null; + /** + * + * + * @generated + */ + private EClass xmlAdditionalCriteriaEClass = null; + /** + * + * + * @generated + */ + private EClass xmlArrayEClass = null; + /** + * + * + * @generated + */ + private EClass xmlAttributeMappingEClass = null; + /** + * + * + * @generated + */ + private EClass attributesEClass = null; + /** + * + * + * @generated + */ + private EClass xmlBasicEClass = null; + /** + * + * + * @generated + */ + private EClass xmlBasicCollectionEClass = null; + /** + * + * + * @generated + */ + private EClass xmlBasicMapEClass = null; + /** + * + * + * @generated + */ + private EClass xmlBatchFetchEClass = null; + /** + * + * + * @generated + */ + private EClass xmlBatchFetchHolderEClass = null; + /** + * + * + * @generated + */ + private EClass xmlCacheEClass = null; + /** + * + * + * @generated + */ + private EClass xmlCacheHolderEClass = null; + /** + * + * + * @generated + */ + private EClass xmlCacheIndexEClass = null; + /** + * + * + * @generated + */ + private EClass xmlChangeTrackingEClass = null; + /** + * + * + * @generated + */ + private EClass xmlChangeTrackingHolderEClass = null; + /** + * + * + * @generated + */ + private EClass xmlCloneCopyPolicyEClass = null; + /** + * + * + * @generated + */ + private EClass xmlCollectionTableEClass = null; + /** + * + * + * @generated + */ + private EClass xmlConversionValueEClass = null; + /** + * + * + * @generated + */ + private EClass xmlConverterEClass = null; + /** + * + * + * @generated + */ + private EClass xmlConverterContainerEClass = null; + /** + * + * + * @generated + */ + private EClass xmlConvertibleMappingEClass = null; + /** + * + * + * @generated + */ + private EClass xmlCopyPolicyEClass = null; + /** + * + * + * @generated + */ + private EClass xmlCustomizerEClass = null; + /** + * + * + * @generated + */ + private EClass xmlCustomizerHolderEClass = null; + /** + * + * + * @generated + */ + private EClass xmlElementCollectionEClass = null; + /** + * + * + * @generated + */ + private EClass xmlEmbeddableEClass = null; + /** + * + * + * @generated + */ + private EClass xmlEmbeddedEClass = null; + /** + * + * + * @generated + */ + private EClass xmlEmbeddedIdEClass = null; + /** + * + * + * @generated + */ + private EClass xmlEntityEClass = null; + /** + * + * + * @generated + */ + private EClass xmlEntityMappingsEClass = null; + /** + * + * + * @generated + */ + private EClass xmlFetchAttributeEClass = null; + /** + * + * + * @generated + */ + private EClass xmlFetchGroupEClass = null; + /** + * + * + * @generated + */ + private EClass xmlFieldEClass = null; + /** + * + * + * @generated + */ + private EClass xmlIdEClass = null; + /** + * + * + * @generated + */ + private EClass xmlIndexEClass = null; + /** + * + * + * @generated + */ + private EClass xmlInstantiationCopyPolicyEClass = null; + /** + * + * + * @generated + */ + private EClass xmlJoinFetchEClass = null; + /** + * + * + * @generated + */ + private EClass xmlJoinFieldEClass = null; + /** + * + * + * @generated + */ + private EClass xmlJoinTableEClass = null; + /** + * + * + * @generated + */ + private EClass xmlManyToManyEClass = null; + /** + * + * + * @generated + */ + private EClass xmlManyToOneEClass = null; + /** + * + * + * @generated + */ + private EClass xmlMappedSuperclassEClass = null; + /** + * + * + * @generated + */ + private EClass xmlMultitenantEClass = null; + /** + * + * + * @generated + */ + private EClass xmlMultitenantHolderEClass = null; + /** + * + * + * @generated + */ + private EClass xmlMutableEClass = null; + /** + * + * + * @generated + */ + private EClass xmlNamedConverterEClass = null; + /** + * + * + * @generated + */ + private EClass xmlNamedPlsqlStoredFunctionQueryEClass = null; + /** + * + * + * @generated + */ + private EClass xmlNamedPlsqlStoredProcedureQueryEClass = null; + /** + * + * + * @generated + */ + private EClass xmlNamedStoredFunctionQueryEClass = null; + /** + * + * + * @generated + */ + private EClass xmlNamedStoredProcedureQueryEClass = null; + /** + * + * + * @generated + */ + private EClass xmlNoSqlEClass = null; + /** + * + * + * @generated + */ + private EClass xmlObjectTypeConverterEClass = null; + /** + * + * + * @generated + */ + private EClass xmlOneToManyEClass = null; + /** + * + * + * @generated + */ + private EClass xmlOneToOneEClass = null; + /** + * + * + * @generated + */ + private EClass xmlOptimisticLockingEClass = null; + /** + * + * + * @generated + */ + private EClass xmlOrderColumnEClass = null; + /** + * + * + * @generated + */ + private EClass xmlPersistenceUnitDefaultsEClass = null; + /** + * + * + * @generated + */ + private EClass xmlPersistenceUnitMetadataEClass = null; + /** + * + * + * @generated + */ + private EClass xmlPrimaryKeyEClass = null; + /** + * + * + * @generated + */ + private EClass xmlPrivateOwnedEClass = null; + /** + * + * + * @generated + */ + private EClass xmlPropertyEClass = null; + /** + * + * + * @generated + */ + private EClass xmlPropertyContainerEClass = null; + /** + * + * + * @generated + */ + private EClass xmlQueryContainerEClass = null; + /** + * + * + * @generated + */ + private EClass xmlQueryRedirectorsEClass = null; + /** + * + * + * @generated + */ + private EClass xmlReadOnlyEClass = null; + /** + * + * + * @generated + */ + private EClass xmlReturnInsertEClass = null; + /** + * + * + * @generated + */ + private EClass xmlSecondaryTableEClass = null; + /** + * + * + * @generated + */ + private EClass xmlStoredProcedureParameterEClass = null; + /** + * + * + * @generated + */ + private EClass xmlStructEClass = null; + /** + * + * + * @generated + */ + private EClass xmlStructConverterEClass = null; + /** + * + * + * @generated + */ + private EClass xmlStructureEClass = null; + /** + * + * + * @generated + */ + private EClass xmlTableEClass = null; + /** + * + * + * @generated + */ + private EClass xmlTableGeneratorEClass = null; + /** + * + * + * @generated + */ + private EClass xmlTenantDiscriminatorColumnEClass = null; + /** + * + * + * @generated + */ + private EClass xmlTenantTableDiscriminatorEClass = null; + /** + * + * + * @generated + */ + private EClass xmlTimeOfDayEClass = null; + /** + * + * + * @generated + */ + private EClass xmlTransformationEClass = null; + /** + * + * + * @generated + */ + private EClass xmlTransientEClass = null; + /** + * + * + * @generated + */ + private EClass xmlTypeConverterEClass = null; + /** + * + * + * @generated + */ + private EClass xmlTypeMappingEClass = null; + /** + * + * + * @generated + */ + private EClass xmlVariableOneToOneEClass = null; + /** + * + * + * @generated + */ + private EClass xmlVersionEClass = null; + /** + * + * + * @generated + */ + private EClass xmlHashPartitioningEClass = null; + /** + * + * + * @generated + */ + private EClass xmlPartitioningEClass = null; + /** + * + * + * @generated + */ + private EClass xmlPinnedPartitioningEClass = null; + /** + * + * + * @generated + */ + private EClass xmlPlsqlRecordEClass = null; + /** + * + * + * @generated + */ + private EClass xmlPlsqlTableEClass = null; + /** + * + * + * @generated + */ + private EClass xmlRangePartitioningEClass = null; + /** + * + * + * @generated + */ + private EClass xmlReplicationPartitioningEClass = null; + /** + * + * + * @generated + */ + private EClass xmlRoundRobinPartitioningEClass = null; + /** + * + * + * @generated + */ + private EClass xmlUnionPartitioningEClass = null; + /** + * + * + * @generated + */ + private EClass xmlUuidGeneratorEClass = null; + /** + * + * + * @generated + */ + private EClass xmlValuePartitioningEClass = null; + /** + * + * + * @generated + */ + private EEnum cacheCoordinationTypeEEnum = null; + /** + * + * + * @generated + */ + private EEnum cacheTypeEEnum = null; + /** + * + * + * @generated + */ + private EEnum xmlChangeTrackingTypeEEnum = null; + /** + * + * + * @generated + */ + private EEnum xmlDirectionEEnum = null; + /** + * + * + * @generated + */ + private EEnum existenceTypeEEnum = null; + /** + * + * + * @generated + */ + private EEnum xmlJoinFetchTypeEEnum = null; + /** + * + * + * @generated + */ + private EEnum xmlOptimisticLockingTypeEEnum = null; + + /** + * Creates an instance of the model Package, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + *

Note: 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 + *

    + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • + *
+ * + * @generated + */ + public interface Literals + { + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAccessMethods Xml Access Methods}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAccessMethods + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAccessMethods() + * @generated + */ + public static final EClass XML_ACCESS_METHODS = eINSTANCE.getXmlAccessMethods(); + + /** + * The meta object literal for the 'Get Method' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_ACCESS_METHODS__GET_METHOD = eINSTANCE.getXmlAccessMethods_GetMethod(); + + /** + * The meta object literal for the 'Set Method' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_ACCESS_METHODS__SET_METHOD = eINSTANCE.getXmlAccessMethods_SetMethod(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAccessMethodsHolder Xml Access Methods Holder}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAccessMethodsHolder + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAccessMethodsHolder() + * @generated + */ + public static final EClass XML_ACCESS_METHODS_HOLDER = eINSTANCE.getXmlAccessMethodsHolder(); + + /** + * The meta object literal for the 'Access Methods' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS = eINSTANCE.getXmlAccessMethodsHolder_AccessMethods(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAdditionalCriteria Xml Additional Criteria}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAdditionalCriteria + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAdditionalCriteria() + * @generated + */ + public static final EClass XML_ADDITIONAL_CRITERIA = eINSTANCE.getXmlAdditionalCriteria(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlArray Xml Array}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlArray + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlArray() + * @generated + */ + public static final EClass XML_ARRAY = eINSTANCE.getXmlArray(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAttributeMapping Xml Attribute Mapping}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAttributeMapping + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAttributeMapping() + * @generated + */ + public static final EClass XML_ATTRIBUTE_MAPPING = eINSTANCE.getXmlAttributeMapping(); + + /** + * The meta object literal for the 'Attribute Type' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE = eINSTANCE.getXmlAttributeMapping_AttributeType(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.Attributes Attributes}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.Attributes + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getAttributes() + * @generated + */ + public static final EClass ATTRIBUTES = eINSTANCE.getAttributes(); + + /** + * The meta object literal for the 'Basic Collections' containment reference list feature. + * + * + * @generated + */ + public static final EReference ATTRIBUTES__BASIC_COLLECTIONS = eINSTANCE.getAttributes_BasicCollections(); + + /** + * The meta object literal for the 'Basic Maps' containment reference list feature. + * + * + * @generated + */ + public static final EReference ATTRIBUTES__BASIC_MAPS = eINSTANCE.getAttributes_BasicMaps(); + + /** + * The meta object literal for the 'Transformations' containment reference list feature. + * + * + * @generated + */ + public static final EReference ATTRIBUTES__TRANSFORMATIONS = eINSTANCE.getAttributes_Transformations(); + + /** + * The meta object literal for the 'Variable One To Ones' containment reference list feature. + * + * + * @generated + */ + public static final EReference ATTRIBUTES__VARIABLE_ONE_TO_ONES = eINSTANCE.getAttributes_VariableOneToOnes(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasic Xml Basic}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasic + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlBasic() + * @generated + */ + public static final EClass XML_BASIC = eINSTANCE.getXmlBasic(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasicCollection Xml Basic Collection}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasicCollection + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlBasicCollection() + * @generated + */ + public static final EClass XML_BASIC_COLLECTION = eINSTANCE.getXmlBasicCollection(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasicMap Xml Basic Map}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasicMap + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlBasicMap() + * @generated + */ + public static final EClass XML_BASIC_MAP = eINSTANCE.getXmlBasicMap(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBatchFetch Xml Batch Fetch}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBatchFetch + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlBatchFetch() + * @generated + */ + public static final EClass XML_BATCH_FETCH = eINSTANCE.getXmlBatchFetch(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBatchFetchHolder Xml Batch Fetch Holder}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBatchFetchHolder + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlBatchFetchHolder() + * @generated + */ + public static final EClass XML_BATCH_FETCH_HOLDER = eINSTANCE.getXmlBatchFetchHolder(); + + /** + * The meta object literal for the 'Batch Fetch' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_BATCH_FETCH_HOLDER__BATCH_FETCH = eINSTANCE.getXmlBatchFetchHolder_BatchFetch(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache Xml Cache}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCache() + * @generated + */ + public static final EClass XML_CACHE = eINSTANCE.getXmlCache(); + + /** + * The meta object literal for the 'Expiry' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_CACHE__EXPIRY = eINSTANCE.getXmlCache_Expiry(); + + /** + * The meta object literal for the 'Size' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_CACHE__SIZE = eINSTANCE.getXmlCache_Size(); + + /** + * The meta object literal for the 'Shared' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_CACHE__SHARED = eINSTANCE.getXmlCache_Shared(); + + /** + * The meta object literal for the 'Type' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_CACHE__TYPE = eINSTANCE.getXmlCache_Type(); + + /** + * The meta object literal for the 'Always Refresh' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_CACHE__ALWAYS_REFRESH = eINSTANCE.getXmlCache_AlwaysRefresh(); + + /** + * The meta object literal for the 'Refresh Only If Newer' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_CACHE__REFRESH_ONLY_IF_NEWER = eINSTANCE.getXmlCache_RefreshOnlyIfNewer(); + + /** + * The meta object literal for the 'Disable Hits' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_CACHE__DISABLE_HITS = eINSTANCE.getXmlCache_DisableHits(); + + /** + * The meta object literal for the 'Coordination Type' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_CACHE__COORDINATION_TYPE = eINSTANCE.getXmlCache_CoordinationType(); + + /** + * The meta object literal for the 'Expiry Time Of Day' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_CACHE__EXPIRY_TIME_OF_DAY = eINSTANCE.getXmlCache_ExpiryTimeOfDay(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCacheHolder Xml Cache Holder}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCacheHolder + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCacheHolder() + * @generated + */ + public static final EClass XML_CACHE_HOLDER = eINSTANCE.getXmlCacheHolder(); + + /** + * The meta object literal for the 'Cache' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_CACHE_HOLDER__CACHE = eINSTANCE.getXmlCacheHolder_Cache(); + + /** + * The meta object literal for the 'Existence Checking' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_CACHE_HOLDER__EXISTENCE_CHECKING = eINSTANCE.getXmlCacheHolder_ExistenceChecking(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCacheIndex Xml Cache Index}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCacheIndex + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCacheIndex() + * @generated + */ + public static final EClass XML_CACHE_INDEX = eINSTANCE.getXmlCacheIndex(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlChangeTracking Xml Change Tracking}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlChangeTracking + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlChangeTracking() + * @generated + */ + public static final EClass XML_CHANGE_TRACKING = eINSTANCE.getXmlChangeTracking(); + + /** + * The meta object literal for the 'Type' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_CHANGE_TRACKING__TYPE = eINSTANCE.getXmlChangeTracking_Type(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlChangeTrackingHolder Xml Change Tracking Holder}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlChangeTrackingHolder + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlChangeTrackingHolder() + * @generated + */ + public static final EClass XML_CHANGE_TRACKING_HOLDER = eINSTANCE.getXmlChangeTrackingHolder(); + + /** + * The meta object literal for the 'Change Tracking' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_CHANGE_TRACKING_HOLDER__CHANGE_TRACKING = eINSTANCE.getXmlChangeTrackingHolder_ChangeTracking(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCloneCopyPolicy Xml Clone Copy Policy}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCloneCopyPolicy + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCloneCopyPolicy() + * @generated + */ + public static final EClass XML_CLONE_COPY_POLICY = eINSTANCE.getXmlCloneCopyPolicy(); + + /** + * The meta object literal for the 'Method' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_CLONE_COPY_POLICY__METHOD = eINSTANCE.getXmlCloneCopyPolicy_Method(); + + /** + * The meta object literal for the 'Working Copy Method' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_CLONE_COPY_POLICY__WORKING_COPY_METHOD = eINSTANCE.getXmlCloneCopyPolicy_WorkingCopyMethod(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCollectionTable Xml Collection Table}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCollectionTable + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCollectionTable() + * @generated + */ + public static final EClass XML_COLLECTION_TABLE = eINSTANCE.getXmlCollectionTable(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConversionValue Xml Conversion Value}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConversionValue + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConversionValue() + * @generated + */ + public static final EClass XML_CONVERSION_VALUE = eINSTANCE.getXmlConversionValue(); + + /** + * The meta object literal for the 'Data Value' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_CONVERSION_VALUE__DATA_VALUE = eINSTANCE.getXmlConversionValue_DataValue(); + + /** + * The meta object literal for the 'Object Value' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_CONVERSION_VALUE__OBJECT_VALUE = eINSTANCE.getXmlConversionValue_ObjectValue(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverter Xml Converter}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverter + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverter() + * @generated + */ + public static final EClass XML_CONVERTER = eINSTANCE.getXmlConverter(); + + /** + * The meta object literal for the 'Class Name' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_CONVERTER__CLASS_NAME = eINSTANCE.getXmlConverter_ClassName(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverterContainer Xml Converter Container}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverterContainer + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverterContainer() + * @generated + */ + public static final EClass XML_CONVERTER_CONTAINER = eINSTANCE.getXmlConverterContainer(); + + /** + * The meta object literal for the 'Converters' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_CONVERTER_CONTAINER__CONVERTERS = eINSTANCE.getXmlConverterContainer_Converters(); + + /** + * The meta object literal for the 'Type Converters' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_CONVERTER_CONTAINER__TYPE_CONVERTERS = eINSTANCE.getXmlConverterContainer_TypeConverters(); + + /** + * The meta object literal for the 'Object Type Converters' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS = eINSTANCE.getXmlConverterContainer_ObjectTypeConverters(); + + /** + * The meta object literal for the 'Struct Converters' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS = eINSTANCE.getXmlConverterContainer_StructConverters(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConvertibleMapping Xml Convertible Mapping}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConvertibleMapping + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConvertibleMapping() + * @generated + */ + public static final EClass XML_CONVERTIBLE_MAPPING = eINSTANCE.getXmlConvertibleMapping(); + + /** + * The meta object literal for the 'Convert' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_CONVERTIBLE_MAPPING__CONVERT = eINSTANCE.getXmlConvertibleMapping_Convert(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCopyPolicy Xml Copy Policy}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCopyPolicy + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCopyPolicy() + * @generated + */ + public static final EClass XML_COPY_POLICY = eINSTANCE.getXmlCopyPolicy(); + + /** + * The meta object literal for the 'Class' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_COPY_POLICY__CLASS = eINSTANCE.getXmlCopyPolicy_Class(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCustomizer Xml Customizer}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCustomizer + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCustomizer() + * @generated + */ + public static final EClass XML_CUSTOMIZER = eINSTANCE.getXmlCustomizer(); + + /** + * The meta object literal for the 'Customizer Class Name' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_CUSTOMIZER__CUSTOMIZER_CLASS_NAME = eINSTANCE.getXmlCustomizer_CustomizerClassName(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCustomizerHolder Xml Customizer Holder}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCustomizerHolder + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCustomizerHolder() + * @generated + */ + public static final EClass XML_CUSTOMIZER_HOLDER = eINSTANCE.getXmlCustomizerHolder(); + + /** + * The meta object literal for the 'Customizer' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_CUSTOMIZER_HOLDER__CUSTOMIZER = eINSTANCE.getXmlCustomizerHolder_Customizer(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlElementCollection Xml Element Collection}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlElementCollection + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlElementCollection() + * @generated + */ + public static final EClass XML_ELEMENT_COLLECTION = eINSTANCE.getXmlElementCollection(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddable Xml Embeddable}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddable + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEmbeddable() + * @generated + */ + public static final EClass XML_EMBEDDABLE = eINSTANCE.getXmlEmbeddable(); + + /** + * The meta object literal for the 'Copy Policy' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_EMBEDDABLE__COPY_POLICY = eINSTANCE.getXmlEmbeddable_CopyPolicy(); + + /** + * The meta object literal for the 'Instantiation Copy Policy' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_EMBEDDABLE__INSTANTIATION_COPY_POLICY = eINSTANCE.getXmlEmbeddable_InstantiationCopyPolicy(); + + /** + * The meta object literal for the 'Clone Copy Policy' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_EMBEDDABLE__CLONE_COPY_POLICY = eINSTANCE.getXmlEmbeddable_CloneCopyPolicy(); + + /** + * The meta object literal for the 'Exclude Default Mappings' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_EMBEDDABLE__EXCLUDE_DEFAULT_MAPPINGS = eINSTANCE.getXmlEmbeddable_ExcludeDefaultMappings(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbedded Xml Embedded}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbedded + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEmbedded() + * @generated + */ + public static final EClass XML_EMBEDDED = eINSTANCE.getXmlEmbedded(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddedId Xml Embedded Id}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddedId + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEmbeddedId() + * @generated + */ + public static final EClass XML_EMBEDDED_ID = eINSTANCE.getXmlEmbeddedId(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity Xml Entity}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntity() + * @generated + */ + public static final EClass XML_ENTITY = eINSTANCE.getXmlEntity(); + + /** + * The meta object literal for the 'Optimistic Locking' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_ENTITY__OPTIMISTIC_LOCKING = eINSTANCE.getXmlEntity_OptimisticLocking(); + + /** + * The meta object literal for the 'Copy Policy' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_ENTITY__COPY_POLICY = eINSTANCE.getXmlEntity_CopyPolicy(); + + /** + * The meta object literal for the 'Instantiation Copy Policy' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_ENTITY__INSTANTIATION_COPY_POLICY = eINSTANCE.getXmlEntity_InstantiationCopyPolicy(); + + /** + * The meta object literal for the 'Clone Copy Policy' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_ENTITY__CLONE_COPY_POLICY = eINSTANCE.getXmlEntity_CloneCopyPolicy(); + + /** + * The meta object literal for the 'Exclude Default Mappings' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_ENTITY__EXCLUDE_DEFAULT_MAPPINGS = eINSTANCE.getXmlEntity_ExcludeDefaultMappings(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntityMappings Xml Entity Mappings}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntityMappings + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntityMappings() + * @generated + */ + public static final EClass XML_ENTITY_MAPPINGS = eINSTANCE.getXmlEntityMappings(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlFetchAttribute Xml Fetch Attribute}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlFetchAttribute + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlFetchAttribute() + * @generated + */ + public static final EClass XML_FETCH_ATTRIBUTE = eINSTANCE.getXmlFetchAttribute(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlFetchGroup Xml Fetch Group}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlFetchGroup + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlFetchGroup() + * @generated + */ + public static final EClass XML_FETCH_GROUP = eINSTANCE.getXmlFetchGroup(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlField Xml Field}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlField + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlField() + * @generated + */ + public static final EClass XML_FIELD = eINSTANCE.getXmlField(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlId Xml Id}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlId + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlId() + * @generated + */ + public static final EClass XML_ID = eINSTANCE.getXmlId(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlIndex Xml Index}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlIndex + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlIndex() + * @generated + */ + public static final EClass XML_INDEX = eINSTANCE.getXmlIndex(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlInstantiationCopyPolicy Xml Instantiation Copy Policy}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlInstantiationCopyPolicy + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlInstantiationCopyPolicy() + * @generated + */ + public static final EClass XML_INSTANTIATION_COPY_POLICY = eINSTANCE.getXmlInstantiationCopyPolicy(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinFetch Xml Join Fetch}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinFetch + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlJoinFetch() + * @generated + */ + public static final EClass XML_JOIN_FETCH = eINSTANCE.getXmlJoinFetch(); + + /** + * The meta object literal for the 'Join Fetch' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_JOIN_FETCH__JOIN_FETCH = eINSTANCE.getXmlJoinFetch_JoinFetch(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinField Xml Join Field}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinField + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlJoinField() + * @generated + */ + public static final EClass XML_JOIN_FIELD = eINSTANCE.getXmlJoinField(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinTable Xml Join Table}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinTable + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlJoinTable() + * @generated + */ + public static final EClass XML_JOIN_TABLE = eINSTANCE.getXmlJoinTable(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToMany Xml Many To Many}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToMany + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlManyToMany() + * @generated + */ + public static final EClass XML_MANY_TO_MANY = eINSTANCE.getXmlManyToMany(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToOne Xml Many To One}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToOne + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlManyToOne() + * @generated + */ + public static final EClass XML_MANY_TO_ONE = eINSTANCE.getXmlManyToOne(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass Xml Mapped Superclass}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlMappedSuperclass() + * @generated + */ + public static final EClass XML_MAPPED_SUPERCLASS = eINSTANCE.getXmlMappedSuperclass(); + + /** + * The meta object literal for the 'Optimistic Locking' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_MAPPED_SUPERCLASS__OPTIMISTIC_LOCKING = eINSTANCE.getXmlMappedSuperclass_OptimisticLocking(); + + /** + * The meta object literal for the 'Copy Policy' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_MAPPED_SUPERCLASS__COPY_POLICY = eINSTANCE.getXmlMappedSuperclass_CopyPolicy(); + + /** + * The meta object literal for the 'Instantiation Copy Policy' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_MAPPED_SUPERCLASS__INSTANTIATION_COPY_POLICY = eINSTANCE.getXmlMappedSuperclass_InstantiationCopyPolicy(); + + /** + * The meta object literal for the 'Clone Copy Policy' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_MAPPED_SUPERCLASS__CLONE_COPY_POLICY = eINSTANCE.getXmlMappedSuperclass_CloneCopyPolicy(); + + /** + * The meta object literal for the 'Exclude Default Mappings' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_MAPPED_SUPERCLASS__EXCLUDE_DEFAULT_MAPPINGS = eINSTANCE.getXmlMappedSuperclass_ExcludeDefaultMappings(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMultitenant Xml Multitenant}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMultitenant + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlMultitenant() + * @generated + */ + public static final EClass XML_MULTITENANT = eINSTANCE.getXmlMultitenant(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMultitenantHolder Xml Multitenant Holder}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMultitenantHolder + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlMultitenantHolder() + * @generated + */ + public static final EClass XML_MULTITENANT_HOLDER = eINSTANCE.getXmlMultitenantHolder(); + + /** + * The meta object literal for the 'Multitenant' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_MULTITENANT_HOLDER__MULTITENANT = eINSTANCE.getXmlMultitenantHolder_Multitenant(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMutable Xml Mutable}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMutable + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlMutable() + * @generated + */ + public static final EClass XML_MUTABLE = eINSTANCE.getXmlMutable(); + + /** + * The meta object literal for the 'Mutable' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_MUTABLE__MUTABLE = eINSTANCE.getXmlMutable_Mutable(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedConverter Xml Named Converter}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedConverter + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedConverter() + * @generated + */ + public static final EClass XML_NAMED_CONVERTER = eINSTANCE.getXmlNamedConverter(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_NAMED_CONVERTER__NAME = eINSTANCE.getXmlNamedConverter_Name(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedPlsqlStoredFunctionQuery Xml Named Plsql Stored Function Query}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedPlsqlStoredFunctionQuery + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedPlsqlStoredFunctionQuery() + * @generated + */ + public static final EClass XML_NAMED_PLSQL_STORED_FUNCTION_QUERY = eINSTANCE.getXmlNamedPlsqlStoredFunctionQuery(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedPlsqlStoredProcedureQuery Xml Named Plsql Stored Procedure Query}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedPlsqlStoredProcedureQuery + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedPlsqlStoredProcedureQuery() + * @generated + */ + public static final EClass XML_NAMED_PLSQL_STORED_PROCEDURE_QUERY = eINSTANCE.getXmlNamedPlsqlStoredProcedureQuery(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredFunctionQuery Xml Named Stored Function Query}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredFunctionQuery + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedStoredFunctionQuery() + * @generated + */ + public static final EClass XML_NAMED_STORED_FUNCTION_QUERY = eINSTANCE.getXmlNamedStoredFunctionQuery(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery Xml Named Stored Procedure Query}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedStoredProcedureQuery() + * @generated + */ + public static final EClass XML_NAMED_STORED_PROCEDURE_QUERY = eINSTANCE.getXmlNamedStoredProcedureQuery(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_NAMED_STORED_PROCEDURE_QUERY__NAME = eINSTANCE.getXmlNamedStoredProcedureQuery_Name(); + + /** + * The meta object literal for the 'Result Class' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_NAMED_STORED_PROCEDURE_QUERY__RESULT_CLASS = eINSTANCE.getXmlNamedStoredProcedureQuery_ResultClass(); + + /** + * The meta object literal for the 'Result Set Mapping' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_NAMED_STORED_PROCEDURE_QUERY__RESULT_SET_MAPPING = eINSTANCE.getXmlNamedStoredProcedureQuery_ResultSetMapping(); + + /** + * The meta object literal for the 'Procedure Name' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_NAMED_STORED_PROCEDURE_QUERY__PROCEDURE_NAME = eINSTANCE.getXmlNamedStoredProcedureQuery_ProcedureName(); + + /** + * The meta object literal for the 'Returns Result Set' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_NAMED_STORED_PROCEDURE_QUERY__RETURNS_RESULT_SET = eINSTANCE.getXmlNamedStoredProcedureQuery_ReturnsResultSet(); + + /** + * The meta object literal for the 'Hints' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_NAMED_STORED_PROCEDURE_QUERY__HINTS = eINSTANCE.getXmlNamedStoredProcedureQuery_Hints(); + + /** + * The meta object literal for the 'Parameters' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_NAMED_STORED_PROCEDURE_QUERY__PARAMETERS = eINSTANCE.getXmlNamedStoredProcedureQuery_Parameters(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNoSql Xml No Sql}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNoSql + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNoSql() + * @generated + */ + public static final EClass XML_NO_SQL = eINSTANCE.getXmlNoSql(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter Xml Object Type Converter}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlObjectTypeConverter() + * @generated + */ + public static final EClass XML_OBJECT_TYPE_CONVERTER = eINSTANCE.getXmlObjectTypeConverter(); + + /** + * The meta object literal for the 'Data Type' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_OBJECT_TYPE_CONVERTER__DATA_TYPE = eINSTANCE.getXmlObjectTypeConverter_DataType(); + + /** + * The meta object literal for the 'Object Type' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_OBJECT_TYPE_CONVERTER__OBJECT_TYPE = eINSTANCE.getXmlObjectTypeConverter_ObjectType(); + + /** + * The meta object literal for the 'Conversion Values' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_OBJECT_TYPE_CONVERTER__CONVERSION_VALUES = eINSTANCE.getXmlObjectTypeConverter_ConversionValues(); + + /** + * The meta object literal for the 'Default Object Value' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_OBJECT_TYPE_CONVERTER__DEFAULT_OBJECT_VALUE = eINSTANCE.getXmlObjectTypeConverter_DefaultObjectValue(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToMany Xml One To Many}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToMany + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOneToMany() + * @generated + */ + public static final EClass XML_ONE_TO_MANY = eINSTANCE.getXmlOneToMany(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToOne Xml One To One}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToOne + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOneToOne() + * @generated + */ + public static final EClass XML_ONE_TO_ONE = eINSTANCE.getXmlOneToOne(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOptimisticLocking Xml Optimistic Locking}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOptimisticLocking + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOptimisticLocking() + * @generated + */ + public static final EClass XML_OPTIMISTIC_LOCKING = eINSTANCE.getXmlOptimisticLocking(); + + /** + * The meta object literal for the 'Type' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_OPTIMISTIC_LOCKING__TYPE = eINSTANCE.getXmlOptimisticLocking_Type(); + + /** + * The meta object literal for the 'Cascade' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_OPTIMISTIC_LOCKING__CASCADE = eINSTANCE.getXmlOptimisticLocking_Cascade(); + + /** + * The meta object literal for the 'Selected Columns' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_OPTIMISTIC_LOCKING__SELECTED_COLUMNS = eINSTANCE.getXmlOptimisticLocking_SelectedColumns(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOrderColumn Xml Order Column}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOrderColumn + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOrderColumn() + * @generated + */ + public static final EClass XML_ORDER_COLUMN = eINSTANCE.getXmlOrderColumn(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPersistenceUnitDefaults Xml Persistence Unit Defaults}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPersistenceUnitDefaults + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPersistenceUnitDefaults() + * @generated + */ + public static final EClass XML_PERSISTENCE_UNIT_DEFAULTS = eINSTANCE.getXmlPersistenceUnitDefaults(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPersistenceUnitMetadata Xml Persistence Unit Metadata}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPersistenceUnitMetadata + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPersistenceUnitMetadata() + * @generated + */ + public static final EClass XML_PERSISTENCE_UNIT_METADATA = eINSTANCE.getXmlPersistenceUnitMetadata(); + + /** + * The meta object literal for the 'Exclude Default Mappings' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_PERSISTENCE_UNIT_METADATA__EXCLUDE_DEFAULT_MAPPINGS = eINSTANCE.getXmlPersistenceUnitMetadata_ExcludeDefaultMappings(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPrimaryKey Xml Primary Key}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPrimaryKey + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPrimaryKey() + * @generated + */ + public static final EClass XML_PRIMARY_KEY = eINSTANCE.getXmlPrimaryKey(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPrivateOwned Xml Private Owned}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPrivateOwned + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPrivateOwned() + * @generated + */ + public static final EClass XML_PRIVATE_OWNED = eINSTANCE.getXmlPrivateOwned(); + + /** + * The meta object literal for the 'Private Owned' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_PRIVATE_OWNED__PRIVATE_OWNED = eINSTANCE.getXmlPrivateOwned_PrivateOwned(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlProperty Xml Property}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlProperty + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlProperty() + * @generated + */ + public static final EClass XML_PROPERTY = eINSTANCE.getXmlProperty(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_PROPERTY__NAME = eINSTANCE.getXmlProperty_Name(); + + /** + * The meta object literal for the 'Value' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_PROPERTY__VALUE = eINSTANCE.getXmlProperty_Value(); + + /** + * The meta object literal for the 'Value Type' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_PROPERTY__VALUE_TYPE = eINSTANCE.getXmlProperty_ValueType(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPropertyContainer Xml Property Container}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPropertyContainer + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPropertyContainer() + * @generated + */ + public static final EClass XML_PROPERTY_CONTAINER = eINSTANCE.getXmlPropertyContainer(); + + /** + * The meta object literal for the 'Properties' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_PROPERTY_CONTAINER__PROPERTIES = eINSTANCE.getXmlPropertyContainer_Properties(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryContainer Xml Query Container}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryContainer + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlQueryContainer() + * @generated + */ + public static final EClass XML_QUERY_CONTAINER = eINSTANCE.getXmlQueryContainer(); + + /** + * The meta object literal for the 'Named Stored Procedure Queries' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_QUERY_CONTAINER__NAMED_STORED_PROCEDURE_QUERIES = eINSTANCE.getXmlQueryContainer_NamedStoredProcedureQueries(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryRedirectors Xml Query Redirectors}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryRedirectors + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlQueryRedirectors() + * @generated + */ + public static final EClass XML_QUERY_REDIRECTORS = eINSTANCE.getXmlQueryRedirectors(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlReadOnly Xml Read Only}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlReadOnly + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlReadOnly() + * @generated + */ + public static final EClass XML_READ_ONLY = eINSTANCE.getXmlReadOnly(); + + /** + * The meta object literal for the 'Read Only' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_READ_ONLY__READ_ONLY = eINSTANCE.getXmlReadOnly_ReadOnly(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlReturnInsert Xml Return Insert}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlReturnInsert + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlReturnInsert() + * @generated + */ + public static final EClass XML_RETURN_INSERT = eINSTANCE.getXmlReturnInsert(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlSecondaryTable Xml Secondary Table}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlSecondaryTable + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlSecondaryTable() + * @generated + */ + public static final EClass XML_SECONDARY_TABLE = eINSTANCE.getXmlSecondaryTable(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter Xml Stored Procedure Parameter}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlStoredProcedureParameter() + * @generated + */ + public static final EClass XML_STORED_PROCEDURE_PARAMETER = eINSTANCE.getXmlStoredProcedureParameter(); + + /** + * The meta object literal for the 'Direction' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_STORED_PROCEDURE_PARAMETER__DIRECTION = eINSTANCE.getXmlStoredProcedureParameter_Direction(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_STORED_PROCEDURE_PARAMETER__NAME = eINSTANCE.getXmlStoredProcedureParameter_Name(); + + /** + * The meta object literal for the 'Query Parameter' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_STORED_PROCEDURE_PARAMETER__QUERY_PARAMETER = eINSTANCE.getXmlStoredProcedureParameter_QueryParameter(); + + /** + * The meta object literal for the 'Type' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_STORED_PROCEDURE_PARAMETER__TYPE = eINSTANCE.getXmlStoredProcedureParameter_Type(); + + /** + * The meta object literal for the 'Jdbc Type' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_STORED_PROCEDURE_PARAMETER__JDBC_TYPE = eINSTANCE.getXmlStoredProcedureParameter_JdbcType(); + + /** + * The meta object literal for the 'Jdbc Type Name' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_STORED_PROCEDURE_PARAMETER__JDBC_TYPE_NAME = eINSTANCE.getXmlStoredProcedureParameter_JdbcTypeName(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStruct Xml Struct}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStruct + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlStruct() + * @generated + */ + public static final EClass XML_STRUCT = eINSTANCE.getXmlStruct(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructConverter Xml Struct Converter}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructConverter + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlStructConverter() + * @generated + */ + public static final EClass XML_STRUCT_CONVERTER = eINSTANCE.getXmlStructConverter(); + + /** + * The meta object literal for the 'Converter' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_STRUCT_CONVERTER__CONVERTER = eINSTANCE.getXmlStructConverter_Converter(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructure Xml Structure}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructure + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlStructure() + * @generated + */ + public static final EClass XML_STRUCTURE = eINSTANCE.getXmlStructure(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTable Xml Table}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTable + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTable() + * @generated + */ + public static final EClass XML_TABLE = eINSTANCE.getXmlTable(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTableGenerator Xml Table Generator}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTableGenerator + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTableGenerator() + * @generated + */ + public static final EClass XML_TABLE_GENERATOR = eINSTANCE.getXmlTableGenerator(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTenantDiscriminatorColumn Xml Tenant Discriminator Column}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTenantDiscriminatorColumn + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTenantDiscriminatorColumn() + * @generated + */ + public static final EClass XML_TENANT_DISCRIMINATOR_COLUMN = eINSTANCE.getXmlTenantDiscriminatorColumn(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTenantTableDiscriminator Xml Tenant Table Discriminator}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTenantTableDiscriminator + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTenantTableDiscriminator() + * @generated + */ + public static final EClass XML_TENANT_TABLE_DISCRIMINATOR = eINSTANCE.getXmlTenantTableDiscriminator(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTimeOfDay Xml Time Of Day}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTimeOfDay + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTimeOfDay() + * @generated + */ + public static final EClass XML_TIME_OF_DAY = eINSTANCE.getXmlTimeOfDay(); + + /** + * The meta object literal for the 'Hour' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_TIME_OF_DAY__HOUR = eINSTANCE.getXmlTimeOfDay_Hour(); + + /** + * The meta object literal for the 'Minute' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_TIME_OF_DAY__MINUTE = eINSTANCE.getXmlTimeOfDay_Minute(); + + /** + * The meta object literal for the 'Second' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_TIME_OF_DAY__SECOND = eINSTANCE.getXmlTimeOfDay_Second(); + + /** + * The meta object literal for the 'Millisecond' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_TIME_OF_DAY__MILLISECOND = eINSTANCE.getXmlTimeOfDay_Millisecond(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTransformation Xml Transformation}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTransformation + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTransformation() + * @generated + */ + public static final EClass XML_TRANSFORMATION = eINSTANCE.getXmlTransformation(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTransient Xml Transient}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTransient + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTransient() + * @generated + */ + public static final EClass XML_TRANSIENT = eINSTANCE.getXmlTransient(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter Xml Type Converter}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTypeConverter() + * @generated + */ + public static final EClass XML_TYPE_CONVERTER = eINSTANCE.getXmlTypeConverter(); + + /** + * The meta object literal for the 'Data Type' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_TYPE_CONVERTER__DATA_TYPE = eINSTANCE.getXmlTypeConverter_DataType(); + + /** + * The meta object literal for the 'Object Type' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_TYPE_CONVERTER__OBJECT_TYPE = eINSTANCE.getXmlTypeConverter_ObjectType(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeMapping Xml Type Mapping}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeMapping + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTypeMapping() + * @generated + */ + public static final EClass XML_TYPE_MAPPING = eINSTANCE.getXmlTypeMapping(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlVariableOneToOne Xml Variable One To One}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlVariableOneToOne + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlVariableOneToOne() + * @generated + */ + public static final EClass XML_VARIABLE_ONE_TO_ONE = eINSTANCE.getXmlVariableOneToOne(); + + /** + * The meta object literal for the 'Target Interface' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_VARIABLE_ONE_TO_ONE__TARGET_INTERFACE = eINSTANCE.getXmlVariableOneToOne_TargetInterface(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlVersion Xml Version}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlVersion + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlVersion() + * @generated + */ + public static final EClass XML_VERSION = eINSTANCE.getXmlVersion(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlHashPartitioning Xml Hash Partitioning}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlHashPartitioning + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlHashPartitioning() + * @generated + */ + public static final EClass XML_HASH_PARTITIONING = eINSTANCE.getXmlHashPartitioning(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPartitioning Xml Partitioning}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPartitioning + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioning() + * @generated + */ + public static final EClass XML_PARTITIONING = eINSTANCE.getXmlPartitioning(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPinnedPartitioning Xml Pinned Partitioning}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPinnedPartitioning + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPinnedPartitioning() + * @generated + */ + public static final EClass XML_PINNED_PARTITIONING = eINSTANCE.getXmlPinnedPartitioning(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPlsqlRecord Xml Plsql Record}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPlsqlRecord + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPlsqlRecord() + * @generated + */ + public static final EClass XML_PLSQL_RECORD = eINSTANCE.getXmlPlsqlRecord(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPlsqlTable Xml Plsql Table}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPlsqlTable + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPlsqlTable() + * @generated + */ + public static final EClass XML_PLSQL_TABLE = eINSTANCE.getXmlPlsqlTable(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlRangePartitioning Xml Range Partitioning}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlRangePartitioning + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlRangePartitioning() + * @generated + */ + public static final EClass XML_RANGE_PARTITIONING = eINSTANCE.getXmlRangePartitioning(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlReplicationPartitioning Xml Replication Partitioning}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlReplicationPartitioning + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlReplicationPartitioning() + * @generated + */ + public static final EClass XML_REPLICATION_PARTITIONING = eINSTANCE.getXmlReplicationPartitioning(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlRoundRobinPartitioning Xml Round Robin Partitioning}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlRoundRobinPartitioning + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlRoundRobinPartitioning() + * @generated + */ + public static final EClass XML_ROUND_ROBIN_PARTITIONING = eINSTANCE.getXmlRoundRobinPartitioning(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlUnionPartitioning Xml Union Partitioning}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlUnionPartitioning + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlUnionPartitioning() + * @generated + */ + public static final EClass XML_UNION_PARTITIONING = eINSTANCE.getXmlUnionPartitioning(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlUuidGenerator Xml Uuid Generator}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlUuidGenerator + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlUuidGenerator() + * @generated + */ + public static final EClass XML_UUID_GENERATOR = eINSTANCE.getXmlUuidGenerator(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlValuePartitioning Xml Value Partitioning}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlValuePartitioning + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlValuePartitioning() + * @generated + */ + public static final EClass XML_VALUE_PARTITIONING = eINSTANCE.getXmlValuePartitioning(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.CacheCoordinationType Cache Coordination Type}' enum. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.CacheCoordinationType + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getCacheCoordinationType() + * @generated + */ + public static final EEnum CACHE_COORDINATION_TYPE = eINSTANCE.getCacheCoordinationType(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.CacheType Cache Type}' enum. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.CacheType + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getCacheType() + * @generated + */ + public static final EEnum CACHE_TYPE = eINSTANCE.getCacheType(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlChangeTrackingType Xml Change Tracking Type}' enum. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlChangeTrackingType + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlChangeTrackingType() + * @generated + */ + public static final EEnum XML_CHANGE_TRACKING_TYPE = eINSTANCE.getXmlChangeTrackingType(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlDirection Xml Direction}' enum. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlDirection + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlDirection() + * @generated + */ + public static final EEnum XML_DIRECTION = eINSTANCE.getXmlDirection(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.ExistenceType Existence Type}' enum. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.ExistenceType + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getExistenceType() + * @generated + */ + public static final EEnum EXISTENCE_TYPE = eINSTANCE.getExistenceType(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinFetchType Xml Join Fetch Type}' enum. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinFetchType + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlJoinFetchType() + * @generated + */ + public static final EEnum XML_JOIN_FETCH_TYPE = eINSTANCE.getXmlJoinFetchType(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOptimisticLockingType Xml Optimistic Locking Type}' enum. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOptimisticLockingType + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOptimisticLockingType() + * @generated + */ + public static final EEnum XML_OPTIMISTIC_LOCKING_TYPE = eINSTANCE.getXmlOptimisticLockingType(); + + } +} diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/ExistenceType.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/ExistenceType.java new file mode 100644 index 0000000000..a89707ed20 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/ExistenceType.java @@ -0,0 +1,295 @@ +/******************************************************************************* + * 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 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 'Existence 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#getExistenceType() + * @model + * @generated + */ +public enum ExistenceType implements Enumerator +{ + /** + * The 'CHECK CACHE' literal object. + * + * + * @see #CHECK_CACHE_VALUE + * @generated + * @ordered + */ + CHECK_CACHE(0, "CHECK_CACHE", "CHECK_CACHE"), + + /** + * The 'CHECK DATABASE' literal object. + * + * + * @see #CHECK_DATABASE_VALUE + * @generated + * @ordered + */ + CHECK_DATABASE(1, "CHECK_DATABASE", "CHECK_DATABASE"), + + /** + * The 'ASSUME EXISTENCE' literal object. + * + * + * @see #ASSUME_EXISTENCE_VALUE + * @generated + * @ordered + */ + ASSUME_EXISTENCE(2, "ASSUME_EXISTENCE", "ASSUME_EXISTENCE"), + + /** + * The 'ASSUME NON EXISTENCE' literal object. + * + * + * @see #ASSUME_NON_EXISTENCE_VALUE + * @generated + * @ordered + */ + ASSUME_NON_EXISTENCE(3, "ASSUME_NON_EXISTENCE", "ASSUME_NON_EXISTENCE"); + + /** + * The 'CHECK CACHE' literal value. + * + *

+ * 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 VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the 'Existence Type' literal with the specified literal value. + * + * + * @generated + */ + public static ExistenceType get(String literal) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + ExistenceType result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Existence Type' literal with the specified name. + * + * + * @generated + */ + public static ExistenceType getByName(String name) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + ExistenceType result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Existence Type' literal with the specified integer value. + * + * + * @generated + */ + public static ExistenceType get(int value) + { + switch (value) + { + case CHECK_CACHE_VALUE: return CHECK_CACHE; + case CHECK_DATABASE_VALUE: return CHECK_DATABASE; + case ASSUME_EXISTENCE_VALUE: return ASSUME_EXISTENCE; + case ASSUME_NON_EXISTENCE_VALUE: return ASSUME_NON_EXISTENCE; + } + return null; + } + + /** + * + * + * @generated + */ + private final int value; + + /** + * + * + * @generated + */ + private final String name; + + /** + * + * + * @generated + */ + private final String literal; + + /** + * Only this class can construct instances. + * + * + * @generated + */ + private ExistenceType(int value, String name, String literal) + { + this.value = value; + this.name = name; + this.literal = literal; + } + + /** + * + * + * @generated + */ + public int getValue() + { + return value; + } + + /** + * + * + * @generated + */ + public String getName() + { + return name; + } + + /** + * + * + * @generated + */ + public String getLiteral() + { + return literal; + } + + /** + * Returns the literal value of the enumerator, which is its string representation. + * + * + * @generated + */ + @Override + public String toString() + { + return literal; + } + +} //ExistenceType diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlAccessMethods.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlAccessMethods.java new file mode 100644 index 0000000000..b182071e80 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlAccessMethods.java @@ -0,0 +1,301 @@ +/******************************************************************************* + * Copyright (c) 2009, 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.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 Access Methods'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAccessMethods#getGetMethod Get Method}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAccessMethods#getSetMethod Set Method}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAccessMethods() + * @model kind="class" + * @extends EBaseObject + * @generated + */ +public class XmlAccessMethods extends EBaseObjectImpl implements EBaseObject +{ + /** + * The default value of the '{@link #getGetMethod() Get Method}' attribute. + * + * + * @see #getGetMethod() + * @generated + * @ordered + */ + protected static final String GET_METHOD_EDEFAULT = null; + + /** + * The cached value of the '{@link #getGetMethod() Get Method}' attribute. + * + * + * @see #getGetMethod() + * @generated + * @ordered + */ + protected String getMethod = GET_METHOD_EDEFAULT; + + /** + * The default value of the '{@link #getSetMethod() Set Method}' attribute. + * + * + * @see #getSetMethod() + * @generated + * @ordered + */ + protected static final String SET_METHOD_EDEFAULT = null; + + /** + * The cached value of the '{@link #getSetMethod() Set Method}' attribute. + * + * + * @see #getSetMethod() + * @generated + * @ordered + */ + protected String setMethod = SET_METHOD_EDEFAULT; + + /** + * + * + * @generated + */ + protected XmlAccessMethods() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_ACCESS_METHODS; + } + + /** + * Returns the value of the 'Get Method' attribute. + * + *

+ * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAccessMethodsHolder#getAccessMethods Access Methods}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAccessMethodsHolder() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlAccessMethodsHolder extends EBaseObject +{ + /** + * 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 + */ + 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 properties; + + /** + * The default value of the '{@link #getAttributeType() Attribute Type}' attribute. + * + * + * @see #getAttributeType() + * @generated + * @ordered + */ + protected static final String ATTRIBUTE_TYPE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getAttributeType() Attribute Type}' attribute. + * + * + * @see #getAttributeType() + * @generated + * @ordered + */ + protected String attributeType = ATTRIBUTE_TYPE_EDEFAULT; + + /** + * The cached value of the '{@link #getConverters() Converters}' containment reference list. + * + * + * @see #getConverters() + * @generated + * @ordered + */ + protected EList converters; + + /** + * The cached value of the '{@link #getTypeConverters() Type Converters}' containment reference list. + * + * + * @see #getTypeConverters() + * @generated + * @ordered + */ + protected EList typeConverters; + + /** + * The cached value of the '{@link #getObjectTypeConverters() Object Type Converters}' containment reference list. + * + * + * @see #getObjectTypeConverters() + * @generated + * @ordered + */ + protected EList objectTypeConverters; + + /** + * The cached value of the '{@link #getStructConverters() Struct Converters}' containment reference list. + * + * + * @see #getStructConverters() + * @generated + * @ordered + */ + protected EList structConverters; + + /** + * The default value of the '{@link #isLob() Lob}' attribute. + * + * + * @see #isLob() + * @generated + * @ordered + */ + protected static final boolean LOB_EDEFAULT = false; + + /** + * The cached value of the '{@link #isLob() Lob}' attribute. + * + * + * @see #isLob() + * @generated + * @ordered + */ + protected boolean lob = LOB_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 TemporalType TEMPORAL_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTemporal() Temporal}' attribute. + * + * + * @see #getTemporal() + * @generated + * @ordered + */ + protected TemporalType temporal = TEMPORAL_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 EnumType ENUMERATED_EDEFAULT = null; + + /** + * The cached value of the '{@link #getEnumerated() Enumerated}' attribute. + * + * + * @see #getEnumerated() + * @generated + * @ordered + */ + protected EnumType enumerated = ENUMERATED_EDEFAULT; + + /** + * The cached value of the '{@link #getColumn() Column}' containment reference. + * + * + * @see #getColumn() + * @generated + * @ordered + */ + protected XmlColumn column; + + /** + * The default value of the '{@link #getDatabaseType() Database Type}' attribute. + * + * + * @see #getDatabaseType() + * @generated + * @ordered + */ + protected static final String DATABASE_TYPE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getDatabaseType() Database Type}' attribute. + * + * + * @see #getDatabaseType() + * @generated + * @ordered + */ + protected String databaseType = DATABASE_TYPE_EDEFAULT; + + /** + * The default value of the '{@link #getTargetClass() Target Class}' attribute. + * + * + * @see #getTargetClass() + * @generated + * @ordered + */ + protected static final String TARGET_CLASS_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTargetClass() Target Class}' attribute. + * + * + * @see #getTargetClass() + * @generated + * @ordered + */ + protected String targetClass = TARGET_CLASS_EDEFAULT; + + /** + * The default value of the '{@link #getConvert() Convert}' attribute. + * + * + * @see #getConvert() + * @generated + * @ordered + */ + protected static final String CONVERT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getConvert() Convert}' attribute. + * + * + * @see #getConvert() + * @generated + * @ordered + */ + protected String convert = CONVERT_EDEFAULT; + + /** + * + * + * @generated + */ + protected XmlArray() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_ARRAY; + } + + /** + * 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_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 getProperties() + { + if (properties == null) + { + properties = new EObjectContainmentEList(XmlProperty.class, this, EclipseLinkOrmPackage.XML_ARRAY__PROPERTIES); + } + return properties; + } + + /** + * 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 getConverters() + { + if (converters == null) + { + converters = new EObjectContainmentEList(XmlConverter.class, this, EclipseLinkOrmPackage.XML_ARRAY__CONVERTERS); + } + return converters; + } + + /** + * Returns the value of the 'Type Converters' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter}. + * + *

+ * 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 getTypeConverters() + { + if (typeConverters == null) + { + typeConverters = new EObjectContainmentEList(XmlTypeConverter.class, this, EclipseLinkOrmPackage.XML_ARRAY__TYPE_CONVERTERS); + } + return typeConverters; + } + + /** + * Returns the value of the 'Object Type Converters' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter}. + * + *

+ * 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 getObjectTypeConverters() + { + if (objectTypeConverters == null) + { + objectTypeConverters = new EObjectContainmentEList(XmlObjectTypeConverter.class, this, EclipseLinkOrmPackage.XML_ARRAY__OBJECT_TYPE_CONVERTERS); + } + return objectTypeConverters; + } + + /** + * Returns the value of the 'Struct Converters' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructConverter}. + * + *

+ * 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 getStructConverters() + { + if (structConverters == null) + { + structConverters = new EObjectContainmentEList(XmlStructConverter.class, this, EclipseLinkOrmPackage.XML_ARRAY__STRUCT_CONVERTERS); + } + return structConverters; + } + + /** + * Returns the value of the 'Lob' attribute. + * + *

+ * 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)newValue); + return; + case EclipseLinkOrmPackage.XML_ARRAY__ATTRIBUTE_TYPE: + setAttributeType((String)newValue); + return; + case EclipseLinkOrmPackage.XML_ARRAY__CONVERTERS: + getConverters().clear(); + getConverters().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ARRAY__TYPE_CONVERTERS: + getTypeConverters().clear(); + getTypeConverters().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ARRAY__OBJECT_TYPE_CONVERTERS: + getObjectTypeConverters().clear(); + getObjectTypeConverters().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ARRAY__STRUCT_CONVERTERS: + getStructConverters().clear(); + getStructConverters().addAll((Collection)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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAttributeMapping#getAttributeType Attribute Type}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAttributeMapping() + * @model kind="class" interface="true" abstract="true" + * @generated + */ +public interface XmlAttributeMapping + extends org.eclipse.jpt.jpa.core.resource.orm.XmlAttributeMapping, + XmlAccessMethodsHolder, XmlPropertyContainer +{ + + /** + * 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 + */ + 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 properties; + /** + * The default value of the '{@link #getAttributeType() Attribute Type}' attribute. + * + * + * @see #getAttributeType() + * @generated + * @ordered + */ + protected static final String ATTRIBUTE_TYPE_EDEFAULT = null; + /** + * The cached value of the '{@link #getAttributeType() Attribute Type}' attribute. + * + * + * @see #getAttributeType() + * @generated + * @ordered + */ + protected String attributeType = ATTRIBUTE_TYPE_EDEFAULT; + /** + * The default value of the '{@link #getMutable() Mutable}' attribute. + * + * + * @see #getMutable() + * @generated + * @ordered + */ + protected static final Boolean MUTABLE_EDEFAULT = null; + /** + * The cached value of the '{@link #getMutable() Mutable}' attribute. + * + * + * @see #getMutable() + * @generated + * @ordered + */ + protected Boolean mutable = MUTABLE_EDEFAULT; + /** + * The default value of the '{@link #getConvert() Convert}' attribute. + * + * + * @see #getConvert() + * @generated + * @ordered + */ + protected static final String CONVERT_EDEFAULT = null; + /** + * The cached value of the '{@link #getConvert() Convert}' attribute. + * + * + * @see #getConvert() + * @generated + * @ordered + */ + protected String convert = CONVERT_EDEFAULT; + + /** + * The cached value of the '{@link #getConverters() Converters}' containment reference list. + * + * + * @see #getConverters() + * @generated + * @ordered + */ + protected EList converters; + /** + * The cached value of the '{@link #getTypeConverters() Type Converters}' containment reference list. + * + * + * @see #getTypeConverters() + * @generated + * @ordered + */ + protected EList typeConverters; + /** + * The cached value of the '{@link #getObjectTypeConverters() Object Type Converters}' containment reference list. + * + * + * @see #getObjectTypeConverters() + * @generated + * @ordered + */ + protected EList objectTypeConverters; + /** + * The cached value of the '{@link #getStructConverters() Struct Converters}' containment reference list. + * + * + * @see #getStructConverters() + * @generated + * @ordered + */ + protected EList structConverters; + + /** + * + * + * @generated + */ + protected XmlBasic() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_BASIC; + } + + /** + * 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.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 getConverters() + { + if (converters == null) + { + converters = new EObjectContainmentEList(XmlConverter.class, this, EclipseLinkOrmPackage.XML_BASIC__CONVERTERS); + } + return converters; + } + + /** + * Returns the value of the 'Type Converters' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter}. + * + *

+ * 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 getTypeConverters() + { + if (typeConverters == null) + { + typeConverters = new EObjectContainmentEList(XmlTypeConverter.class, this, EclipseLinkOrmPackage.XML_BASIC__TYPE_CONVERTERS); + } + return typeConverters; + } + + /** + * Returns the value of the 'Object Type Converters' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter}. + * + *

+ * 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 getObjectTypeConverters() + { + if (objectTypeConverters == null) + { + objectTypeConverters = new EObjectContainmentEList(XmlObjectTypeConverter.class, this, EclipseLinkOrmPackage.XML_BASIC__OBJECT_TYPE_CONVERTERS); + } + return objectTypeConverters; + } + + /** + * Returns the value of the 'Struct Converters' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructConverter}. + * + *

+ * 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 getStructConverters() + { + if (structConverters == null) + { + structConverters = new EObjectContainmentEList(XmlStructConverter.class, this, EclipseLinkOrmPackage.XML_BASIC__STRUCT_CONVERTERS); + } + return structConverters; + } + + /** + * Returns the value of the 'Sequence Generator' containment reference. + * + *

+ * 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 getProperties() + { + if (properties == null) + { + properties = new EObjectContainmentEList(XmlProperty.class, this, EclipseLinkOrmPackage.XML_BASIC__PROPERTIES); + } + return properties; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_BASIC__SEQUENCE_GENERATOR: + return basicSetSequenceGenerator(null, msgs); + case EclipseLinkOrmPackage.XML_BASIC__TABLE_GENERATOR: + return basicSetTableGenerator(null, msgs); + case EclipseLinkOrmPackage.XML_BASIC__GENERATED_VALUE: + return basicSetGeneratedValue(null, msgs); + case EclipseLinkOrmPackage.XML_BASIC__RETURN_INSERT: + return basicSetReturnInsert(null, msgs); + case EclipseLinkOrmPackage.XML_BASIC__INDEX: + return basicSetIndex(null, msgs); + case EclipseLinkOrmPackage.XML_BASIC__UUID_GENERATOR: + return basicSetUuidGenerator(null, msgs); + case EclipseLinkOrmPackage.XML_BASIC__FIELD: + return basicSetField(null, msgs); + case EclipseLinkOrmPackage.XML_BASIC__CACHE_INDEX: + return basicSetCacheIndex(null, msgs); + case EclipseLinkOrmPackage.XML_BASIC__ACCESS_METHODS: + return basicSetAccessMethods(null, msgs); + case EclipseLinkOrmPackage.XML_BASIC__PROPERTIES: + return ((InternalEList)getProperties()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_BASIC__CONVERTERS: + return ((InternalEList)getConverters()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_BASIC__TYPE_CONVERTERS: + return ((InternalEList)getTypeConverters()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_BASIC__OBJECT_TYPE_CONVERTERS: + return ((InternalEList)getObjectTypeConverters()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_BASIC__STRUCT_CONVERTERS: + return ((InternalEList)getStructConverters()).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__SEQUENCE_GENERATOR: + return getSequenceGenerator(); + case EclipseLinkOrmPackage.XML_BASIC__TABLE_GENERATOR: + return getTableGenerator(); + case EclipseLinkOrmPackage.XML_BASIC__GENERATED_VALUE: + return getGeneratedValue(); + case EclipseLinkOrmPackage.XML_BASIC__RETURN_INSERT: + return getReturnInsert(); + case EclipseLinkOrmPackage.XML_BASIC__RETURN_UPDATE: + return getReturnUpdate(); + case EclipseLinkOrmPackage.XML_BASIC__INDEX: + return getIndex(); + case EclipseLinkOrmPackage.XML_BASIC__UUID_GENERATOR: + return getUuidGenerator(); + case EclipseLinkOrmPackage.XML_BASIC__FIELD: + return getField(); + case EclipseLinkOrmPackage.XML_BASIC__CACHE_INDEX: + return getCacheIndex(); + case EclipseLinkOrmPackage.XML_BASIC__ACCESS_METHODS: + return getAccessMethods(); + case EclipseLinkOrmPackage.XML_BASIC__PROPERTIES: + return getProperties(); + case EclipseLinkOrmPackage.XML_BASIC__ATTRIBUTE_TYPE: + return getAttributeType(); + case EclipseLinkOrmPackage.XML_BASIC__MUTABLE: + return getMutable(); + case EclipseLinkOrmPackage.XML_BASIC__CONVERT: + return getConvert(); + case EclipseLinkOrmPackage.XML_BASIC__CONVERTERS: + return getConverters(); + case EclipseLinkOrmPackage.XML_BASIC__TYPE_CONVERTERS: + return getTypeConverters(); + case EclipseLinkOrmPackage.XML_BASIC__OBJECT_TYPE_CONVERTERS: + return getObjectTypeConverters(); + case EclipseLinkOrmPackage.XML_BASIC__STRUCT_CONVERTERS: + return getStructConverters(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_BASIC__SEQUENCE_GENERATOR: + setSequenceGenerator((XmlSequenceGenerator)newValue); + return; + case EclipseLinkOrmPackage.XML_BASIC__TABLE_GENERATOR: + setTableGenerator((XmlTableGenerator)newValue); + return; + case EclipseLinkOrmPackage.XML_BASIC__GENERATED_VALUE: + setGeneratedValue((XmlGeneratedValue)newValue); + return; + case EclipseLinkOrmPackage.XML_BASIC__RETURN_INSERT: + setReturnInsert((XmlReturnInsert)newValue); + return; + case EclipseLinkOrmPackage.XML_BASIC__RETURN_UPDATE: + setReturnUpdate((Boolean)newValue); + return; + case EclipseLinkOrmPackage.XML_BASIC__INDEX: + setIndex((XmlIndex_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_BASIC__UUID_GENERATOR: + setUuidGenerator((XmlUuidGenerator_2_4)newValue); + return; + case EclipseLinkOrmPackage.XML_BASIC__FIELD: + setField((XmlField_2_4)newValue); + return; + case EclipseLinkOrmPackage.XML_BASIC__CACHE_INDEX: + setCacheIndex((XmlCacheIndex_2_4)newValue); + return; + case EclipseLinkOrmPackage.XML_BASIC__ACCESS_METHODS: + setAccessMethods((XmlAccessMethods)newValue); + return; + case EclipseLinkOrmPackage.XML_BASIC__PROPERTIES: + getProperties().clear(); + getProperties().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_BASIC__ATTRIBUTE_TYPE: + setAttributeType((String)newValue); + return; + case EclipseLinkOrmPackage.XML_BASIC__MUTABLE: + setMutable((Boolean)newValue); + return; + case EclipseLinkOrmPackage.XML_BASIC__CONVERT: + setConvert((String)newValue); + return; + case EclipseLinkOrmPackage.XML_BASIC__CONVERTERS: + getConverters().clear(); + getConverters().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_BASIC__TYPE_CONVERTERS: + getTypeConverters().clear(); + getTypeConverters().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_BASIC__OBJECT_TYPE_CONVERTERS: + getObjectTypeConverters().clear(); + getObjectTypeConverters().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_BASIC__STRUCT_CONVERTERS: + getStructConverters().clear(); + getStructConverters().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_BASIC__SEQUENCE_GENERATOR: + setSequenceGenerator((XmlSequenceGenerator)null); + return; + case EclipseLinkOrmPackage.XML_BASIC__TABLE_GENERATOR: + setTableGenerator((XmlTableGenerator)null); + return; + case EclipseLinkOrmPackage.XML_BASIC__GENERATED_VALUE: + setGeneratedValue((XmlGeneratedValue)null); + return; + case EclipseLinkOrmPackage.XML_BASIC__RETURN_INSERT: + setReturnInsert((XmlReturnInsert)null); + return; + case EclipseLinkOrmPackage.XML_BASIC__RETURN_UPDATE: + setReturnUpdate(RETURN_UPDATE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_BASIC__INDEX: + setIndex((XmlIndex_2_2)null); + return; + case EclipseLinkOrmPackage.XML_BASIC__UUID_GENERATOR: + setUuidGenerator((XmlUuidGenerator_2_4)null); + return; + case EclipseLinkOrmPackage.XML_BASIC__FIELD: + setField((XmlField_2_4)null); + return; + case EclipseLinkOrmPackage.XML_BASIC__CACHE_INDEX: + setCacheIndex((XmlCacheIndex_2_4)null); + return; + case EclipseLinkOrmPackage.XML_BASIC__ACCESS_METHODS: + setAccessMethods((XmlAccessMethods)null); + return; + case EclipseLinkOrmPackage.XML_BASIC__PROPERTIES: + getProperties().clear(); + return; + case EclipseLinkOrmPackage.XML_BASIC__ATTRIBUTE_TYPE: + setAttributeType(ATTRIBUTE_TYPE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_BASIC__MUTABLE: + setMutable(MUTABLE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_BASIC__CONVERT: + setConvert(CONVERT_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_BASIC__CONVERTERS: + getConverters().clear(); + return; + case EclipseLinkOrmPackage.XML_BASIC__TYPE_CONVERTERS: + getTypeConverters().clear(); + return; + case EclipseLinkOrmPackage.XML_BASIC__OBJECT_TYPE_CONVERTERS: + getObjectTypeConverters().clear(); + return; + case EclipseLinkOrmPackage.XML_BASIC__STRUCT_CONVERTERS: + getStructConverters().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_BASIC__SEQUENCE_GENERATOR: + return sequenceGenerator != null; + case EclipseLinkOrmPackage.XML_BASIC__TABLE_GENERATOR: + return tableGenerator != null; + case EclipseLinkOrmPackage.XML_BASIC__GENERATED_VALUE: + return generatedValue != null; + case EclipseLinkOrmPackage.XML_BASIC__RETURN_INSERT: + return returnInsert != null; + case EclipseLinkOrmPackage.XML_BASIC__RETURN_UPDATE: + return RETURN_UPDATE_EDEFAULT == null ? returnUpdate != null : !RETURN_UPDATE_EDEFAULT.equals(returnUpdate); + case EclipseLinkOrmPackage.XML_BASIC__INDEX: + return index != null; + case EclipseLinkOrmPackage.XML_BASIC__UUID_GENERATOR: + return uuidGenerator != null; + case EclipseLinkOrmPackage.XML_BASIC__FIELD: + return field != null; + case EclipseLinkOrmPackage.XML_BASIC__CACHE_INDEX: + return cacheIndex != null; + case EclipseLinkOrmPackage.XML_BASIC__ACCESS_METHODS: + return accessMethods != null; + case EclipseLinkOrmPackage.XML_BASIC__PROPERTIES: + return properties != null && !properties.isEmpty(); + case EclipseLinkOrmPackage.XML_BASIC__ATTRIBUTE_TYPE: + return ATTRIBUTE_TYPE_EDEFAULT == null ? attributeType != null : !ATTRIBUTE_TYPE_EDEFAULT.equals(attributeType); + case EclipseLinkOrmPackage.XML_BASIC__MUTABLE: + return MUTABLE_EDEFAULT == null ? mutable != null : !MUTABLE_EDEFAULT.equals(mutable); + case EclipseLinkOrmPackage.XML_BASIC__CONVERT: + return CONVERT_EDEFAULT == null ? convert != null : !CONVERT_EDEFAULT.equals(convert); + case EclipseLinkOrmPackage.XML_BASIC__CONVERTERS: + return converters != null && !converters.isEmpty(); + case EclipseLinkOrmPackage.XML_BASIC__TYPE_CONVERTERS: + return typeConverters != null && !typeConverters.isEmpty(); + case EclipseLinkOrmPackage.XML_BASIC__OBJECT_TYPE_CONVERTERS: + return objectTypeConverters != null && !objectTypeConverters.isEmpty(); + case EclipseLinkOrmPackage.XML_BASIC__STRUCT_CONVERTERS: + return structConverters != null && !structConverters.isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public int eBaseStructuralFeatureID(int derivedFeatureID, Class baseClass) + { + if (baseClass == XmlGeneratorContainer.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_BASIC__SEQUENCE_GENERATOR: return OrmPackage.XML_GENERATOR_CONTAINER__SEQUENCE_GENERATOR; + case EclipseLinkOrmPackage.XML_BASIC__TABLE_GENERATOR: return OrmPackage.XML_GENERATOR_CONTAINER__TABLE_GENERATOR; + default: return -1; + } + } + if (baseClass == XmlBasic_1_1.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_BASIC__GENERATED_VALUE: return EclipseLinkOrmV1_1Package.XML_BASIC_11__GENERATED_VALUE; + default: return -1; + } + } + if (baseClass == XmlBasic_2_1.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_BASIC__RETURN_INSERT: return EclipseLinkOrmV2_1Package.XML_BASIC_21__RETURN_INSERT; + case EclipseLinkOrmPackage.XML_BASIC__RETURN_UPDATE: return EclipseLinkOrmV2_1Package.XML_BASIC_21__RETURN_UPDATE; + default: return -1; + } + } + if (baseClass == XmlBasic_2_2.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_BASIC__INDEX: return EclipseLinkOrmV2_2Package.XML_BASIC_22__INDEX; + default: return -1; + } + } + if (baseClass == XmlGeneratorContainer2_4.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_BASIC__UUID_GENERATOR: return EclipseLinkOrmV2_4Package.XML_GENERATOR_CONTAINER2_4__UUID_GENERATOR; + default: return -1; + } + } + if (baseClass == XmlBasic_2_4.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_BASIC__FIELD: return EclipseLinkOrmV2_4Package.XML_BASIC_24__FIELD; + case EclipseLinkOrmPackage.XML_BASIC__CACHE_INDEX: return EclipseLinkOrmV2_4Package.XML_BASIC_24__CACHE_INDEX; + default: return -1; + } + } + if (baseClass == XmlAccessMethodsHolder.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_BASIC__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS; + default: return -1; + } + } + if (baseClass == XmlPropertyContainer.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_BASIC__PROPERTIES: return EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES; + default: return -1; + } + } + if (baseClass == XmlAttributeMapping.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_BASIC__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE; + default: return -1; + } + } + if (baseClass == XmlMutable.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_BASIC__MUTABLE: return EclipseLinkOrmPackage.XML_MUTABLE__MUTABLE; + default: return -1; + } + } + if (baseClass == XmlConvertibleMapping.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_BASIC__CONVERT: return EclipseLinkOrmPackage.XML_CONVERTIBLE_MAPPING__CONVERT; + default: return -1; + } + } + if (baseClass == XmlConverterContainer.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_BASIC__CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__CONVERTERS; + case EclipseLinkOrmPackage.XML_BASIC__TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__TYPE_CONVERTERS; + case EclipseLinkOrmPackage.XML_BASIC__OBJECT_TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS; + case EclipseLinkOrmPackage.XML_BASIC__STRUCT_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS; + default: return -1; + } + } + return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); + } + + /** + * + * + * @generated + */ + @Override + public int eDerivedStructuralFeatureID(int baseFeatureID, Class baseClass) + { + if (baseClass == XmlGeneratorContainer.class) + { + switch (baseFeatureID) + { + case OrmPackage.XML_GENERATOR_CONTAINER__SEQUENCE_GENERATOR: return EclipseLinkOrmPackage.XML_BASIC__SEQUENCE_GENERATOR; + case OrmPackage.XML_GENERATOR_CONTAINER__TABLE_GENERATOR: return EclipseLinkOrmPackage.XML_BASIC__TABLE_GENERATOR; + default: return -1; + } + } + if (baseClass == XmlBasic_1_1.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV1_1Package.XML_BASIC_11__GENERATED_VALUE: return EclipseLinkOrmPackage.XML_BASIC__GENERATED_VALUE; + default: return -1; + } + } + if (baseClass == XmlBasic_2_1.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_1Package.XML_BASIC_21__RETURN_INSERT: return EclipseLinkOrmPackage.XML_BASIC__RETURN_INSERT; + case EclipseLinkOrmV2_1Package.XML_BASIC_21__RETURN_UPDATE: return EclipseLinkOrmPackage.XML_BASIC__RETURN_UPDATE; + default: return -1; + } + } + if (baseClass == XmlBasic_2_2.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_2Package.XML_BASIC_22__INDEX: return EclipseLinkOrmPackage.XML_BASIC__INDEX; + default: return -1; + } + } + if (baseClass == XmlGeneratorContainer2_4.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_4Package.XML_GENERATOR_CONTAINER2_4__UUID_GENERATOR: return EclipseLinkOrmPackage.XML_BASIC__UUID_GENERATOR; + default: return -1; + } + } + if (baseClass == XmlBasic_2_4.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_4Package.XML_BASIC_24__FIELD: return EclipseLinkOrmPackage.XML_BASIC__FIELD; + case EclipseLinkOrmV2_4Package.XML_BASIC_24__CACHE_INDEX: return EclipseLinkOrmPackage.XML_BASIC__CACHE_INDEX; + default: return -1; + } + } + if (baseClass == XmlAccessMethodsHolder.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_BASIC__ACCESS_METHODS; + default: return -1; + } + } + if (baseClass == XmlPropertyContainer.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES: return EclipseLinkOrmPackage.XML_BASIC__PROPERTIES; + default: return -1; + } + } + if (baseClass == XmlAttributeMapping.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_BASIC__ATTRIBUTE_TYPE; + default: return -1; + } + } + if (baseClass == XmlMutable.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_MUTABLE__MUTABLE: return EclipseLinkOrmPackage.XML_BASIC__MUTABLE; + default: return -1; + } + } + if (baseClass == XmlConvertibleMapping.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_CONVERTIBLE_MAPPING__CONVERT: return EclipseLinkOrmPackage.XML_BASIC__CONVERT; + default: return -1; + } + } + if (baseClass == XmlConverterContainer.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__CONVERTERS: return EclipseLinkOrmPackage.XML_BASIC__CONVERTERS; + case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_BASIC__TYPE_CONVERTERS; + case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_BASIC__OBJECT_TYPE_CONVERTERS; + case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS: return EclipseLinkOrmPackage.XML_BASIC__STRUCT_CONVERTERS; + 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(" (returnUpdate: "); + result.append(returnUpdate); + result.append(", attributeType: "); + result.append(attributeType); + result.append(", mutable: "); + result.append(mutable); + result.append(", convert: "); + result.append(convert); + result.append(')'); + return result.toString(); + } + + public TextRange getMutableTextRange() { + return getAttributeTextRange(EclipseLink.MUTABLE); + } + + 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.getXmlBasic(), + buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildNameTranslator(), + buildFetchTranslator(), + buildOptionalTranslator(), + buildAccessTranslator(), + buildMutableTranslator(), + buildAttributeTypeTranslator(), + buildColumnTranslator(), + buildFieldTranslator(), + buildIndexTranslator(), + buildCacheIndexTranslator(), + buildGeneratedValueTranslator(), + buildLobTranslator(), + buildTemporalTranslator(), + buildEnumeratedTranslator(), + buildConvertTranslator(), + buildConverterTranslator(), + buildTypeConverterTranslator(), + buildObjectTypeConverterTranslator(), + buildStructConverterTranslator(), + buildTableGeneratorTranslator(), + buildSequenceGeneratorTranslator(), + buildUuidGeneratorTranslator(), + buildPropertyTranslator(), + buildAccessMethodsTranslator(), + buildReturnInsertTranslator(), + buildReturnUpdateTranslator()}; + } + + protected static Translator buildMutableTranslator() { + return new Translator(EclipseLink.MUTABLE, EclipseLinkOrmPackage.eINSTANCE.getXmlMutable_Mutable(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildIndexTranslator() { + return XmlIndex.buildTranslator(EclipseLink2_2.INDEX, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlBasic_2_2_Index()); + } + + protected static Translator buildCacheIndexTranslator() { + return XmlCacheIndex.buildTranslator(EclipseLink2_4.CACHE_INDEX, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlBasic_2_4_CacheIndex()); + } + + protected static Translator buildGeneratedValueTranslator() { + return XmlGeneratedValue.buildTranslator(EclipseLink1_1.GENERATED_VALUE, EclipseLinkOrmV1_1Package.eINSTANCE.getXmlBasic_1_1_GeneratedValue()); + } + + 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 buildTableGeneratorTranslator() { + return org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTableGenerator.buildTranslator(EclipseLink1_1.TABLE_GENERATOR, OrmPackage.eINSTANCE.getXmlGeneratorContainer_TableGenerator()); + } + + protected static Translator buildSequenceGeneratorTranslator() { + return XmlSequenceGenerator.buildTranslator(EclipseLink1_1.SEQUENCE_GENERATOR, OrmPackage.eINSTANCE.getXmlGeneratorContainer_SequenceGenerator()); + } + + 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 buildReturnInsertTranslator() { + return XmlReturnInsert.buildTranslator(EclipseLink2_1.RETURN_INSERT, EclipseLinkOrmV2_1Package.eINSTANCE.getXmlBasic_2_1_ReturnInsert()); + } + + protected static Translator buildReturnUpdateTranslator() { + return new Translator(EclipseLink2_1.RETURN_UPDATE, EclipseLinkOrmV2_1Package.eINSTANCE.getXmlBasic_2_1_ReturnUpdate()); + } + + protected static Translator buildAttributeTypeTranslator() { + return new Translator(EclipseLink2_1.ATTRIBUTE_TYPE, EclipseLinkOrmPackage.eINSTANCE.getXmlAttributeMapping_AttributeType(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildUuidGeneratorTranslator() { + return XmlUuidGenerator.buildTranslator(EclipseLink2_4.UUID_GENERATOR, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlGeneratorContainer2_4_UuidGenerator()); + } + + protected static Translator buildFieldTranslator() { + return XmlField.buildTranslator(EclipseLink2_4.FIELD, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlBasic_2_4_Field()); + } + + // *********** 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_1.ATTRIBUTE_TYPE); + } + + public boolean attributeTypeTouches(int pos) { + TextRange textRange = this.getAttributeTypeCodeAssistTextRange(); + return (textRange != null) && (textRange.touches(pos)); + } + + // ******** virtual attribute ************ + + public void setVirtualAttributeTypes(String attributeType, String targetType) { + this.setAttributeType(attributeType); + } +} diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlBasicCollection.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlBasicCollection.java new file mode 100644 index 0000000000..48c088e133 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlBasicCollection.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.XmlBasicCollection_2_2; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml Basic Collection 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#getXmlBasicCollection() + * @model kind="class" + * @generated + */ +public class XmlBasicCollection extends AbstractXmlAttributeMapping implements XmlAttributeMapping, XmlBasicCollection_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 properties; + + /** + * The default value of the '{@link #getAttributeType() Attribute Type}' attribute. + * + * + * @see #getAttributeType() + * @generated + * @ordered + */ + protected static final String ATTRIBUTE_TYPE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getAttributeType() Attribute Type}' attribute. + * + * + * @see #getAttributeType() + * @generated + * @ordered + */ + protected String attributeType = ATTRIBUTE_TYPE_EDEFAULT; + + /** + * The default value of the '{@link #getCascadeOnDelete() Cascade On Delete}' attribute. + * + * + * @see #getCascadeOnDelete() + * @generated + * @ordered + */ + protected static final Boolean CASCADE_ON_DELETE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getCascadeOnDelete() Cascade On Delete}' attribute. + * + * + * @see #getCascadeOnDelete() + * @generated + * @ordered + */ + protected Boolean cascadeOnDelete = CASCADE_ON_DELETE_EDEFAULT; + + /** + * + * + * @generated + */ + protected XmlBasicCollection() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_BASIC_COLLECTION; + } + + /** + * 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_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 getProperties() + { + if (properties == null) + { + properties = new EObjectContainmentEList(XmlProperty.class, this, EclipseLinkOrmPackage.XML_BASIC_COLLECTION__PROPERTIES); + } + return properties; + } + + /** + * 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.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)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 properties; + + /** + * The default value of the '{@link #getAttributeType() Attribute Type}' attribute. + * + * + * @see #getAttributeType() + * @generated + * @ordered + */ + protected static final String ATTRIBUTE_TYPE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getAttributeType() Attribute Type}' attribute. + * + * + * @see #getAttributeType() + * @generated + * @ordered + */ + protected String attributeType = ATTRIBUTE_TYPE_EDEFAULT; + + /** + * The default value of the '{@link #getCascadeOnDelete() Cascade On Delete}' attribute. + * + * + * @see #getCascadeOnDelete() + * @generated + * @ordered + */ + protected static final Boolean CASCADE_ON_DELETE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getCascadeOnDelete() Cascade On Delete}' attribute. + * + * + * @see #getCascadeOnDelete() + * @generated + * @ordered + */ + protected Boolean cascadeOnDelete = CASCADE_ON_DELETE_EDEFAULT; + + /** + * + * + * @generated + */ + protected XmlBasicMap() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_BASIC_MAP; + } + + /** + * 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_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 getProperties() + { + if (properties == null) + { + properties = new EObjectContainmentEList(XmlProperty.class, this, EclipseLinkOrmPackage.XML_BASIC_MAP__PROPERTIES); + } + return properties; + } + + /** + * 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.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)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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBatchFetchHolder#getBatchFetch Batch Fetch}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlBatchFetchHolder() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlBatchFetchHolder extends EBaseObject +{ + /** + * 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 + */ + 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getExpiry Expiry}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getSize Size}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getShared Shared}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getType Type}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getAlwaysRefresh Always Refresh}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getRefreshOnlyIfNewer Refresh Only If Newer}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getDisableHits Disable Hits}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getCoordinationType Coordination Type}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getExpiryTimeOfDay Expiry Time Of Day}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCache() + * @model kind="class" + * @generated + */ +public class XmlCache extends EBaseObjectImpl implements XmlCache_2_2, XmlCache_2_4 +{ + /** + * 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 CacheIsolationType ISOLATION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getIsolation() Isolation}' attribute. + * + * + * @see #getIsolation() + * @generated + * @ordered + */ + protected CacheIsolationType isolation = ISOLATION_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 DatabaseChangeNotificationType DATABASE_CHANGE_NOTIFICATION_TYPE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getDatabaseChangeNotificationType() Database Change Notification Type}' attribute. + * + * + * @see #getDatabaseChangeNotificationType() + * @generated + * @ordered + */ + protected DatabaseChangeNotificationType databaseChangeNotificationType = DATABASE_CHANGE_NOTIFICATION_TYPE_EDEFAULT; + + /** + * The default value of the '{@link #getExpiry() Expiry}' attribute. + * + * + * @see #getExpiry() + * @generated + * @ordered + */ + protected static final Integer EXPIRY_EDEFAULT = null; + + /** + * The cached value of the '{@link #getExpiry() Expiry}' attribute. + * + * + * @see #getExpiry() + * @generated + * @ordered + */ + protected Integer expiry = EXPIRY_EDEFAULT; + + /** + * 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; + + /** + * The default value of the '{@link #getShared() Shared}' attribute. + * + * + * @see #getShared() + * @generated + * @ordered + */ + protected static final Boolean SHARED_EDEFAULT = null; + + /** + * The cached value of the '{@link #getShared() Shared}' attribute. + * + * + * @see #getShared() + * @generated + * @ordered + */ + protected Boolean shared = SHARED_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 CacheType TYPE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getType() Type}' attribute. + * + * + * @see #getType() + * @generated + * @ordered + */ + protected CacheType type = TYPE_EDEFAULT; + + /** + * The default value of the '{@link #getAlwaysRefresh() Always Refresh}' attribute. + * + * + * @see #getAlwaysRefresh() + * @generated + * @ordered + */ + protected static final Boolean ALWAYS_REFRESH_EDEFAULT = null; + + /** + * The cached value of the '{@link #getAlwaysRefresh() Always Refresh}' attribute. + * + * + * @see #getAlwaysRefresh() + * @generated + * @ordered + */ + protected Boolean alwaysRefresh = ALWAYS_REFRESH_EDEFAULT; + + /** + * The default value of the '{@link #getRefreshOnlyIfNewer() Refresh Only If Newer}' attribute. + * + * + * @see #getRefreshOnlyIfNewer() + * @generated + * @ordered + */ + protected static final Boolean REFRESH_ONLY_IF_NEWER_EDEFAULT = null; + + /** + * The cached value of the '{@link #getRefreshOnlyIfNewer() Refresh Only If Newer}' attribute. + * + * + * @see #getRefreshOnlyIfNewer() + * @generated + * @ordered + */ + protected Boolean refreshOnlyIfNewer = REFRESH_ONLY_IF_NEWER_EDEFAULT; + + /** + * The default value of the '{@link #getDisableHits() Disable Hits}' attribute. + * + * + * @see #getDisableHits() + * @generated + * @ordered + */ + protected static final Boolean DISABLE_HITS_EDEFAULT = null; + + /** + * The cached value of the '{@link #getDisableHits() Disable Hits}' attribute. + * + * + * @see #getDisableHits() + * @generated + * @ordered + */ + protected Boolean disableHits = DISABLE_HITS_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 CacheCoordinationType COORDINATION_TYPE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getCoordinationType() Coordination Type}' attribute. + * + * + * @see #getCoordinationType() + * @generated + * @ordered + */ + protected CacheCoordinationType coordinationType = COORDINATION_TYPE_EDEFAULT; + + /** + * The cached value of the '{@link #getExpiryTimeOfDay() Expiry Time Of Day}' containment reference. + * + * + * @see #getExpiryTimeOfDay() + * @generated + * @ordered + */ + protected XmlTimeOfDay expiryTimeOfDay; + + /** + * + * + * @generated + */ + protected XmlCache() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_CACHE; + } + + /** + * Returns the value of the 'Isolation' attribute. + * The default value is "". + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCacheHolder#getCache Cache}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCacheHolder#getExistenceChecking Existence Checking}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCacheHolder() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlCacheHolder extends EBaseObject +{ + /** + * 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 + */ + 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 columnNames; + + /** + * + * + * @generated + */ + protected XmlCacheIndex() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_CACHE_INDEX; + } + + /** + * 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#getXmlCacheIndex_2_4_ColumnNames() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public EList getColumnNames() + { + if (columnNames == null) + { + columnNames = new EDataTypeEList(String.class, this, EclipseLinkOrmPackage.XML_CACHE_INDEX__COLUMN_NAMES); + } + return columnNames; + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_CACHE_INDEX__COLUMN_NAMES: + return getColumnNames(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_CACHE_INDEX__COLUMN_NAMES: + getColumnNames().clear(); + getColumnNames().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_CACHE_INDEX__COLUMN_NAMES: + getColumnNames().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_CACHE_INDEX__COLUMN_NAMES: + return columnNames != null && !columnNames.isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (columnNames: "); + result.append(columnNames); + result.append(')'); + return result.toString(); + } + + + // ********** translators ********** + + public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) { + return new SimpleTranslator( + elementName, + structuralFeature, + EclipseLinkOrmPackage.eINSTANCE.getXmlCacheIndex(), + buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildColumnNameTranslator() + }; + } + + protected static Translator buildColumnNameTranslator() { + return new Translator(EclipseLink2_4.CACHE_INDEX__COLUMN_NAME, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlCacheIndex_2_4_ColumnNames()); + } +} // XmlCacheIndex diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlChangeTracking.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlChangeTracking.java new file mode 100644 index 0000000000..5efa7df2bc --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlChangeTracking.java @@ -0,0 +1,226 @@ +/******************************************************************************* + * 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.wst.common.internal.emf.resource.Translator; + +/** + * + + * A representation of the model object 'Xml Change Tracking'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlChangeTracking#getType Type}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlChangeTracking() + * @model kind="class" + * @extends EBaseObject + * @generated + */ +public class XmlChangeTracking extends EBaseObjectImpl implements EBaseObject +{ + /** + * 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 XmlChangeTrackingType TYPE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getType() Type}' attribute. + * + * + * @see #getType() + * @generated + * @ordered + */ + protected XmlChangeTrackingType type = TYPE_EDEFAULT; + + /** + * + * + * @generated + */ + protected XmlChangeTracking() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_CHANGE_TRACKING; + } + + /** + * Returns the value of the 'Type' attribute. + * The literals are from the enumeration {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlChangeTrackingType}. + * + *

+ * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlChangeTrackingHolder#getChangeTracking Change Tracking}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlChangeTrackingHolder() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlChangeTrackingHolder extends EBaseObject +{ + /** + * 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 + */ + 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 VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the 'Xml Change Tracking Type' literal with the specified literal value. + * + * + * @generated + */ + public static XmlChangeTrackingType get(String literal) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + XmlChangeTrackingType result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Xml Change Tracking Type' literal with the specified name. + * + * + * @generated + */ + public static XmlChangeTrackingType getByName(String name) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + XmlChangeTrackingType result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Xml Change Tracking Type' literal with the specified integer value. + * + * + * @generated + */ + public static XmlChangeTrackingType get(int value) + { + switch (value) + { + case ATTRIBUTE_VALUE: return ATTRIBUTE; + case OBJECT_VALUE: return OBJECT; + case DEFERRED_VALUE: return DEFERRED; + case AUTO_VALUE: return AUTO; + } + return null; + } + + /** + * + * + * @generated + */ + private final int value; + + /** + * + * + * @generated + */ + private final String name; + + /** + * + * + * @generated + */ + private final String literal; + + /** + * Only this class can construct instances. + * + * + * @generated + */ + private XmlChangeTrackingType(int value, String name, String literal) + { + this.value = value; + this.name = name; + this.literal = literal; + } + + /** + * + * + * @generated + */ + public int getValue() + { + return value; + } + + /** + * + * + * @generated + */ + public String getName() + { + return name; + } + + /** + * + * + * @generated + */ + public String getLiteral() + { + return literal; + } + + /** + * Returns the literal value of the enumerator, which is its string representation. + * + * + * @generated + */ + @Override + public String toString() + { + return literal; + } + +} //XmlChangeTrackingType diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCloneCopyPolicy.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCloneCopyPolicy.java new file mode 100644 index 0000000000..63a7eacc37 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCloneCopyPolicy.java @@ -0,0 +1,299 @@ +/******************************************************************************* + * 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 Clone 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCloneCopyPolicy#getMethod Method}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCloneCopyPolicy#getWorkingCopyMethod Working Copy Method}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCloneCopyPolicy() + * @model kind="class" + * @extends EBaseObject + * @generated + */ +public class XmlCloneCopyPolicy extends EBaseObjectImpl implements EBaseObject +{ + /** + * The default value of the '{@link #getMethod() Method}' attribute. + * + * + * @see #getMethod() + * @generated + * @ordered + */ + protected static final String METHOD_EDEFAULT = null; + + /** + * The cached value of the '{@link #getMethod() Method}' attribute. + * + * + * @see #getMethod() + * @generated + * @ordered + */ + protected String method = METHOD_EDEFAULT; + + /** + * The default value of the '{@link #getWorkingCopyMethod() Working Copy Method}' attribute. + * + * + * @see #getWorkingCopyMethod() + * @generated + * @ordered + */ + protected static final String WORKING_COPY_METHOD_EDEFAULT = null; + + /** + * The cached value of the '{@link #getWorkingCopyMethod() Working Copy Method}' attribute. + * + * + * @see #getWorkingCopyMethod() + * @generated + * @ordered + */ + protected String workingCopyMethod = WORKING_COPY_METHOD_EDEFAULT; + + /** + * + * + * @generated + */ + protected XmlCloneCopyPolicy() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_CLONE_COPY_POLICY; + } + + /** + * Returns the value of the 'Method' attribute. + * + *

+ * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConversionValue#getDataValue Data Value}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConversionValue#getObjectValue Object Value}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConversionValue() + * @model kind="class" + * @extends EBaseObject + * @generated + */ +public class XmlConversionValue extends EBaseObjectImpl implements EBaseObject +{ + /** + * The default value of the '{@link #getDataValue() Data Value}' attribute. + * + * + * @see #getDataValue() + * @generated + * @ordered + */ + protected static final String DATA_VALUE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getDataValue() Data Value}' attribute. + * + * + * @see #getDataValue() + * @generated + * @ordered + */ + protected String dataValue = DATA_VALUE_EDEFAULT; + + /** + * The default value of the '{@link #getObjectValue() Object Value}' attribute. + * + * + * @see #getObjectValue() + * @generated + * @ordered + */ + protected static final String OBJECT_VALUE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getObjectValue() Object Value}' attribute. + * + * + * @see #getObjectValue() + * @generated + * @ordered + */ + protected String objectValue = OBJECT_VALUE_EDEFAULT; + + /** + * + * + * @generated + */ + protected XmlConversionValue() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_CONVERSION_VALUE; + } + + /** + * Returns the value of the 'Data Value' attribute. + * + *

+ * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverter#getClassName Class Name}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverter() + * @model kind="class" + * @generated + */ +public class XmlConverter extends XmlNamedConverter +{ + /** + * The default value of the '{@link #getClassName() Class Name}' attribute. + * + * + * @see #getClassName() + * @generated + * @ordered + */ + protected static final String CLASS_NAME_EDEFAULT = null; + /** + * The cached value of the '{@link #getClassName() Class Name}' attribute. + * + * + * @see #getClassName() + * @generated + * @ordered + */ + protected String className = CLASS_NAME_EDEFAULT; + + /** + * + * + * @generated + */ + protected XmlConverter() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_CONVERTER; + } + + /** + * Returns the value of the 'Class Name' attribute. + * + *

+ * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverterContainer#getConverters Converters}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverterContainer#getTypeConverters Type Converters}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverterContainer#getObjectTypeConverters Object Type Converters}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverterContainer#getStructConverters Struct Converters}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverterContainer() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlConverterContainer extends EBaseObject +{ + /** + * 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 + */ + EList getConverters(); + + /** + * Returns the value of the 'Type Converters' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter}. + * + *

+ * 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 getTypeConverters(); + + /** + * Returns the value of the 'Object Type Converters' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter}. + * + *

+ * 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 getObjectTypeConverters(); + + /** + * Returns the value of the 'Struct Converters' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructConverter}. + * + *

+ * 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 getStructConverters(); + +} // XmlConverterContainer diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlConvertibleMapping.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlConvertibleMapping.java new file mode 100644 index 0000000000..81f7b64894 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlConvertibleMapping.java @@ -0,0 +1,79 @@ +/******************************************************************************* + * 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.jpt.common.core.utility.TextRange; + + +/** + * + * + * A representation of the model object 'Xml Convertible 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. + * + * @version 2.1 + * @since 2.1 + * + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConvertibleMapping#getConvert Convert}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConvertibleMapping() + * @model kind="class" interface="true" abstract="true" + * @generated + */ +public interface XmlConvertibleMapping extends org.eclipse.jpt.jpa.core.resource.orm.XmlConvertibleMapping +{ + /** + * 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 + */ + 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCopyPolicy#getClass_ Class}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCopyPolicy() + * @model kind="class" + * @extends EBaseObject + * @generated + */ +public class XmlCopyPolicy extends EBaseObjectImpl implements EBaseObject +{ + /** + * The default value of the '{@link #getClass_() Class}' attribute. + * + * + * @see #getClass_() + * @generated + * @ordered + */ + protected static final String CLASS_EDEFAULT = null; + + /** + * The cached value of the '{@link #getClass_() Class}' attribute. + * + * + * @see #getClass_() + * @generated + * @ordered + */ + protected String class_ = CLASS_EDEFAULT; + + /** + * + * + * @generated + */ + protected XmlCopyPolicy() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_COPY_POLICY; + } + + /** + * Returns the value of the 'Class' attribute. + * + *

+ * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCustomizer#getCustomizerClassName Customizer Class Name}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCustomizer() + * @model kind="class" + * @extends EBaseObject + * @generated + */ +public class XmlCustomizer extends EBaseObjectImpl implements EBaseObject +{ + /** + * The default value of the '{@link #getCustomizerClassName() Customizer Class Name}' attribute. + * + * + * @see #getCustomizerClassName() + * @generated + * @ordered + */ + protected static final String CUSTOMIZER_CLASS_NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getCustomizerClassName() Customizer Class Name}' attribute. + * + * + * @see #getCustomizerClassName() + * @generated + * @ordered + */ + protected String customizerClassName = CUSTOMIZER_CLASS_NAME_EDEFAULT; + + /** + * + * + * @generated + */ + protected XmlCustomizer() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_CUSTOMIZER; + } + + /** + * Returns the value of the 'Customizer Class Name' attribute. + * + *

+ * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCustomizerHolder#getCustomizer Customizer}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCustomizerHolder() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlCustomizerHolder extends EBaseObject +{ + /** + * 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 + */ + 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 VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the 'Xml Direction' literal with the specified literal value. + * + * + * @generated + */ + public static XmlDirection get(String literal) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + XmlDirection result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Xml Direction' literal with the specified name. + * + * + * @generated + */ + public static XmlDirection getByName(String name) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + XmlDirection result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Xml Direction' literal with the specified integer value. + * + * + * @generated + */ + public static XmlDirection get(int value) + { + switch (value) + { + case IN_VALUE: return IN; + case OUT_VALUE: return OUT; + case IN_OUT_VALUE: return IN_OUT; + case OUT_CURSOR_VALUE: return OUT_CURSOR; + } + return null; + } + + /** + * + * + * @generated + */ + private final int value; + + /** + * + * + * @generated + */ + private final String name; + + /** + * + * + * @generated + */ + private final String literal; + + /** + * Only this class can construct instances. + * + * + * @generated + */ + private XmlDirection(int value, String name, String literal) + { + this.value = value; + this.name = name; + this.literal = literal; + } + + /** + * + * + * @generated + */ + public int getValue() + { + return value; + } + + /** + * + * + * @generated + */ + public String getName() + { + return name; + } + + /** + * + * + * @generated + */ + public String getLiteral() + { + return literal; + } + + /** + * Returns the literal value of the enumerator, which is its string representation. + * + * + * @generated + */ + @Override + public String toString() + { + return literal; + } + +} //XmlDirection diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlElementCollection.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlElementCollection.java new file mode 100644 index 0000000000..255ad31388 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlElementCollection.java @@ -0,0 +1,2423 @@ +/******************************************************************************* + * 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.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.XmlAssociationOverride; +import org.eclipse.jpt.jpa.core.resource.orm.XmlColumn; +import org.eclipse.jpt.jpa.core.resource.orm.XmlJoinColumn; +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.XmlElementCollection_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.XmlElementCollection_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.XmlElementCollection_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.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_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.XmlElementCollection_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.XmlElementCollection_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 Element Collection'. + * + * 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#getXmlElementCollection() + * @model kind="class" + * @generated + */ +public class XmlElementCollection extends org.eclipse.jpt.jpa.core.resource.orm.XmlElementCollection implements XmlElementCollection_2_0, XmlElementCollection_2_1, XmlElementCollection_2_2, XmlElementCollection_2_3, XmlElementCollection_2_4 +{ + /** + * 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 properties; + + /** + * The default value of the '{@link #getAttributeType() Attribute Type}' attribute. + * + * + * @see #getAttributeType() + * @generated + * @ordered + */ + protected static final String ATTRIBUTE_TYPE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getAttributeType() Attribute Type}' attribute. + * + * + * @see #getAttributeType() + * @generated + * @ordered + */ + protected String attributeType = ATTRIBUTE_TYPE_EDEFAULT; + + /** + * The default value of the '{@link #getConvert() Convert}' attribute. + * + * + * @see #getConvert() + * @generated + * @ordered + */ + protected static final String CONVERT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getConvert() Convert}' attribute. + * + * + * @see #getConvert() + * @generated + * @ordered + */ + protected String convert = CONVERT_EDEFAULT; + + /** + * The cached value of the '{@link #getMapKeyAssociationOverrides() Map Key Association Overrides}' containment reference list. + * + * + * @see #getMapKeyAssociationOverrides() + * @generated + * @ordered + */ + protected EList mapKeyAssociationOverrides; + + /** + * The cached value of the '{@link #getConverters() Converters}' containment reference list. + * + * + * @see #getConverters() + * @generated + * @ordered + */ + protected EList converters; + + /** + * The cached value of the '{@link #getTypeConverters() Type Converters}' containment reference list. + * + * + * @see #getTypeConverters() + * @generated + * @ordered + */ + protected EList typeConverters; + + /** + * The cached value of the '{@link #getObjectTypeConverters() Object Type Converters}' containment reference list. + * + * + * @see #getObjectTypeConverters() + * @generated + * @ordered + */ + protected EList objectTypeConverters; + + /** + * The cached value of the '{@link #getStructConverters() Struct Converters}' containment reference list. + * + * + * @see #getStructConverters() + * @generated + * @ordered + */ + protected EList structConverters; + + /** + * The default value of the '{@link #getMapKeyConvert() Map Key Convert}' attribute. + * + * + * @see #getMapKeyConvert() + * @generated + * @ordered + */ + protected static final String MAP_KEY_CONVERT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getMapKeyConvert() Map Key Convert}' attribute. + * + * + * @see #getMapKeyConvert() + * @generated + * @ordered + */ + protected String mapKeyConvert = MAP_KEY_CONVERT_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 XmlJoinFetchType JOIN_FETCH_EDEFAULT = null; + + /** + * The cached value of the '{@link #getJoinFetch() Join Fetch}' attribute. + * + * + * @see #getJoinFetch() + * @generated + * @ordered + */ + protected XmlJoinFetchType joinFetch = JOIN_FETCH_EDEFAULT; + + /** + * The cached value of the '{@link #getBatchFetch() Batch Fetch}' containment reference. + * + * + * @see #getBatchFetch() + * @generated + * @ordered + */ + protected XmlBatchFetch batchFetch; + + /** + * The cached value of the '{@link #getPartitioning() Partitioning}' containment reference. + * + * + * @see #getPartitioning() + * @generated + * @ordered + */ + protected XmlPartitioning_2_2 partitioning; + + /** + * The cached value of the '{@link #getReplicationPartitioning() Replication Partitioning}' containment reference. + * + * + * @see #getReplicationPartitioning() + * @generated + * @ordered + */ + protected XmlReplicationPartitioning_2_2 replicationPartitioning; + + /** + * The cached value of the '{@link #getRoundRobinPartitioning() Round Robin Partitioning}' containment reference. + * + * + * @see #getRoundRobinPartitioning() + * @generated + * @ordered + */ + protected XmlRoundRobinPartitioning_2_2 roundRobinPartitioning; + + /** + * The cached value of the '{@link #getPinnedPartitioning() Pinned Partitioning}' containment reference. + * + * + * @see #getPinnedPartitioning() + * @generated + * @ordered + */ + protected XmlPinnedPartitioning_2_2 pinnedPartitioning; + + /** + * The cached value of the '{@link #getRangePartitioning() Range Partitioning}' containment reference. + * + * + * @see #getRangePartitioning() + * @generated + * @ordered + */ + protected XmlRangePartitioning_2_2 rangePartitioning; + + /** + * The cached value of the '{@link #getValuePartitioning() Value Partitioning}' containment reference. + * + * + * @see #getValuePartitioning() + * @generated + * @ordered + */ + protected XmlValuePartitioning_2_2 valuePartitioning; + + /** + * The cached value of the '{@link #getHashPartitioning() Hash Partitioning}' containment reference. + * + * + * @see #getHashPartitioning() + * @generated + * @ordered + */ + protected XmlHashPartitioning_2_2 hashPartitioning; + + /** + * The cached value of the '{@link #getUnionPartitioning() Union Partitioning}' containment reference. + * + * + * @see #getUnionPartitioning() + * @generated + * @ordered + */ + protected XmlUnionPartitioning_2_2 unionPartitioning; + + /** + * The default value of the '{@link #getPartitioned() Partitioned}' attribute. + * + * + * @see #getPartitioned() + * @generated + * @ordered + */ + protected static final String PARTITIONED_EDEFAULT = null; + + /** + * The cached value of the '{@link #getPartitioned() Partitioned}' attribute. + * + * + * @see #getPartitioned() + * @generated + * @ordered + */ + protected String partitioned = PARTITIONED_EDEFAULT; + + /** + * The default value of the '{@link #getCascadeOnDelete() Cascade On Delete}' attribute. + * + * + * @see #getCascadeOnDelete() + * @generated + * @ordered + */ + protected static final Boolean CASCADE_ON_DELETE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getCascadeOnDelete() Cascade On Delete}' attribute. + * + * + * @see #getCascadeOnDelete() + * @generated + * @ordered + */ + protected Boolean cascadeOnDelete = CASCADE_ON_DELETE_EDEFAULT; + + /** + * The default value of the '{@link #isNoncacheable() Noncacheable}' attribute. + * + * + * @see #isNoncacheable() + * @generated + * @ordered + */ + protected static final boolean NONCACHEABLE_EDEFAULT = false; + + /** + * The cached value of the '{@link #isNoncacheable() Noncacheable}' attribute. + * + * + * @see #isNoncacheable() + * @generated + * @ordered + */ + protected boolean noncacheable = NONCACHEABLE_EDEFAULT; + + /** + * The default value of the '{@link #getCompositeMember() Composite Member}' attribute. + * + * + * @see #getCompositeMember() + * @generated + * @ordered + */ + protected static final String COMPOSITE_MEMBER_EDEFAULT = null; + + /** + * The cached value of the '{@link #getCompositeMember() Composite Member}' attribute. + * + * + * @see #getCompositeMember() + * @generated + * @ordered + */ + protected String compositeMember = COMPOSITE_MEMBER_EDEFAULT; + + /** + * The cached value of the '{@link #getField() Field}' containment reference. + * + * + * @see #getField() + * @generated + * @ordered + */ + protected XmlField_2_4 field; + + /** + * The default value of the '{@link #isDeleteAll() Delete All}' attribute. + * + * + * @see #isDeleteAll() + * @generated + * @ordered + */ + protected static final boolean DELETE_ALL_EDEFAULT = false; + + /** + * The cached value of the '{@link #isDeleteAll() Delete All}' attribute. + * + * + * @see #isDeleteAll() + * @generated + * @ordered + */ + protected boolean deleteAll = DELETE_ALL_EDEFAULT; + + /** + * + * + * @generated + */ + protected XmlElementCollection() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_ELEMENT_COLLECTION; + } + + /** + * 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_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 getProperties() + { + if (properties == null) + { + properties = new EObjectContainmentEList(XmlProperty.class, this, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PROPERTIES); + } + return properties; + } + + /** + * 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.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 getMapKeyAssociationOverrides() + { + if (mapKeyAssociationOverrides == null) + { + mapKeyAssociationOverrides = new EObjectContainmentEList(XmlAssociationOverride.class, this, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_ASSOCIATION_OVERRIDES); + } + return mapKeyAssociationOverrides; + } + + /** + * Returns the value of the 'Map Key Convert' attribute. + * + *

+ * 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 getConverters() + { + if (converters == null) + { + converters = new EObjectContainmentEList(XmlConverter.class, this, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CONVERTERS); + } + return converters; + } + + /** + * Returns the value of the 'Type Converters' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter}. + * + *

+ * 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 getTypeConverters() + { + if (typeConverters == null) + { + typeConverters = new EObjectContainmentEList(XmlTypeConverter.class, this, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__TYPE_CONVERTERS); + } + return typeConverters; + } + + /** + * Returns the value of the 'Object Type Converters' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter}. + * + *

+ * 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 getObjectTypeConverters() + { + if (objectTypeConverters == null) + { + objectTypeConverters = new EObjectContainmentEList(XmlObjectTypeConverter.class, this, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__OBJECT_TYPE_CONVERTERS); + } + return objectTypeConverters; + } + + /** + * Returns the value of the 'Struct Converters' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructConverter}. + * + *

+ * 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 getStructConverters() + { + if (structConverters == null) + { + structConverters = new EObjectContainmentEList(XmlStructConverter.class, this, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__STRUCT_CONVERTERS); + } + return structConverters; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ACCESS_METHODS: + return basicSetAccessMethods(null, msgs); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PROPERTIES: + return ((InternalEList)getProperties()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_ASSOCIATION_OVERRIDES: + return ((InternalEList)getMapKeyAssociationOverrides()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CONVERTERS: + return ((InternalEList)getConverters()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__TYPE_CONVERTERS: + return ((InternalEList)getTypeConverters()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__OBJECT_TYPE_CONVERTERS: + return ((InternalEList)getObjectTypeConverters()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__STRUCT_CONVERTERS: + return ((InternalEList)getStructConverters()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__BATCH_FETCH: + return basicSetBatchFetch(null, msgs); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONING: + return basicSetPartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__REPLICATION_PARTITIONING: + return basicSetReplicationPartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING: + return basicSetRoundRobinPartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PINNED_PARTITIONING: + return basicSetPinnedPartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__RANGE_PARTITIONING: + return basicSetRangePartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__VALUE_PARTITIONING: + return basicSetValuePartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__HASH_PARTITIONING: + return basicSetHashPartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__UNION_PARTITIONING: + return basicSetUnionPartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__FIELD: + return basicSetField(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ACCESS_METHODS: + return getAccessMethods(); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PROPERTIES: + return getProperties(); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ATTRIBUTE_TYPE: + return getAttributeType(); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CONVERT: + return getConvert(); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_ASSOCIATION_OVERRIDES: + return getMapKeyAssociationOverrides(); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CONVERTERS: + return getConverters(); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__TYPE_CONVERTERS: + return getTypeConverters(); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__OBJECT_TYPE_CONVERTERS: + return getObjectTypeConverters(); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__STRUCT_CONVERTERS: + return getStructConverters(); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_CONVERT: + return getMapKeyConvert(); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__JOIN_FETCH: + return getJoinFetch(); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__BATCH_FETCH: + return getBatchFetch(); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONING: + return getPartitioning(); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__REPLICATION_PARTITIONING: + return getReplicationPartitioning(); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING: + return getRoundRobinPartitioning(); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PINNED_PARTITIONING: + return getPinnedPartitioning(); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__RANGE_PARTITIONING: + return getRangePartitioning(); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__VALUE_PARTITIONING: + return getValuePartitioning(); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__HASH_PARTITIONING: + return getHashPartitioning(); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__UNION_PARTITIONING: + return getUnionPartitioning(); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONED: + return getPartitioned(); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CASCADE_ON_DELETE: + return getCascadeOnDelete(); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__NONCACHEABLE: + return isNoncacheable(); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__COMPOSITE_MEMBER: + return getCompositeMember(); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__FIELD: + return getField(); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__DELETE_ALL: + return isDeleteAll(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ACCESS_METHODS: + setAccessMethods((XmlAccessMethods)newValue); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PROPERTIES: + getProperties().clear(); + getProperties().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ATTRIBUTE_TYPE: + setAttributeType((String)newValue); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CONVERT: + setConvert((String)newValue); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_ASSOCIATION_OVERRIDES: + getMapKeyAssociationOverrides().clear(); + getMapKeyAssociationOverrides().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CONVERTERS: + getConverters().clear(); + getConverters().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__TYPE_CONVERTERS: + getTypeConverters().clear(); + getTypeConverters().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__OBJECT_TYPE_CONVERTERS: + getObjectTypeConverters().clear(); + getObjectTypeConverters().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__STRUCT_CONVERTERS: + getStructConverters().clear(); + getStructConverters().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_CONVERT: + setMapKeyConvert((String)newValue); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__JOIN_FETCH: + setJoinFetch((XmlJoinFetchType)newValue); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__BATCH_FETCH: + setBatchFetch((XmlBatchFetch)newValue); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONING: + setPartitioning((XmlPartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__REPLICATION_PARTITIONING: + setReplicationPartitioning((XmlReplicationPartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING: + setRoundRobinPartitioning((XmlRoundRobinPartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PINNED_PARTITIONING: + setPinnedPartitioning((XmlPinnedPartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__RANGE_PARTITIONING: + setRangePartitioning((XmlRangePartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__VALUE_PARTITIONING: + setValuePartitioning((XmlValuePartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__HASH_PARTITIONING: + setHashPartitioning((XmlHashPartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__UNION_PARTITIONING: + setUnionPartitioning((XmlUnionPartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONED: + setPartitioned((String)newValue); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CASCADE_ON_DELETE: + setCascadeOnDelete((Boolean)newValue); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__NONCACHEABLE: + setNoncacheable((Boolean)newValue); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__COMPOSITE_MEMBER: + setCompositeMember((String)newValue); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__FIELD: + setField((XmlField_2_4)newValue); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__DELETE_ALL: + setDeleteAll((Boolean)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ACCESS_METHODS: + setAccessMethods((XmlAccessMethods)null); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PROPERTIES: + getProperties().clear(); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ATTRIBUTE_TYPE: + setAttributeType(ATTRIBUTE_TYPE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CONVERT: + setConvert(CONVERT_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_ASSOCIATION_OVERRIDES: + getMapKeyAssociationOverrides().clear(); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CONVERTERS: + getConverters().clear(); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__TYPE_CONVERTERS: + getTypeConverters().clear(); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__OBJECT_TYPE_CONVERTERS: + getObjectTypeConverters().clear(); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__STRUCT_CONVERTERS: + getStructConverters().clear(); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_CONVERT: + setMapKeyConvert(MAP_KEY_CONVERT_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__JOIN_FETCH: + setJoinFetch(JOIN_FETCH_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__BATCH_FETCH: + setBatchFetch((XmlBatchFetch)null); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONING: + setPartitioning((XmlPartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__REPLICATION_PARTITIONING: + setReplicationPartitioning((XmlReplicationPartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING: + setRoundRobinPartitioning((XmlRoundRobinPartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PINNED_PARTITIONING: + setPinnedPartitioning((XmlPinnedPartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__RANGE_PARTITIONING: + setRangePartitioning((XmlRangePartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__VALUE_PARTITIONING: + setValuePartitioning((XmlValuePartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__HASH_PARTITIONING: + setHashPartitioning((XmlHashPartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__UNION_PARTITIONING: + setUnionPartitioning((XmlUnionPartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONED: + setPartitioned(PARTITIONED_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CASCADE_ON_DELETE: + setCascadeOnDelete(CASCADE_ON_DELETE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__NONCACHEABLE: + setNoncacheable(NONCACHEABLE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__COMPOSITE_MEMBER: + setCompositeMember(COMPOSITE_MEMBER_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__FIELD: + setField((XmlField_2_4)null); + return; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__DELETE_ALL: + setDeleteAll(DELETE_ALL_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ACCESS_METHODS: + return accessMethods != null; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PROPERTIES: + return properties != null && !properties.isEmpty(); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ATTRIBUTE_TYPE: + return ATTRIBUTE_TYPE_EDEFAULT == null ? attributeType != null : !ATTRIBUTE_TYPE_EDEFAULT.equals(attributeType); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CONVERT: + return CONVERT_EDEFAULT == null ? convert != null : !CONVERT_EDEFAULT.equals(convert); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_ASSOCIATION_OVERRIDES: + return mapKeyAssociationOverrides != null && !mapKeyAssociationOverrides.isEmpty(); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CONVERTERS: + return converters != null && !converters.isEmpty(); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__TYPE_CONVERTERS: + return typeConverters != null && !typeConverters.isEmpty(); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__OBJECT_TYPE_CONVERTERS: + return objectTypeConverters != null && !objectTypeConverters.isEmpty(); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__STRUCT_CONVERTERS: + return structConverters != null && !structConverters.isEmpty(); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_CONVERT: + return MAP_KEY_CONVERT_EDEFAULT == null ? mapKeyConvert != null : !MAP_KEY_CONVERT_EDEFAULT.equals(mapKeyConvert); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__JOIN_FETCH: + return joinFetch != JOIN_FETCH_EDEFAULT; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__BATCH_FETCH: + return batchFetch != null; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONING: + return partitioning != null; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__REPLICATION_PARTITIONING: + return replicationPartitioning != null; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING: + return roundRobinPartitioning != null; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PINNED_PARTITIONING: + return pinnedPartitioning != null; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__RANGE_PARTITIONING: + return rangePartitioning != null; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__VALUE_PARTITIONING: + return valuePartitioning != null; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__HASH_PARTITIONING: + return hashPartitioning != null; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__UNION_PARTITIONING: + return unionPartitioning != null; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONED: + return PARTITIONED_EDEFAULT == null ? partitioned != null : !PARTITIONED_EDEFAULT.equals(partitioned); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CASCADE_ON_DELETE: + return CASCADE_ON_DELETE_EDEFAULT == null ? cascadeOnDelete != null : !CASCADE_ON_DELETE_EDEFAULT.equals(cascadeOnDelete); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__NONCACHEABLE: + return noncacheable != NONCACHEABLE_EDEFAULT; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__COMPOSITE_MEMBER: + return COMPOSITE_MEMBER_EDEFAULT == null ? compositeMember != null : !COMPOSITE_MEMBER_EDEFAULT.equals(compositeMember); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__FIELD: + return field != null; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__DELETE_ALL: + return deleteAll != DELETE_ALL_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public int eBaseStructuralFeatureID(int derivedFeatureID, Class baseClass) + { + if (baseClass == XmlAccessMethodsHolder.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS; + default: return -1; + } + } + if (baseClass == XmlPropertyContainer.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PROPERTIES: return EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES; + default: return -1; + } + } + if (baseClass == XmlAttributeMapping.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE; + default: return -1; + } + } + if (baseClass == XmlConvertibleMapping.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CONVERT: return EclipseLinkOrmPackage.XML_CONVERTIBLE_MAPPING__CONVERT; + default: return -1; + } + } + if (baseClass == XmlMapKeyAssociationOverrideContainer_2_0.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_ASSOCIATION_OVERRIDES: return EclipseLinkOrmV2_0Package.XML_MAP_KEY_ASSOCIATION_OVERRIDE_CONTAINER_20__MAP_KEY_ASSOCIATION_OVERRIDES; + default: return -1; + } + } + if (baseClass == XmlConverterContainer.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__CONVERTERS; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__TYPE_CONVERTERS; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__OBJECT_TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__STRUCT_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS; + default: return -1; + } + } + if (baseClass == XmlCollectionMapping_2_0.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_CONVERT: return EclipseLinkOrmV2_0Package.XML_COLLECTION_MAPPING_20__MAP_KEY_CONVERT; + default: return -1; + } + } + if (baseClass == XmlElementCollection_2_0.class) + { + switch (derivedFeatureID) + { + default: return -1; + } + } + if (baseClass == XmlJoinFetch.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__JOIN_FETCH: return EclipseLinkOrmPackage.XML_JOIN_FETCH__JOIN_FETCH; + default: return -1; + } + } + if (baseClass == XmlBatchFetchHolder.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__BATCH_FETCH: return EclipseLinkOrmPackage.XML_BATCH_FETCH_HOLDER__BATCH_FETCH; + default: return -1; + } + } + if (baseClass == XmlElementCollection_2_1.class) + { + switch (derivedFeatureID) + { + default: return -1; + } + } + if (baseClass == XmlPartitioningGroup_2_2.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONING; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__REPLICATION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PINNED_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__RANGE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__VALUE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__HASH_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__HASH_PARTITIONING; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__UNION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__UNION_PARTITIONING; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONED: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONED; + default: return -1; + } + } + if (baseClass == XmlElementCollection_2_2.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CASCADE_ON_DELETE: return EclipseLinkOrmV2_2Package.XML_ELEMENT_COLLECTION_22__CASCADE_ON_DELETE; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__NONCACHEABLE: return EclipseLinkOrmV2_2Package.XML_ELEMENT_COLLECTION_22__NONCACHEABLE; + default: return -1; + } + } + if (baseClass == XmlElementCollection_2_3.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__COMPOSITE_MEMBER: return EclipseLinkOrmV2_3Package.XML_ELEMENT_COLLECTION_23__COMPOSITE_MEMBER; + default: return -1; + } + } + if (baseClass == XmlElementCollection_2_4.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__FIELD: return EclipseLinkOrmV2_4Package.XML_ELEMENT_COLLECTION_24__FIELD; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__DELETE_ALL: return EclipseLinkOrmV2_4Package.XML_ELEMENT_COLLECTION_24__DELETE_ALL; + 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_ELEMENT_COLLECTION__ACCESS_METHODS; + default: return -1; + } + } + if (baseClass == XmlPropertyContainer.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PROPERTIES; + default: return -1; + } + } + if (baseClass == XmlAttributeMapping.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ATTRIBUTE_TYPE; + default: return -1; + } + } + if (baseClass == XmlConvertibleMapping.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_CONVERTIBLE_MAPPING__CONVERT: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CONVERT; + default: return -1; + } + } + if (baseClass == XmlMapKeyAssociationOverrideContainer_2_0.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_0Package.XML_MAP_KEY_ASSOCIATION_OVERRIDE_CONTAINER_20__MAP_KEY_ASSOCIATION_OVERRIDES: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_ASSOCIATION_OVERRIDES; + default: return -1; + } + } + if (baseClass == XmlConverterContainer.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__CONVERTERS: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CONVERTERS; + case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__TYPE_CONVERTERS; + case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__OBJECT_TYPE_CONVERTERS; + case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__STRUCT_CONVERTERS; + default: return -1; + } + } + if (baseClass == XmlCollectionMapping_2_0.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_0Package.XML_COLLECTION_MAPPING_20__MAP_KEY_CONVERT: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_CONVERT; + default: return -1; + } + } + if (baseClass == XmlElementCollection_2_0.class) + { + switch (baseFeatureID) + { + default: return -1; + } + } + if (baseClass == XmlJoinFetch.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_JOIN_FETCH__JOIN_FETCH: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__JOIN_FETCH; + default: return -1; + } + } + if (baseClass == XmlBatchFetchHolder.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_BATCH_FETCH_HOLDER__BATCH_FETCH: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__BATCH_FETCH; + default: return -1; + } + } + if (baseClass == XmlElementCollection_2_1.class) + { + switch (baseFeatureID) + { + default: return -1; + } + } + if (baseClass == XmlPartitioningGroup_2_2.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONING: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__REPLICATION_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PINNED_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__RANGE_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__VALUE_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__HASH_PARTITIONING: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__HASH_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__UNION_PARTITIONING: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__UNION_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONED: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONED; + default: return -1; + } + } + if (baseClass == XmlElementCollection_2_2.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_2Package.XML_ELEMENT_COLLECTION_22__CASCADE_ON_DELETE: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CASCADE_ON_DELETE; + case EclipseLinkOrmV2_2Package.XML_ELEMENT_COLLECTION_22__NONCACHEABLE: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__NONCACHEABLE; + default: return -1; + } + } + if (baseClass == XmlElementCollection_2_3.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_3Package.XML_ELEMENT_COLLECTION_23__COMPOSITE_MEMBER: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__COMPOSITE_MEMBER; + default: return -1; + } + } + if (baseClass == XmlElementCollection_2_4.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_4Package.XML_ELEMENT_COLLECTION_24__FIELD: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__FIELD; + case EclipseLinkOrmV2_4Package.XML_ELEMENT_COLLECTION_24__DELETE_ALL: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__DELETE_ALL; + 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(", convert: "); + result.append(convert); + result.append(", mapKeyConvert: "); + result.append(mapKeyConvert); + result.append(", joinFetch: "); + result.append(joinFetch); + result.append(", partitioned: "); + result.append(partitioned); + result.append(", cascadeOnDelete: "); + result.append(cascadeOnDelete); + result.append(", noncacheable: "); + result.append(noncacheable); + result.append(", compositeMember: "); + result.append(compositeMember); + result.append(", deleteAll: "); + result.append(deleteAll); + result.append(')'); + return result.toString(); + } + + + // ********** validation ********** + + @Override + public TextRange getEnumeratedTextRange() { + return getAttributeTextRange(JPA.ENUMERATED); + } + + @Override + public TextRange getLobTextRange() { + return getAttributeTextRange(JPA.LOB); + } + + @Override + public TextRange getTemporalTextRange() { + return getAttributeTextRange(JPA.TEMPORAL); + } + + public TextRange getConvertTextRange() { + return getElementTextRange(EclipseLink.CONVERT); + } + + public TextRange getJoinFetchTextRange() { + return getElementTextRange(EclipseLink.JOIN_FETCH); + } + + 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.getXmlElementCollection(), + buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildNameTranslator(), + buildTargetClassTranslator(), + buildFetchTranslator(), + buildAccessTranslator(), + buildAttributeTypeTranslator(), + buildCompositeMemberTranslator(), + buildOrderByTranslator(), + buildOrderColumnTranslator(), + buildMapKeyTranslator(), + buildMapKeyClassTranslator(), + buildMapKeyTemporalTranslator(), + buildMapKeyEnumeratedTranslator(), + buildMapKeyConvertTranslator(), + buildMapKeyAttributeOverrideTranslator(), + buildMapKeyAssociationOverrideTranslator(), + XmlColumn.buildTranslator(JPA2_0.MAP_KEY_COLUMN, OrmV2_0Package.eINSTANCE.getXmlElementCollection_2_0_MapKeyColumn()), + XmlJoinColumn.buildTranslator(JPA2_0.MAP_KEY_JOIN_COLUMN, OrmV2_0Package.eINSTANCE.getXmlElementCollection_2_0_MapKeyJoinColumns()), + XmlColumn.buildTranslator(JPA.COLUMN, OrmV2_0Package.eINSTANCE.getXmlElementCollection_2_0_Column()), + buildTemporalTranslator(), + buildEnumeratedTranslator(), + buildLobTranslator(), + buildConvertTranslator(), + buildAttributeOverrideTranslator(), + buildAssociationOverrideTranslator(), + 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()), + XmlCollectionTable.buildTranslator(JPA2_0.COLLECTION_TABLE, OrmV2_0Package.eINSTANCE.getXmlElementCollection_2_0_CollectionTable()), + buildFieldTranslator(), + buildCascadeOnDeleteTranslator(), + buildJoinFetchTranslator(), + buildBatchFetchTranslator(), + buildPropertyTranslator(), + buildAccessMethodsTranslator(), + buildNoncacheableTranslator(), + buildDeleteAllTranslator(), + 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()), + }; + } + + protected static Translator buildMapKeyConvertTranslator() { + return new Translator(JPA2_0.MAP_KEY_CONVERT, EclipseLinkOrmV2_0Package.eINSTANCE.getXmlCollectionMapping_2_0_MapKeyConvert()); + } + + protected static Translator buildConvertTranslator() { + return new Translator(EclipseLink.CONVERT, EclipseLinkOrmPackage.eINSTANCE.getXmlConvertibleMapping_Convert()); + } + + 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 buildMapKeyAssociationOverrideTranslator() { + return XmlAssociationOverride.buildTranslator(EclipseLink2_0.MAP_KEY_ASSOCIATION_OVERRIDE, EclipseLinkOrmV2_0Package.eINSTANCE.getXmlMapKeyAssociationOverrideContainer_2_0_MapKeyAssociationOverrides()); + } + + protected static Translator buildAttributeTypeTranslator() { + return new Translator(EclipseLink2_1.ATTRIBUTE_TYPE, EclipseLinkOrmPackage.eINSTANCE.getXmlAttributeMapping_AttributeType(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildJoinFetchTranslator() { + return new Translator(EclipseLink.JOIN_FETCH, EclipseLinkOrmPackage.eINSTANCE.getXmlJoinFetch_JoinFetch()); + } + + protected static Translator buildBatchFetchTranslator() { + return XmlBatchFetch.buildTranslator(EclipseLink2_1.BATCH_FETCH, EclipseLinkOrmPackage.eINSTANCE.getXmlBatchFetchHolder_BatchFetch()); + } + + protected static Translator buildCascadeOnDeleteTranslator() { + return CascadeType.buildTranslator(EclipseLink2_2.CASCADE_ON_DELETE, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlElementCollection_2_2_CascadeOnDelete()); + } + + protected static Translator buildNoncacheableTranslator() { + return new EmptyTagBooleanTranslator(EclipseLink2_2.NONCACHEABLE, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlElementCollection_2_2_Noncacheable()); + } + + protected static Translator buildCompositeMemberTranslator() { + return new Translator(EclipseLink2_3.COMPOSITE_MEMBER, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlElementCollection_2_3_CompositeMember(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildDeleteAllTranslator() { + return new EmptyTagBooleanTranslator(EclipseLink2_4.DELETE_ALL, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlElementCollection_2_4_DeleteAll()); + } + + protected static Translator buildFieldTranslator() { + return XmlField.buildTranslator(EclipseLink2_4.FIELD, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlElementCollection_2_4_Field()); + } + + // *********** 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_1.ATTRIBUTE_TYPE); + } + + public boolean attributeTypeTouches(int pos) { + TextRange textRange = this.getAttributeTypeCodeAssistTextRange(); + return (textRange != null) && (textRange.touches(pos)); + } + + // ******** virtual attribute ************ + + public void setVirtualAttributeTypes(String attributeType, String targetClass) { + this.setAttributeType(attributeType); + this.setTargetClass(targetClass); + } +} diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlEmbeddable.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlEmbeddable.java new file mode 100644 index 0000000000..04d6f2ee36 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlEmbeddable.java @@ -0,0 +1,1728 @@ +/******************************************************************************* + * 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.core.resource.orm.XmlAssociationOverride; +import org.eclipse.jpt.jpa.core.resource.orm.XmlAssociationOverrideContainer; +import org.eclipse.jpt.jpa.core.resource.orm.XmlAttributeOverride; +import org.eclipse.jpt.jpa.core.resource.orm.XmlAttributeOverrideContainer; +import org.eclipse.jpt.jpa.core.resource.orm.XmlClassReference; +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.XmlTypeMapping_2_1; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEmbeddable_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.XmlEmbeddable_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.XmlStruct_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.XmlEmbeddable_2_4; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlNoSql_2_4; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * + * A representation of the model object 'Xml Embeddable'. + * + * 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 + * + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddable#getCopyPolicy Copy Policy}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddable#getInstantiationCopyPolicy Instantiation Copy Policy}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddable#getCloneCopyPolicy Clone Copy Policy}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddable#getExcludeDefaultMappings Exclude Default Mappings}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEmbeddable() + * @model kind="class" + * @generated + */ +public class XmlEmbeddable extends org.eclipse.jpt.jpa.core.resource.orm.XmlEmbeddable implements XmlTypeMapping, XmlEmbeddable_2_2, XmlEmbeddable_2_3, XmlEmbeddable_2_4, XmlCustomizerHolder, XmlChangeTrackingHolder, XmlConverterContainer, XmlPropertyContainer +{ + /** + * The cached value of the '{@link #getAccessMethods() Access Methods}' containment reference. + * + * + * @see #getAccessMethods() + * @generated + * @ordered + */ + protected XmlAccessMethods accessMethods; + + /** + * The default value of the '{@link #getParentClass() Parent Class}' attribute. + * + * + * @see #getParentClass() + * @generated + * @ordered + */ + protected static final String PARENT_CLASS_EDEFAULT = null; + + /** + * The cached value of the '{@link #getParentClass() Parent Class}' attribute. + * + * + * @see #getParentClass() + * @generated + * @ordered + */ + protected String parentClass = PARENT_CLASS_EDEFAULT; + + /** + * The cached value of the '{@link #getAttributeOverrides() Attribute Overrides}' containment reference list. + * + * + * @see #getAttributeOverrides() + * @generated + * @ordered + */ + protected EList attributeOverrides; + + /** + * The cached value of the '{@link #getAssociationOverrides() Association Overrides}' containment reference list. + * + * + * @see #getAssociationOverrides() + * @generated + * @ordered + */ + protected EList associationOverrides; + + /** + * The cached value of the '{@link #getPlsqlRecords() Plsql Records}' containment reference list. + * + * + * @see #getPlsqlRecords() + * @generated + * @ordered + */ + protected EList plsqlRecords; + + /** + * The cached value of the '{@link #getPlsqlTables() Plsql Tables}' containment reference list. + * + * + * @see #getPlsqlTables() + * @generated + * @ordered + */ + protected EList plsqlTables; + + /** + * The cached value of the '{@link #getStruct() Struct}' containment reference. + * + * + * @see #getStruct() + * @generated + * @ordered + */ + protected XmlStruct_2_3 struct; + + /** + * The cached value of the '{@link #getNoSql() No Sql}' containment reference. + * + * + * @see #getNoSql() + * @generated + * @ordered + */ + protected XmlNoSql_2_4 noSql; + + /** + * The cached value of the '{@link #getCustomizer() Customizer}' containment reference. + * + * + * @see #getCustomizer() + * @generated + * @ordered + */ + protected XmlClassReference customizer; + + /** + * The cached value of the '{@link #getChangeTracking() Change Tracking}' containment reference. + * + * + * @see #getChangeTracking() + * @generated + * @ordered + */ + protected XmlChangeTracking changeTracking; + + /** + * The cached value of the '{@link #getConverters() Converters}' containment reference list. + * + * + * @see #getConverters() + * @generated + * @ordered + */ + protected EList converters; + + /** + * The cached value of the '{@link #getTypeConverters() Type Converters}' containment reference list. + * + * + * @see #getTypeConverters() + * @generated + * @ordered + */ + protected EList typeConverters; + + /** + * The cached value of the '{@link #getObjectTypeConverters() Object Type Converters}' containment reference list. + * + * + * @see #getObjectTypeConverters() + * @generated + * @ordered + */ + protected EList objectTypeConverters; + + /** + * The cached value of the '{@link #getStructConverters() Struct Converters}' containment reference list. + * + * + * @see #getStructConverters() + * @generated + * @ordered + */ + protected EList structConverters; + + /** + * The cached value of the '{@link #getProperties() Properties}' containment reference list. + * + * + * @see #getProperties() + * @generated + * @ordered + */ + protected EList properties; + + /** + * The cached value of the '{@link #getCopyPolicy() Copy Policy}' containment reference. + * + * + * @see #getCopyPolicy() + * @generated + * @ordered + */ + protected XmlCopyPolicy copyPolicy; + + /** + * The cached value of the '{@link #getInstantiationCopyPolicy() Instantiation Copy Policy}' containment reference. + * + * + * @see #getInstantiationCopyPolicy() + * @generated + * @ordered + */ + protected XmlInstantiationCopyPolicy instantiationCopyPolicy; + + /** + * The cached value of the '{@link #getCloneCopyPolicy() Clone Copy Policy}' containment reference. + * + * + * @see #getCloneCopyPolicy() + * @generated + * @ordered + */ + protected XmlCloneCopyPolicy cloneCopyPolicy; + + /** + * The default value of the '{@link #getExcludeDefaultMappings() Exclude Default Mappings}' attribute. + * + * + * @see #getExcludeDefaultMappings() + * @generated + * @ordered + */ + protected static final Boolean EXCLUDE_DEFAULT_MAPPINGS_EDEFAULT = null; + + /** + * The cached value of the '{@link #getExcludeDefaultMappings() Exclude Default Mappings}' attribute. + * + * + * @see #getExcludeDefaultMappings() + * @generated + * @ordered + */ + protected Boolean excludeDefaultMappings = EXCLUDE_DEFAULT_MAPPINGS_EDEFAULT; + + /** + * + * + * @generated + */ + protected XmlEmbeddable() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_EMBEDDABLE; + } + + /** + * 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_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 getAttributeOverrides() + { + if (attributeOverrides == null) + { + attributeOverrides = new EObjectContainmentEList(XmlAttributeOverride.class, this, EclipseLinkOrmPackage.XML_EMBEDDABLE__ATTRIBUTE_OVERRIDES); + } + return attributeOverrides; + } + + /** + * Returns the value of the '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 '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 getAssociationOverrides() + { + if (associationOverrides == null) + { + associationOverrides = new EObjectContainmentEList(XmlAssociationOverride.class, this, EclipseLinkOrmPackage.XML_EMBEDDABLE__ASSOCIATION_OVERRIDES); + } + return associationOverrides; + } + + /** + * 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.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 getPlsqlRecords() + { + if (plsqlRecords == null) + { + plsqlRecords = new EObjectContainmentEList(XmlPlsqlRecord_2_3.class, this, EclipseLinkOrmPackage.XML_EMBEDDABLE__PLSQL_RECORDS); + } + return plsqlRecords; + } + + /** + * Returns the value of the 'Plsql Tables' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPlsqlTable}. + * + *

+ * 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 getPlsqlTables() + { + if (plsqlTables == null) + { + plsqlTables = new EObjectContainmentEList(XmlPlsqlTable.class, this, EclipseLinkOrmPackage.XML_EMBEDDABLE__PLSQL_TABLES); + } + return plsqlTables; + } + + /** + * Returns the value of the 'Struct' containment reference. + * + *

+ * 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 getConverters() + { + if (converters == null) + { + converters = new EObjectContainmentEList(XmlConverter.class, this, EclipseLinkOrmPackage.XML_EMBEDDABLE__CONVERTERS); + } + return converters; + } + + /** + * Returns the value of the 'Type Converters' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter}. + * + *

+ * 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 getTypeConverters() + { + if (typeConverters == null) + { + typeConverters = new EObjectContainmentEList(XmlTypeConverter.class, this, EclipseLinkOrmPackage.XML_EMBEDDABLE__TYPE_CONVERTERS); + } + return typeConverters; + } + + /** + * Returns the value of the 'Object Type Converters' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter}. + * + *

+ * 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 getObjectTypeConverters() + { + if (objectTypeConverters == null) + { + objectTypeConverters = new EObjectContainmentEList(XmlObjectTypeConverter.class, this, EclipseLinkOrmPackage.XML_EMBEDDABLE__OBJECT_TYPE_CONVERTERS); + } + return objectTypeConverters; + } + + /** + * Returns the value of the 'Struct Converters' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructConverter}. + * + *

+ * 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 getStructConverters() + { + if (structConverters == null) + { + structConverters = new EObjectContainmentEList(XmlStructConverter.class, this, EclipseLinkOrmPackage.XML_EMBEDDABLE__STRUCT_CONVERTERS); + } + return structConverters; + } + + /** + * 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#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 getProperties() + { + if (properties == null) + { + properties = new EObjectContainmentEList(XmlProperty.class, this, EclipseLinkOrmPackage.XML_EMBEDDABLE__PROPERTIES); + } + return properties; + } + + /** + * 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#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)newValue); + return; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__ASSOCIATION_OVERRIDES: + getAssociationOverrides().clear(); + getAssociationOverrides().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__PLSQL_RECORDS: + getPlsqlRecords().clear(); + getPlsqlRecords().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__PLSQL_TABLES: + getPlsqlTables().clear(); + getPlsqlTables().addAll((Collection)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)newValue); + return; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__TYPE_CONVERTERS: + getTypeConverters().clear(); + getTypeConverters().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__OBJECT_TYPE_CONVERTERS: + getObjectTypeConverters().clear(); + getObjectTypeConverters().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__STRUCT_CONVERTERS: + getStructConverters().clear(); + getStructConverters().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__PROPERTIES: + getProperties().clear(); + getProperties().addAll((Collection)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 properties; + + /** + * The default value of the '{@link #getAttributeType() Attribute Type}' attribute. + * + * + * @see #getAttributeType() + * @generated + * @ordered + */ + protected static final String ATTRIBUTE_TYPE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getAttributeType() Attribute Type}' attribute. + * + * + * @see #getAttributeType() + * @generated + * @ordered + */ + protected String attributeType = ATTRIBUTE_TYPE_EDEFAULT; + + /** + * + * + * @generated + */ + protected XmlEmbedded() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_EMBEDDED; + } + + /** + * 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#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 getProperties() + { + if (properties == null) + { + properties = new EObjectContainmentEList(XmlProperty.class, this, EclipseLinkOrmPackage.XML_EMBEDDED__PROPERTIES); + } + return properties; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_EMBEDDED__FIELD: + return basicSetField(null, msgs); + case EclipseLinkOrmPackage.XML_EMBEDDED__ACCESS_METHODS: + return basicSetAccessMethods(null, msgs); + case EclipseLinkOrmPackage.XML_EMBEDDED__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_EMBEDDED__FIELD: + return getField(); + case EclipseLinkOrmPackage.XML_EMBEDDED__ACCESS_METHODS: + return getAccessMethods(); + case EclipseLinkOrmPackage.XML_EMBEDDED__PROPERTIES: + return getProperties(); + case EclipseLinkOrmPackage.XML_EMBEDDED__ATTRIBUTE_TYPE: + return getAttributeType(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_EMBEDDED__FIELD: + setField((XmlField_2_4)newValue); + return; + case EclipseLinkOrmPackage.XML_EMBEDDED__ACCESS_METHODS: + setAccessMethods((XmlAccessMethods)newValue); + return; + case EclipseLinkOrmPackage.XML_EMBEDDED__PROPERTIES: + getProperties().clear(); + getProperties().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_EMBEDDED__ATTRIBUTE_TYPE: + setAttributeType((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_EMBEDDED__FIELD: + setField((XmlField_2_4)null); + return; + case EclipseLinkOrmPackage.XML_EMBEDDED__ACCESS_METHODS: + setAccessMethods((XmlAccessMethods)null); + return; + case EclipseLinkOrmPackage.XML_EMBEDDED__PROPERTIES: + getProperties().clear(); + return; + case EclipseLinkOrmPackage.XML_EMBEDDED__ATTRIBUTE_TYPE: + setAttributeType(ATTRIBUTE_TYPE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_EMBEDDED__FIELD: + return field != null; + case EclipseLinkOrmPackage.XML_EMBEDDED__ACCESS_METHODS: + return accessMethods != null; + case EclipseLinkOrmPackage.XML_EMBEDDED__PROPERTIES: + return properties != null && !properties.isEmpty(); + case EclipseLinkOrmPackage.XML_EMBEDDED__ATTRIBUTE_TYPE: + return ATTRIBUTE_TYPE_EDEFAULT == null ? attributeType != null : !ATTRIBUTE_TYPE_EDEFAULT.equals(attributeType); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public int eBaseStructuralFeatureID(int derivedFeatureID, Class baseClass) + { + if (baseClass == XmlEmbedded_2_4.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_EMBEDDED__FIELD: return EclipseLinkOrmV2_4Package.XML_EMBEDDED_24__FIELD; + default: return -1; + } + } + if (baseClass == XmlAccessMethodsHolder.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_EMBEDDED__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS; + default: return -1; + } + } + if (baseClass == XmlPropertyContainer.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_EMBEDDED__PROPERTIES: return EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES; + default: return -1; + } + } + if (baseClass == XmlAttributeMapping.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_EMBEDDED__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE; + default: return -1; + } + } + return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); + } + + /** + * + * + * @generated + */ + @Override + public int eDerivedStructuralFeatureID(int baseFeatureID, Class baseClass) + { + if (baseClass == XmlEmbedded_2_4.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_4Package.XML_EMBEDDED_24__FIELD: return EclipseLinkOrmPackage.XML_EMBEDDED__FIELD; + default: return -1; + } + } + if (baseClass == XmlAccessMethodsHolder.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_EMBEDDED__ACCESS_METHODS; + default: return -1; + } + } + if (baseClass == XmlPropertyContainer.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES: return EclipseLinkOrmPackage.XML_EMBEDDED__PROPERTIES; + default: return -1; + } + } + if (baseClass == XmlAttributeMapping.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_EMBEDDED__ATTRIBUTE_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(" (attributeType: "); + result.append(attributeType); + result.append(')'); + return result.toString(); + } + + 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.getXmlEmbedded(), + buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildNameTranslator(), + buildAccessTranslator(), + buildAttributeTypeTranslator(), + buildAttributeOverrideTranslator(), + buildAssociationOverrideTranslator(), + buildPropertyTranslator(), + buildAccessMethodsTranslator(), + buildFieldTranslator() + }; + } + + 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 buildAttributeTypeTranslator() { + return new Translator(EclipseLink2_1.ATTRIBUTE_TYPE, EclipseLinkOrmPackage.eINSTANCE.getXmlAttributeMapping_AttributeType(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildFieldTranslator() { + return XmlField.buildTranslator(EclipseLink2_4.FIELD, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlEmbedded_2_4_Field()); + } + + // ******** 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/XmlEmbeddedId.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlEmbeddedId.java new file mode 100644 index 0000000000..88825fa27f --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlEmbeddedId.java @@ -0,0 +1,476 @@ +/******************************************************************************* + * 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.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml Embedded Id 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#getXmlEmbeddedId() + * @model kind="class" + * @generated + */ +public class XmlEmbeddedId extends org.eclipse.jpt.jpa.core.resource.orm.XmlEmbeddedId implements XmlAttributeMapping +{ + /** + * 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 properties; + + /** + * The default value of the '{@link #getAttributeType() Attribute Type}' attribute. + * + * + * @see #getAttributeType() + * @generated + * @ordered + */ + protected static final String ATTRIBUTE_TYPE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getAttributeType() Attribute Type}' attribute. + * + * + * @see #getAttributeType() + * @generated + * @ordered + */ + protected String attributeType = ATTRIBUTE_TYPE_EDEFAULT; + + /** + * + * + * @generated + */ + protected XmlEmbeddedId() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_EMBEDDED_ID; + } + + /** + * 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.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 getProperties() + { + if (properties == null) + { + properties = new EObjectContainmentEList(XmlProperty.class, this, EclipseLinkOrmPackage.XML_EMBEDDED_ID__PROPERTIES); + } + return properties; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_EMBEDDED_ID__ACCESS_METHODS: + return basicSetAccessMethods(null, msgs); + case EclipseLinkOrmPackage.XML_EMBEDDED_ID__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_EMBEDDED_ID__ACCESS_METHODS: + return getAccessMethods(); + case EclipseLinkOrmPackage.XML_EMBEDDED_ID__PROPERTIES: + return getProperties(); + case EclipseLinkOrmPackage.XML_EMBEDDED_ID__ATTRIBUTE_TYPE: + return getAttributeType(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_EMBEDDED_ID__ACCESS_METHODS: + setAccessMethods((XmlAccessMethods)newValue); + return; + case EclipseLinkOrmPackage.XML_EMBEDDED_ID__PROPERTIES: + getProperties().clear(); + getProperties().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_EMBEDDED_ID__ATTRIBUTE_TYPE: + setAttributeType((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_EMBEDDED_ID__ACCESS_METHODS: + setAccessMethods((XmlAccessMethods)null); + return; + case EclipseLinkOrmPackage.XML_EMBEDDED_ID__PROPERTIES: + getProperties().clear(); + return; + case EclipseLinkOrmPackage.XML_EMBEDDED_ID__ATTRIBUTE_TYPE: + setAttributeType(ATTRIBUTE_TYPE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_EMBEDDED_ID__ACCESS_METHODS: + return accessMethods != null; + case EclipseLinkOrmPackage.XML_EMBEDDED_ID__PROPERTIES: + return properties != null && !properties.isEmpty(); + case EclipseLinkOrmPackage.XML_EMBEDDED_ID__ATTRIBUTE_TYPE: + return ATTRIBUTE_TYPE_EDEFAULT == null ? attributeType != null : !ATTRIBUTE_TYPE_EDEFAULT.equals(attributeType); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public int eBaseStructuralFeatureID(int derivedFeatureID, Class baseClass) + { + if (baseClass == XmlAccessMethodsHolder.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_EMBEDDED_ID__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS; + default: return -1; + } + } + if (baseClass == XmlPropertyContainer.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_EMBEDDED_ID__PROPERTIES: return EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES; + default: return -1; + } + } + if (baseClass == XmlAttributeMapping.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_EMBEDDED_ID__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE; + 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_EMBEDDED_ID__ACCESS_METHODS; + default: return -1; + } + } + if (baseClass == XmlPropertyContainer.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES: return EclipseLinkOrmPackage.XML_EMBEDDED_ID__PROPERTIES; + default: return -1; + } + } + if (baseClass == XmlAttributeMapping.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_EMBEDDED_ID__ATTRIBUTE_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(" (attributeType: "); + result.append(attributeType); + result.append(')'); + return result.toString(); + } + + + 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.getXmlEmbeddedId(), + buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildNameTranslator(), + buildAccessTranslator(), + buildAttributeTypeTranslator(), + buildAttributeOverrideTranslator(), + buildPropertyTranslator(), + buildAccessMethodsTranslator() + }; + } + + 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 buildAttributeTypeTranslator() { + return new Translator(EclipseLink2_1.ATTRIBUTE_TYPE, EclipseLinkOrmPackage.eINSTANCE.getXmlAttributeMapping_AttributeType(), Translator.DOM_ATTRIBUTE); + } + + // ******** 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/XmlEntity.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlEntity.java new file mode 100644 index 0000000000..4aaa925760 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlEntity.java @@ -0,0 +1,3999 @@ +/******************************************************************************* + * 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.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.XmlClassReference; +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.XmlEntity_1_1; +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.XmlEntity_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.EclipseLinkOrmV2_1Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlEntity_2_1; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroupContainer_2_1; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlTypeMapping_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.XmlAdditionalCriteria_2_2; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntity_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.XmlIndex_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_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.XmlEntity_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.XmlStruct_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.XmlCacheIndex_2_4; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntity_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.XmlNoSql_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 Entity'. + * + * 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 + * + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity#getOptimisticLocking Optimistic Locking}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity#getCopyPolicy Copy Policy}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity#getInstantiationCopyPolicy Instantiation Copy Policy}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity#getCloneCopyPolicy Clone Copy Policy}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity#getExcludeDefaultMappings Exclude Default Mappings}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntity() + * @model kind="class" + * @generated + */ +public class XmlEntity extends org.eclipse.jpt.jpa.core.resource.orm.XmlEntity implements XmlTypeMapping, XmlEntity_1_1, XmlEntity_2_0, XmlEntity_2_1, XmlEntity_2_2, XmlEntity_2_3, XmlEntity_2_4, XmlReadOnly, XmlCustomizerHolder, XmlChangeTrackingHolder, XmlCacheHolder, XmlConverterContainer, XmlQueryContainer, XmlPropertyContainer +{ + /** + * The cached value of the '{@link #getAccessMethods() Access Methods}' containment reference. + * + * + * @see #getAccessMethods() + * @generated + * @ordered + */ + protected XmlAccessMethods accessMethods; + + /** + * The default value of the '{@link #getParentClass() Parent Class}' attribute. + * + * + * @see #getParentClass() + * @generated + * @ordered + */ + protected static final String PARENT_CLASS_EDEFAULT = null; + + /** + * The cached value of the '{@link #getParentClass() Parent Class}' attribute. + * + * + * @see #getParentClass() + * @generated + * @ordered + */ + protected String parentClass = PARENT_CLASS_EDEFAULT; + + /** + * The cached value of the '{@link #getPrimaryKey() Primary Key}' containment reference. + * + * + * @see #getPrimaryKey() + * @generated + * @ordered + */ + protected XmlPrimaryKey primaryKey; + + /** + * The cached value of the '{@link #getCacheInterceptor() Cache Interceptor}' containment reference. + * + * + * @see #getCacheInterceptor() + * @generated + * @ordered + */ + protected XmlClassReference cacheInterceptor; + + /** + * The cached value of the '{@link #getQueryRedirectors() Query Redirectors}' containment reference. + * + * + * @see #getQueryRedirectors() + * @generated + * @ordered + */ + protected XmlQueryRedirectors queryRedirectors; + + /** + * The cached value of the '{@link #getFetchGroups() Fetch Groups}' containment reference list. + * + * + * @see #getFetchGroups() + * @generated + * @ordered + */ + protected EList fetchGroups; + + /** + * The cached value of the '{@link #getClassExtractor() Class Extractor}' containment reference. + * + * + * @see #getClassExtractor() + * @generated + * @ordered + */ + protected XmlClassReference classExtractor; + + /** + * The cached value of the '{@link #getPartitioning() Partitioning}' containment reference. + * + * + * @see #getPartitioning() + * @generated + * @ordered + */ + protected XmlPartitioning_2_2 partitioning; + + /** + * The cached value of the '{@link #getReplicationPartitioning() Replication Partitioning}' containment reference. + * + * + * @see #getReplicationPartitioning() + * @generated + * @ordered + */ + protected XmlReplicationPartitioning_2_2 replicationPartitioning; + + /** + * The cached value of the '{@link #getRoundRobinPartitioning() Round Robin Partitioning}' containment reference. + * + * + * @see #getRoundRobinPartitioning() + * @generated + * @ordered + */ + protected XmlRoundRobinPartitioning_2_2 roundRobinPartitioning; + + /** + * The cached value of the '{@link #getPinnedPartitioning() Pinned Partitioning}' containment reference. + * + * + * @see #getPinnedPartitioning() + * @generated + * @ordered + */ + protected XmlPinnedPartitioning_2_2 pinnedPartitioning; + + /** + * The cached value of the '{@link #getRangePartitioning() Range Partitioning}' containment reference. + * + * + * @see #getRangePartitioning() + * @generated + * @ordered + */ + protected XmlRangePartitioning_2_2 rangePartitioning; + + /** + * The cached value of the '{@link #getValuePartitioning() Value Partitioning}' containment reference. + * + * + * @see #getValuePartitioning() + * @generated + * @ordered + */ + protected XmlValuePartitioning_2_2 valuePartitioning; + + /** + * The cached value of the '{@link #getHashPartitioning() Hash Partitioning}' containment reference. + * + * + * @see #getHashPartitioning() + * @generated + * @ordered + */ + protected XmlHashPartitioning_2_2 hashPartitioning; + + /** + * The cached value of the '{@link #getUnionPartitioning() Union Partitioning}' containment reference. + * + * + * @see #getUnionPartitioning() + * @generated + * @ordered + */ + protected XmlUnionPartitioning_2_2 unionPartitioning; + + /** + * The default value of the '{@link #getPartitioned() Partitioned}' attribute. + * + * + * @see #getPartitioned() + * @generated + * @ordered + */ + protected static final String PARTITIONED_EDEFAULT = null; + + /** + * The cached value of the '{@link #getPartitioned() Partitioned}' attribute. + * + * + * @see #getPartitioned() + * @generated + * @ordered + */ + protected String partitioned = PARTITIONED_EDEFAULT; + + /** + * The cached value of the '{@link #getAdditionalCriteria() Additional Criteria}' containment reference. + * + * + * @see #getAdditionalCriteria() + * @generated + * @ordered + */ + protected XmlAdditionalCriteria_2_2 additionalCriteria; + + /** + * The default value of the '{@link #getCascadeOnDelete() Cascade On Delete}' attribute. + * + * + * @see #getCascadeOnDelete() + * @generated + * @ordered + */ + protected static final Boolean CASCADE_ON_DELETE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getCascadeOnDelete() Cascade On Delete}' attribute. + * + * + * @see #getCascadeOnDelete() + * @generated + * @ordered + */ + protected Boolean cascadeOnDelete = CASCADE_ON_DELETE_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 #getMultitenant() Multitenant}' containment reference. + * + * + * @see #getMultitenant() + * @generated + * @ordered + */ + protected XmlMultitenant multitenant; + + /** + * The cached value of the '{@link #getNamedStoredFunctionQueries() Named Stored Function Queries}' containment reference list. + * + * + * @see #getNamedStoredFunctionQueries() + * @generated + * @ordered + */ + protected EList namedStoredFunctionQueries; + + /** + * The cached value of the '{@link #getNamedPlsqlStoredFunctionQueries() Named Plsql Stored Function Queries}' containment reference list. + * + * + * @see #getNamedPlsqlStoredFunctionQueries() + * @generated + * @ordered + */ + protected EList namedPlsqlStoredFunctionQueries; + + /** + * The cached value of the '{@link #getNamedPlsqlStoredProcedureQueries() Named Plsql Stored Procedure Queries}' containment reference list. + * + * + * @see #getNamedPlsqlStoredProcedureQueries() + * @generated + * @ordered + */ + protected EList namedPlsqlStoredProcedureQueries; + + /** + * The cached value of the '{@link #getPlsqlRecords() Plsql Records}' containment reference list. + * + * + * @see #getPlsqlRecords() + * @generated + * @ordered + */ + protected EList plsqlRecords; + + /** + * The cached value of the '{@link #getPlsqlTables() Plsql Tables}' containment reference list. + * + * + * @see #getPlsqlTables() + * @generated + * @ordered + */ + protected EList plsqlTables; + + /** + * The cached value of the '{@link #getStruct() Struct}' containment reference. + * + * + * @see #getStruct() + * @generated + * @ordered + */ + protected XmlStruct_2_3 struct; + + /** + * 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 #getCacheIndex() Cache Index}' containment reference. + * + * + * @see #getCacheIndex() + * @generated + * @ordered + */ + protected XmlCacheIndex_2_4 cacheIndex; + + /** + * The cached value of the '{@link #getNoSql() No Sql}' containment reference. + * + * + * @see #getNoSql() + * @generated + * @ordered + */ + protected XmlNoSql_2_4 noSql; + + /** + * The default value of the '{@link #getReadOnly() Read Only}' attribute. + * + * + * @see #getReadOnly() + * @generated + * @ordered + */ + protected static final Boolean READ_ONLY_EDEFAULT = null; + + /** + * The cached value of the '{@link #getReadOnly() Read Only}' attribute. + * + * + * @see #getReadOnly() + * @generated + * @ordered + */ + protected Boolean readOnly = READ_ONLY_EDEFAULT; + + /** + * The cached value of the '{@link #getCustomizer() Customizer}' containment reference. + * + * + * @see #getCustomizer() + * @generated + * @ordered + */ + protected XmlClassReference customizer; + + /** + * The cached value of the '{@link #getChangeTracking() Change Tracking}' containment reference. + * + * + * @see #getChangeTracking() + * @generated + * @ordered + */ + protected XmlChangeTracking changeTracking; + + /** + * The cached value of the '{@link #getCache() Cache}' containment reference. + * + * + * @see #getCache() + * @generated + * @ordered + */ + protected XmlCache cache; + + /** + * 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 ExistenceType EXISTENCE_CHECKING_EDEFAULT = null; + + /** + * The cached value of the '{@link #getExistenceChecking() Existence Checking}' attribute. + * + * + * @see #getExistenceChecking() + * @generated + * @ordered + */ + protected ExistenceType existenceChecking = EXISTENCE_CHECKING_EDEFAULT; + + /** + * The cached value of the '{@link #getConverters() Converters}' containment reference list. + * + * + * @see #getConverters() + * @generated + * @ordered + */ + protected EList converters; + + /** + * The cached value of the '{@link #getTypeConverters() Type Converters}' containment reference list. + * + * + * @see #getTypeConverters() + * @generated + * @ordered + */ + protected EList typeConverters; + + /** + * The cached value of the '{@link #getObjectTypeConverters() Object Type Converters}' containment reference list. + * + * + * @see #getObjectTypeConverters() + * @generated + * @ordered + */ + protected EList objectTypeConverters; + + /** + * The cached value of the '{@link #getStructConverters() Struct Converters}' containment reference list. + * + * + * @see #getStructConverters() + * @generated + * @ordered + */ + protected EList structConverters; + + /** + * The cached value of the '{@link #getNamedStoredProcedureQueries() Named Stored Procedure Queries}' containment reference list. + * + * + * @see #getNamedStoredProcedureQueries() + * @generated + * @ordered + */ + protected EList namedStoredProcedureQueries; + + /** + * The cached value of the '{@link #getProperties() Properties}' containment reference list. + * + * + * @see #getProperties() + * @generated + * @ordered + */ + protected EList properties; + + /** + * The cached value of the '{@link #getOptimisticLocking() Optimistic Locking}' containment reference. + * + * + * @see #getOptimisticLocking() + * @generated + * @ordered + */ + protected XmlOptimisticLocking optimisticLocking; + + /** + * The cached value of the '{@link #getCopyPolicy() Copy Policy}' containment reference. + * + * + * @see #getCopyPolicy() + * @generated + * @ordered + */ + protected XmlCopyPolicy copyPolicy; + + /** + * The cached value of the '{@link #getInstantiationCopyPolicy() Instantiation Copy Policy}' containment reference. + * + * + * @see #getInstantiationCopyPolicy() + * @generated + * @ordered + */ + protected XmlInstantiationCopyPolicy instantiationCopyPolicy; + + /** + * The cached value of the '{@link #getCloneCopyPolicy() Clone Copy Policy}' containment reference. + * + * + * @see #getCloneCopyPolicy() + * @generated + * @ordered + */ + protected XmlCloneCopyPolicy cloneCopyPolicy; + + /** + * The default value of the '{@link #getExcludeDefaultMappings() Exclude Default Mappings}' attribute. + * + * + * @see #getExcludeDefaultMappings() + * @generated + * @ordered + */ + protected static final Boolean EXCLUDE_DEFAULT_MAPPINGS_EDEFAULT = null; + + /** + * The cached value of the '{@link #getExcludeDefaultMappings() Exclude Default Mappings}' attribute. + * + * + * @see #getExcludeDefaultMappings() + * @generated + * @ordered + */ + protected Boolean excludeDefaultMappings = EXCLUDE_DEFAULT_MAPPINGS_EDEFAULT; + + /** + * + * + * @generated + */ + protected XmlEntity() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_ENTITY; + } + + /** + * Returns the value of the 'Read Only' attribute. + * + *

+ * 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 getConverters() + { + if (converters == null) + { + converters = new EObjectContainmentEList(XmlConverter.class, this, EclipseLinkOrmPackage.XML_ENTITY__CONVERTERS); + } + return converters; + } + + /** + * Returns the value of the 'Type Converters' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter}. + * + *

+ * 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 getTypeConverters() + { + if (typeConverters == null) + { + typeConverters = new EObjectContainmentEList(XmlTypeConverter.class, this, EclipseLinkOrmPackage.XML_ENTITY__TYPE_CONVERTERS); + } + return typeConverters; + } + + /** + * Returns the value of the 'Object Type Converters' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter}. + * + *

+ * 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 getObjectTypeConverters() + { + if (objectTypeConverters == null) + { + objectTypeConverters = new EObjectContainmentEList(XmlObjectTypeConverter.class, this, EclipseLinkOrmPackage.XML_ENTITY__OBJECT_TYPE_CONVERTERS); + } + return objectTypeConverters; + } + + /** + * Returns the value of the 'Struct Converters' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructConverter}. + * + *

+ * 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 getStructConverters() + { + if (structConverters == null) + { + structConverters = new EObjectContainmentEList(XmlStructConverter.class, this, EclipseLinkOrmPackage.XML_ENTITY__STRUCT_CONVERTERS); + } + return structConverters; + } + + /** + * Returns the value of the 'Optimistic Locking' containment reference. + * + *

+ * 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 getNamedStoredProcedureQueries() + { + if (namedStoredProcedureQueries == null) + { + namedStoredProcedureQueries = new EObjectContainmentEList(XmlNamedStoredProcedureQuery.class, this, EclipseLinkOrmPackage.XML_ENTITY__NAMED_STORED_PROCEDURE_QUERIES); + } + return namedStoredProcedureQueries; + } + + /** + * 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 getProperties() + { + if (properties == null) + { + properties = new EObjectContainmentEList(XmlProperty.class, this, EclipseLinkOrmPackage.XML_ENTITY__PROPERTIES); + } + return properties; + } + + /** + * Returns the value of the 'Primary Key' containment reference. + * + *

+ * 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 getFetchGroups() + { + if (fetchGroups == null) + { + fetchGroups = new EObjectContainmentEList(XmlFetchGroup.class, this, EclipseLinkOrmPackage.XML_ENTITY__FETCH_GROUPS); + } + return fetchGroups; + } + + /** + * Returns the value of the 'Class Extractor' containment reference. + * + *

+ * 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 getNamedStoredFunctionQueries() + { + if (namedStoredFunctionQueries == null) + { + namedStoredFunctionQueries = new EObjectContainmentEList(XmlNamedStoredFunctionQuery_2_3.class, this, EclipseLinkOrmPackage.XML_ENTITY__NAMED_STORED_FUNCTION_QUERIES); + } + return namedStoredFunctionQueries; + } + + /** + * Returns the value of the 'Named Plsql Stored Function Queries' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredFunctionQuery_2_3}. + * + *

+ * 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 getNamedPlsqlStoredFunctionQueries() + { + if (namedPlsqlStoredFunctionQueries == null) + { + namedPlsqlStoredFunctionQueries = new EObjectContainmentEList(XmlNamedPlsqlStoredFunctionQuery_2_3.class, this, EclipseLinkOrmPackage.XML_ENTITY__NAMED_PLSQL_STORED_FUNCTION_QUERIES); + } + return namedPlsqlStoredFunctionQueries; + } + + /** + * Returns the value of the 'Named Plsql Stored Procedure Queries' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredProcedureQuery_2_3}. + * + *

+ * 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 getNamedPlsqlStoredProcedureQueries() + { + if (namedPlsqlStoredProcedureQueries == null) + { + namedPlsqlStoredProcedureQueries = new EObjectContainmentEList(XmlNamedPlsqlStoredProcedureQuery_2_3.class, this, EclipseLinkOrmPackage.XML_ENTITY__NAMED_PLSQL_STORED_PROCEDURE_QUERIES); + } + return namedPlsqlStoredProcedureQueries; + } + + /** + * 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#getXmlEntity_2_3_PlsqlRecords() + * @model containment="true" + * @generated + */ + public EList getPlsqlRecords() + { + if (plsqlRecords == null) + { + plsqlRecords = new EObjectContainmentEList(XmlPlsqlRecord_2_3.class, this, EclipseLinkOrmPackage.XML_ENTITY__PLSQL_RECORDS); + } + return plsqlRecords; + } + + /** + * Returns the value of the 'Plsql Tables' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPlsqlTable}. + * + *

+ * 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 getPlsqlTables() + { + if (plsqlTables == null) + { + plsqlTables = new EObjectContainmentEList(XmlPlsqlTable.class, this, EclipseLinkOrmPackage.XML_ENTITY__PLSQL_TABLES); + } + return plsqlTables; + } + + /** + * Returns the value of the 'Struct' containment reference. + * + *

+ * 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)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)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY__NAMED_PLSQL_STORED_FUNCTION_QUERIES: + getNamedPlsqlStoredFunctionQueries().clear(); + getNamedPlsqlStoredFunctionQueries().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY__NAMED_PLSQL_STORED_PROCEDURE_QUERIES: + getNamedPlsqlStoredProcedureQueries().clear(); + getNamedPlsqlStoredProcedureQueries().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY__PLSQL_RECORDS: + getPlsqlRecords().clear(); + getPlsqlRecords().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY__PLSQL_TABLES: + getPlsqlTables().clear(); + getPlsqlTables().addAll((Collection)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)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY__TYPE_CONVERTERS: + getTypeConverters().clear(); + getTypeConverters().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY__OBJECT_TYPE_CONVERTERS: + getObjectTypeConverters().clear(); + getObjectTypeConverters().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY__STRUCT_CONVERTERS: + getStructConverters().clear(); + getStructConverters().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY__NAMED_STORED_PROCEDURE_QUERIES: + getNamedStoredProcedureQueries().clear(); + getNamedStoredProcedureQueries().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY__PROPERTIES: + getProperties().clear(); + getProperties().addAll((Collection)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 partitioning; + + /** + * The cached value of the '{@link #getReplicationPartitioning() Replication Partitioning}' containment reference list. + * + * + * @see #getReplicationPartitioning() + * @generated + * @ordered + */ + protected EList replicationPartitioning; + + /** + * The cached value of the '{@link #getRoundRobinPartitioning() Round Robin Partitioning}' containment reference list. + * + * + * @see #getRoundRobinPartitioning() + * @generated + * @ordered + */ + protected EList roundRobinPartitioning; + + /** + * The cached value of the '{@link #getPinnedPartitioning() Pinned Partitioning}' containment reference list. + * + * + * @see #getPinnedPartitioning() + * @generated + * @ordered + */ + protected EList pinnedPartitioning; + + /** + * The cached value of the '{@link #getRangePartitioning() Range Partitioning}' containment reference list. + * + * + * @see #getRangePartitioning() + * @generated + * @ordered + */ + protected EList rangePartitioning; + + /** + * The cached value of the '{@link #getValuePartitioning() Value Partitioning}' containment reference list. + * + * + * @see #getValuePartitioning() + * @generated + * @ordered + */ + protected EList valuePartitioning; + + /** + * The cached value of the '{@link #getHashPartitioning() Hash Partitioning}' containment reference list. + * + * + * @see #getHashPartitioning() + * @generated + * @ordered + */ + protected EList hashPartitioning; + + /** + * The cached value of the '{@link #getUnionPartitioning() Union Partitioning}' containment reference list. + * + * + * @see #getUnionPartitioning() + * @generated + * @ordered + */ + protected EList unionPartitioning; + + /** + * The cached value of the '{@link #getTenantDiscriminatorColumns() Tenant Discriminator Columns}' containment reference list. + * + * + * @see #getTenantDiscriminatorColumns() + * @generated + * @ordered + */ + protected EList tenantDiscriminatorColumns; + + /** + * The cached value of the '{@link #getNamedStoredFunctionQueries() Named Stored Function Queries}' containment reference list. + * + * + * @see #getNamedStoredFunctionQueries() + * @generated + * @ordered + */ + protected EList namedStoredFunctionQueries; + + /** + * The cached value of the '{@link #getNamedPlsqlStoredFunctionQueries() Named Plsql Stored Function Queries}' containment reference list. + * + * + * @see #getNamedPlsqlStoredFunctionQueries() + * @generated + * @ordered + */ + protected EList namedPlsqlStoredFunctionQueries; + + /** + * The cached value of the '{@link #getNamedPlsqlStoredProcedureQueries() Named Plsql Stored Procedure Queries}' containment reference list. + * + * + * @see #getNamedPlsqlStoredProcedureQueries() + * @generated + * @ordered + */ + protected EList namedPlsqlStoredProcedureQueries; + + /** + * The cached value of the '{@link #getPlsqlRecords() Plsql Records}' containment reference list. + * + * + * @see #getPlsqlRecords() + * @generated + * @ordered + */ + protected EList plsqlRecords; + + /** + * The cached value of the '{@link #getPlsqlTables() Plsql Tables}' containment reference list. + * + * + * @see #getPlsqlTables() + * @generated + * @ordered + */ + protected EList plsqlTables; + + /** + * The cached value of the '{@link #getUuidGenerators() Uuid Generators}' containment reference list. + * + * + * @see #getUuidGenerators() + * @generated + * @ordered + */ + protected EList uuidGenerators; + + /** + * The cached value of the '{@link #getConverters() Converters}' containment reference list. + * + * + * @see #getConverters() + * @generated + * @ordered + */ + protected EList converters; + + /** + * The cached value of the '{@link #getTypeConverters() Type Converters}' containment reference list. + * + * + * @see #getTypeConverters() + * @generated + * @ordered + */ + protected EList typeConverters; + + /** + * The cached value of the '{@link #getObjectTypeConverters() Object Type Converters}' containment reference list. + * + * + * @see #getObjectTypeConverters() + * @generated + * @ordered + */ + protected EList objectTypeConverters; + + /** + * The cached value of the '{@link #getStructConverters() Struct Converters}' containment reference list. + * + * + * @see #getStructConverters() + * @generated + * @ordered + */ + protected EList structConverters; + + /** + * The cached value of the '{@link #getNamedStoredProcedureQueries() Named Stored Procedure Queries}' containment reference list. + * + * + * @see #getNamedStoredProcedureQueries() + * @generated + * @ordered + */ + protected EList namedStoredProcedureQueries; + + /** + * + * + * @generated + */ + protected XmlEntityMappings() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_ENTITY_MAPPINGS; + } + + /** + * 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_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 getPartitioning() + { + if (partitioning == null) + { + partitioning = new EObjectContainmentEList(XmlPartitioning_2_2.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PARTITIONING); + } + return partitioning; + } + + /** + * Returns the value of the 'Replication Partitioning' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlReplicationPartitioning_2_2}. + * + *

+ * 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 getReplicationPartitioning() + { + if (replicationPartitioning == null) + { + replicationPartitioning = new EObjectContainmentEList(XmlReplicationPartitioning_2_2.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__REPLICATION_PARTITIONING); + } + return replicationPartitioning; + } + + /** + * Returns the value of the 'Round Robin Partitioning' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRoundRobinPartitioning_2_2}. + * + *

+ * 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 getRoundRobinPartitioning() + { + if (roundRobinPartitioning == null) + { + roundRobinPartitioning = new EObjectContainmentEList(XmlRoundRobinPartitioning_2_2.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__ROUND_ROBIN_PARTITIONING); + } + return roundRobinPartitioning; + } + + /** + * Returns the value of the 'Pinned Partitioning' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPinnedPartitioning_2_2}. + * + *

+ * 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 getPinnedPartitioning() + { + if (pinnedPartitioning == null) + { + pinnedPartitioning = new EObjectContainmentEList(XmlPinnedPartitioning_2_2.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PINNED_PARTITIONING); + } + return pinnedPartitioning; + } + + /** + * Returns the value of the 'Range Partitioning' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRangePartitioning_2_2}. + * + *

+ * 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 getRangePartitioning() + { + if (rangePartitioning == null) + { + rangePartitioning = new EObjectContainmentEList(XmlRangePartitioning_2_2.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__RANGE_PARTITIONING); + } + return rangePartitioning; + } + + /** + * Returns the value of the 'Value Partitioning' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlValuePartitioning_2_2}. + * + *

+ * 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 getValuePartitioning() + { + if (valuePartitioning == null) + { + valuePartitioning = new EObjectContainmentEList(XmlValuePartitioning_2_2.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__VALUE_PARTITIONING); + } + return valuePartitioning; + } + + /** + * Returns the value of the 'Hash Partitioning' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlHashPartitioning_2_2}. + * + *

+ * 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 getHashPartitioning() + { + if (hashPartitioning == null) + { + hashPartitioning = new EObjectContainmentEList(XmlHashPartitioning_2_2.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__HASH_PARTITIONING); + } + return hashPartitioning; + } + + /** + * Returns the value of the 'Union Partitioning' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlUnionPartitioning_2_2}. + * + *

+ * 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 getUnionPartitioning() + { + if (unionPartitioning == null) + { + unionPartitioning = new EObjectContainmentEList(XmlUnionPartitioning_2_2.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__UNION_PARTITIONING); + } + return unionPartitioning; + } + + /** + * Returns the value of the 'Tenant Discriminator Columns' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3}. + * + *

+ * 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 getTenantDiscriminatorColumns() + { + if (tenantDiscriminatorColumns == null) + { + tenantDiscriminatorColumns = new EObjectContainmentEList(XmlTenantDiscriminatorColumn_2_3.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__TENANT_DISCRIMINATOR_COLUMNS); + } + return tenantDiscriminatorColumns; + } + + /** + * 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#getXmlEntityMappings_2_3_NamedStoredFunctionQueries() + * @model containment="true" + * @generated + */ + public EList getNamedStoredFunctionQueries() + { + if (namedStoredFunctionQueries == null) + { + namedStoredFunctionQueries = new EObjectContainmentEList(XmlNamedStoredFunctionQuery_2_3.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_STORED_FUNCTION_QUERIES); + } + return namedStoredFunctionQueries; + } + + /** + * Returns the value of the 'Named Plsql Stored Function Queries' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredFunctionQuery_2_3}. + * + *

+ * 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 getNamedPlsqlStoredFunctionQueries() + { + if (namedPlsqlStoredFunctionQueries == null) + { + namedPlsqlStoredFunctionQueries = new EObjectContainmentEList(XmlNamedPlsqlStoredFunctionQuery_2_3.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_PLSQL_STORED_FUNCTION_QUERIES); + } + return namedPlsqlStoredFunctionQueries; + } + + /** + * Returns the value of the 'Named Plsql Stored Procedure Queries' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredProcedureQuery_2_3}. + * + *

+ * 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 getNamedPlsqlStoredProcedureQueries() + { + if (namedPlsqlStoredProcedureQueries == null) + { + namedPlsqlStoredProcedureQueries = new EObjectContainmentEList(XmlNamedPlsqlStoredProcedureQuery_2_3.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_PLSQL_STORED_PROCEDURE_QUERIES); + } + return namedPlsqlStoredProcedureQueries; + } + + /** + * 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#getXmlEntityMappings_2_3_PlsqlRecords() + * @model containment="true" + * @generated + */ + public EList getPlsqlRecords() + { + if (plsqlRecords == null) + { + plsqlRecords = new EObjectContainmentEList(XmlPlsqlRecord_2_3.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PLSQL_RECORDS); + } + return plsqlRecords; + } + + /** + * Returns the value of the 'Plsql Tables' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPlsqlTable}. + * + *

+ * 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 getPlsqlTables() + { + if (plsqlTables == null) + { + plsqlTables = new EObjectContainmentEList(XmlPlsqlTable.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PLSQL_TABLES); + } + return plsqlTables; + } + + /** + * Returns the value of the 'Uuid Generators' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlUuidGenerator_2_4}. + * + *

+ * 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 getUuidGenerators() + { + if (uuidGenerators == null) + { + uuidGenerators = new EObjectContainmentEList(XmlUuidGenerator_2_4.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__UUID_GENERATORS); + } + return uuidGenerators; + } + + /** + * 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 getConverters() + { + if (converters == null) + { + converters = new EObjectContainmentEList(XmlConverter.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__CONVERTERS); + } + return converters; + } + + /** + * Returns the value of the 'Type Converters' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter}. + * + *

+ * 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 getTypeConverters() + { + if (typeConverters == null) + { + typeConverters = new EObjectContainmentEList(XmlTypeConverter.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__TYPE_CONVERTERS); + } + return typeConverters; + } + + /** + * Returns the value of the 'Object Type Converters' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter}. + * + *

+ * 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 getObjectTypeConverters() + { + if (objectTypeConverters == null) + { + objectTypeConverters = new EObjectContainmentEList(XmlObjectTypeConverter.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__OBJECT_TYPE_CONVERTERS); + } + return objectTypeConverters; + } + + /** + * Returns the value of the 'Struct Converters' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructConverter}. + * + *

+ * 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 getStructConverters() + { + if (structConverters == null) + { + structConverters = new EObjectContainmentEList(XmlStructConverter.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__STRUCT_CONVERTERS); + } + return structConverters; + } + + /** + * 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 getNamedStoredProcedureQueries() + { + if (namedStoredProcedureQueries == null) + { + namedStoredProcedureQueries = new EObjectContainmentEList(XmlNamedStoredProcedureQuery.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_STORED_PROCEDURE_QUERIES); + } + return namedStoredProcedureQueries; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__ACCESS_METHODS: + return basicSetAccessMethods(null, msgs); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PARTITIONING: + return ((InternalEList)getPartitioning()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__REPLICATION_PARTITIONING: + return ((InternalEList)getReplicationPartitioning()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__ROUND_ROBIN_PARTITIONING: + return ((InternalEList)getRoundRobinPartitioning()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PINNED_PARTITIONING: + return ((InternalEList)getPinnedPartitioning()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__RANGE_PARTITIONING: + return ((InternalEList)getRangePartitioning()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__VALUE_PARTITIONING: + return ((InternalEList)getValuePartitioning()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__HASH_PARTITIONING: + return ((InternalEList)getHashPartitioning()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__UNION_PARTITIONING: + return ((InternalEList)getUnionPartitioning()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__TENANT_DISCRIMINATOR_COLUMNS: + return ((InternalEList)getTenantDiscriminatorColumns()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_STORED_FUNCTION_QUERIES: + return ((InternalEList)getNamedStoredFunctionQueries()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_PLSQL_STORED_FUNCTION_QUERIES: + return ((InternalEList)getNamedPlsqlStoredFunctionQueries()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_PLSQL_STORED_PROCEDURE_QUERIES: + return ((InternalEList)getNamedPlsqlStoredProcedureQueries()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PLSQL_RECORDS: + return ((InternalEList)getPlsqlRecords()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PLSQL_TABLES: + return ((InternalEList)getPlsqlTables()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__UUID_GENERATORS: + return ((InternalEList)getUuidGenerators()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__CONVERTERS: + return ((InternalEList)getConverters()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__TYPE_CONVERTERS: + return ((InternalEList)getTypeConverters()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__OBJECT_TYPE_CONVERTERS: + return ((InternalEList)getObjectTypeConverters()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__STRUCT_CONVERTERS: + return ((InternalEList)getStructConverters()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_STORED_PROCEDURE_QUERIES: + return ((InternalEList)getNamedStoredProcedureQueries()).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_ENTITY_MAPPINGS__ACCESS_METHODS: + return getAccessMethods(); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PARTITIONING: + return getPartitioning(); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__REPLICATION_PARTITIONING: + return getReplicationPartitioning(); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__ROUND_ROBIN_PARTITIONING: + return getRoundRobinPartitioning(); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PINNED_PARTITIONING: + return getPinnedPartitioning(); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__RANGE_PARTITIONING: + return getRangePartitioning(); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__VALUE_PARTITIONING: + return getValuePartitioning(); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__HASH_PARTITIONING: + return getHashPartitioning(); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__UNION_PARTITIONING: + return getUnionPartitioning(); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__TENANT_DISCRIMINATOR_COLUMNS: + return getTenantDiscriminatorColumns(); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_STORED_FUNCTION_QUERIES: + return getNamedStoredFunctionQueries(); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_PLSQL_STORED_FUNCTION_QUERIES: + return getNamedPlsqlStoredFunctionQueries(); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_PLSQL_STORED_PROCEDURE_QUERIES: + return getNamedPlsqlStoredProcedureQueries(); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PLSQL_RECORDS: + return getPlsqlRecords(); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PLSQL_TABLES: + return getPlsqlTables(); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__UUID_GENERATORS: + return getUuidGenerators(); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__CONVERTERS: + return getConverters(); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__TYPE_CONVERTERS: + return getTypeConverters(); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__OBJECT_TYPE_CONVERTERS: + return getObjectTypeConverters(); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__STRUCT_CONVERTERS: + return getStructConverters(); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_STORED_PROCEDURE_QUERIES: + return getNamedStoredProcedureQueries(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__ACCESS_METHODS: + setAccessMethods((XmlAccessMethods)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PARTITIONING: + getPartitioning().clear(); + getPartitioning().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__REPLICATION_PARTITIONING: + getReplicationPartitioning().clear(); + getReplicationPartitioning().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__ROUND_ROBIN_PARTITIONING: + getRoundRobinPartitioning().clear(); + getRoundRobinPartitioning().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PINNED_PARTITIONING: + getPinnedPartitioning().clear(); + getPinnedPartitioning().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__RANGE_PARTITIONING: + getRangePartitioning().clear(); + getRangePartitioning().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__VALUE_PARTITIONING: + getValuePartitioning().clear(); + getValuePartitioning().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__HASH_PARTITIONING: + getHashPartitioning().clear(); + getHashPartitioning().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__UNION_PARTITIONING: + getUnionPartitioning().clear(); + getUnionPartitioning().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__TENANT_DISCRIMINATOR_COLUMNS: + getTenantDiscriminatorColumns().clear(); + getTenantDiscriminatorColumns().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_STORED_FUNCTION_QUERIES: + getNamedStoredFunctionQueries().clear(); + getNamedStoredFunctionQueries().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_PLSQL_STORED_FUNCTION_QUERIES: + getNamedPlsqlStoredFunctionQueries().clear(); + getNamedPlsqlStoredFunctionQueries().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_PLSQL_STORED_PROCEDURE_QUERIES: + getNamedPlsqlStoredProcedureQueries().clear(); + getNamedPlsqlStoredProcedureQueries().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PLSQL_RECORDS: + getPlsqlRecords().clear(); + getPlsqlRecords().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PLSQL_TABLES: + getPlsqlTables().clear(); + getPlsqlTables().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__UUID_GENERATORS: + getUuidGenerators().clear(); + getUuidGenerators().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__CONVERTERS: + getConverters().clear(); + getConverters().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__TYPE_CONVERTERS: + getTypeConverters().clear(); + getTypeConverters().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__OBJECT_TYPE_CONVERTERS: + getObjectTypeConverters().clear(); + getObjectTypeConverters().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__STRUCT_CONVERTERS: + getStructConverters().clear(); + getStructConverters().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_STORED_PROCEDURE_QUERIES: + getNamedStoredProcedureQueries().clear(); + getNamedStoredProcedureQueries().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__ACCESS_METHODS: + setAccessMethods((XmlAccessMethods)null); + return; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PARTITIONING: + getPartitioning().clear(); + return; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__REPLICATION_PARTITIONING: + getReplicationPartitioning().clear(); + return; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__ROUND_ROBIN_PARTITIONING: + getRoundRobinPartitioning().clear(); + return; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PINNED_PARTITIONING: + getPinnedPartitioning().clear(); + return; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__RANGE_PARTITIONING: + getRangePartitioning().clear(); + return; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__VALUE_PARTITIONING: + getValuePartitioning().clear(); + return; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__HASH_PARTITIONING: + getHashPartitioning().clear(); + return; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__UNION_PARTITIONING: + getUnionPartitioning().clear(); + return; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__TENANT_DISCRIMINATOR_COLUMNS: + getTenantDiscriminatorColumns().clear(); + return; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_STORED_FUNCTION_QUERIES: + getNamedStoredFunctionQueries().clear(); + return; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_PLSQL_STORED_FUNCTION_QUERIES: + getNamedPlsqlStoredFunctionQueries().clear(); + return; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_PLSQL_STORED_PROCEDURE_QUERIES: + getNamedPlsqlStoredProcedureQueries().clear(); + return; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PLSQL_RECORDS: + getPlsqlRecords().clear(); + return; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PLSQL_TABLES: + getPlsqlTables().clear(); + return; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__UUID_GENERATORS: + getUuidGenerators().clear(); + return; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__CONVERTERS: + getConverters().clear(); + return; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__TYPE_CONVERTERS: + getTypeConverters().clear(); + return; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__OBJECT_TYPE_CONVERTERS: + getObjectTypeConverters().clear(); + return; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__STRUCT_CONVERTERS: + getStructConverters().clear(); + return; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_STORED_PROCEDURE_QUERIES: + getNamedStoredProcedureQueries().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__ACCESS_METHODS: + return accessMethods != null; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PARTITIONING: + return partitioning != null && !partitioning.isEmpty(); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__REPLICATION_PARTITIONING: + return replicationPartitioning != null && !replicationPartitioning.isEmpty(); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__ROUND_ROBIN_PARTITIONING: + return roundRobinPartitioning != null && !roundRobinPartitioning.isEmpty(); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PINNED_PARTITIONING: + return pinnedPartitioning != null && !pinnedPartitioning.isEmpty(); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__RANGE_PARTITIONING: + return rangePartitioning != null && !rangePartitioning.isEmpty(); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__VALUE_PARTITIONING: + return valuePartitioning != null && !valuePartitioning.isEmpty(); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__HASH_PARTITIONING: + return hashPartitioning != null && !hashPartitioning.isEmpty(); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__UNION_PARTITIONING: + return unionPartitioning != null && !unionPartitioning.isEmpty(); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__TENANT_DISCRIMINATOR_COLUMNS: + return tenantDiscriminatorColumns != null && !tenantDiscriminatorColumns.isEmpty(); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_STORED_FUNCTION_QUERIES: + return namedStoredFunctionQueries != null && !namedStoredFunctionQueries.isEmpty(); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_PLSQL_STORED_FUNCTION_QUERIES: + return namedPlsqlStoredFunctionQueries != null && !namedPlsqlStoredFunctionQueries.isEmpty(); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_PLSQL_STORED_PROCEDURE_QUERIES: + return namedPlsqlStoredProcedureQueries != null && !namedPlsqlStoredProcedureQueries.isEmpty(); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PLSQL_RECORDS: + return plsqlRecords != null && !plsqlRecords.isEmpty(); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PLSQL_TABLES: + return plsqlTables != null && !plsqlTables.isEmpty(); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__UUID_GENERATORS: + return uuidGenerators != null && !uuidGenerators.isEmpty(); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__CONVERTERS: + return converters != null && !converters.isEmpty(); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__TYPE_CONVERTERS: + return typeConverters != null && !typeConverters.isEmpty(); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__OBJECT_TYPE_CONVERTERS: + return objectTypeConverters != null && !objectTypeConverters.isEmpty(); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__STRUCT_CONVERTERS: + return structConverters != null && !structConverters.isEmpty(); + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_STORED_PROCEDURE_QUERIES: + return namedStoredProcedureQueries != null && !namedStoredProcedureQueries.isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public int eBaseStructuralFeatureID(int derivedFeatureID, Class baseClass) + { + if (baseClass == XmlAccessMethodsHolder.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS; + default: return -1; + } + } + if (baseClass == XmlEntityMappings_2_1.class) + { + switch (derivedFeatureID) + { + default: return -1; + } + } + if (baseClass == XmlEntityMappings_2_2.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PARTITIONING: return EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__PARTITIONING; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__REPLICATION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__REPLICATION_PARTITIONING; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__ROUND_ROBIN_PARTITIONING; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PINNED_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__PINNED_PARTITIONING; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__RANGE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__RANGE_PARTITIONING; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__VALUE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__VALUE_PARTITIONING; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__HASH_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__HASH_PARTITIONING; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__UNION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__UNION_PARTITIONING; + default: return -1; + } + } + if (baseClass == XmlEntityMappings_2_3.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__TENANT_DISCRIMINATOR_COLUMNS: return EclipseLinkOrmV2_3Package.XML_ENTITY_MAPPINGS_23__TENANT_DISCRIMINATOR_COLUMNS; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_STORED_FUNCTION_QUERIES: return EclipseLinkOrmV2_3Package.XML_ENTITY_MAPPINGS_23__NAMED_STORED_FUNCTION_QUERIES; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_PLSQL_STORED_FUNCTION_QUERIES: return EclipseLinkOrmV2_3Package.XML_ENTITY_MAPPINGS_23__NAMED_PLSQL_STORED_FUNCTION_QUERIES; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_PLSQL_STORED_PROCEDURE_QUERIES: return EclipseLinkOrmV2_3Package.XML_ENTITY_MAPPINGS_23__NAMED_PLSQL_STORED_PROCEDURE_QUERIES; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PLSQL_RECORDS: return EclipseLinkOrmV2_3Package.XML_ENTITY_MAPPINGS_23__PLSQL_RECORDS; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PLSQL_TABLES: return EclipseLinkOrmV2_3Package.XML_ENTITY_MAPPINGS_23__PLSQL_TABLES; + default: return -1; + } + } + if (baseClass == XmlEntityMappings_2_4.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__UUID_GENERATORS: return EclipseLinkOrmV2_4Package.XML_ENTITY_MAPPINGS_24__UUID_GENERATORS; + default: return -1; + } + } + if (baseClass == XmlConverterContainer.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__CONVERTERS; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__TYPE_CONVERTERS; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__OBJECT_TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS; + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__STRUCT_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS; + default: return -1; + } + } + if (baseClass == XmlQueryContainer.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_STORED_PROCEDURE_QUERIES: return EclipseLinkOrmPackage.XML_QUERY_CONTAINER__NAMED_STORED_PROCEDURE_QUERIES; + 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_MAPPINGS__ACCESS_METHODS; + default: return -1; + } + } + if (baseClass == XmlEntityMappings_2_1.class) + { + switch (baseFeatureID) + { + default: return -1; + } + } + if (baseClass == XmlEntityMappings_2_2.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__PARTITIONING: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__REPLICATION_PARTITIONING: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__REPLICATION_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__ROUND_ROBIN_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__PINNED_PARTITIONING: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PINNED_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__RANGE_PARTITIONING: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__RANGE_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__VALUE_PARTITIONING: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__VALUE_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__HASH_PARTITIONING: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__HASH_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__UNION_PARTITIONING: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__UNION_PARTITIONING; + default: return -1; + } + } + if (baseClass == XmlEntityMappings_2_3.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_3Package.XML_ENTITY_MAPPINGS_23__TENANT_DISCRIMINATOR_COLUMNS: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__TENANT_DISCRIMINATOR_COLUMNS; + case EclipseLinkOrmV2_3Package.XML_ENTITY_MAPPINGS_23__NAMED_STORED_FUNCTION_QUERIES: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_STORED_FUNCTION_QUERIES; + case EclipseLinkOrmV2_3Package.XML_ENTITY_MAPPINGS_23__NAMED_PLSQL_STORED_FUNCTION_QUERIES: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_PLSQL_STORED_FUNCTION_QUERIES; + case EclipseLinkOrmV2_3Package.XML_ENTITY_MAPPINGS_23__NAMED_PLSQL_STORED_PROCEDURE_QUERIES: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_PLSQL_STORED_PROCEDURE_QUERIES; + case EclipseLinkOrmV2_3Package.XML_ENTITY_MAPPINGS_23__PLSQL_RECORDS: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PLSQL_RECORDS; + case EclipseLinkOrmV2_3Package.XML_ENTITY_MAPPINGS_23__PLSQL_TABLES: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PLSQL_TABLES; + default: return -1; + } + } + if (baseClass == XmlEntityMappings_2_4.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_4Package.XML_ENTITY_MAPPINGS_24__UUID_GENERATORS: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__UUID_GENERATORS; + default: return -1; + } + } + if (baseClass == XmlConverterContainer.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__CONVERTERS: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__CONVERTERS; + case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__TYPE_CONVERTERS; + case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__OBJECT_TYPE_CONVERTERS; + case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__STRUCT_CONVERTERS; + default: return -1; + } + } + if (baseClass == XmlQueryContainer.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_QUERY_CONTAINER__NAMED_STORED_PROCEDURE_QUERIES: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_STORED_PROCEDURE_QUERIES; + default: return -1; + } + } + return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass); + } + + + // ********** version -> schema location mapping ********** + + public static final HashMap SCHEMA_LOCATIONS = buildSchemaLocations(); + + private static HashMap buildSchemaLocations() { + HashMap map = new HashMap(); + map.put(EclipseLink.SCHEMA_VERSION, EclipseLink.SCHEMA_LOCATION); + map.put(EclipseLink1_1.SCHEMA_VERSION, EclipseLink1_1.SCHEMA_LOCATION); + map.put(EclipseLink1_2.SCHEMA_VERSION, EclipseLink1_2.SCHEMA_LOCATION); + map.put(EclipseLink2_0.SCHEMA_VERSION, EclipseLink2_0.SCHEMA_LOCATION); + map.put(EclipseLink2_1.SCHEMA_VERSION, EclipseLink2_1.SCHEMA_LOCATION); + map.put(EclipseLink2_2.SCHEMA_VERSION, EclipseLink2_2.SCHEMA_LOCATION); + map.put(EclipseLink2_3.SCHEMA_VERSION, EclipseLink2_3.SCHEMA_LOCATION); + map.put(EclipseLink2_4.SCHEMA_VERSION, EclipseLink2_4.SCHEMA_LOCATION); + map.put(EclipseLink2_5.SCHEMA_VERSION, EclipseLink2_5.SCHEMA_LOCATION); + return map; + } + + @Override + protected String getNamespace() { + return EclipseLink.SCHEMA_NAMESPACE; + } + + @Override + protected HashMap schemaLocations() { + return SCHEMA_LOCATIONS; + } + + + // ********** content/resource type ********** + + /** + * The content type for eclipselink-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 attributes; + + /** + * + * + * @generated + */ + protected XmlFetchGroup() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_FETCH_GROUP; + } + + /** + * 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#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 getAttributes() + { + if (attributes == null) + { + attributes = new EObjectContainmentEList(XmlFetchAttribute.class, this, EclipseLinkOrmPackage.XML_FETCH_GROUP__ATTRIBUTES); + } + return attributes; + } + + /** + * Returns the value of the 'Load' attribute. + * + *

+ * 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)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 properties; + + /** + * The default value of the '{@link #getAttributeType() Attribute Type}' attribute. + * + * + * @see #getAttributeType() + * @generated + * @ordered + */ + protected static final String ATTRIBUTE_TYPE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getAttributeType() Attribute Type}' attribute. + * + * + * @see #getAttributeType() + * @generated + * @ordered + */ + protected String attributeType = ATTRIBUTE_TYPE_EDEFAULT; + + /** + * The default value of the '{@link #getMutable() Mutable}' attribute. + * + * + * @see #getMutable() + * @generated + * @ordered + */ + protected static final Boolean MUTABLE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getMutable() Mutable}' attribute. + * + * + * @see #getMutable() + * @generated + * @ordered + */ + protected Boolean mutable = MUTABLE_EDEFAULT; + + /** + * The default value of the '{@link #getConvert() Convert}' attribute. + * + * + * @see #getConvert() + * @generated + * @ordered + */ + protected static final String CONVERT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getConvert() Convert}' attribute. + * + * + * @see #getConvert() + * @generated + * @ordered + */ + protected String convert = CONVERT_EDEFAULT; + + /** + * The cached value of the '{@link #getConverters() Converters}' containment reference list. + * + * + * @see #getConverters() + * @generated + * @ordered + */ + protected EList converters; + + /** + * The cached value of the '{@link #getTypeConverters() Type Converters}' containment reference list. + * + * + * @see #getTypeConverters() + * @generated + * @ordered + */ + protected EList typeConverters; + + /** + * The cached value of the '{@link #getObjectTypeConverters() Object Type Converters}' containment reference list. + * + * + * @see #getObjectTypeConverters() + * @generated + * @ordered + */ + protected EList objectTypeConverters; + + /** + * The cached value of the '{@link #getStructConverters() Struct Converters}' containment reference list. + * + * + * @see #getStructConverters() + * @generated + * @ordered + */ + protected EList structConverters; + + /** + * + * + * @generated + */ + protected XmlId() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_ID; + } + + /** + * 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.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 getConverters() + { + if (converters == null) + { + converters = new EObjectContainmentEList(XmlConverter.class, this, EclipseLinkOrmPackage.XML_ID__CONVERTERS); + } + return converters; + } + + /** + * Returns the value of the 'Type Converters' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter}. + * + *

+ * 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 getTypeConverters() + { + if (typeConverters == null) + { + typeConverters = new EObjectContainmentEList(XmlTypeConverter.class, this, EclipseLinkOrmPackage.XML_ID__TYPE_CONVERTERS); + } + return typeConverters; + } + + /** + * Returns the value of the 'Object Type Converters' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter}. + * + *

+ * 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 getObjectTypeConverters() + { + if (objectTypeConverters == null) + { + objectTypeConverters = new EObjectContainmentEList(XmlObjectTypeConverter.class, this, EclipseLinkOrmPackage.XML_ID__OBJECT_TYPE_CONVERTERS); + } + return objectTypeConverters; + } + + /** + * Returns the value of the 'Struct Converters' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructConverter}. + * + *

+ * 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 getStructConverters() + { + if (structConverters == null) + { + structConverters = new EObjectContainmentEList(XmlStructConverter.class, this, EclipseLinkOrmPackage.XML_ID__STRUCT_CONVERTERS); + } + return structConverters; + } + + /** + * 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_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 getProperties() + { + if (properties == null) + { + properties = new EObjectContainmentEList(XmlProperty.class, this, EclipseLinkOrmPackage.XML_ID__PROPERTIES); + } + return properties; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ID__INDEX: + return basicSetIndex(null, msgs); + case EclipseLinkOrmPackage.XML_ID__UUID_GENERATOR: + return basicSetUuidGenerator(null, msgs); + case EclipseLinkOrmPackage.XML_ID__FIELD: + return basicSetField(null, msgs); + case EclipseLinkOrmPackage.XML_ID__CACHE_INDEX: + return basicSetCacheIndex(null, msgs); + case EclipseLinkOrmPackage.XML_ID__ACCESS_METHODS: + return basicSetAccessMethods(null, msgs); + case EclipseLinkOrmPackage.XML_ID__PROPERTIES: + return ((InternalEList)getProperties()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ID__CONVERTERS: + return ((InternalEList)getConverters()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ID__TYPE_CONVERTERS: + return ((InternalEList)getTypeConverters()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ID__OBJECT_TYPE_CONVERTERS: + return ((InternalEList)getObjectTypeConverters()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ID__STRUCT_CONVERTERS: + return ((InternalEList)getStructConverters()).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_ID__INDEX: + return getIndex(); + case EclipseLinkOrmPackage.XML_ID__UUID_GENERATOR: + return getUuidGenerator(); + case EclipseLinkOrmPackage.XML_ID__FIELD: + return getField(); + case EclipseLinkOrmPackage.XML_ID__CACHE_INDEX: + return getCacheIndex(); + case EclipseLinkOrmPackage.XML_ID__ACCESS_METHODS: + return getAccessMethods(); + case EclipseLinkOrmPackage.XML_ID__PROPERTIES: + return getProperties(); + case EclipseLinkOrmPackage.XML_ID__ATTRIBUTE_TYPE: + return getAttributeType(); + case EclipseLinkOrmPackage.XML_ID__MUTABLE: + return getMutable(); + case EclipseLinkOrmPackage.XML_ID__CONVERT: + return getConvert(); + case EclipseLinkOrmPackage.XML_ID__CONVERTERS: + return getConverters(); + case EclipseLinkOrmPackage.XML_ID__TYPE_CONVERTERS: + return getTypeConverters(); + case EclipseLinkOrmPackage.XML_ID__OBJECT_TYPE_CONVERTERS: + return getObjectTypeConverters(); + case EclipseLinkOrmPackage.XML_ID__STRUCT_CONVERTERS: + return getStructConverters(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ID__INDEX: + setIndex((XmlIndex_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_ID__UUID_GENERATOR: + setUuidGenerator((XmlUuidGenerator_2_4)newValue); + return; + case EclipseLinkOrmPackage.XML_ID__FIELD: + setField((XmlField_2_4)newValue); + return; + case EclipseLinkOrmPackage.XML_ID__CACHE_INDEX: + setCacheIndex((XmlCacheIndex_2_4)newValue); + return; + case EclipseLinkOrmPackage.XML_ID__ACCESS_METHODS: + setAccessMethods((XmlAccessMethods)newValue); + return; + case EclipseLinkOrmPackage.XML_ID__PROPERTIES: + getProperties().clear(); + getProperties().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ID__ATTRIBUTE_TYPE: + setAttributeType((String)newValue); + return; + case EclipseLinkOrmPackage.XML_ID__MUTABLE: + setMutable((Boolean)newValue); + return; + case EclipseLinkOrmPackage.XML_ID__CONVERT: + setConvert((String)newValue); + return; + case EclipseLinkOrmPackage.XML_ID__CONVERTERS: + getConverters().clear(); + getConverters().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ID__TYPE_CONVERTERS: + getTypeConverters().clear(); + getTypeConverters().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ID__OBJECT_TYPE_CONVERTERS: + getObjectTypeConverters().clear(); + getObjectTypeConverters().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ID__STRUCT_CONVERTERS: + getStructConverters().clear(); + getStructConverters().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ID__INDEX: + setIndex((XmlIndex_2_2)null); + return; + case EclipseLinkOrmPackage.XML_ID__UUID_GENERATOR: + setUuidGenerator((XmlUuidGenerator_2_4)null); + return; + case EclipseLinkOrmPackage.XML_ID__FIELD: + setField((XmlField_2_4)null); + return; + case EclipseLinkOrmPackage.XML_ID__CACHE_INDEX: + setCacheIndex((XmlCacheIndex_2_4)null); + return; + case EclipseLinkOrmPackage.XML_ID__ACCESS_METHODS: + setAccessMethods((XmlAccessMethods)null); + return; + case EclipseLinkOrmPackage.XML_ID__PROPERTIES: + getProperties().clear(); + return; + case EclipseLinkOrmPackage.XML_ID__ATTRIBUTE_TYPE: + setAttributeType(ATTRIBUTE_TYPE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_ID__MUTABLE: + setMutable(MUTABLE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_ID__CONVERT: + setConvert(CONVERT_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_ID__CONVERTERS: + getConverters().clear(); + return; + case EclipseLinkOrmPackage.XML_ID__TYPE_CONVERTERS: + getTypeConverters().clear(); + return; + case EclipseLinkOrmPackage.XML_ID__OBJECT_TYPE_CONVERTERS: + getObjectTypeConverters().clear(); + return; + case EclipseLinkOrmPackage.XML_ID__STRUCT_CONVERTERS: + getStructConverters().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ID__INDEX: + return index != null; + case EclipseLinkOrmPackage.XML_ID__UUID_GENERATOR: + return uuidGenerator != null; + case EclipseLinkOrmPackage.XML_ID__FIELD: + return field != null; + case EclipseLinkOrmPackage.XML_ID__CACHE_INDEX: + return cacheIndex != null; + case EclipseLinkOrmPackage.XML_ID__ACCESS_METHODS: + return accessMethods != null; + case EclipseLinkOrmPackage.XML_ID__PROPERTIES: + return properties != null && !properties.isEmpty(); + case EclipseLinkOrmPackage.XML_ID__ATTRIBUTE_TYPE: + return ATTRIBUTE_TYPE_EDEFAULT == null ? attributeType != null : !ATTRIBUTE_TYPE_EDEFAULT.equals(attributeType); + case EclipseLinkOrmPackage.XML_ID__MUTABLE: + return MUTABLE_EDEFAULT == null ? mutable != null : !MUTABLE_EDEFAULT.equals(mutable); + case EclipseLinkOrmPackage.XML_ID__CONVERT: + return CONVERT_EDEFAULT == null ? convert != null : !CONVERT_EDEFAULT.equals(convert); + case EclipseLinkOrmPackage.XML_ID__CONVERTERS: + return converters != null && !converters.isEmpty(); + case EclipseLinkOrmPackage.XML_ID__TYPE_CONVERTERS: + return typeConverters != null && !typeConverters.isEmpty(); + case EclipseLinkOrmPackage.XML_ID__OBJECT_TYPE_CONVERTERS: + return objectTypeConverters != null && !objectTypeConverters.isEmpty(); + case EclipseLinkOrmPackage.XML_ID__STRUCT_CONVERTERS: + return structConverters != null && !structConverters.isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public int eBaseStructuralFeatureID(int derivedFeatureID, Class baseClass) + { + if (baseClass == XmlId_2_2.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ID__INDEX: return EclipseLinkOrmV2_2Package.XML_ID_22__INDEX; + default: return -1; + } + } + if (baseClass == XmlGeneratorContainer2_4.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ID__UUID_GENERATOR: return EclipseLinkOrmV2_4Package.XML_GENERATOR_CONTAINER2_4__UUID_GENERATOR; + default: return -1; + } + } + if (baseClass == XmlId_2_4.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ID__FIELD: return EclipseLinkOrmV2_4Package.XML_ID_24__FIELD; + case EclipseLinkOrmPackage.XML_ID__CACHE_INDEX: return EclipseLinkOrmV2_4Package.XML_ID_24__CACHE_INDEX; + default: return -1; + } + } + if (baseClass == XmlAccessMethodsHolder.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ID__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS; + default: return -1; + } + } + if (baseClass == XmlPropertyContainer.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ID__PROPERTIES: return EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES; + default: return -1; + } + } + if (baseClass == XmlAttributeMapping.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ID__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE; + default: return -1; + } + } + if (baseClass == XmlMutable.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ID__MUTABLE: return EclipseLinkOrmPackage.XML_MUTABLE__MUTABLE; + default: return -1; + } + } + if (baseClass == XmlConvertibleMapping.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ID__CONVERT: return EclipseLinkOrmPackage.XML_CONVERTIBLE_MAPPING__CONVERT; + default: return -1; + } + } + if (baseClass == XmlConverterContainer.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ID__CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__CONVERTERS; + case EclipseLinkOrmPackage.XML_ID__TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__TYPE_CONVERTERS; + case EclipseLinkOrmPackage.XML_ID__OBJECT_TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS; + case EclipseLinkOrmPackage.XML_ID__STRUCT_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS; + default: return -1; + } + } + return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); + } + + /** + * + * + * @generated + */ + @Override + public int eDerivedStructuralFeatureID(int baseFeatureID, Class baseClass) + { + if (baseClass == XmlId_2_2.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_2Package.XML_ID_22__INDEX: return EclipseLinkOrmPackage.XML_ID__INDEX; + default: return -1; + } + } + if (baseClass == XmlGeneratorContainer2_4.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_4Package.XML_GENERATOR_CONTAINER2_4__UUID_GENERATOR: return EclipseLinkOrmPackage.XML_ID__UUID_GENERATOR; + default: return -1; + } + } + if (baseClass == XmlId_2_4.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_4Package.XML_ID_24__FIELD: return EclipseLinkOrmPackage.XML_ID__FIELD; + case EclipseLinkOrmV2_4Package.XML_ID_24__CACHE_INDEX: return EclipseLinkOrmPackage.XML_ID__CACHE_INDEX; + default: return -1; + } + } + if (baseClass == XmlAccessMethodsHolder.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ID__ACCESS_METHODS; + default: return -1; + } + } + if (baseClass == XmlPropertyContainer.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES: return EclipseLinkOrmPackage.XML_ID__PROPERTIES; + default: return -1; + } + } + if (baseClass == XmlAttributeMapping.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_ID__ATTRIBUTE_TYPE; + default: return -1; + } + } + if (baseClass == XmlMutable.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_MUTABLE__MUTABLE: return EclipseLinkOrmPackage.XML_ID__MUTABLE; + default: return -1; + } + } + if (baseClass == XmlConvertibleMapping.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_CONVERTIBLE_MAPPING__CONVERT: return EclipseLinkOrmPackage.XML_ID__CONVERT; + default: return -1; + } + } + if (baseClass == XmlConverterContainer.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__CONVERTERS: return EclipseLinkOrmPackage.XML_ID__CONVERTERS; + case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_ID__TYPE_CONVERTERS; + case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_ID__OBJECT_TYPE_CONVERTERS; + case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS: return EclipseLinkOrmPackage.XML_ID__STRUCT_CONVERTERS; + 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(", mutable: "); + result.append(mutable); + result.append(", convert: "); + result.append(convert); + result.append(')'); + return result.toString(); + } + + public TextRange getMutableTextRange() { + return getAttributeTextRange(EclipseLink.MUTABLE); + } + + 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.getXmlId(), + buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildNameTranslator(), + buildAccessTranslator(), + buildMutableTranslator(), + buildAttributeTypeTranslator(), + buildColumnTranslator(), + buildFieldTranslator(), + buildIndexTranslator(), + buildCacheIndexTranslator(), + buildGeneratedValueTranslator(), + buildTemporalTranslator(), + buildEnumeratedTranslator(), + buildConvertTranslator(), + buildConverterTranslator(), + buildTypeConverterTranslator(), + buildObjectTypeConverterTranslator(), + buildStructConverterTranslator(), + buildTableGeneratorTranslator(), + buildSequenceGeneratorTranslator(), + buildUuidGeneratorTranslator(), + buildPropertyTranslator(), + buildAccessMethodsTranslator() + }; + } + + protected static Translator buildMutableTranslator() { + return new Translator(EclipseLink.MUTABLE, EclipseLinkOrmPackage.eINSTANCE.getXmlMutable_Mutable(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildIndexTranslator() { + return XmlIndex.buildTranslator(EclipseLink2_2.INDEX, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlId_2_2_Index()); + } + + protected static Translator buildCacheIndexTranslator() { + return XmlCacheIndex.buildTranslator(EclipseLink2_4.CACHE_INDEX, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlId_2_4_CacheIndex()); + } + + 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 buildAttributeTypeTranslator() { + return new Translator(EclipseLink2_1.ATTRIBUTE_TYPE, EclipseLinkOrmPackage.eINSTANCE.getXmlAttributeMapping_AttributeType(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildEnumeratedTranslator() { + return new Translator(JPA.ENUMERATED, OrmPackage.eINSTANCE.getXmlConvertibleMapping_Enumerated()); + } + + protected static Translator buildTableGeneratorTranslator() { + return XmlTableGenerator.buildTranslator(JPA.TABLE_GENERATOR, OrmPackage.eINSTANCE.getXmlGeneratorContainer_TableGenerator()); + } + + protected static Translator buildFieldTranslator() { + return XmlField.buildTranslator(EclipseLink2_4.FIELD, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlId_2_4_Field()); + } + + protected static Translator buildUuidGeneratorTranslator() { + return XmlUuidGenerator.buildTranslator(EclipseLink2_4.UUID_GENERATOR, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlGeneratorContainer2_4_UuidGenerator()); + } + + + // *********** content assist ************ + + protected TextRange getConvertCodeAssistTextRange() { + return getElementCodeAssistTextRange(EclipseLink.CONVERT); + } + + public boolean convertTouches(int pos) { + TextRange textRange = this.getConvertCodeAssistTextRange(); + return (textRange != null) && (textRange.touches(pos)); + } + + // ******** 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/XmlIndex.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlIndex.java new file mode 100644 index 0000000000..8bd9c1cbd4 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlIndex.java @@ -0,0 +1,563 @@ +/******************************************************************************* + * 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.util.EList; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.util.EDataTypeEList; +import org.eclipse.jpt.common.core.internal.utility.translators.BooleanTranslator; +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.XmlIndex_2_2; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml Index'. + * + * 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#getXmlIndex() + * @model kind="class" + * @generated + */ +public class XmlIndex extends EBaseObjectImpl implements XmlIndex_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; + + /** + * The default value of the '{@link #getSchema() Schema}' attribute. + * + * + * @see #getSchema() + * @generated + * @ordered + */ + protected static final String SCHEMA_EDEFAULT = null; + + /** + * The cached value of the '{@link #getSchema() Schema}' attribute. + * + * + * @see #getSchema() + * @generated + * @ordered + */ + protected String schema = SCHEMA_EDEFAULT; + + /** + * The default value of the '{@link #getCatalog() Catalog}' attribute. + * + * + * @see #getCatalog() + * @generated + * @ordered + */ + protected static final String CATALOG_EDEFAULT = null; + + /** + * The cached value of the '{@link #getCatalog() Catalog}' attribute. + * + * + * @see #getCatalog() + * @generated + * @ordered + */ + protected String catalog = CATALOG_EDEFAULT; + + /** + * The default value of the '{@link #getTable() Table}' attribute. + * + * + * @see #getTable() + * @generated + * @ordered + */ + protected static final String TABLE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTable() Table}' attribute. + * + * + * @see #getTable() + * @generated + * @ordered + */ + protected String table = TABLE_EDEFAULT; + + /** + * The default value of the '{@link #getUnique() Unique}' attribute. + * + * + * @see #getUnique() + * @generated + * @ordered + */ + protected static final Boolean UNIQUE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getUnique() Unique}' attribute. + * + * + * @see #getUnique() + * @generated + * @ordered + */ + protected Boolean unique = UNIQUE_EDEFAULT; + + /** + * The cached value of the '{@link #getColumnNames() Column Names}' attribute list. + * + * + * @see #getColumnNames() + * @generated + * @ordered + */ + protected EList columnNames; + + /** + * + * + * @generated + */ + protected XmlIndex() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_INDEX; + } + + /** + * 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#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 getColumnNames() + { + if (columnNames == null) + { + columnNames = new EDataTypeEList(String.class, this, EclipseLinkOrmPackage.XML_INDEX__COLUMN_NAMES); + } + return columnNames; + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_INDEX__NAME: + return getName(); + case EclipseLinkOrmPackage.XML_INDEX__SCHEMA: + return getSchema(); + case EclipseLinkOrmPackage.XML_INDEX__CATALOG: + return getCatalog(); + case EclipseLinkOrmPackage.XML_INDEX__TABLE: + return getTable(); + case EclipseLinkOrmPackage.XML_INDEX__UNIQUE: + return getUnique(); + case EclipseLinkOrmPackage.XML_INDEX__COLUMN_NAMES: + return getColumnNames(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_INDEX__NAME: + setName((String)newValue); + return; + case EclipseLinkOrmPackage.XML_INDEX__SCHEMA: + setSchema((String)newValue); + return; + case EclipseLinkOrmPackage.XML_INDEX__CATALOG: + setCatalog((String)newValue); + return; + case EclipseLinkOrmPackage.XML_INDEX__TABLE: + setTable((String)newValue); + return; + case EclipseLinkOrmPackage.XML_INDEX__UNIQUE: + setUnique((Boolean)newValue); + return; + case EclipseLinkOrmPackage.XML_INDEX__COLUMN_NAMES: + getColumnNames().clear(); + getColumnNames().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_INDEX__NAME: + setName(NAME_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_INDEX__SCHEMA: + setSchema(SCHEMA_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_INDEX__CATALOG: + setCatalog(CATALOG_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_INDEX__TABLE: + setTable(TABLE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_INDEX__UNIQUE: + setUnique(UNIQUE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_INDEX__COLUMN_NAMES: + getColumnNames().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_INDEX__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case EclipseLinkOrmPackage.XML_INDEX__SCHEMA: + return SCHEMA_EDEFAULT == null ? schema != null : !SCHEMA_EDEFAULT.equals(schema); + case EclipseLinkOrmPackage.XML_INDEX__CATALOG: + return CATALOG_EDEFAULT == null ? catalog != null : !CATALOG_EDEFAULT.equals(catalog); + case EclipseLinkOrmPackage.XML_INDEX__TABLE: + return TABLE_EDEFAULT == null ? table != null : !TABLE_EDEFAULT.equals(table); + case EclipseLinkOrmPackage.XML_INDEX__UNIQUE: + return UNIQUE_EDEFAULT == null ? unique != null : !UNIQUE_EDEFAULT.equals(unique); + case EclipseLinkOrmPackage.XML_INDEX__COLUMN_NAMES: + return columnNames != null && !columnNames.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(", schema: "); + result.append(schema); + result.append(", catalog: "); + result.append(catalog); + result.append(", table: "); + result.append(table); + result.append(", unique: "); + result.append(unique); + result.append(", columnNames: "); + result.append(columnNames); + result.append(')'); + return result.toString(); + } + + + // ********** translators ********** + + public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) { + return new SimpleTranslator( + elementName, + structuralFeature, + EclipseLinkOrmPackage.eINSTANCE.getXmlIndex(), + buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildColumnNameTranslator(), + buildNameTranslator(), + buildCatalogTranslator(), + buildSchemaTranslator(), + buildTableTranslator(), + buildUniqueTranslator() + }; + } + + protected static Translator buildColumnNameTranslator() { + return new Translator(EclipseLink2_2.INDEX__COLUMN_NAME, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlIndex_2_2_ColumnNames()); + } + protected static Translator buildNameTranslator() { + return new Translator(EclipseLink2_2.INDEX__NAME, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlIndex_2_2_Name(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildCatalogTranslator() { + return new Translator(EclipseLink2_2.INDEX__CATALOG, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlIndex_2_2_Catalog(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildSchemaTranslator() { + return new Translator(EclipseLink2_2.INDEX__SCHEMA, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlIndex_2_2_Schema(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildTableTranslator() { + return new Translator(EclipseLink2_2.INDEX__TABLE, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlIndex_2_2_Table(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildUniqueTranslator() { + return new BooleanTranslator(EclipseLink2_2.INDEX__UNIQUE, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlIndex_2_2_Unique(), Translator.DOM_ATTRIBUTE); + } +} // XmlIndex diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlInstantiationCopyPolicy.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlInstantiationCopyPolicy.java new file mode 100644 index 0000000000..5a1597012e --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlInstantiationCopyPolicy.java @@ -0,0 +1,74 @@ +/******************************************************************************* + * 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.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; +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 Instantiation 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 + * + * + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlInstantiationCopyPolicy() + * @model kind="class" + * @extends EBaseObject + * @generated + */ +public class XmlInstantiationCopyPolicy extends EBaseObjectImpl implements EBaseObject +{ + /** + * + * + * @generated + */ + protected XmlInstantiationCopyPolicy() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_INSTANTIATION_COPY_POLICY; + } + + // ********** translators ********** + + public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) { + return new SimpleTranslator(elementName, structuralFeature, buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] {}; + } + +} // XmlInstantiationPolicy diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlJoinFetch.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlJoinFetch.java new file mode 100644 index 0000000000..9135955dd6 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlJoinFetch.java @@ -0,0 +1,79 @@ +/******************************************************************************* + * 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; +import org.eclipse.jpt.common.core.utility.TextRange; + +/** + * + * + * A representation of the model object 'Xml Join 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.1 + * @since 2.1 + * + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinFetch#getJoinFetch Join Fetch}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlJoinFetch() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlJoinFetch extends EBaseObject +{ + /** + * 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 + */ + 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 VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the 'Xml Join Fetch Type' literal with the specified literal value. + * + * + * @generated + */ + public static XmlJoinFetchType get(String literal) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + XmlJoinFetchType result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Xml Join Fetch Type' literal with the specified name. + * + * + * @generated + */ + public static XmlJoinFetchType getByName(String name) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + XmlJoinFetchType result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Xml Join Fetch Type' literal with the specified integer value. + * + * + * @generated + */ + public static XmlJoinFetchType get(int value) + { + switch (value) + { + case INNER_VALUE: return INNER; + case OUTER_VALUE: return OUTER; + } + return null; + } + + /** + * + * + * @generated + */ + private final int value; + + /** + * + * + * @generated + */ + private final String name; + + /** + * + * + * @generated + */ + private final String literal; + + /** + * Only this class can construct instances. + * + * + * @generated + */ + private XmlJoinFetchType(int value, String name, String literal) + { + this.value = value; + this.name = name; + this.literal = literal; + } + + /** + * + * + * @generated + */ + public int getValue() + { + return value; + } + + /** + * + * + * @generated + */ + public String getName() + { + return name; + } + + /** + * + * + * @generated + */ + public String getLiteral() + { + return literal; + } + + /** + * Returns the literal value of the enumerator, which is its string representation. + * + * + * @generated + */ + @Override + public String toString() + { + return literal; + } + +} //XmlJoinFetchType diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlJoinField.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlJoinField.java new file mode 100644 index 0000000000..c1904bf79c --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlJoinField.java @@ -0,0 +1,291 @@ +/******************************************************************************* + * 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.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.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml Join 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#getXmlJoinField() + * @model kind="class" + * @generated + */ +public class XmlJoinField extends EBaseObjectImpl implements XmlJoinField_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; + + /** + * The default value of the '{@link #getReferencedFieldName() Referenced Field Name}' attribute. + * + * + * @see #getReferencedFieldName() + * @generated + * @ordered + */ + protected static final String REFERENCED_FIELD_NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getReferencedFieldName() Referenced Field Name}' attribute. + * + * + * @see #getReferencedFieldName() + * @generated + * @ordered + */ + protected String referencedFieldName = REFERENCED_FIELD_NAME_EDEFAULT; + + /** + * + * + * @generated + */ + protected XmlJoinField() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_JOIN_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#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 mapKeyAssociationOverrides; + + /** + * The cached value of the '{@link #getConverters() Converters}' containment reference list. + * + * + * @see #getConverters() + * @generated + * @ordered + */ + protected EList converters; + + /** + * The cached value of the '{@link #getTypeConverters() Type Converters}' containment reference list. + * + * + * @see #getTypeConverters() + * @generated + * @ordered + */ + protected EList typeConverters; + + /** + * The cached value of the '{@link #getObjectTypeConverters() Object Type Converters}' containment reference list. + * + * + * @see #getObjectTypeConverters() + * @generated + * @ordered + */ + protected EList objectTypeConverters; + + /** + * The cached value of the '{@link #getStructConverters() Struct Converters}' containment reference list. + * + * + * @see #getStructConverters() + * @generated + * @ordered + */ + protected EList structConverters; + + /** + * The default value of the '{@link #getMapKeyConvert() Map Key Convert}' attribute. + * + * + * @see #getMapKeyConvert() + * @generated + * @ordered + */ + protected static final String MAP_KEY_CONVERT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getMapKeyConvert() Map Key Convert}' attribute. + * + * + * @see #getMapKeyConvert() + * @generated + * @ordered + */ + protected String mapKeyConvert = MAP_KEY_CONVERT_EDEFAULT; + + /** + * The cached value of the '{@link #getBatchFetch() Batch Fetch}' containment reference. + * + * + * @see #getBatchFetch() + * @generated + * @ordered + */ + protected XmlBatchFetch batchFetch; + + /** + * The cached value of the '{@link #getPartitioning() Partitioning}' containment reference. + * + * + * @see #getPartitioning() + * @generated + * @ordered + */ + protected XmlPartitioning_2_2 partitioning; + + /** + * The cached value of the '{@link #getReplicationPartitioning() Replication Partitioning}' containment reference. + * + * + * @see #getReplicationPartitioning() + * @generated + * @ordered + */ + protected XmlReplicationPartitioning_2_2 replicationPartitioning; + + /** + * The cached value of the '{@link #getRoundRobinPartitioning() Round Robin Partitioning}' containment reference. + * + * + * @see #getRoundRobinPartitioning() + * @generated + * @ordered + */ + protected XmlRoundRobinPartitioning_2_2 roundRobinPartitioning; + + /** + * The cached value of the '{@link #getPinnedPartitioning() Pinned Partitioning}' containment reference. + * + * + * @see #getPinnedPartitioning() + * @generated + * @ordered + */ + protected XmlPinnedPartitioning_2_2 pinnedPartitioning; + + /** + * The cached value of the '{@link #getRangePartitioning() Range Partitioning}' containment reference. + * + * + * @see #getRangePartitioning() + * @generated + * @ordered + */ + protected XmlRangePartitioning_2_2 rangePartitioning; + + /** + * The cached value of the '{@link #getValuePartitioning() Value Partitioning}' containment reference. + * + * + * @see #getValuePartitioning() + * @generated + * @ordered + */ + protected XmlValuePartitioning_2_2 valuePartitioning; + + /** + * The cached value of the '{@link #getHashPartitioning() Hash Partitioning}' containment reference. + * + * + * @see #getHashPartitioning() + * @generated + * @ordered + */ + protected XmlHashPartitioning_2_2 hashPartitioning; + + /** + * The cached value of the '{@link #getUnionPartitioning() Union Partitioning}' containment reference. + * + * + * @see #getUnionPartitioning() + * @generated + * @ordered + */ + protected XmlUnionPartitioning_2_2 unionPartitioning; + + /** + * The default value of the '{@link #getPartitioned() Partitioned}' attribute. + * + * + * @see #getPartitioned() + * @generated + * @ordered + */ + protected static final String PARTITIONED_EDEFAULT = null; + + /** + * The cached value of the '{@link #getPartitioned() Partitioned}' attribute. + * + * + * @see #getPartitioned() + * @generated + * @ordered + */ + protected String partitioned = PARTITIONED_EDEFAULT; + + /** + * The default value of the '{@link #getCascadeOnDelete() Cascade On Delete}' attribute. + * + * + * @see #getCascadeOnDelete() + * @generated + * @ordered + */ + protected static final Boolean CASCADE_ON_DELETE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getCascadeOnDelete() Cascade On Delete}' attribute. + * + * + * @see #getCascadeOnDelete() + * @generated + * @ordered + */ + protected Boolean cascadeOnDelete = CASCADE_ON_DELETE_EDEFAULT; + + /** + * The default value of the '{@link #isNonCacheable() Non Cacheable}' attribute. + * + * + * @see #isNonCacheable() + * @generated + * @ordered + */ + protected static final boolean NON_CACHEABLE_EDEFAULT = false; + + /** + * The cached value of the '{@link #isNonCacheable() Non Cacheable}' attribute. + * + * + * @see #isNonCacheable() + * @generated + * @ordered + */ + protected boolean nonCacheable = NON_CACHEABLE_EDEFAULT; + + /** + * The cached value of the '{@link #getJoinFields() Join Fields}' containment reference list. + * + * + * @see #getJoinFields() + * @generated + * @ordered + */ + protected EList joinFields; + + /** + * 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 properties; + + /** + * The default value of the '{@link #getAttributeType() Attribute Type}' attribute. + * + * + * @see #getAttributeType() + * @generated + * @ordered + */ + protected static final String ATTRIBUTE_TYPE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getAttributeType() Attribute Type}' attribute. + * + * + * @see #getAttributeType() + * @generated + * @ordered + */ + protected String attributeType = ATTRIBUTE_TYPE_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 XmlJoinFetchType JOIN_FETCH_EDEFAULT = null; + + /** + * The cached value of the '{@link #getJoinFetch() Join Fetch}' attribute. + * + * + * @see #getJoinFetch() + * @generated + * @ordered + */ + protected XmlJoinFetchType joinFetch = JOIN_FETCH_EDEFAULT; + + /** + * + * + * @generated + */ + protected XmlManyToMany() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_MANY_TO_MANY; + } + + /** + * 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.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 getMapKeyAssociationOverrides() + { + if (mapKeyAssociationOverrides == null) + { + mapKeyAssociationOverrides = new EObjectContainmentEList(XmlAssociationOverride.class, this, EclipseLinkOrmPackage.XML_MANY_TO_MANY__MAP_KEY_ASSOCIATION_OVERRIDES); + } + return mapKeyAssociationOverrides; + } + + /** + * Returns the value of the 'Map Key Convert' attribute. + * + *

+ * 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 getConverters() + { + if (converters == null) + { + converters = new EObjectContainmentEList(XmlConverter.class, this, EclipseLinkOrmPackage.XML_MANY_TO_MANY__CONVERTERS); + } + return converters; + } + + /** + * Returns the value of the 'Type Converters' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter}. + * + *

+ * 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 getTypeConverters() + { + if (typeConverters == null) + { + typeConverters = new EObjectContainmentEList(XmlTypeConverter.class, this, EclipseLinkOrmPackage.XML_MANY_TO_MANY__TYPE_CONVERTERS); + } + return typeConverters; + } + + /** + * Returns the value of the 'Object Type Converters' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter}. + * + *

+ * 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 getObjectTypeConverters() + { + if (objectTypeConverters == null) + { + objectTypeConverters = new EObjectContainmentEList(XmlObjectTypeConverter.class, this, EclipseLinkOrmPackage.XML_MANY_TO_MANY__OBJECT_TYPE_CONVERTERS); + } + return objectTypeConverters; + } + + /** + * Returns the value of the 'Struct Converters' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructConverter}. + * + *

+ * 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 getStructConverters() + { + if (structConverters == null) + { + structConverters = new EObjectContainmentEList(XmlStructConverter.class, this, EclipseLinkOrmPackage.XML_MANY_TO_MANY__STRUCT_CONVERTERS); + } + return structConverters; + } + + /** + * 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_MANY_TO_MANY__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.XmlManyToMany#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_MANY_TO_MANY__BATCH_FETCH, null, msgs); + if (newBatchFetch != null) + msgs = ((InternalEObject)newBatchFetch).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_MANY__BATCH_FETCH, null, msgs); + msgs = basicSetBatchFetch(newBatchFetch, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_MANY__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.XmlManyToMany#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_MANY_TO_MANY__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_MANY_TO_MANY__PARTITIONING, oldPartitioning, newPartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToMany#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_MANY_TO_MANY__PARTITIONING, null, msgs); + if (newPartitioning != null) + msgs = ((InternalEObject)newPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONING, null, msgs); + msgs = basicSetPartitioning(newPartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONING, newPartitioning, newPartitioning)); + } + + /** + * Returns the value of the '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_MANY_TO_MANY__REPLICATION_PARTITIONING, oldReplicationPartitioning, newReplicationPartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToMany#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_MANY_TO_MANY__REPLICATION_PARTITIONING, null, msgs); + if (newReplicationPartitioning != null) + msgs = ((InternalEObject)newReplicationPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_MANY__REPLICATION_PARTITIONING, null, msgs); + msgs = basicSetReplicationPartitioning(newReplicationPartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_MANY__REPLICATION_PARTITIONING, newReplicationPartitioning, newReplicationPartitioning)); + } + + /** + * Returns the value of the '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_MANY_TO_MANY__ROUND_ROBIN_PARTITIONING, oldRoundRobinPartitioning, newRoundRobinPartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToMany#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_MANY_TO_MANY__ROUND_ROBIN_PARTITIONING, null, msgs); + if (newRoundRobinPartitioning != null) + msgs = ((InternalEObject)newRoundRobinPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_MANY__ROUND_ROBIN_PARTITIONING, null, msgs); + msgs = basicSetRoundRobinPartitioning(newRoundRobinPartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_MANY__ROUND_ROBIN_PARTITIONING, newRoundRobinPartitioning, newRoundRobinPartitioning)); + } + + /** + * Returns the value of the '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_MANY_TO_MANY__PINNED_PARTITIONING, oldPinnedPartitioning, newPinnedPartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToMany#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_MANY_TO_MANY__PINNED_PARTITIONING, null, msgs); + if (newPinnedPartitioning != null) + msgs = ((InternalEObject)newPinnedPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_MANY__PINNED_PARTITIONING, null, msgs); + msgs = basicSetPinnedPartitioning(newPinnedPartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_MANY__PINNED_PARTITIONING, newPinnedPartitioning, newPinnedPartitioning)); + } + + /** + * Returns the value of the '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_MANY_TO_MANY__RANGE_PARTITIONING, oldRangePartitioning, newRangePartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToMany#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_MANY_TO_MANY__RANGE_PARTITIONING, null, msgs); + if (newRangePartitioning != null) + msgs = ((InternalEObject)newRangePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_MANY__RANGE_PARTITIONING, null, msgs); + msgs = basicSetRangePartitioning(newRangePartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_MANY__RANGE_PARTITIONING, newRangePartitioning, newRangePartitioning)); + } + + /** + * Returns the value of the '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_MANY_TO_MANY__VALUE_PARTITIONING, oldValuePartitioning, newValuePartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToMany#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_MANY_TO_MANY__VALUE_PARTITIONING, null, msgs); + if (newValuePartitioning != null) + msgs = ((InternalEObject)newValuePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_MANY__VALUE_PARTITIONING, null, msgs); + msgs = basicSetValuePartitioning(newValuePartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_MANY__VALUE_PARTITIONING, newValuePartitioning, newValuePartitioning)); + } + + /** + * Returns the value of the '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_MANY_TO_MANY__HASH_PARTITIONING, oldHashPartitioning, newHashPartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToMany#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_MANY_TO_MANY__HASH_PARTITIONING, null, msgs); + if (newHashPartitioning != null) + msgs = ((InternalEObject)newHashPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_MANY__HASH_PARTITIONING, null, msgs); + msgs = basicSetHashPartitioning(newHashPartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_MANY__HASH_PARTITIONING, newHashPartitioning, newHashPartitioning)); + } + + /** + * Returns the value of the '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_MANY_TO_MANY__UNION_PARTITIONING, oldUnionPartitioning, newUnionPartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToMany#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_MANY_TO_MANY__UNION_PARTITIONING, null, msgs); + if (newUnionPartitioning != null) + msgs = ((InternalEObject)newUnionPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_MANY__UNION_PARTITIONING, null, msgs); + msgs = basicSetUnionPartitioning(newUnionPartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_MANY__UNION_PARTITIONING, newUnionPartitioning, newUnionPartitioning)); + } + + /** + * Returns the value of the '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.XmlManyToMany#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_MANY_TO_MANY__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#getXmlManyToMany_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.XmlManyToMany#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_MANY_TO_MANY__CASCADE_ON_DELETE, oldCascadeOnDelete, cascadeOnDelete)); + } + + /** + * Returns the value of the 'Non Cacheable' attribute. + * + *

+ * If the meaning of the 'Non Cacheable' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Non Cacheable' attribute. + * @see #setNonCacheable(boolean) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlManyToMany_2_2_NonCacheable() + * @model dataType="org.eclipse.emf.ecore.xml.type.Boolean" + * @generated + */ + public boolean isNonCacheable() + { + return nonCacheable; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToMany#isNonCacheable Non Cacheable}' attribute. + * + * + * @param value the new value of the 'Non Cacheable' attribute. + * @see #isNonCacheable() + * @generated + */ + public void setNonCacheable(boolean newNonCacheable) + { + boolean oldNonCacheable = nonCacheable; + nonCacheable = newNonCacheable; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_MANY__NON_CACHEABLE, oldNonCacheable, nonCacheable)); + } + + /** + * Returns the value of the 'Join Fields' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlJoinField_2_4}. + * + *

+ * If the meaning of the 'Join Fields' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Join Fields' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlManyToMany_2_4_JoinFields() + * @model containment="true" + * @generated + */ + public EList getJoinFields() + { + if (joinFields == null) + { + joinFields = new EObjectContainmentEList(XmlJoinField_2_4.class, this, EclipseLinkOrmPackage.XML_MANY_TO_MANY__JOIN_FIELDS); + } + return joinFields; + } + + /** + * 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_MANY_TO_MANY__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.XmlManyToMany#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_MANY_TO_MANY__ACCESS_METHODS, null, msgs); + if (newAccessMethods != null) + msgs = ((InternalEObject)newAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_MANY__ACCESS_METHODS, null, msgs); + msgs = basicSetAccessMethods(newAccessMethods, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_MANY__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 getProperties() + { + if (properties == null) + { + properties = new EObjectContainmentEList(XmlProperty.class, this, EclipseLinkOrmPackage.XML_MANY_TO_MANY__PROPERTIES); + } + return properties; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__MAP_KEY_ASSOCIATION_OVERRIDES: + return ((InternalEList)getMapKeyAssociationOverrides()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__CONVERTERS: + return ((InternalEList)getConverters()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__TYPE_CONVERTERS: + return ((InternalEList)getTypeConverters()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__OBJECT_TYPE_CONVERTERS: + return ((InternalEList)getObjectTypeConverters()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__STRUCT_CONVERTERS: + return ((InternalEList)getStructConverters()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__BATCH_FETCH: + return basicSetBatchFetch(null, msgs); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONING: + return basicSetPartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__REPLICATION_PARTITIONING: + return basicSetReplicationPartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ROUND_ROBIN_PARTITIONING: + return basicSetRoundRobinPartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PINNED_PARTITIONING: + return basicSetPinnedPartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__RANGE_PARTITIONING: + return basicSetRangePartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__VALUE_PARTITIONING: + return basicSetValuePartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__HASH_PARTITIONING: + return basicSetHashPartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__UNION_PARTITIONING: + return basicSetUnionPartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__JOIN_FIELDS: + return ((InternalEList)getJoinFields()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ACCESS_METHODS: + return basicSetAccessMethods(null, msgs); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__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_MANY_TO_MANY__MAP_KEY_ASSOCIATION_OVERRIDES: + return getMapKeyAssociationOverrides(); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__CONVERTERS: + return getConverters(); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__TYPE_CONVERTERS: + return getTypeConverters(); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__OBJECT_TYPE_CONVERTERS: + return getObjectTypeConverters(); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__STRUCT_CONVERTERS: + return getStructConverters(); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__MAP_KEY_CONVERT: + return getMapKeyConvert(); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__BATCH_FETCH: + return getBatchFetch(); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONING: + return getPartitioning(); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__REPLICATION_PARTITIONING: + return getReplicationPartitioning(); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ROUND_ROBIN_PARTITIONING: + return getRoundRobinPartitioning(); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PINNED_PARTITIONING: + return getPinnedPartitioning(); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__RANGE_PARTITIONING: + return getRangePartitioning(); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__VALUE_PARTITIONING: + return getValuePartitioning(); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__HASH_PARTITIONING: + return getHashPartitioning(); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__UNION_PARTITIONING: + return getUnionPartitioning(); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONED: + return getPartitioned(); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__CASCADE_ON_DELETE: + return getCascadeOnDelete(); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__NON_CACHEABLE: + return isNonCacheable(); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__JOIN_FIELDS: + return getJoinFields(); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ACCESS_METHODS: + return getAccessMethods(); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PROPERTIES: + return getProperties(); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ATTRIBUTE_TYPE: + return getAttributeType(); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__JOIN_FETCH: + return getJoinFetch(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__MAP_KEY_ASSOCIATION_OVERRIDES: + getMapKeyAssociationOverrides().clear(); + getMapKeyAssociationOverrides().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__CONVERTERS: + getConverters().clear(); + getConverters().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__TYPE_CONVERTERS: + getTypeConverters().clear(); + getTypeConverters().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__OBJECT_TYPE_CONVERTERS: + getObjectTypeConverters().clear(); + getObjectTypeConverters().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__STRUCT_CONVERTERS: + getStructConverters().clear(); + getStructConverters().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__MAP_KEY_CONVERT: + setMapKeyConvert((String)newValue); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__BATCH_FETCH: + setBatchFetch((XmlBatchFetch)newValue); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONING: + setPartitioning((XmlPartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__REPLICATION_PARTITIONING: + setReplicationPartitioning((XmlReplicationPartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ROUND_ROBIN_PARTITIONING: + setRoundRobinPartitioning((XmlRoundRobinPartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PINNED_PARTITIONING: + setPinnedPartitioning((XmlPinnedPartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__RANGE_PARTITIONING: + setRangePartitioning((XmlRangePartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__VALUE_PARTITIONING: + setValuePartitioning((XmlValuePartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__HASH_PARTITIONING: + setHashPartitioning((XmlHashPartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__UNION_PARTITIONING: + setUnionPartitioning((XmlUnionPartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONED: + setPartitioned((String)newValue); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__CASCADE_ON_DELETE: + setCascadeOnDelete((Boolean)newValue); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__NON_CACHEABLE: + setNonCacheable((Boolean)newValue); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__JOIN_FIELDS: + getJoinFields().clear(); + getJoinFields().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ACCESS_METHODS: + setAccessMethods((XmlAccessMethods)newValue); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PROPERTIES: + getProperties().clear(); + getProperties().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ATTRIBUTE_TYPE: + setAttributeType((String)newValue); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__JOIN_FETCH: + setJoinFetch((XmlJoinFetchType)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__MAP_KEY_ASSOCIATION_OVERRIDES: + getMapKeyAssociationOverrides().clear(); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__CONVERTERS: + getConverters().clear(); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__TYPE_CONVERTERS: + getTypeConverters().clear(); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__OBJECT_TYPE_CONVERTERS: + getObjectTypeConverters().clear(); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__STRUCT_CONVERTERS: + getStructConverters().clear(); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__MAP_KEY_CONVERT: + setMapKeyConvert(MAP_KEY_CONVERT_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__BATCH_FETCH: + setBatchFetch((XmlBatchFetch)null); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONING: + setPartitioning((XmlPartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__REPLICATION_PARTITIONING: + setReplicationPartitioning((XmlReplicationPartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ROUND_ROBIN_PARTITIONING: + setRoundRobinPartitioning((XmlRoundRobinPartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PINNED_PARTITIONING: + setPinnedPartitioning((XmlPinnedPartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__RANGE_PARTITIONING: + setRangePartitioning((XmlRangePartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__VALUE_PARTITIONING: + setValuePartitioning((XmlValuePartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__HASH_PARTITIONING: + setHashPartitioning((XmlHashPartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__UNION_PARTITIONING: + setUnionPartitioning((XmlUnionPartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONED: + setPartitioned(PARTITIONED_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__CASCADE_ON_DELETE: + setCascadeOnDelete(CASCADE_ON_DELETE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__NON_CACHEABLE: + setNonCacheable(NON_CACHEABLE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__JOIN_FIELDS: + getJoinFields().clear(); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ACCESS_METHODS: + setAccessMethods((XmlAccessMethods)null); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PROPERTIES: + getProperties().clear(); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ATTRIBUTE_TYPE: + setAttributeType(ATTRIBUTE_TYPE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__JOIN_FETCH: + setJoinFetch(JOIN_FETCH_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__MAP_KEY_ASSOCIATION_OVERRIDES: + return mapKeyAssociationOverrides != null && !mapKeyAssociationOverrides.isEmpty(); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__CONVERTERS: + return converters != null && !converters.isEmpty(); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__TYPE_CONVERTERS: + return typeConverters != null && !typeConverters.isEmpty(); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__OBJECT_TYPE_CONVERTERS: + return objectTypeConverters != null && !objectTypeConverters.isEmpty(); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__STRUCT_CONVERTERS: + return structConverters != null && !structConverters.isEmpty(); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__MAP_KEY_CONVERT: + return MAP_KEY_CONVERT_EDEFAULT == null ? mapKeyConvert != null : !MAP_KEY_CONVERT_EDEFAULT.equals(mapKeyConvert); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__BATCH_FETCH: + return batchFetch != null; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONING: + return partitioning != null; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__REPLICATION_PARTITIONING: + return replicationPartitioning != null; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ROUND_ROBIN_PARTITIONING: + return roundRobinPartitioning != null; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PINNED_PARTITIONING: + return pinnedPartitioning != null; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__RANGE_PARTITIONING: + return rangePartitioning != null; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__VALUE_PARTITIONING: + return valuePartitioning != null; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__HASH_PARTITIONING: + return hashPartitioning != null; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__UNION_PARTITIONING: + return unionPartitioning != null; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONED: + return PARTITIONED_EDEFAULT == null ? partitioned != null : !PARTITIONED_EDEFAULT.equals(partitioned); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__CASCADE_ON_DELETE: + return CASCADE_ON_DELETE_EDEFAULT == null ? cascadeOnDelete != null : !CASCADE_ON_DELETE_EDEFAULT.equals(cascadeOnDelete); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__NON_CACHEABLE: + return nonCacheable != NON_CACHEABLE_EDEFAULT; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__JOIN_FIELDS: + return joinFields != null && !joinFields.isEmpty(); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ACCESS_METHODS: + return accessMethods != null; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PROPERTIES: + return properties != null && !properties.isEmpty(); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ATTRIBUTE_TYPE: + return ATTRIBUTE_TYPE_EDEFAULT == null ? attributeType != null : !ATTRIBUTE_TYPE_EDEFAULT.equals(attributeType); + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__JOIN_FETCH: + return joinFetch != JOIN_FETCH_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public int eBaseStructuralFeatureID(int derivedFeatureID, Class baseClass) + { + if (baseClass == XmlMapKeyAssociationOverrideContainer_2_0.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__MAP_KEY_ASSOCIATION_OVERRIDES: return EclipseLinkOrmV2_0Package.XML_MAP_KEY_ASSOCIATION_OVERRIDE_CONTAINER_20__MAP_KEY_ASSOCIATION_OVERRIDES; + default: return -1; + } + } + if (baseClass == XmlConverterContainer.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__CONVERTERS; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__TYPE_CONVERTERS; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__OBJECT_TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__STRUCT_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS; + default: return -1; + } + } + if (baseClass == XmlCollectionMapping_2_0.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__MAP_KEY_CONVERT: return EclipseLinkOrmV2_0Package.XML_COLLECTION_MAPPING_20__MAP_KEY_CONVERT; + default: return -1; + } + } + if (baseClass == XmlManyToMany_2_0.class) + { + switch (derivedFeatureID) + { + default: return -1; + } + } + if (baseClass == XmlBatchFetchHolder.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__BATCH_FETCH: return EclipseLinkOrmPackage.XML_BATCH_FETCH_HOLDER__BATCH_FETCH; + default: return -1; + } + } + if (baseClass == XmlManyToMany_2_1.class) + { + switch (derivedFeatureID) + { + default: return -1; + } + } + if (baseClass == XmlPartitioningGroup_2_2.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONING; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__REPLICATION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PINNED_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__RANGE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__VALUE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__HASH_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__HASH_PARTITIONING; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__UNION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__UNION_PARTITIONING; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONED: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONED; + default: return -1; + } + } + if (baseClass == XmlManyToMany_2_2.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__CASCADE_ON_DELETE: return EclipseLinkOrmV2_2Package.XML_MANY_TO_MANY_22__CASCADE_ON_DELETE; + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__NON_CACHEABLE: return EclipseLinkOrmV2_2Package.XML_MANY_TO_MANY_22__NON_CACHEABLE; + default: return -1; + } + } + if (baseClass == XmlManyToMany_2_4.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__JOIN_FIELDS: return EclipseLinkOrmV2_4Package.XML_MANY_TO_MANY_24__JOIN_FIELDS; + default: return -1; + } + } + if (baseClass == XmlAccessMethodsHolder.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS; + default: return -1; + } + } + if (baseClass == XmlPropertyContainer.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PROPERTIES: return EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES; + default: return -1; + } + } + if (baseClass == XmlAttributeMapping.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE; + default: return -1; + } + } + if (baseClass == XmlJoinFetch.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_MANY_TO_MANY__JOIN_FETCH: return EclipseLinkOrmPackage.XML_JOIN_FETCH__JOIN_FETCH; + default: return -1; + } + } + return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); + } + + /** + * + * + * @generated + */ + @Override + public int eDerivedStructuralFeatureID(int baseFeatureID, Class baseClass) + { + if (baseClass == XmlMapKeyAssociationOverrideContainer_2_0.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_0Package.XML_MAP_KEY_ASSOCIATION_OVERRIDE_CONTAINER_20__MAP_KEY_ASSOCIATION_OVERRIDES: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__MAP_KEY_ASSOCIATION_OVERRIDES; + default: return -1; + } + } + if (baseClass == XmlConverterContainer.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__CONVERTERS: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__CONVERTERS; + case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__TYPE_CONVERTERS; + case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__OBJECT_TYPE_CONVERTERS; + case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__STRUCT_CONVERTERS; + default: return -1; + } + } + if (baseClass == XmlCollectionMapping_2_0.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_0Package.XML_COLLECTION_MAPPING_20__MAP_KEY_CONVERT: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__MAP_KEY_CONVERT; + default: return -1; + } + } + if (baseClass == XmlManyToMany_2_0.class) + { + switch (baseFeatureID) + { + default: return -1; + } + } + if (baseClass == XmlBatchFetchHolder.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_BATCH_FETCH_HOLDER__BATCH_FETCH: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__BATCH_FETCH; + default: return -1; + } + } + if (baseClass == XmlManyToMany_2_1.class) + { + switch (baseFeatureID) + { + default: return -1; + } + } + if (baseClass == XmlPartitioningGroup_2_2.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__REPLICATION_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__ROUND_ROBIN_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__PINNED_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__RANGE_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__VALUE_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__HASH_PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__HASH_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__UNION_PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__UNION_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONED: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONED; + default: return -1; + } + } + if (baseClass == XmlManyToMany_2_2.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_2Package.XML_MANY_TO_MANY_22__CASCADE_ON_DELETE: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__CASCADE_ON_DELETE; + case EclipseLinkOrmV2_2Package.XML_MANY_TO_MANY_22__NON_CACHEABLE: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__NON_CACHEABLE; + default: return -1; + } + } + if (baseClass == XmlManyToMany_2_4.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_4Package.XML_MANY_TO_MANY_24__JOIN_FIELDS: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__JOIN_FIELDS; + default: return -1; + } + } + if (baseClass == XmlAccessMethodsHolder.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__ACCESS_METHODS; + default: return -1; + } + } + if (baseClass == XmlPropertyContainer.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__PROPERTIES; + default: return -1; + } + } + if (baseClass == XmlAttributeMapping.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__ATTRIBUTE_TYPE; + default: return -1; + } + } + if (baseClass == XmlJoinFetch.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_JOIN_FETCH__JOIN_FETCH: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__JOIN_FETCH; + 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(" (mapKeyConvert: "); + result.append(mapKeyConvert); + result.append(", partitioned: "); + result.append(partitioned); + result.append(", cascadeOnDelete: "); + result.append(cascadeOnDelete); + result.append(", nonCacheable: "); + result.append(nonCacheable); + result.append(", attributeType: "); + result.append(attributeType); + result.append(", joinFetch: "); + result.append(joinFetch); + result.append(')'); + return result.toString(); + } + + public TextRange getJoinFetchTextRange() { + return getElementTextRange(EclipseLink.JOIN_FETCH); + } + + 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.getXmlManyToMany(), + buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildNameTranslator(), + buildTargetEntityTranslator(), + buildFetchTranslator(), + buildAccessTranslator(), + buildMappedByTranslator(), + buildAttributeTypeTranslator(), + buildOrderByTranslator(), + XmlOrderColumn.buildTranslator(JPA2_0.ORDER_COLUMN, OrmV2_0Package.eINSTANCE.getXmlOrderable_2_0_OrderColumn()), + buildMapKeyTranslator(), + buildMapKeyClassTranslator(), + buildMapKeyTemporalTranslator(), + buildMapKeyEnumeratedTranslator(), + buildMapKeyConvertTranslator(), + buildMapKeyAttributeOverrideTranslator(), + buildMapKeyAssociationOverrideTranslator(), + buildMapKeyColumnTranslator(), + buildMapKeyJoinColumnTranslator(), + buildConverterTranslator(), + buildTypeConverterTranslator(), + buildObjectTypeConverterTranslator(), + buildStructConverterTranslator(), + buildJoinTableTranslator(), + buildJoinFieldTranslator(), + buildCascadeTranslator(), + buildCascadeOnDeleteTranslator(), + buildJoinFetchTranslator(), + buildBatchFetchTranslator(), + buildPropertyTranslator(), + buildAccessMethodsTranslator(), + buildNoncacheableTranslator(), + 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(), + }; + } + + protected static Translator buildMapKeyConvertTranslator() { + return new Translator(JPA2_0.MAP_KEY_CONVERT, EclipseLinkOrmV2_0Package.eINSTANCE.getXmlCollectionMapping_2_0_MapKeyConvert()); + } + + protected static Translator buildMapKeyAttributeOverrideTranslator() { + return XmlAttributeOverride.buildTranslator(JPA2_0.MAP_KEY_ATTRIBUTE_OVERRIDE, OrmV2_0Package.eINSTANCE.getXmlMapKeyAttributeOverrideContainer_2_0_MapKeyAttributeOverrides()); + } + + protected static Translator buildMapKeyAssociationOverrideTranslator() { + return XmlAssociationOverride.buildTranslator(EclipseLink2_0.MAP_KEY_ASSOCIATION_OVERRIDE, EclipseLinkOrmV2_0Package.eINSTANCE.getXmlMapKeyAssociationOverrideContainer_2_0_MapKeyAssociationOverrides()); + } + + 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 buildJoinFetchTranslator() { + return new Translator(EclipseLink.JOIN_FETCH, EclipseLinkOrmPackage.eINSTANCE.getXmlJoinFetch_JoinFetch()); + } + + 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 buildAttributeTypeTranslator() { + return new Translator(EclipseLink2_1.ATTRIBUTE_TYPE, EclipseLinkOrmPackage.eINSTANCE.getXmlAttributeMapping_AttributeType(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildBatchFetchTranslator() { + return XmlBatchFetch.buildTranslator(EclipseLink2_1.BATCH_FETCH, EclipseLinkOrmPackage.eINSTANCE.getXmlBatchFetchHolder_BatchFetch()); + } + + protected static Translator buildCascadeOnDeleteTranslator() { + return CascadeType.buildTranslator(EclipseLink2_2.CASCADE_ON_DELETE, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlManyToMany_2_2_CascadeOnDelete()); + } + + protected static Translator buildJoinTableTranslator() { + return XmlJoinTable.buildTranslator(JPA.JOIN_TABLE, OrmPackage.eINSTANCE.getXmlJoinTableContainer_JoinTable()); + } + + protected static Translator buildNoncacheableTranslator() { + return new EmptyTagBooleanTranslator(EclipseLink2_2.NONCACHEABLE, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlManyToMany_2_2_NonCacheable()); + } + + protected static Translator buildPartitionedTranslator() { + return new Translator(EclipseLink2_2.PARTITIONING_GROUP__PARTITIONED, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlPartitioningGroup_2_2_Partitioned()); + } + + protected static Translator buildJoinFieldTranslator() { + return XmlJoinField.buildTranslator(EclipseLink2_4.JOIN_FIELD, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlManyToMany_2_4_JoinFields()); + } + + // ******** virtual attribute ************ + + public void setVirtualAttributeTypes(String attributeType, String targetEntity) { + this.setAttributeType(attributeType); + this.setTargetEntity(targetEntity); + } + + // *********** 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/XmlManyToOne.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlManyToOne.java new file mode 100644 index 0000000000..721b00a218 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlManyToOne.java @@ -0,0 +1,1628 @@ +/******************************************************************************* + * 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.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_1.XmlManyToOne_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.XmlManyToOne_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.XmlManyToOne_2_4; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * + * A representation of the model object 'Xml Many To One'. + * + * 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#getXmlManyToOne() + * @model kind="class" + * @generated + */ +public class XmlManyToOne extends org.eclipse.jpt.jpa.core.resource.orm.XmlManyToOne implements XmlManyToOne_2_1, XmlManyToOne_2_2, XmlManyToOne_2_4, XmlAttributeMapping, XmlJoinFetch +{ + /** + * The cached value of the '{@link #getBatchFetch() Batch Fetch}' containment reference. + * + * + * @see #getBatchFetch() + * @generated + * @ordered + */ + protected XmlBatchFetch batchFetch; + + /** + * The cached value of the '{@link #getPartitioning() Partitioning}' containment reference. + * + * + * @see #getPartitioning() + * @generated + * @ordered + */ + protected XmlPartitioning_2_2 partitioning; + + /** + * The cached value of the '{@link #getReplicationPartitioning() Replication Partitioning}' containment reference. + * + * + * @see #getReplicationPartitioning() + * @generated + * @ordered + */ + protected XmlReplicationPartitioning_2_2 replicationPartitioning; + + /** + * The cached value of the '{@link #getRoundRobinPartitioning() Round Robin Partitioning}' containment reference. + * + * + * @see #getRoundRobinPartitioning() + * @generated + * @ordered + */ + protected XmlRoundRobinPartitioning_2_2 roundRobinPartitioning; + + /** + * The cached value of the '{@link #getPinnedPartitioning() Pinned Partitioning}' containment reference. + * + * + * @see #getPinnedPartitioning() + * @generated + * @ordered + */ + protected XmlPinnedPartitioning_2_2 pinnedPartitioning; + + /** + * The cached value of the '{@link #getRangePartitioning() Range Partitioning}' containment reference. + * + * + * @see #getRangePartitioning() + * @generated + * @ordered + */ + protected XmlRangePartitioning_2_2 rangePartitioning; + + /** + * The cached value of the '{@link #getValuePartitioning() Value Partitioning}' containment reference. + * + * + * @see #getValuePartitioning() + * @generated + * @ordered + */ + protected XmlValuePartitioning_2_2 valuePartitioning; + + /** + * The cached value of the '{@link #getHashPartitioning() Hash Partitioning}' containment reference. + * + * + * @see #getHashPartitioning() + * @generated + * @ordered + */ + protected XmlHashPartitioning_2_2 hashPartitioning; + + /** + * The cached value of the '{@link #getUnionPartitioning() Union Partitioning}' containment reference. + * + * + * @see #getUnionPartitioning() + * @generated + * @ordered + */ + protected XmlUnionPartitioning_2_2 unionPartitioning; + + /** + * The default value of the '{@link #getPartitioned() Partitioned}' attribute. + * + * + * @see #getPartitioned() + * @generated + * @ordered + */ + protected static final String PARTITIONED_EDEFAULT = null; + + /** + * The cached value of the '{@link #getPartitioned() Partitioned}' attribute. + * + * + * @see #getPartitioned() + * @generated + * @ordered + */ + protected String partitioned = PARTITIONED_EDEFAULT; + + /** + * The default value of the '{@link #isNonCacheable() Non Cacheable}' attribute. + * + * + * @see #isNonCacheable() + * @generated + * @ordered + */ + protected static final boolean NON_CACHEABLE_EDEFAULT = false; + + /** + * The cached value of the '{@link #isNonCacheable() Non Cacheable}' attribute. + * + * + * @see #isNonCacheable() + * @generated + * @ordered + */ + protected boolean nonCacheable = NON_CACHEABLE_EDEFAULT; + + /** + * The cached value of the '{@link #getJoinFields() Join Fields}' containment reference list. + * + * + * @see #getJoinFields() + * @generated + * @ordered + */ + protected EList joinFields; + + /** + * 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 properties; + + /** + * The default value of the '{@link #getAttributeType() Attribute Type}' attribute. + * + * + * @see #getAttributeType() + * @generated + * @ordered + */ + protected static final String ATTRIBUTE_TYPE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getAttributeType() Attribute Type}' attribute. + * + * + * @see #getAttributeType() + * @generated + * @ordered + */ + protected String attributeType = ATTRIBUTE_TYPE_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 XmlJoinFetchType JOIN_FETCH_EDEFAULT = null; + + /** + * The cached value of the '{@link #getJoinFetch() Join Fetch}' attribute. + * + * + * @see #getJoinFetch() + * @generated + * @ordered + */ + protected XmlJoinFetchType joinFetch = JOIN_FETCH_EDEFAULT; + + /** + * + * + * @generated + */ + protected XmlManyToOne() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_MANY_TO_ONE; + } + + /** + * 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_MANY_TO_ONE__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.XmlManyToOne#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_MANY_TO_ONE__BATCH_FETCH, null, msgs); + if (newBatchFetch != null) + msgs = ((InternalEObject)newBatchFetch).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_ONE__BATCH_FETCH, null, msgs); + msgs = basicSetBatchFetch(newBatchFetch, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_ONE__BATCH_FETCH, newBatchFetch, newBatchFetch)); + } + + /** + * 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_MANY_TO_ONE__PARTITIONING, oldPartitioning, newPartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToOne#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_MANY_TO_ONE__PARTITIONING, null, msgs); + if (newPartitioning != null) + msgs = ((InternalEObject)newPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONING, null, msgs); + msgs = basicSetPartitioning(newPartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONING, newPartitioning, newPartitioning)); + } + + /** + * Returns the value of the '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_MANY_TO_ONE__REPLICATION_PARTITIONING, oldReplicationPartitioning, newReplicationPartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToOne#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_MANY_TO_ONE__REPLICATION_PARTITIONING, null, msgs); + if (newReplicationPartitioning != null) + msgs = ((InternalEObject)newReplicationPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_ONE__REPLICATION_PARTITIONING, null, msgs); + msgs = basicSetReplicationPartitioning(newReplicationPartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_ONE__REPLICATION_PARTITIONING, newReplicationPartitioning, newReplicationPartitioning)); + } + + /** + * Returns the value of the '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_MANY_TO_ONE__ROUND_ROBIN_PARTITIONING, oldRoundRobinPartitioning, newRoundRobinPartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToOne#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_MANY_TO_ONE__ROUND_ROBIN_PARTITIONING, null, msgs); + if (newRoundRobinPartitioning != null) + msgs = ((InternalEObject)newRoundRobinPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_ONE__ROUND_ROBIN_PARTITIONING, null, msgs); + msgs = basicSetRoundRobinPartitioning(newRoundRobinPartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_ONE__ROUND_ROBIN_PARTITIONING, newRoundRobinPartitioning, newRoundRobinPartitioning)); + } + + /** + * Returns the value of the '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_MANY_TO_ONE__PINNED_PARTITIONING, oldPinnedPartitioning, newPinnedPartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToOne#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_MANY_TO_ONE__PINNED_PARTITIONING, null, msgs); + if (newPinnedPartitioning != null) + msgs = ((InternalEObject)newPinnedPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_ONE__PINNED_PARTITIONING, null, msgs); + msgs = basicSetPinnedPartitioning(newPinnedPartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_ONE__PINNED_PARTITIONING, newPinnedPartitioning, newPinnedPartitioning)); + } + + /** + * Returns the value of the '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_MANY_TO_ONE__RANGE_PARTITIONING, oldRangePartitioning, newRangePartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToOne#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_MANY_TO_ONE__RANGE_PARTITIONING, null, msgs); + if (newRangePartitioning != null) + msgs = ((InternalEObject)newRangePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_ONE__RANGE_PARTITIONING, null, msgs); + msgs = basicSetRangePartitioning(newRangePartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_ONE__RANGE_PARTITIONING, newRangePartitioning, newRangePartitioning)); + } + + /** + * Returns the value of the '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_MANY_TO_ONE__VALUE_PARTITIONING, oldValuePartitioning, newValuePartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToOne#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_MANY_TO_ONE__VALUE_PARTITIONING, null, msgs); + if (newValuePartitioning != null) + msgs = ((InternalEObject)newValuePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_ONE__VALUE_PARTITIONING, null, msgs); + msgs = basicSetValuePartitioning(newValuePartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_ONE__VALUE_PARTITIONING, newValuePartitioning, newValuePartitioning)); + } + + /** + * Returns the value of the '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_MANY_TO_ONE__HASH_PARTITIONING, oldHashPartitioning, newHashPartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToOne#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_MANY_TO_ONE__HASH_PARTITIONING, null, msgs); + if (newHashPartitioning != null) + msgs = ((InternalEObject)newHashPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_ONE__HASH_PARTITIONING, null, msgs); + msgs = basicSetHashPartitioning(newHashPartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_ONE__HASH_PARTITIONING, newHashPartitioning, newHashPartitioning)); + } + + /** + * Returns the value of the '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_MANY_TO_ONE__UNION_PARTITIONING, oldUnionPartitioning, newUnionPartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToOne#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_MANY_TO_ONE__UNION_PARTITIONING, null, msgs); + if (newUnionPartitioning != null) + msgs = ((InternalEObject)newUnionPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_ONE__UNION_PARTITIONING, null, msgs); + msgs = basicSetUnionPartitioning(newUnionPartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_ONE__UNION_PARTITIONING, newUnionPartitioning, newUnionPartitioning)); + } + + /** + * Returns the value of the '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.XmlManyToOne#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_MANY_TO_ONE__PARTITIONED, oldPartitioned, partitioned)); + } + + /** + * Returns the value of the 'Non Cacheable' attribute. + * + *

+ * If the meaning of the 'Non Cacheable' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Non Cacheable' attribute. + * @see #setNonCacheable(boolean) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlManyToOne_2_2_NonCacheable() + * @model dataType="org.eclipse.emf.ecore.xml.type.Boolean" + * @generated + */ + public boolean isNonCacheable() + { + return nonCacheable; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToOne#isNonCacheable Non Cacheable}' attribute. + * + * + * @param value the new value of the 'Non Cacheable' attribute. + * @see #isNonCacheable() + * @generated + */ + public void setNonCacheable(boolean newNonCacheable) + { + boolean oldNonCacheable = nonCacheable; + nonCacheable = newNonCacheable; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_ONE__NON_CACHEABLE, oldNonCacheable, nonCacheable)); + } + + /** + * Returns the value of the 'Join Fields' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlJoinField_2_4}. + * + *

+ * If the meaning of the 'Join Fields' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Join Fields' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlManyToOne_2_4_JoinFields() + * @model containment="true" + * @generated + */ + public EList getJoinFields() + { + if (joinFields == null) + { + joinFields = new EObjectContainmentEList(XmlJoinField_2_4.class, this, EclipseLinkOrmPackage.XML_MANY_TO_ONE__JOIN_FIELDS); + } + return joinFields; + } + + /** + * 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.XmlManyToOne#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_ONE__JOIN_FETCH, oldJoinFetch, joinFetch)); + } + + /** + * 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_MANY_TO_ONE__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.XmlManyToOne#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_MANY_TO_ONE__ACCESS_METHODS, null, msgs); + if (newAccessMethods != null) + msgs = ((InternalEObject)newAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_ONE__ACCESS_METHODS, null, msgs); + msgs = basicSetAccessMethods(newAccessMethods, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_ONE__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 getProperties() + { + if (properties == null) + { + properties = new EObjectContainmentEList(XmlProperty.class, this, EclipseLinkOrmPackage.XML_MANY_TO_ONE__PROPERTIES); + } + return properties; + } + + /** + * 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.XmlManyToOne#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_MANY_TO_ONE__ATTRIBUTE_TYPE, oldAttributeType, attributeType)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__BATCH_FETCH: + return basicSetBatchFetch(null, msgs); + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONING: + return basicSetPartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__REPLICATION_PARTITIONING: + return basicSetReplicationPartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__ROUND_ROBIN_PARTITIONING: + return basicSetRoundRobinPartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PINNED_PARTITIONING: + return basicSetPinnedPartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__RANGE_PARTITIONING: + return basicSetRangePartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__VALUE_PARTITIONING: + return basicSetValuePartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__HASH_PARTITIONING: + return basicSetHashPartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__UNION_PARTITIONING: + return basicSetUnionPartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__JOIN_FIELDS: + return ((InternalEList)getJoinFields()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__ACCESS_METHODS: + return basicSetAccessMethods(null, msgs); + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__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_MANY_TO_ONE__BATCH_FETCH: + return getBatchFetch(); + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONING: + return getPartitioning(); + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__REPLICATION_PARTITIONING: + return getReplicationPartitioning(); + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__ROUND_ROBIN_PARTITIONING: + return getRoundRobinPartitioning(); + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PINNED_PARTITIONING: + return getPinnedPartitioning(); + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__RANGE_PARTITIONING: + return getRangePartitioning(); + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__VALUE_PARTITIONING: + return getValuePartitioning(); + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__HASH_PARTITIONING: + return getHashPartitioning(); + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__UNION_PARTITIONING: + return getUnionPartitioning(); + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONED: + return getPartitioned(); + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__NON_CACHEABLE: + return isNonCacheable(); + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__JOIN_FIELDS: + return getJoinFields(); + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__ACCESS_METHODS: + return getAccessMethods(); + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PROPERTIES: + return getProperties(); + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__ATTRIBUTE_TYPE: + return getAttributeType(); + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__JOIN_FETCH: + return getJoinFetch(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__BATCH_FETCH: + setBatchFetch((XmlBatchFetch)newValue); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONING: + setPartitioning((XmlPartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__REPLICATION_PARTITIONING: + setReplicationPartitioning((XmlReplicationPartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__ROUND_ROBIN_PARTITIONING: + setRoundRobinPartitioning((XmlRoundRobinPartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PINNED_PARTITIONING: + setPinnedPartitioning((XmlPinnedPartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__RANGE_PARTITIONING: + setRangePartitioning((XmlRangePartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__VALUE_PARTITIONING: + setValuePartitioning((XmlValuePartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__HASH_PARTITIONING: + setHashPartitioning((XmlHashPartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__UNION_PARTITIONING: + setUnionPartitioning((XmlUnionPartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONED: + setPartitioned((String)newValue); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__NON_CACHEABLE: + setNonCacheable((Boolean)newValue); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__JOIN_FIELDS: + getJoinFields().clear(); + getJoinFields().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__ACCESS_METHODS: + setAccessMethods((XmlAccessMethods)newValue); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PROPERTIES: + getProperties().clear(); + getProperties().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__ATTRIBUTE_TYPE: + setAttributeType((String)newValue); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__JOIN_FETCH: + setJoinFetch((XmlJoinFetchType)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__BATCH_FETCH: + setBatchFetch((XmlBatchFetch)null); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONING: + setPartitioning((XmlPartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__REPLICATION_PARTITIONING: + setReplicationPartitioning((XmlReplicationPartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__ROUND_ROBIN_PARTITIONING: + setRoundRobinPartitioning((XmlRoundRobinPartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PINNED_PARTITIONING: + setPinnedPartitioning((XmlPinnedPartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__RANGE_PARTITIONING: + setRangePartitioning((XmlRangePartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__VALUE_PARTITIONING: + setValuePartitioning((XmlValuePartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__HASH_PARTITIONING: + setHashPartitioning((XmlHashPartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__UNION_PARTITIONING: + setUnionPartitioning((XmlUnionPartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONED: + setPartitioned(PARTITIONED_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__NON_CACHEABLE: + setNonCacheable(NON_CACHEABLE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__JOIN_FIELDS: + getJoinFields().clear(); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__ACCESS_METHODS: + setAccessMethods((XmlAccessMethods)null); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PROPERTIES: + getProperties().clear(); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__ATTRIBUTE_TYPE: + setAttributeType(ATTRIBUTE_TYPE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__JOIN_FETCH: + setJoinFetch(JOIN_FETCH_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__BATCH_FETCH: + return batchFetch != null; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONING: + return partitioning != null; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__REPLICATION_PARTITIONING: + return replicationPartitioning != null; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__ROUND_ROBIN_PARTITIONING: + return roundRobinPartitioning != null; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PINNED_PARTITIONING: + return pinnedPartitioning != null; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__RANGE_PARTITIONING: + return rangePartitioning != null; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__VALUE_PARTITIONING: + return valuePartitioning != null; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__HASH_PARTITIONING: + return hashPartitioning != null; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__UNION_PARTITIONING: + return unionPartitioning != null; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONED: + return PARTITIONED_EDEFAULT == null ? partitioned != null : !PARTITIONED_EDEFAULT.equals(partitioned); + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__NON_CACHEABLE: + return nonCacheable != NON_CACHEABLE_EDEFAULT; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__JOIN_FIELDS: + return joinFields != null && !joinFields.isEmpty(); + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__ACCESS_METHODS: + return accessMethods != null; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PROPERTIES: + return properties != null && !properties.isEmpty(); + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__ATTRIBUTE_TYPE: + return ATTRIBUTE_TYPE_EDEFAULT == null ? attributeType != null : !ATTRIBUTE_TYPE_EDEFAULT.equals(attributeType); + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__JOIN_FETCH: + return joinFetch != JOIN_FETCH_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public int eBaseStructuralFeatureID(int derivedFeatureID, Class baseClass) + { + if (baseClass == XmlBatchFetchHolder.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__BATCH_FETCH: return EclipseLinkOrmPackage.XML_BATCH_FETCH_HOLDER__BATCH_FETCH; + default: return -1; + } + } + if (baseClass == XmlManyToOne_2_1.class) + { + switch (derivedFeatureID) + { + default: return -1; + } + } + if (baseClass == XmlPartitioningGroup_2_2.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONING; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__REPLICATION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PINNED_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__RANGE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__VALUE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__HASH_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__HASH_PARTITIONING; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__UNION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__UNION_PARTITIONING; + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONED: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONED; + default: return -1; + } + } + if (baseClass == XmlManyToOne_2_2.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__NON_CACHEABLE: return EclipseLinkOrmV2_2Package.XML_MANY_TO_ONE_22__NON_CACHEABLE; + default: return -1; + } + } + if (baseClass == XmlManyToOne_2_4.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__JOIN_FIELDS: return EclipseLinkOrmV2_4Package.XML_MANY_TO_ONE_24__JOIN_FIELDS; + default: return -1; + } + } + if (baseClass == XmlAccessMethodsHolder.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS; + default: return -1; + } + } + if (baseClass == XmlPropertyContainer.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PROPERTIES: return EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES; + default: return -1; + } + } + if (baseClass == XmlAttributeMapping.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE; + default: return -1; + } + } + if (baseClass == XmlJoinFetch.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_MANY_TO_ONE__JOIN_FETCH: return EclipseLinkOrmPackage.XML_JOIN_FETCH__JOIN_FETCH; + default: return -1; + } + } + return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); + } + + /** + * + * + * @generated + */ + @Override + public int eDerivedStructuralFeatureID(int baseFeatureID, Class baseClass) + { + if (baseClass == XmlBatchFetchHolder.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_BATCH_FETCH_HOLDER__BATCH_FETCH: return EclipseLinkOrmPackage.XML_MANY_TO_ONE__BATCH_FETCH; + default: return -1; + } + } + if (baseClass == XmlManyToOne_2_1.class) + { + switch (baseFeatureID) + { + default: return -1; + } + } + if (baseClass == XmlPartitioningGroup_2_2.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_ONE__REPLICATION_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_ONE__ROUND_ROBIN_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_ONE__PINNED_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_ONE__RANGE_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_ONE__VALUE_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__HASH_PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_ONE__HASH_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__UNION_PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_ONE__UNION_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONED: return EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONED; + default: return -1; + } + } + if (baseClass == XmlManyToOne_2_2.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_2Package.XML_MANY_TO_ONE_22__NON_CACHEABLE: return EclipseLinkOrmPackage.XML_MANY_TO_ONE__NON_CACHEABLE; + default: return -1; + } + } + if (baseClass == XmlManyToOne_2_4.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_4Package.XML_MANY_TO_ONE_24__JOIN_FIELDS: return EclipseLinkOrmPackage.XML_MANY_TO_ONE__JOIN_FIELDS; + default: return -1; + } + } + if (baseClass == XmlAccessMethodsHolder.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_MANY_TO_ONE__ACCESS_METHODS; + default: return -1; + } + } + if (baseClass == XmlPropertyContainer.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES: return EclipseLinkOrmPackage.XML_MANY_TO_ONE__PROPERTIES; + default: return -1; + } + } + if (baseClass == XmlAttributeMapping.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_MANY_TO_ONE__ATTRIBUTE_TYPE; + default: return -1; + } + } + if (baseClass == XmlJoinFetch.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_JOIN_FETCH__JOIN_FETCH: return EclipseLinkOrmPackage.XML_MANY_TO_ONE__JOIN_FETCH; + 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(" (partitioned: "); + result.append(partitioned); + result.append(", nonCacheable: "); + result.append(nonCacheable); + result.append(", attributeType: "); + result.append(attributeType); + result.append(", joinFetch: "); + result.append(joinFetch); + result.append(')'); + return result.toString(); + } + + public TextRange getJoinFetchTextRange() { + return getElementTextRange(EclipseLink.JOIN_FETCH); + } + + public TextRange getAttributeTypeTextRange() { + //no attribute-type for many-to-one + return getValidationTextRange(); + } + + + // ********** translators ********** + + public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) { + return new SimpleTranslator( + elementName, + structuralFeature, + EclipseLinkOrmPackage.eINSTANCE.getXmlManyToOne(), + buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildNameTranslator(), + buildTargetEntityTranslator(), + buildFetchTranslator(), + buildOptionalTranslator(), + buildAccessTranslator(), + buildMapsIdTranslator(), + buildIdTranslator(), + buildJoinColumnTranslator(), + buildJoinTableTranslator(), + buildJoinFieldTranslator(), + buildCascadeTranslator(), + buildJoinFetchTranslator(), + buildBatchFetchTranslator(), + buildPropertyTranslator(), + buildAccessMethodsTranslator(), + buildNoncacheableTranslator(), + 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(), + }; + } + + protected static Translator buildPrivateOwnedTranslator() { + return new EmptyTagBooleanTranslator(EclipseLink.PRIVATE_OWNED, EclipseLinkOrmPackage.eINSTANCE.getXmlPrivateOwned_PrivateOwned()); + } + + protected static Translator buildJoinFetchTranslator() { + return new Translator(EclipseLink.JOIN_FETCH, EclipseLinkOrmPackage.eINSTANCE.getXmlJoinFetch_JoinFetch()); + } + + 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 buildBatchFetchTranslator() { + return XmlBatchFetch.buildTranslator(EclipseLink2_1.BATCH_FETCH, EclipseLinkOrmPackage.eINSTANCE.getXmlBatchFetchHolder_BatchFetch()); + } + + protected static Translator buildJoinTableTranslator() { + return XmlJoinTable.buildTranslator(JPA.JOIN_TABLE, OrmPackage.eINSTANCE.getXmlJoinTableContainer_JoinTable()); + } + + protected static Translator buildNoncacheableTranslator() { + return new EmptyTagBooleanTranslator(EclipseLink2_2.NONCACHEABLE, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlManyToOne_2_2_NonCacheable()); + } + + protected static Translator buildPartitionedTranslator() { + return new Translator(EclipseLink2_2.PARTITIONING_GROUP__PARTITIONED, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlPartitioningGroup_2_2_Partitioned()); + } + + protected static Translator buildJoinFieldTranslator() { + return XmlJoinField.buildTranslator(EclipseLink2_4.JOIN_FIELD, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlManyToOne_2_4_JoinFields()); + } + + // ******** virtual attribute ************ + + public void setVirtualAttributeTypes(String attributeType, String targetEntity) { + this.setTargetEntity(targetEntity); + } +} diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlMappedSuperclass.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlMappedSuperclass.java new file mode 100644 index 0000000000..cd7c996127 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlMappedSuperclass.java @@ -0,0 +1,4136 @@ +/******************************************************************************* + * 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.core.resource.orm.SqlResultSetMapping; +import org.eclipse.jpt.jpa.core.resource.orm.XmlAssociationOverride; +import org.eclipse.jpt.jpa.core.resource.orm.XmlAssociationOverrideContainer; +import org.eclipse.jpt.jpa.core.resource.orm.XmlAttributeOverride; +import org.eclipse.jpt.jpa.core.resource.orm.XmlAttributeOverrideContainer; +import org.eclipse.jpt.jpa.core.resource.orm.XmlClassReference; +import org.eclipse.jpt.jpa.core.resource.orm.XmlGeneratorContainer; +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.XmlQueryContainer; +import org.eclipse.jpt.jpa.core.resource.orm.XmlSequenceGenerator; +import org.eclipse.jpt.jpa.core.resource.orm.XmlTableGenerator; +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.core.resource.orm.v2_0.XmlCacheable_2_0; +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.XmlMappedSuperclass_1_1; +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.XmlMappedSuperclass_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.EclipseLinkOrmV2_1Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroupContainer_2_1; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlMappedSuperclass_2_1; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlTypeMapping_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.XmlAdditionalCriteria_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.XmlMappedSuperclass_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_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.XmlMappedSuperclass_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_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.XmlGeneratorContainer2_4; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMappedSuperclass_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 Mapped Superclass'. + * + * 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 + * + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass#getOptimisticLocking Optimistic Locking}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass#getCopyPolicy Copy Policy}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass#getInstantiationCopyPolicy Instantiation Copy Policy}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass#getCloneCopyPolicy Clone Copy Policy}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass#getExcludeDefaultMappings Exclude Default Mappings}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlMappedSuperclass() + * @model kind="class" + * @generated + */ +public class XmlMappedSuperclass extends org.eclipse.jpt.jpa.core.resource.orm.XmlMappedSuperclass implements XmlTypeMapping, XmlMappedSuperclass_1_1, XmlMappedSuperclass_2_0, XmlMappedSuperclass_2_1, XmlMappedSuperclass_2_2, XmlMappedSuperclass_2_3, XmlMappedSuperclass_2_4, XmlReadOnly, XmlCustomizerHolder, XmlChangeTrackingHolder, XmlCacheHolder, XmlConverterContainer, XmlPropertyContainer +{ + /** + * The cached value of the '{@link #getAccessMethods() Access Methods}' containment reference. + * + * + * @see #getAccessMethods() + * @generated + * @ordered + */ + protected XmlAccessMethods accessMethods; + + /** + * The default value of the '{@link #getParentClass() Parent Class}' attribute. + * + * + * @see #getParentClass() + * @generated + * @ordered + */ + protected static final String PARENT_CLASS_EDEFAULT = null; + + /** + * The cached value of the '{@link #getParentClass() Parent Class}' attribute. + * + * + * @see #getParentClass() + * @generated + * @ordered + */ + protected String parentClass = PARENT_CLASS_EDEFAULT; + + /** + * The cached value of the '{@link #getPrimaryKey() Primary Key}' containment reference. + * + * + * @see #getPrimaryKey() + * @generated + * @ordered + */ + protected XmlPrimaryKey primaryKey; + + /** + * The default value of the '{@link #getCacheable() Cacheable}' attribute. + * + * + * @see #getCacheable() + * @generated + * @ordered + */ + protected static final Boolean CACHEABLE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getCacheable() Cacheable}' attribute. + * + * + * @see #getCacheable() + * @generated + * @ordered + */ + protected Boolean cacheable = CACHEABLE_EDEFAULT; + + /** + * The cached value of the '{@link #getCacheInterceptor() Cache Interceptor}' containment reference. + * + * + * @see #getCacheInterceptor() + * @generated + * @ordered + */ + protected XmlClassReference cacheInterceptor; + + /** + * The cached value of the '{@link #getAssociationOverrides() Association Overrides}' containment reference list. + * + * + * @see #getAssociationOverrides() + * @generated + * @ordered + */ + protected EList associationOverrides; + + /** + * The cached value of the '{@link #getAttributeOverrides() Attribute Overrides}' containment reference list. + * + * + * @see #getAttributeOverrides() + * @generated + * @ordered + */ + protected EList attributeOverrides; + + /** + * The cached value of the '{@link #getFetchGroups() Fetch Groups}' containment reference list. + * + * + * @see #getFetchGroups() + * @generated + * @ordered + */ + protected EList fetchGroups; + + /** + * 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 #getNamedQueries() Named Queries}' containment reference list. + * + * + * @see #getNamedQueries() + * @generated + * @ordered + */ + protected EList namedQueries; + + /** + * The cached value of the '{@link #getNamedNativeQueries() Named Native Queries}' containment reference list. + * + * + * @see #getNamedNativeQueries() + * @generated + * @ordered + */ + protected EList namedNativeQueries; + + /** + * The cached value of the '{@link #getNamedStoredProcedureQueries() Named Stored Procedure Queries}' containment reference list. + * + * + * @see #getNamedStoredProcedureQueries() + * @generated + * @ordered + */ + protected EList namedStoredProcedureQueries; + + /** + * The cached value of the '{@link #getSqlResultSetMappings() Sql Result Set Mappings}' containment reference list. + * + * + * @see #getSqlResultSetMappings() + * @generated + * @ordered + */ + protected EList sqlResultSetMappings; + + /** + * The cached value of the '{@link #getQueryRedirectors() Query Redirectors}' containment reference. + * + * + * @see #getQueryRedirectors() + * @generated + * @ordered + */ + protected XmlQueryRedirectors queryRedirectors; + + /** + * The cached value of the '{@link #getPartitioning() Partitioning}' containment reference. + * + * + * @see #getPartitioning() + * @generated + * @ordered + */ + protected XmlPartitioning_2_2 partitioning; + + /** + * The cached value of the '{@link #getReplicationPartitioning() Replication Partitioning}' containment reference. + * + * + * @see #getReplicationPartitioning() + * @generated + * @ordered + */ + protected XmlReplicationPartitioning_2_2 replicationPartitioning; + + /** + * The cached value of the '{@link #getRoundRobinPartitioning() Round Robin Partitioning}' containment reference. + * + * + * @see #getRoundRobinPartitioning() + * @generated + * @ordered + */ + protected XmlRoundRobinPartitioning_2_2 roundRobinPartitioning; + + /** + * The cached value of the '{@link #getPinnedPartitioning() Pinned Partitioning}' containment reference. + * + * + * @see #getPinnedPartitioning() + * @generated + * @ordered + */ + protected XmlPinnedPartitioning_2_2 pinnedPartitioning; + + /** + * The cached value of the '{@link #getRangePartitioning() Range Partitioning}' containment reference. + * + * + * @see #getRangePartitioning() + * @generated + * @ordered + */ + protected XmlRangePartitioning_2_2 rangePartitioning; + + /** + * The cached value of the '{@link #getValuePartitioning() Value Partitioning}' containment reference. + * + * + * @see #getValuePartitioning() + * @generated + * @ordered + */ + protected XmlValuePartitioning_2_2 valuePartitioning; + + /** + * The cached value of the '{@link #getHashPartitioning() Hash Partitioning}' containment reference. + * + * + * @see #getHashPartitioning() + * @generated + * @ordered + */ + protected XmlHashPartitioning_2_2 hashPartitioning; + + /** + * The cached value of the '{@link #getUnionPartitioning() Union Partitioning}' containment reference. + * + * + * @see #getUnionPartitioning() + * @generated + * @ordered + */ + protected XmlUnionPartitioning_2_2 unionPartitioning; + + /** + * The default value of the '{@link #getPartitioned() Partitioned}' attribute. + * + * + * @see #getPartitioned() + * @generated + * @ordered + */ + protected static final String PARTITIONED_EDEFAULT = null; + + /** + * The cached value of the '{@link #getPartitioned() Partitioned}' attribute. + * + * + * @see #getPartitioned() + * @generated + * @ordered + */ + protected String partitioned = PARTITIONED_EDEFAULT; + + /** + * The cached value of the '{@link #getAdditionalCriteria() Additional Criteria}' containment reference. + * + * + * @see #getAdditionalCriteria() + * @generated + * @ordered + */ + protected XmlAdditionalCriteria_2_2 additionalCriteria; + + /** + * The cached value of the '{@link #getMultitenant() Multitenant}' containment reference. + * + * + * @see #getMultitenant() + * @generated + * @ordered + */ + protected XmlMultitenant multitenant; + + /** + * The cached value of the '{@link #getNamedStoredFunctionQueries() Named Stored Function Queries}' containment reference list. + * + * + * @see #getNamedStoredFunctionQueries() + * @generated + * @ordered + */ + protected EList namedStoredFunctionQueries; + + /** + * The cached value of the '{@link #getNamedPlsqlStoredFunctionQueries() Named Plsql Stored Function Queries}' containment reference list. + * + * + * @see #getNamedPlsqlStoredFunctionQueries() + * @generated + * @ordered + */ + protected EList namedPlsqlStoredFunctionQueries; + + /** + * The cached value of the '{@link #getNamedPlsqlStoredProcedureQueries() Named Plsql Stored Procedure Queries}' containment reference list. + * + * + * @see #getNamedPlsqlStoredProcedureQueries() + * @generated + * @ordered + */ + protected EList namedPlsqlStoredProcedureQueries; + + /** + * The cached value of the '{@link #getPlsqlRecords() Plsql Records}' containment reference list. + * + * + * @see #getPlsqlRecords() + * @generated + * @ordered + */ + protected EList plsqlRecords; + + /** + * The cached value of the '{@link #getPlsqlTables() Plsql Tables}' containment reference list. + * + * + * @see #getPlsqlTables() + * @generated + * @ordered + */ + protected EList plsqlTables; + + /** + * 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 #getCacheIndex() Cache Index}' containment reference. + * + * + * @see #getCacheIndex() + * @generated + * @ordered + */ + protected XmlCacheIndex_2_4 cacheIndex; + + /** + * The default value of the '{@link #getReadOnly() Read Only}' attribute. + * + * + * @see #getReadOnly() + * @generated + * @ordered + */ + protected static final Boolean READ_ONLY_EDEFAULT = null; + + /** + * The cached value of the '{@link #getReadOnly() Read Only}' attribute. + * + * + * @see #getReadOnly() + * @generated + * @ordered + */ + protected Boolean readOnly = READ_ONLY_EDEFAULT; + + /** + * The cached value of the '{@link #getCustomizer() Customizer}' containment reference. + * + * + * @see #getCustomizer() + * @generated + * @ordered + */ + protected XmlClassReference customizer; + + /** + * The cached value of the '{@link #getChangeTracking() Change Tracking}' containment reference. + * + * + * @see #getChangeTracking() + * @generated + * @ordered + */ + protected XmlChangeTracking changeTracking; + + /** + * The cached value of the '{@link #getCache() Cache}' containment reference. + * + * + * @see #getCache() + * @generated + * @ordered + */ + protected XmlCache cache; + + /** + * 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 ExistenceType EXISTENCE_CHECKING_EDEFAULT = null; + + /** + * The cached value of the '{@link #getExistenceChecking() Existence Checking}' attribute. + * + * + * @see #getExistenceChecking() + * @generated + * @ordered + */ + protected ExistenceType existenceChecking = EXISTENCE_CHECKING_EDEFAULT; + + /** + * The cached value of the '{@link #getConverters() Converters}' containment reference list. + * + * + * @see #getConverters() + * @generated + * @ordered + */ + protected EList converters; + + /** + * The cached value of the '{@link #getTypeConverters() Type Converters}' containment reference list. + * + * + * @see #getTypeConverters() + * @generated + * @ordered + */ + protected EList typeConverters; + + /** + * The cached value of the '{@link #getObjectTypeConverters() Object Type Converters}' containment reference list. + * + * + * @see #getObjectTypeConverters() + * @generated + * @ordered + */ + protected EList objectTypeConverters; + + /** + * The cached value of the '{@link #getStructConverters() Struct Converters}' containment reference list. + * + * + * @see #getStructConverters() + * @generated + * @ordered + */ + protected EList structConverters; + + /** + * The cached value of the '{@link #getProperties() Properties}' containment reference list. + * + * + * @see #getProperties() + * @generated + * @ordered + */ + protected EList properties; + + /** + * The cached value of the '{@link #getOptimisticLocking() Optimistic Locking}' containment reference. + * + * + * @see #getOptimisticLocking() + * @generated + * @ordered + */ + protected XmlOptimisticLocking optimisticLocking; + + /** + * The cached value of the '{@link #getCopyPolicy() Copy Policy}' containment reference. + * + * + * @see #getCopyPolicy() + * @generated + * @ordered + */ + protected XmlCopyPolicy copyPolicy; + + /** + * The cached value of the '{@link #getInstantiationCopyPolicy() Instantiation Copy Policy}' containment reference. + * + * + * @see #getInstantiationCopyPolicy() + * @generated + * @ordered + */ + protected XmlInstantiationCopyPolicy instantiationCopyPolicy; + + /** + * The cached value of the '{@link #getCloneCopyPolicy() Clone Copy Policy}' containment reference. + * + * + * @see #getCloneCopyPolicy() + * @generated + * @ordered + */ + protected XmlCloneCopyPolicy cloneCopyPolicy; + + /** + * The default value of the '{@link #getExcludeDefaultMappings() Exclude Default Mappings}' attribute. + * + * + * @see #getExcludeDefaultMappings() + * @generated + * @ordered + */ + protected static final Boolean EXCLUDE_DEFAULT_MAPPINGS_EDEFAULT = null; + + /** + * The cached value of the '{@link #getExcludeDefaultMappings() Exclude Default Mappings}' attribute. + * + * + * @see #getExcludeDefaultMappings() + * @generated + * @ordered + */ + protected Boolean excludeDefaultMappings = EXCLUDE_DEFAULT_MAPPINGS_EDEFAULT; + + /** + * + * + * @generated + */ + protected XmlMappedSuperclass() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_MAPPED_SUPERCLASS; + } + + /** + * Returns the value of the 'Read Only' attribute. + * + *

+ * 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.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__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_MAPPED_SUPERCLASS__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.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__CUSTOMIZER, null, msgs); + if (newCustomizer != null) + msgs = ((InternalEObject)newCustomizer).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CUSTOMIZER, null, msgs); + msgs = basicSetCustomizer(newCustomizer, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__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_MAPPED_SUPERCLASS__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.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__CHANGE_TRACKING, null, msgs); + if (newChangeTracking != null) + msgs = ((InternalEObject)newChangeTracking).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CHANGE_TRACKING, null, msgs); + msgs = basicSetChangeTracking(newChangeTracking, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__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_MAPPED_SUPERCLASS__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.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__CACHE, null, msgs); + if (newCache != null) + msgs = ((InternalEObject)newCache).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE, null, msgs); + msgs = basicSetCache(newCache, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__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.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__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 getConverters() + { + if (converters == null) + { + converters = new EObjectContainmentEList(XmlConverter.class, this, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CONVERTERS); + } + return converters; + } + + /** + * Returns the value of the 'Type Converters' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter}. + * + *

+ * 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 getTypeConverters() + { + if (typeConverters == null) + { + typeConverters = new EObjectContainmentEList(XmlTypeConverter.class, this, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__TYPE_CONVERTERS); + } + return typeConverters; + } + + /** + * Returns the value of the 'Object Type Converters' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter}. + * + *

+ * 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 getObjectTypeConverters() + { + if (objectTypeConverters == null) + { + objectTypeConverters = new EObjectContainmentEList(XmlObjectTypeConverter.class, this, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__OBJECT_TYPE_CONVERTERS); + } + return objectTypeConverters; + } + + /** + * Returns the value of the 'Struct Converters' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructConverter}. + * + *

+ * 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 getStructConverters() + { + if (structConverters == null) + { + structConverters = new EObjectContainmentEList(XmlStructConverter.class, this, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__STRUCT_CONVERTERS); + } + return structConverters; + } + + /** + * Returns the value of the 'Optimistic Locking' containment reference. + * + *

+ * 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#getXmlMappedSuperclass_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_MAPPED_SUPERCLASS__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.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__OPTIMISTIC_LOCKING, null, msgs); + if (newOptimisticLocking != null) + msgs = ((InternalEObject)newOptimisticLocking).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__OPTIMISTIC_LOCKING, null, msgs); + msgs = basicSetOptimisticLocking(newOptimisticLocking, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__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#getXmlMappedSuperclass_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_MAPPED_SUPERCLASS__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.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__COPY_POLICY, null, msgs); + if (newCopyPolicy != null) + msgs = ((InternalEObject)newCopyPolicy).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__COPY_POLICY, null, msgs); + msgs = basicSetCopyPolicy(newCopyPolicy, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__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#getXmlMappedSuperclass_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_MAPPED_SUPERCLASS__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.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__INSTANTIATION_COPY_POLICY, null, msgs); + if (newInstantiationCopyPolicy != null) + msgs = ((InternalEObject)newInstantiationCopyPolicy).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__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_MAPPED_SUPERCLASS__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#getXmlMappedSuperclass_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_MAPPED_SUPERCLASS__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.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__CLONE_COPY_POLICY, null, msgs); + if (newCloneCopyPolicy != null) + msgs = ((InternalEObject)newCloneCopyPolicy).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__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_MAPPED_SUPERCLASS__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 getProperties() + { + if (properties == null) + { + properties = new EObjectContainmentEList(XmlProperty.class, this, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PROPERTIES); + } + return properties; + } + + /** + * Returns the value of the 'Primary Key' containment reference. + * + *

+ * 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#getXmlMappedSuperclass_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_MAPPED_SUPERCLASS__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.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__PRIMARY_KEY, null, msgs); + if (newPrimaryKey != null) + msgs = ((InternalEObject)newPrimaryKey).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PRIMARY_KEY, null, msgs); + msgs = basicSetPrimaryKey(newPrimaryKey, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PRIMARY_KEY, newPrimaryKey, newPrimaryKey)); + } + + /** + * Returns the value of the 'Cacheable' attribute. + * + *

+ * If the meaning of the 'Cacheable' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Cacheable' attribute. + * @see #setCacheable(Boolean) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCacheable_2_0_Cacheable() + * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" + * @generated + */ + public Boolean getCacheable() + { + return cacheable; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass#getCacheable Cacheable}' attribute. + * + * + * @param value the new value of the 'Cacheable' attribute. + * @see #getCacheable() + * @generated + */ + public void setCacheable(Boolean newCacheable) + { + Boolean oldCacheable = cacheable; + cacheable = newCacheable; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHEABLE, oldCacheable, cacheable)); + } + + /** + * 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#getXmlMappedSuperclass_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_MAPPED_SUPERCLASS__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.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__CACHE_INTERCEPTOR, null, msgs); + if (newCacheInterceptor != null) + msgs = ((InternalEObject)newCacheInterceptor).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE_INTERCEPTOR, null, msgs); + msgs = basicSetCacheInterceptor(newCacheInterceptor, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE_INTERCEPTOR, newCacheInterceptor, newCacheInterceptor)); + } + + /** + * Returns the value of the '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 '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 getAssociationOverrides() + { + if (associationOverrides == null) + { + associationOverrides = new EObjectContainmentEList(XmlAssociationOverride.class, this, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ASSOCIATION_OVERRIDES); + } + return associationOverrides; + } + + /** + * 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 getAttributeOverrides() + { + if (attributeOverrides == null) + { + attributeOverrides = new EObjectContainmentEList(XmlAttributeOverride.class, this, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ATTRIBUTE_OVERRIDES); + } + return attributeOverrides; + } + + /** + * 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 getFetchGroups() + { + if (fetchGroups == null) + { + fetchGroups = new EObjectContainmentEList(XmlFetchGroup.class, this, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__FETCH_GROUPS); + } + return fetchGroups; + } + + /** + * Returns the value of the 'Sequence Generator' containment reference. + * + *

+ * 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_MAPPED_SUPERCLASS__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.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__SEQUENCE_GENERATOR, null, msgs); + if (newSequenceGenerator != null) + msgs = ((InternalEObject)newSequenceGenerator).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__SEQUENCE_GENERATOR, null, msgs); + msgs = basicSetSequenceGenerator(newSequenceGenerator, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__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_MAPPED_SUPERCLASS__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.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__TABLE_GENERATOR, null, msgs); + if (newTableGenerator != null) + msgs = ((InternalEObject)newTableGenerator).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__TABLE_GENERATOR, null, msgs); + msgs = basicSetTableGenerator(newTableGenerator, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__TABLE_GENERATOR, newTableGenerator, newTableGenerator)); + } + + /** + * Returns the value of the 'Named Queries' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.core.resource.orm.XmlNamedQuery}. + * + *

+ * If the meaning of the 'Named Queries' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Named Queries' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlQueryContainer_NamedQueries() + * @model containment="true" + * @generated + */ + public EList getNamedQueries() + { + if (namedQueries == null) + { + namedQueries = new EObjectContainmentEList(XmlNamedQuery.class, this, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_QUERIES); + } + return namedQueries; + } + + /** + * Returns the value of the 'Named Native Queries' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.core.resource.orm.XmlNamedNativeQuery}. + * + *

+ * If the meaning of the 'Named Native Queries' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Named Native Queries' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlQueryContainer_NamedNativeQueries() + * @model containment="true" + * @generated + */ + public EList getNamedNativeQueries() + { + if (namedNativeQueries == null) + { + namedNativeQueries = new EObjectContainmentEList(XmlNamedNativeQuery.class, this, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_NATIVE_QUERIES); + } + return namedNativeQueries; + } + + /** + * 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 getNamedStoredProcedureQueries() + { + if (namedStoredProcedureQueries == null) + { + namedStoredProcedureQueries = new EObjectContainmentEList(XmlNamedStoredProcedureQuery.class, this, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_STORED_PROCEDURE_QUERIES); + } + return namedStoredProcedureQueries; + } + + /** + * 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_MAPPED_SUPERCLASS__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.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__ACCESS_METHODS, null, msgs); + if (newAccessMethods != null) + msgs = ((InternalEObject)newAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ACCESS_METHODS, null, msgs); + msgs = basicSetAccessMethods(newAccessMethods, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ACCESS_METHODS, newAccessMethods, newAccessMethods)); + } + + /** + * Returns the value of the 'Sql Result Set Mappings' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.core.resource.orm.SqlResultSetMapping}. + * + *

+ * If the meaning of the 'Sql Result Set Mappings' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Sql Result Set Mappings' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlMappedSuperclass_2_1_SqlResultSetMappings() + * @model containment="true" + * @generated + */ + public EList getSqlResultSetMappings() + { + if (sqlResultSetMappings == null) + { + sqlResultSetMappings = new EObjectContainmentEList(SqlResultSetMapping.class, this, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__SQL_RESULT_SET_MAPPINGS); + } + return sqlResultSetMappings; + } + + /** + * 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#getXmlMappedSuperclass_2_1_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_MAPPED_SUPERCLASS__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.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__QUERY_REDIRECTORS, null, msgs); + if (newQueryRedirectors != null) + msgs = ((InternalEObject)newQueryRedirectors).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__QUERY_REDIRECTORS, null, msgs); + msgs = basicSetQueryRedirectors(newQueryRedirectors, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__QUERY_REDIRECTORS, newQueryRedirectors, newQueryRedirectors)); + } + + /** + * 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.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__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_MAPPED_SUPERCLASS__PARTITIONING, oldPartitioning, newPartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__PARTITIONING, null, msgs); + if (newPartitioning != null) + msgs = ((InternalEObject)newPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONING, null, msgs); + msgs = basicSetPartitioning(newPartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONING, newPartitioning, newPartitioning)); + } + + /** + * Returns the value of the '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_MAPPED_SUPERCLASS__REPLICATION_PARTITIONING, oldReplicationPartitioning, newReplicationPartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__REPLICATION_PARTITIONING, null, msgs); + if (newReplicationPartitioning != null) + msgs = ((InternalEObject)newReplicationPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__REPLICATION_PARTITIONING, null, msgs); + msgs = basicSetReplicationPartitioning(newReplicationPartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__REPLICATION_PARTITIONING, newReplicationPartitioning, newReplicationPartitioning)); + } + + /** + * Returns the value of the '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_MAPPED_SUPERCLASS__ROUND_ROBIN_PARTITIONING, oldRoundRobinPartitioning, newRoundRobinPartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__ROUND_ROBIN_PARTITIONING, null, msgs); + if (newRoundRobinPartitioning != null) + msgs = ((InternalEObject)newRoundRobinPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ROUND_ROBIN_PARTITIONING, null, msgs); + msgs = basicSetRoundRobinPartitioning(newRoundRobinPartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ROUND_ROBIN_PARTITIONING, newRoundRobinPartitioning, newRoundRobinPartitioning)); + } + + /** + * Returns the value of the '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_MAPPED_SUPERCLASS__PINNED_PARTITIONING, oldPinnedPartitioning, newPinnedPartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__PINNED_PARTITIONING, null, msgs); + if (newPinnedPartitioning != null) + msgs = ((InternalEObject)newPinnedPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PINNED_PARTITIONING, null, msgs); + msgs = basicSetPinnedPartitioning(newPinnedPartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PINNED_PARTITIONING, newPinnedPartitioning, newPinnedPartitioning)); + } + + /** + * Returns the value of the '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_MAPPED_SUPERCLASS__RANGE_PARTITIONING, oldRangePartitioning, newRangePartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__RANGE_PARTITIONING, null, msgs); + if (newRangePartitioning != null) + msgs = ((InternalEObject)newRangePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__RANGE_PARTITIONING, null, msgs); + msgs = basicSetRangePartitioning(newRangePartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__RANGE_PARTITIONING, newRangePartitioning, newRangePartitioning)); + } + + /** + * Returns the value of the '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_MAPPED_SUPERCLASS__VALUE_PARTITIONING, oldValuePartitioning, newValuePartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__VALUE_PARTITIONING, null, msgs); + if (newValuePartitioning != null) + msgs = ((InternalEObject)newValuePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__VALUE_PARTITIONING, null, msgs); + msgs = basicSetValuePartitioning(newValuePartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__VALUE_PARTITIONING, newValuePartitioning, newValuePartitioning)); + } + + /** + * Returns the value of the '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_MAPPED_SUPERCLASS__HASH_PARTITIONING, oldHashPartitioning, newHashPartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__HASH_PARTITIONING, null, msgs); + if (newHashPartitioning != null) + msgs = ((InternalEObject)newHashPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__HASH_PARTITIONING, null, msgs); + msgs = basicSetHashPartitioning(newHashPartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__HASH_PARTITIONING, newHashPartitioning, newHashPartitioning)); + } + + /** + * Returns the value of the '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_MAPPED_SUPERCLASS__UNION_PARTITIONING, oldUnionPartitioning, newUnionPartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__UNION_PARTITIONING, null, msgs); + if (newUnionPartitioning != null) + msgs = ((InternalEObject)newUnionPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UNION_PARTITIONING, null, msgs); + msgs = basicSetUnionPartitioning(newUnionPartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UNION_PARTITIONING, newUnionPartitioning, newUnionPartitioning)); + } + + /** + * Returns the value of the '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.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__PARTITIONED, oldPartitioned, partitioned)); + } + + /** + * 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#getXmlMappedSuperclass_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_MAPPED_SUPERCLASS__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.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__ADDITIONAL_CRITERIA, null, msgs); + if (newAdditionalCriteria != null) + msgs = ((InternalEObject)newAdditionalCriteria).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ADDITIONAL_CRITERIA, null, msgs); + msgs = basicSetAdditionalCriteria(newAdditionalCriteria, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ADDITIONAL_CRITERIA, newAdditionalCriteria, newAdditionalCriteria)); + } + + /** + * 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_MAPPED_SUPERCLASS__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.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__MULTITENANT, null, msgs); + if (newMultitenant != null) + msgs = ((InternalEObject)newMultitenant).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__MULTITENANT, null, msgs); + msgs = basicSetMultitenant(newMultitenant, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__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#getXmlMappedSuperclass_2_3_NamedStoredFunctionQueries() + * @model containment="true" + * @generated + */ + public EList getNamedStoredFunctionQueries() + { + if (namedStoredFunctionQueries == null) + { + namedStoredFunctionQueries = new EObjectContainmentEList(XmlNamedStoredFunctionQuery_2_3.class, this, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_STORED_FUNCTION_QUERIES); + } + return namedStoredFunctionQueries; + } + + /** + * Returns the value of the 'Named Plsql Stored Function Queries' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredFunctionQuery_2_3}. + * + *

+ * 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#getXmlMappedSuperclass_2_3_NamedPlsqlStoredFunctionQueries() + * @model containment="true" + * @generated + */ + public EList getNamedPlsqlStoredFunctionQueries() + { + if (namedPlsqlStoredFunctionQueries == null) + { + namedPlsqlStoredFunctionQueries = new EObjectContainmentEList(XmlNamedPlsqlStoredFunctionQuery_2_3.class, this, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_PLSQL_STORED_FUNCTION_QUERIES); + } + return namedPlsqlStoredFunctionQueries; + } + + /** + * Returns the value of the 'Named Plsql Stored Procedure Queries' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredProcedureQuery_2_3}. + * + *

+ * 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#getXmlMappedSuperclass_2_3_NamedPlsqlStoredProcedureQueries() + * @model containment="true" + * @generated + */ + public EList getNamedPlsqlStoredProcedureQueries() + { + if (namedPlsqlStoredProcedureQueries == null) + { + namedPlsqlStoredProcedureQueries = new EObjectContainmentEList(XmlNamedPlsqlStoredProcedureQuery_2_3.class, this, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_PLSQL_STORED_PROCEDURE_QUERIES); + } + return namedPlsqlStoredProcedureQueries; + } + + /** + * 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#getXmlMappedSuperclass_2_3_PlsqlRecords() + * @model containment="true" + * @generated + */ + public EList getPlsqlRecords() + { + if (plsqlRecords == null) + { + plsqlRecords = new EObjectContainmentEList(XmlPlsqlRecord_2_3.class, this, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PLSQL_RECORDS); + } + return plsqlRecords; + } + + /** + * Returns the value of the 'Plsql Tables' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPlsqlTable}. + * + *

+ * 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#getXmlMappedSuperclass_2_3_PlsqlTables() + * @model containment="true" + * @generated + */ + public EList getPlsqlTables() + { + if (plsqlTables == null) + { + plsqlTables = new EObjectContainmentEList(XmlPlsqlTable.class, this, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PLSQL_TABLES); + } + return plsqlTables; + } + + /** + * 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#getXmlMappedSuperclass_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_MAPPED_SUPERCLASS__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.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__CACHE_INDEX, null, msgs); + if (newCacheIndex != null) + msgs = ((InternalEObject)newCacheIndex).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE_INDEX, null, msgs); + msgs = basicSetCacheIndex(newCacheIndex, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__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_MAPPED_SUPERCLASS__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.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__UUID_GENERATOR, null, msgs); + if (newUuidGenerator != null) + msgs = ((InternalEObject)newUuidGenerator).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UUID_GENERATOR, null, msgs); + msgs = basicSetUuidGenerator(newUuidGenerator, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UUID_GENERATOR, newUuidGenerator, newUuidGenerator)); + } + + /** + * 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#getXmlMappedSuperclass_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.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__EXCLUDE_DEFAULT_MAPPINGS, oldExcludeDefaultMappings, excludeDefaultMappings)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ACCESS_METHODS: + return basicSetAccessMethods(null, msgs); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PRIMARY_KEY: + return basicSetPrimaryKey(null, msgs); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE_INTERCEPTOR: + return basicSetCacheInterceptor(null, msgs); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ASSOCIATION_OVERRIDES: + return ((InternalEList)getAssociationOverrides()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ATTRIBUTE_OVERRIDES: + return ((InternalEList)getAttributeOverrides()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__FETCH_GROUPS: + return ((InternalEList)getFetchGroups()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__SEQUENCE_GENERATOR: + return basicSetSequenceGenerator(null, msgs); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__TABLE_GENERATOR: + return basicSetTableGenerator(null, msgs); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_QUERIES: + return ((InternalEList)getNamedQueries()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_NATIVE_QUERIES: + return ((InternalEList)getNamedNativeQueries()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_STORED_PROCEDURE_QUERIES: + return ((InternalEList)getNamedStoredProcedureQueries()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__SQL_RESULT_SET_MAPPINGS: + return ((InternalEList)getSqlResultSetMappings()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__QUERY_REDIRECTORS: + return basicSetQueryRedirectors(null, msgs); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONING: + return basicSetPartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__REPLICATION_PARTITIONING: + return basicSetReplicationPartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ROUND_ROBIN_PARTITIONING: + return basicSetRoundRobinPartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PINNED_PARTITIONING: + return basicSetPinnedPartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__RANGE_PARTITIONING: + return basicSetRangePartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__VALUE_PARTITIONING: + return basicSetValuePartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__HASH_PARTITIONING: + return basicSetHashPartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UNION_PARTITIONING: + return basicSetUnionPartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ADDITIONAL_CRITERIA: + return basicSetAdditionalCriteria(null, msgs); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__MULTITENANT: + return basicSetMultitenant(null, msgs); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_STORED_FUNCTION_QUERIES: + return ((InternalEList)getNamedStoredFunctionQueries()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_PLSQL_STORED_FUNCTION_QUERIES: + return ((InternalEList)getNamedPlsqlStoredFunctionQueries()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_PLSQL_STORED_PROCEDURE_QUERIES: + return ((InternalEList)getNamedPlsqlStoredProcedureQueries()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PLSQL_RECORDS: + return ((InternalEList)getPlsqlRecords()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PLSQL_TABLES: + return ((InternalEList)getPlsqlTables()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UUID_GENERATOR: + return basicSetUuidGenerator(null, msgs); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE_INDEX: + return basicSetCacheIndex(null, msgs); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CUSTOMIZER: + return basicSetCustomizer(null, msgs); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CHANGE_TRACKING: + return basicSetChangeTracking(null, msgs); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE: + return basicSetCache(null, msgs); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CONVERTERS: + return ((InternalEList)getConverters()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__TYPE_CONVERTERS: + return ((InternalEList)getTypeConverters()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__OBJECT_TYPE_CONVERTERS: + return ((InternalEList)getObjectTypeConverters()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__STRUCT_CONVERTERS: + return ((InternalEList)getStructConverters()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PROPERTIES: + return ((InternalEList)getProperties()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__OPTIMISTIC_LOCKING: + return basicSetOptimisticLocking(null, msgs); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__COPY_POLICY: + return basicSetCopyPolicy(null, msgs); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__INSTANTIATION_COPY_POLICY: + return basicSetInstantiationCopyPolicy(null, msgs); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__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_MAPPED_SUPERCLASS__ACCESS_METHODS: + return getAccessMethods(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARENT_CLASS: + return getParentClass(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PRIMARY_KEY: + return getPrimaryKey(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHEABLE: + return getCacheable(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE_INTERCEPTOR: + return getCacheInterceptor(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ASSOCIATION_OVERRIDES: + return getAssociationOverrides(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ATTRIBUTE_OVERRIDES: + return getAttributeOverrides(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__FETCH_GROUPS: + return getFetchGroups(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__SEQUENCE_GENERATOR: + return getSequenceGenerator(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__TABLE_GENERATOR: + return getTableGenerator(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_QUERIES: + return getNamedQueries(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_NATIVE_QUERIES: + return getNamedNativeQueries(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_STORED_PROCEDURE_QUERIES: + return getNamedStoredProcedureQueries(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__SQL_RESULT_SET_MAPPINGS: + return getSqlResultSetMappings(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__QUERY_REDIRECTORS: + return getQueryRedirectors(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONING: + return getPartitioning(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__REPLICATION_PARTITIONING: + return getReplicationPartitioning(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ROUND_ROBIN_PARTITIONING: + return getRoundRobinPartitioning(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PINNED_PARTITIONING: + return getPinnedPartitioning(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__RANGE_PARTITIONING: + return getRangePartitioning(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__VALUE_PARTITIONING: + return getValuePartitioning(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__HASH_PARTITIONING: + return getHashPartitioning(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UNION_PARTITIONING: + return getUnionPartitioning(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONED: + return getPartitioned(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ADDITIONAL_CRITERIA: + return getAdditionalCriteria(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__MULTITENANT: + return getMultitenant(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_STORED_FUNCTION_QUERIES: + return getNamedStoredFunctionQueries(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_PLSQL_STORED_FUNCTION_QUERIES: + return getNamedPlsqlStoredFunctionQueries(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_PLSQL_STORED_PROCEDURE_QUERIES: + return getNamedPlsqlStoredProcedureQueries(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PLSQL_RECORDS: + return getPlsqlRecords(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PLSQL_TABLES: + return getPlsqlTables(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UUID_GENERATOR: + return getUuidGenerator(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE_INDEX: + return getCacheIndex(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__READ_ONLY: + return getReadOnly(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CUSTOMIZER: + return getCustomizer(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CHANGE_TRACKING: + return getChangeTracking(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE: + return getCache(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__EXISTENCE_CHECKING: + return getExistenceChecking(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CONVERTERS: + return getConverters(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__TYPE_CONVERTERS: + return getTypeConverters(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__OBJECT_TYPE_CONVERTERS: + return getObjectTypeConverters(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__STRUCT_CONVERTERS: + return getStructConverters(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PROPERTIES: + return getProperties(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__OPTIMISTIC_LOCKING: + return getOptimisticLocking(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__COPY_POLICY: + return getCopyPolicy(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__INSTANTIATION_COPY_POLICY: + return getInstantiationCopyPolicy(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CLONE_COPY_POLICY: + return getCloneCopyPolicy(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__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_MAPPED_SUPERCLASS__ACCESS_METHODS: + setAccessMethods((XmlAccessMethods)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARENT_CLASS: + setParentClass((String)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PRIMARY_KEY: + setPrimaryKey((XmlPrimaryKey)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHEABLE: + setCacheable((Boolean)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE_INTERCEPTOR: + setCacheInterceptor((XmlClassReference)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ASSOCIATION_OVERRIDES: + getAssociationOverrides().clear(); + getAssociationOverrides().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ATTRIBUTE_OVERRIDES: + getAttributeOverrides().clear(); + getAttributeOverrides().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__FETCH_GROUPS: + getFetchGroups().clear(); + getFetchGroups().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__SEQUENCE_GENERATOR: + setSequenceGenerator((XmlSequenceGenerator)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__TABLE_GENERATOR: + setTableGenerator((XmlTableGenerator)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_QUERIES: + getNamedQueries().clear(); + getNamedQueries().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_NATIVE_QUERIES: + getNamedNativeQueries().clear(); + getNamedNativeQueries().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_STORED_PROCEDURE_QUERIES: + getNamedStoredProcedureQueries().clear(); + getNamedStoredProcedureQueries().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__SQL_RESULT_SET_MAPPINGS: + getSqlResultSetMappings().clear(); + getSqlResultSetMappings().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__QUERY_REDIRECTORS: + setQueryRedirectors((XmlQueryRedirectors)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONING: + setPartitioning((XmlPartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__REPLICATION_PARTITIONING: + setReplicationPartitioning((XmlReplicationPartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ROUND_ROBIN_PARTITIONING: + setRoundRobinPartitioning((XmlRoundRobinPartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PINNED_PARTITIONING: + setPinnedPartitioning((XmlPinnedPartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__RANGE_PARTITIONING: + setRangePartitioning((XmlRangePartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__VALUE_PARTITIONING: + setValuePartitioning((XmlValuePartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__HASH_PARTITIONING: + setHashPartitioning((XmlHashPartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UNION_PARTITIONING: + setUnionPartitioning((XmlUnionPartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONED: + setPartitioned((String)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ADDITIONAL_CRITERIA: + setAdditionalCriteria((XmlAdditionalCriteria_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__MULTITENANT: + setMultitenant((XmlMultitenant)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_STORED_FUNCTION_QUERIES: + getNamedStoredFunctionQueries().clear(); + getNamedStoredFunctionQueries().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_PLSQL_STORED_FUNCTION_QUERIES: + getNamedPlsqlStoredFunctionQueries().clear(); + getNamedPlsqlStoredFunctionQueries().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_PLSQL_STORED_PROCEDURE_QUERIES: + getNamedPlsqlStoredProcedureQueries().clear(); + getNamedPlsqlStoredProcedureQueries().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PLSQL_RECORDS: + getPlsqlRecords().clear(); + getPlsqlRecords().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PLSQL_TABLES: + getPlsqlTables().clear(); + getPlsqlTables().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UUID_GENERATOR: + setUuidGenerator((XmlUuidGenerator_2_4)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE_INDEX: + setCacheIndex((XmlCacheIndex_2_4)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__READ_ONLY: + setReadOnly((Boolean)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CUSTOMIZER: + setCustomizer((XmlClassReference)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CHANGE_TRACKING: + setChangeTracking((XmlChangeTracking)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE: + setCache((XmlCache)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__EXISTENCE_CHECKING: + setExistenceChecking((ExistenceType)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CONVERTERS: + getConverters().clear(); + getConverters().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__TYPE_CONVERTERS: + getTypeConverters().clear(); + getTypeConverters().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__OBJECT_TYPE_CONVERTERS: + getObjectTypeConverters().clear(); + getObjectTypeConverters().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__STRUCT_CONVERTERS: + getStructConverters().clear(); + getStructConverters().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PROPERTIES: + getProperties().clear(); + getProperties().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__OPTIMISTIC_LOCKING: + setOptimisticLocking((XmlOptimisticLocking)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__COPY_POLICY: + setCopyPolicy((XmlCopyPolicy)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__INSTANTIATION_COPY_POLICY: + setInstantiationCopyPolicy((XmlInstantiationCopyPolicy)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CLONE_COPY_POLICY: + setCloneCopyPolicy((XmlCloneCopyPolicy)newValue); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__EXCLUDE_DEFAULT_MAPPINGS: + setExcludeDefaultMappings((Boolean)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ACCESS_METHODS: + setAccessMethods((XmlAccessMethods)null); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARENT_CLASS: + setParentClass(PARENT_CLASS_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PRIMARY_KEY: + setPrimaryKey((XmlPrimaryKey)null); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHEABLE: + setCacheable(CACHEABLE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE_INTERCEPTOR: + setCacheInterceptor((XmlClassReference)null); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ASSOCIATION_OVERRIDES: + getAssociationOverrides().clear(); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ATTRIBUTE_OVERRIDES: + getAttributeOverrides().clear(); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__FETCH_GROUPS: + getFetchGroups().clear(); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__SEQUENCE_GENERATOR: + setSequenceGenerator((XmlSequenceGenerator)null); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__TABLE_GENERATOR: + setTableGenerator((XmlTableGenerator)null); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_QUERIES: + getNamedQueries().clear(); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_NATIVE_QUERIES: + getNamedNativeQueries().clear(); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_STORED_PROCEDURE_QUERIES: + getNamedStoredProcedureQueries().clear(); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__SQL_RESULT_SET_MAPPINGS: + getSqlResultSetMappings().clear(); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__QUERY_REDIRECTORS: + setQueryRedirectors((XmlQueryRedirectors)null); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONING: + setPartitioning((XmlPartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__REPLICATION_PARTITIONING: + setReplicationPartitioning((XmlReplicationPartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ROUND_ROBIN_PARTITIONING: + setRoundRobinPartitioning((XmlRoundRobinPartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PINNED_PARTITIONING: + setPinnedPartitioning((XmlPinnedPartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__RANGE_PARTITIONING: + setRangePartitioning((XmlRangePartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__VALUE_PARTITIONING: + setValuePartitioning((XmlValuePartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__HASH_PARTITIONING: + setHashPartitioning((XmlHashPartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UNION_PARTITIONING: + setUnionPartitioning((XmlUnionPartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONED: + setPartitioned(PARTITIONED_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ADDITIONAL_CRITERIA: + setAdditionalCriteria((XmlAdditionalCriteria_2_2)null); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__MULTITENANT: + setMultitenant((XmlMultitenant)null); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_STORED_FUNCTION_QUERIES: + getNamedStoredFunctionQueries().clear(); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_PLSQL_STORED_FUNCTION_QUERIES: + getNamedPlsqlStoredFunctionQueries().clear(); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_PLSQL_STORED_PROCEDURE_QUERIES: + getNamedPlsqlStoredProcedureQueries().clear(); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PLSQL_RECORDS: + getPlsqlRecords().clear(); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PLSQL_TABLES: + getPlsqlTables().clear(); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UUID_GENERATOR: + setUuidGenerator((XmlUuidGenerator_2_4)null); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE_INDEX: + setCacheIndex((XmlCacheIndex_2_4)null); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__READ_ONLY: + setReadOnly(READ_ONLY_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CUSTOMIZER: + setCustomizer((XmlClassReference)null); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CHANGE_TRACKING: + setChangeTracking((XmlChangeTracking)null); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE: + setCache((XmlCache)null); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__EXISTENCE_CHECKING: + setExistenceChecking(EXISTENCE_CHECKING_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CONVERTERS: + getConverters().clear(); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__TYPE_CONVERTERS: + getTypeConverters().clear(); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__OBJECT_TYPE_CONVERTERS: + getObjectTypeConverters().clear(); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__STRUCT_CONVERTERS: + getStructConverters().clear(); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PROPERTIES: + getProperties().clear(); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__OPTIMISTIC_LOCKING: + setOptimisticLocking((XmlOptimisticLocking)null); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__COPY_POLICY: + setCopyPolicy((XmlCopyPolicy)null); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__INSTANTIATION_COPY_POLICY: + setInstantiationCopyPolicy((XmlInstantiationCopyPolicy)null); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CLONE_COPY_POLICY: + setCloneCopyPolicy((XmlCloneCopyPolicy)null); + return; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__EXCLUDE_DEFAULT_MAPPINGS: + setExcludeDefaultMappings(EXCLUDE_DEFAULT_MAPPINGS_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ACCESS_METHODS: + return accessMethods != null; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARENT_CLASS: + return PARENT_CLASS_EDEFAULT == null ? parentClass != null : !PARENT_CLASS_EDEFAULT.equals(parentClass); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PRIMARY_KEY: + return primaryKey != null; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHEABLE: + return CACHEABLE_EDEFAULT == null ? cacheable != null : !CACHEABLE_EDEFAULT.equals(cacheable); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE_INTERCEPTOR: + return cacheInterceptor != null; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ASSOCIATION_OVERRIDES: + return associationOverrides != null && !associationOverrides.isEmpty(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ATTRIBUTE_OVERRIDES: + return attributeOverrides != null && !attributeOverrides.isEmpty(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__FETCH_GROUPS: + return fetchGroups != null && !fetchGroups.isEmpty(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__SEQUENCE_GENERATOR: + return sequenceGenerator != null; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__TABLE_GENERATOR: + return tableGenerator != null; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_QUERIES: + return namedQueries != null && !namedQueries.isEmpty(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_NATIVE_QUERIES: + return namedNativeQueries != null && !namedNativeQueries.isEmpty(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_STORED_PROCEDURE_QUERIES: + return namedStoredProcedureQueries != null && !namedStoredProcedureQueries.isEmpty(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__SQL_RESULT_SET_MAPPINGS: + return sqlResultSetMappings != null && !sqlResultSetMappings.isEmpty(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__QUERY_REDIRECTORS: + return queryRedirectors != null; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONING: + return partitioning != null; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__REPLICATION_PARTITIONING: + return replicationPartitioning != null; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ROUND_ROBIN_PARTITIONING: + return roundRobinPartitioning != null; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PINNED_PARTITIONING: + return pinnedPartitioning != null; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__RANGE_PARTITIONING: + return rangePartitioning != null; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__VALUE_PARTITIONING: + return valuePartitioning != null; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__HASH_PARTITIONING: + return hashPartitioning != null; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UNION_PARTITIONING: + return unionPartitioning != null; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONED: + return PARTITIONED_EDEFAULT == null ? partitioned != null : !PARTITIONED_EDEFAULT.equals(partitioned); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ADDITIONAL_CRITERIA: + return additionalCriteria != null; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__MULTITENANT: + return multitenant != null; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_STORED_FUNCTION_QUERIES: + return namedStoredFunctionQueries != null && !namedStoredFunctionQueries.isEmpty(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_PLSQL_STORED_FUNCTION_QUERIES: + return namedPlsqlStoredFunctionQueries != null && !namedPlsqlStoredFunctionQueries.isEmpty(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_PLSQL_STORED_PROCEDURE_QUERIES: + return namedPlsqlStoredProcedureQueries != null && !namedPlsqlStoredProcedureQueries.isEmpty(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PLSQL_RECORDS: + return plsqlRecords != null && !plsqlRecords.isEmpty(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PLSQL_TABLES: + return plsqlTables != null && !plsqlTables.isEmpty(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UUID_GENERATOR: + return uuidGenerator != null; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE_INDEX: + return cacheIndex != null; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__READ_ONLY: + return READ_ONLY_EDEFAULT == null ? readOnly != null : !READ_ONLY_EDEFAULT.equals(readOnly); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CUSTOMIZER: + return customizer != null; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CHANGE_TRACKING: + return changeTracking != null; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE: + return cache != null; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__EXISTENCE_CHECKING: + return existenceChecking != EXISTENCE_CHECKING_EDEFAULT; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CONVERTERS: + return converters != null && !converters.isEmpty(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__TYPE_CONVERTERS: + return typeConverters != null && !typeConverters.isEmpty(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__OBJECT_TYPE_CONVERTERS: + return objectTypeConverters != null && !objectTypeConverters.isEmpty(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__STRUCT_CONVERTERS: + return structConverters != null && !structConverters.isEmpty(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PROPERTIES: + return properties != null && !properties.isEmpty(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__OPTIMISTIC_LOCKING: + return optimisticLocking != null; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__COPY_POLICY: + return copyPolicy != null; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__INSTANTIATION_COPY_POLICY: + return instantiationCopyPolicy != null; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CLONE_COPY_POLICY: + return cloneCopyPolicy != null; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__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_MAPPED_SUPERCLASS__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS; + default: return -1; + } + } + if (baseClass == XmlTypeMapping_2_1.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__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 == XmlMappedSuperclass_1_1.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PRIMARY_KEY: return EclipseLinkOrmV1_1Package.XML_MAPPED_SUPERCLASS_11__PRIMARY_KEY; + default: return -1; + } + } + if (baseClass == XmlCacheable_2_0.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHEABLE: return OrmV2_0Package.XML_CACHEABLE_20__CACHEABLE; + default: return -1; + } + } + if (baseClass == XmlMappedSuperclass_2_0.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE_INTERCEPTOR: return EclipseLinkOrmV2_0Package.XML_MAPPED_SUPERCLASS_20__CACHE_INTERCEPTOR; + default: return -1; + } + } + if (baseClass == XmlAssociationOverrideContainer.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ASSOCIATION_OVERRIDES: return OrmPackage.XML_ASSOCIATION_OVERRIDE_CONTAINER__ASSOCIATION_OVERRIDES; + default: return -1; + } + } + if (baseClass == XmlAttributeOverrideContainer.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ATTRIBUTE_OVERRIDES: return OrmPackage.XML_ATTRIBUTE_OVERRIDE_CONTAINER__ATTRIBUTE_OVERRIDES; + default: return -1; + } + } + if (baseClass == XmlFetchGroupContainer_2_1.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__FETCH_GROUPS: return EclipseLinkOrmV2_1Package.XML_FETCH_GROUP_CONTAINER_21__FETCH_GROUPS; + default: return -1; + } + } + if (baseClass == XmlGeneratorContainer.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__SEQUENCE_GENERATOR: return OrmPackage.XML_GENERATOR_CONTAINER__SEQUENCE_GENERATOR; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__TABLE_GENERATOR: return OrmPackage.XML_GENERATOR_CONTAINER__TABLE_GENERATOR; + default: return -1; + } + } + if (baseClass == XmlQueryContainer.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_QUERIES: return OrmPackage.XML_QUERY_CONTAINER__NAMED_QUERIES; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_NATIVE_QUERIES: return OrmPackage.XML_QUERY_CONTAINER__NAMED_NATIVE_QUERIES; + default: return -1; + } + } + if (baseClass == org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryContainer.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_STORED_PROCEDURE_QUERIES: return EclipseLinkOrmPackage.XML_QUERY_CONTAINER__NAMED_STORED_PROCEDURE_QUERIES; + default: return -1; + } + } + if (baseClass == XmlMappedSuperclass_2_1.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__SQL_RESULT_SET_MAPPINGS: return EclipseLinkOrmV2_1Package.XML_MAPPED_SUPERCLASS_21__SQL_RESULT_SET_MAPPINGS; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__QUERY_REDIRECTORS: return EclipseLinkOrmV2_1Package.XML_MAPPED_SUPERCLASS_21__QUERY_REDIRECTORS; + default: return -1; + } + } + if (baseClass == XmlPartitioningGroup_2_2.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONING; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__REPLICATION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PINNED_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__RANGE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__VALUE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__HASH_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__HASH_PARTITIONING; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UNION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__UNION_PARTITIONING; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONED: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONED; + default: return -1; + } + } + if (baseClass == XmlMappedSuperclass_2_2.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ADDITIONAL_CRITERIA: return EclipseLinkOrmV2_2Package.XML_MAPPED_SUPERCLASS_22__ADDITIONAL_CRITERIA; + default: return -1; + } + } + if (baseClass == XmlMultitenantHolder.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__MULTITENANT: return EclipseLinkOrmPackage.XML_MULTITENANT_HOLDER__MULTITENANT; + default: return -1; + } + } + if (baseClass == XmlMappedSuperclass_2_3.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_STORED_FUNCTION_QUERIES: return EclipseLinkOrmV2_3Package.XML_MAPPED_SUPERCLASS_23__NAMED_STORED_FUNCTION_QUERIES; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_PLSQL_STORED_FUNCTION_QUERIES: return EclipseLinkOrmV2_3Package.XML_MAPPED_SUPERCLASS_23__NAMED_PLSQL_STORED_FUNCTION_QUERIES; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_PLSQL_STORED_PROCEDURE_QUERIES: return EclipseLinkOrmV2_3Package.XML_MAPPED_SUPERCLASS_23__NAMED_PLSQL_STORED_PROCEDURE_QUERIES; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PLSQL_RECORDS: return EclipseLinkOrmV2_3Package.XML_MAPPED_SUPERCLASS_23__PLSQL_RECORDS; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PLSQL_TABLES: return EclipseLinkOrmV2_3Package.XML_MAPPED_SUPERCLASS_23__PLSQL_TABLES; + default: return -1; + } + } + if (baseClass == XmlGeneratorContainer2_4.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UUID_GENERATOR: return EclipseLinkOrmV2_4Package.XML_GENERATOR_CONTAINER2_4__UUID_GENERATOR; + default: return -1; + } + } + if (baseClass == XmlMappedSuperclass_2_4.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE_INDEX: return EclipseLinkOrmV2_4Package.XML_MAPPED_SUPERCLASS_24__CACHE_INDEX; + default: return -1; + } + } + if (baseClass == XmlReadOnly.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__READ_ONLY: return EclipseLinkOrmPackage.XML_READ_ONLY__READ_ONLY; + default: return -1; + } + } + if (baseClass == XmlCustomizerHolder.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CUSTOMIZER: return EclipseLinkOrmPackage.XML_CUSTOMIZER_HOLDER__CUSTOMIZER; + default: return -1; + } + } + if (baseClass == XmlChangeTrackingHolder.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CHANGE_TRACKING: return EclipseLinkOrmPackage.XML_CHANGE_TRACKING_HOLDER__CHANGE_TRACKING; + default: return -1; + } + } + if (baseClass == XmlCacheHolder.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE: return EclipseLinkOrmPackage.XML_CACHE_HOLDER__CACHE; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__EXISTENCE_CHECKING: return EclipseLinkOrmPackage.XML_CACHE_HOLDER__EXISTENCE_CHECKING; + default: return -1; + } + } + if (baseClass == XmlConverterContainer.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__CONVERTERS; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__TYPE_CONVERTERS; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__OBJECT_TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS; + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__STRUCT_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS; + default: return -1; + } + } + if (baseClass == XmlPropertyContainer.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__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_MAPPED_SUPERCLASS__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_MAPPED_SUPERCLASS__PARENT_CLASS; + default: return -1; + } + } + if (baseClass == XmlTypeMapping.class) + { + switch (baseFeatureID) + { + default: return -1; + } + } + if (baseClass == XmlMappedSuperclass_1_1.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV1_1Package.XML_MAPPED_SUPERCLASS_11__PRIMARY_KEY: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PRIMARY_KEY; + default: return -1; + } + } + if (baseClass == XmlCacheable_2_0.class) + { + switch (baseFeatureID) + { + case OrmV2_0Package.XML_CACHEABLE_20__CACHEABLE: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHEABLE; + default: return -1; + } + } + if (baseClass == XmlMappedSuperclass_2_0.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_0Package.XML_MAPPED_SUPERCLASS_20__CACHE_INTERCEPTOR: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE_INTERCEPTOR; + default: return -1; + } + } + if (baseClass == XmlAssociationOverrideContainer.class) + { + switch (baseFeatureID) + { + case OrmPackage.XML_ASSOCIATION_OVERRIDE_CONTAINER__ASSOCIATION_OVERRIDES: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ASSOCIATION_OVERRIDES; + default: return -1; + } + } + if (baseClass == XmlAttributeOverrideContainer.class) + { + switch (baseFeatureID) + { + case OrmPackage.XML_ATTRIBUTE_OVERRIDE_CONTAINER__ATTRIBUTE_OVERRIDES: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ATTRIBUTE_OVERRIDES; + default: return -1; + } + } + if (baseClass == XmlFetchGroupContainer_2_1.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_1Package.XML_FETCH_GROUP_CONTAINER_21__FETCH_GROUPS: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__FETCH_GROUPS; + default: return -1; + } + } + if (baseClass == XmlGeneratorContainer.class) + { + switch (baseFeatureID) + { + case OrmPackage.XML_GENERATOR_CONTAINER__SEQUENCE_GENERATOR: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__SEQUENCE_GENERATOR; + case OrmPackage.XML_GENERATOR_CONTAINER__TABLE_GENERATOR: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__TABLE_GENERATOR; + default: return -1; + } + } + if (baseClass == XmlQueryContainer.class) + { + switch (baseFeatureID) + { + case OrmPackage.XML_QUERY_CONTAINER__NAMED_QUERIES: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_QUERIES; + case OrmPackage.XML_QUERY_CONTAINER__NAMED_NATIVE_QUERIES: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_NATIVE_QUERIES; + default: return -1; + } + } + if (baseClass == org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryContainer.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_QUERY_CONTAINER__NAMED_STORED_PROCEDURE_QUERIES: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_STORED_PROCEDURE_QUERIES; + default: return -1; + } + } + if (baseClass == XmlMappedSuperclass_2_1.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_1Package.XML_MAPPED_SUPERCLASS_21__SQL_RESULT_SET_MAPPINGS: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__SQL_RESULT_SET_MAPPINGS; + case EclipseLinkOrmV2_1Package.XML_MAPPED_SUPERCLASS_21__QUERY_REDIRECTORS: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__QUERY_REDIRECTORS; + default: return -1; + } + } + if (baseClass == XmlPartitioningGroup_2_2.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONING: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__REPLICATION_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ROUND_ROBIN_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PINNED_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__RANGE_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__VALUE_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__HASH_PARTITIONING: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__HASH_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__UNION_PARTITIONING: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UNION_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONED: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONED; + default: return -1; + } + } + if (baseClass == XmlMappedSuperclass_2_2.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_2Package.XML_MAPPED_SUPERCLASS_22__ADDITIONAL_CRITERIA: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ADDITIONAL_CRITERIA; + default: return -1; + } + } + if (baseClass == XmlMultitenantHolder.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_MULTITENANT_HOLDER__MULTITENANT: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__MULTITENANT; + default: return -1; + } + } + if (baseClass == XmlMappedSuperclass_2_3.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_3Package.XML_MAPPED_SUPERCLASS_23__NAMED_STORED_FUNCTION_QUERIES: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_STORED_FUNCTION_QUERIES; + case EclipseLinkOrmV2_3Package.XML_MAPPED_SUPERCLASS_23__NAMED_PLSQL_STORED_FUNCTION_QUERIES: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_PLSQL_STORED_FUNCTION_QUERIES; + case EclipseLinkOrmV2_3Package.XML_MAPPED_SUPERCLASS_23__NAMED_PLSQL_STORED_PROCEDURE_QUERIES: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_PLSQL_STORED_PROCEDURE_QUERIES; + case EclipseLinkOrmV2_3Package.XML_MAPPED_SUPERCLASS_23__PLSQL_RECORDS: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PLSQL_RECORDS; + case EclipseLinkOrmV2_3Package.XML_MAPPED_SUPERCLASS_23__PLSQL_TABLES: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PLSQL_TABLES; + default: return -1; + } + } + if (baseClass == XmlGeneratorContainer2_4.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_4Package.XML_GENERATOR_CONTAINER2_4__UUID_GENERATOR: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UUID_GENERATOR; + default: return -1; + } + } + if (baseClass == XmlMappedSuperclass_2_4.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_4Package.XML_MAPPED_SUPERCLASS_24__CACHE_INDEX: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE_INDEX; + default: return -1; + } + } + if (baseClass == XmlReadOnly.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_READ_ONLY__READ_ONLY: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__READ_ONLY; + default: return -1; + } + } + if (baseClass == XmlCustomizerHolder.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_CUSTOMIZER_HOLDER__CUSTOMIZER: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CUSTOMIZER; + default: return -1; + } + } + if (baseClass == XmlChangeTrackingHolder.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_CHANGE_TRACKING_HOLDER__CHANGE_TRACKING: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CHANGE_TRACKING; + default: return -1; + } + } + if (baseClass == XmlCacheHolder.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_CACHE_HOLDER__CACHE: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE; + case EclipseLinkOrmPackage.XML_CACHE_HOLDER__EXISTENCE_CHECKING: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__EXISTENCE_CHECKING; + default: return -1; + } + } + if (baseClass == XmlConverterContainer.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__CONVERTERS: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CONVERTERS; + case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__TYPE_CONVERTERS; + case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__OBJECT_TYPE_CONVERTERS; + case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__STRUCT_CONVERTERS; + default: return -1; + } + } + if (baseClass == XmlPropertyContainer.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__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(", cacheable: "); + result.append(cacheable); + result.append(", partitioned: "); + result.append(partitioned); + 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 getCacheableTextRange() { + return getAttributeTextRange(JPA2_0.CACHEABLE); + } + + 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.getXmlMappedSuperclass(), + buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildClassTranslator(), + buildParentClassTranslator(), + buildAccessTranslator(), + buildCacheableTranslator(), + buildMetadataCompleteTranslator(), + buildReadOnlyTranslator(), + buildExistenceCheckingTranslator(), + buildExcludeDefaultMappingsTranslator(), + buildDescriptionTranslator(), + buildAccessMethodsTranslator(), + XmlMultitenant.buildTranslator(EclipseLink2_3.MULTITENANT, EclipseLinkOrmPackage.eINSTANCE.getXmlMultitenantHolder_Multitenant()), + buildAdditionalCriteriaTranslator(), + buildCustomizerTranslator(), + buildChangeTrackingTranslator(), + buildIdClassTranslator(), + buildPrimaryKeyTranslator(), + buildOptimisticLockingTranslator(), + buildCacheTranslator(), + buildCacheInterceptorTranslator(), + buildCacheIndexTranslator(), + buildFetchGroupsTranslator(), + buildConverterTranslator(), + buildTypeConverterTranslator(), + buildObjectTypeConverterTranslator(), + buildStructConverterTranslator(), + buildCopyPolicyTranslator(), + buildInstantiationCoypPolicyTranslator(), + buildCloneCopyPolicyTranslator(), + buildSequenceGeneratorTranslator(), + buildTableGeneratorTranslator(), + buildUuidGeneratorTranslator(), + buildNamedQueryTranslator(), + buildNamedNativeQueryTranslator(), + buildNamedStoredProcedureQueryTranslator(), + XmlNamedStoredFunctionQuery.buildTranslator(EclipseLink2_3.NAMED_STORED_FUNCTION_QUERY, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlMappedSuperclass_2_3_NamedStoredFunctionQueries()), + XmlNamedPlsqlStoredProcedureQuery.buildTranslator(EclipseLink2_3.NAMED_PLSQL_STORED_PROCEDURE_QUERY, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlMappedSuperclass_2_3_NamedPlsqlStoredProcedureQueries()), + XmlNamedPlsqlStoredFunctionQuery.buildTranslator(EclipseLink2_3.NAMED_PLSQL_STORED_FUNCTION_QUERY, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlMappedSuperclass_2_3_NamedPlsqlStoredFunctionQueries()), + XmlPlsqlRecord.buildTranslator(EclipseLink2_3.PLSQL_RECORD, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlMappedSuperclass_2_3_PlsqlRecords()), + XmlPlsqlTable.buildTranslator(EclipseLink2_3.PLSQL_TABLE, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlMappedSuperclass_2_3_PlsqlTables()), + buildSqlResultSetMappingTranslator(), + buildQueryRedirectorsTranslator(), + buildExcludeDefaultListenersTranslator(), + buildExcludeSuperclassListenersTranslator(), + buildEntityListenersTranslator(), + buildPrePersistTranslator(), + buildPostPersistTranslator(), + buildPreRemoveTranslator(), + buildPostRemoveTranslator(), + buildPreUpdateTranslator(), + buildPostUpdateTranslator(), + buildPostLoadTranslator(), + buildPropertyTranslator(), + buildAttributeOverrideTranslator(), + buildAssociationOverrideTranslator(), + Attributes.buildTranslator()}; + } + + protected static Translator buildCacheableTranslator() { + return new Translator(JPA2_0.CACHEABLE, OrmV2_0Package.eINSTANCE.getXmlCacheable_2_0_Cacheable(), Translator.DOM_ATTRIBUTE); + } + + 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.getXmlMappedSuperclass_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 buildPrimaryKeyTranslator() { + return XmlPrimaryKey.buildTranslator(EclipseLink1_1.PRIMARY_KEY, EclipseLinkOrmV1_1Package.eINSTANCE.getXmlMappedSuperclass_1_1_PrimaryKey()); + } + + protected static Translator buildOptimisticLockingTranslator() { + return XmlOptimisticLocking.buildTranslator(EclipseLink.OPTIMISTIC_LOCKING, EclipseLinkOrmPackage.eINSTANCE.getXmlMappedSuperclass_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.getXmlMappedSuperclass_2_0_CacheInterceptor()); + } + + protected static Translator buildCacheIndexTranslator() { + return XmlCacheIndex.buildTranslator(EclipseLink2_4.CACHE_INDEX, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlMappedSuperclass_2_4_CacheIndex()); + } + + protected static Translator buildFetchGroupsTranslator() { + return XmlFetchGroup.buildTranslator(EclipseLink2_1.FETCH_GROUP, EclipseLinkOrmV2_1Package.eINSTANCE.getXmlFetchGroupContainer_2_1_FetchGroups()); + } + + 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.getXmlMappedSuperclass_CopyPolicy()); + } + + protected static Translator buildInstantiationCoypPolicyTranslator() { + return XmlInstantiationCopyPolicy.buildTranslator(EclipseLink.INSTANTIATION_COPY_POLICY, EclipseLinkOrmPackage.eINSTANCE.getXmlMappedSuperclass_InstantiationCopyPolicy()); + } + + protected static Translator buildCloneCopyPolicyTranslator() { + return XmlCloneCopyPolicy.buildTranslator(EclipseLink.CLONE_COPY_POLICY, EclipseLinkOrmPackage.eINSTANCE.getXmlMappedSuperclass_CloneCopyPolicy()); + } + + protected static Translator buildSequenceGeneratorTranslator() { + return XmlSequenceGenerator.buildTranslator(JPA.SEQUENCE_GENERATOR, OrmPackage.eINSTANCE.getXmlGeneratorContainer_SequenceGenerator()); + } + + protected static Translator buildTableGeneratorTranslator() { + return org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTableGenerator.buildTranslator(JPA.TABLE_GENERATOR, OrmPackage.eINSTANCE.getXmlGeneratorContainer_TableGenerator()); + } + + protected static Translator buildNamedQueryTranslator() { + return XmlNamedQuery.buildTranslator(JPA.NAMED_QUERY, OrmPackage.eINSTANCE.getXmlQueryContainer_NamedQueries()); + } + + protected static Translator buildNamedNativeQueryTranslator() { + return XmlNamedNativeQuery.buildTranslator(JPA.NAMED_NATIVE_QUERY, OrmPackage.eINSTANCE.getXmlQueryContainer_NamedNativeQueries()); + } + + protected static Translator buildNamedStoredProcedureQueryTranslator() { + return XmlNamedStoredProcedureQuery.buildTranslator(EclipseLink.NAMED_STORED_PROCEDURE_QUERY, EclipseLinkOrmPackage.eINSTANCE.getXmlQueryContainer_NamedStoredProcedureQueries()); + } + + protected static Translator buildSqlResultSetMappingTranslator() { + return SqlResultSetMapping.buildTranslator(JPA.SQL_RESULT_SET_MAPPING, EclipseLinkOrmV2_1Package.eINSTANCE.getXmlMappedSuperclass_2_1_SqlResultSetMappings()); + } + + protected static Translator buildQueryRedirectorsTranslator() { + return XmlQueryRedirectors.buildTranslator(EclipseLink2_0.QUERY_REDIRECTORS, EclipseLinkOrmV2_1Package.eINSTANCE.getXmlMappedSuperclass_2_1_QueryRedirectors()); + } + + protected static Translator buildPropertyTranslator() { + return XmlProperty.buildTranslator(EclipseLink.PROPERTY, EclipseLinkOrmPackage.eINSTANCE.getXmlPropertyContainer_Properties()); + } + + 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 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.getXmlMappedSuperclass_2_2_AdditionalCriteria()); + } + + protected static Translator buildUuidGeneratorTranslator() { + return XmlUuidGenerator.buildTranslator(EclipseLink2_4.UUID_GENERATOR, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlGeneratorContainer2_4_UuidGenerator()); + } + + // *********** 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/XmlMultitenant.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlMultitenant.java new file mode 100644 index 0000000000..d5d3206ee7 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlMultitenant.java @@ -0,0 +1,494 @@ +/******************************************************************************* + * 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.SimpleTranslator; +import org.eclipse.jpt.common.core.resource.xml.EBaseObjectImpl; +import org.eclipse.jpt.common.core.utility.TextRange; +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.MultitenantType; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMultitenant_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.XmlMultitenant_2_4; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlTenantTableDiscriminator_2_4; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml Multitenant'. + * + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlMultitenant() + * @model kind="class" + * @generated + */ +public class XmlMultitenant extends EBaseObjectImpl implements XmlMultitenant_2_3, XmlMultitenant_2_4 +{ + /** + * 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 MultitenantType TYPE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getType() Type}' attribute. + * + * + * @see #getType() + * @generated + * @ordered + */ + protected MultitenantType type = TYPE_EDEFAULT; + + /** + * The cached value of the '{@link #getTenantDiscriminatorColumns() Tenant Discriminator Columns}' containment reference list. + * + * + * @see #getTenantDiscriminatorColumns() + * @generated + * @ordered + */ + protected EList tenantDiscriminatorColumns; + + /** + * The default value of the '{@link #getIncludeCriteria() Include Criteria}' attribute. + * + * + * @see #getIncludeCriteria() + * @generated + * @ordered + */ + protected static final Boolean INCLUDE_CRITERIA_EDEFAULT = null; + /** + * The cached value of the '{@link #getIncludeCriteria() Include Criteria}' attribute. + * + * + * @see #getIncludeCriteria() + * @generated + * @ordered + */ + protected Boolean includeCriteria = INCLUDE_CRITERIA_EDEFAULT; + + /** + * The cached value of the '{@link #getTenantTableDiscriminator() Tenant Table Discriminator}' containment reference. + * + * + * @see #getTenantTableDiscriminator() + * @generated + * @ordered + */ + protected XmlTenantTableDiscriminator_2_4 tenantTableDiscriminator; + + /** + * + * + * @generated + */ + protected XmlMultitenant() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_MULTITENANT; + } + + /** + * Returns the value of the 'Type' attribute. + * The literals are from the enumeration {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.MultitenantType}. + * + *

+ * 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.v2_3.MultitenantType + * @see #setType(MultitenantType) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlMultitenant_2_3_Type() + * @model + * @generated + */ + public MultitenantType getType() + { + return type; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMultitenant#getType Type}' attribute. + * + * + * @param value the new value of the 'Type' attribute. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.MultitenantType + * @see #getType() + * @generated + */ + public void setType(MultitenantType newType) + { + MultitenantType oldType = type; + type = newType == null ? TYPE_EDEFAULT : newType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MULTITENANT__TYPE, oldType, type)); + } + + /** + * Returns the value of the 'Tenant Discriminator Columns' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3}. + * + *

+ * 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#getXmlMultitenant_2_3_TenantDiscriminatorColumns() + * @model containment="true" + * @generated + */ + public EList getTenantDiscriminatorColumns() + { + if (tenantDiscriminatorColumns == null) + { + tenantDiscriminatorColumns = new EObjectContainmentEList(XmlTenantDiscriminatorColumn_2_3.class, this, EclipseLinkOrmPackage.XML_MULTITENANT__TENANT_DISCRIMINATOR_COLUMNS); + } + return tenantDiscriminatorColumns; + } + + /** + * Returns the value of the 'Include Criteria' attribute. + * + *

+ * If the meaning of the 'Include Criteria' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Include Criteria' attribute. + * @see #setIncludeCriteria(Boolean) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlMultitenant_2_4_IncludeCriteria() + * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" + * @generated + */ + public Boolean getIncludeCriteria() + { + return includeCriteria; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMultitenant#getIncludeCriteria Include Criteria}' attribute. + * + * + * @param value the new value of the 'Include Criteria' attribute. + * @see #getIncludeCriteria() + * @generated + */ + public void setIncludeCriteria(Boolean newIncludeCriteria) + { + Boolean oldIncludeCriteria = includeCriteria; + includeCriteria = newIncludeCriteria; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MULTITENANT__INCLUDE_CRITERIA, oldIncludeCriteria, includeCriteria)); + } + + /** + * Returns the value of the 'Tenant Table Discriminator' containment reference. + * + *

+ * If the meaning of the 'Tenant Table Discriminator' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Tenant Table Discriminator' containment reference. + * @see #setTenantTableDiscriminator(XmlTenantTableDiscriminator_2_4) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlMultitenant_2_4_TenantTableDiscriminator() + * @model containment="true" + * @generated + */ + public XmlTenantTableDiscriminator_2_4 getTenantTableDiscriminator() + { + return tenantTableDiscriminator; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetTenantTableDiscriminator(XmlTenantTableDiscriminator_2_4 newTenantTableDiscriminator, NotificationChain msgs) + { + XmlTenantTableDiscriminator_2_4 oldTenantTableDiscriminator = tenantTableDiscriminator; + tenantTableDiscriminator = newTenantTableDiscriminator; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MULTITENANT__TENANT_TABLE_DISCRIMINATOR, oldTenantTableDiscriminator, newTenantTableDiscriminator); + 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.XmlMultitenant#getTenantTableDiscriminator Tenant Table Discriminator}' containment reference. + * + * + * @param value the new value of the 'Tenant Table Discriminator' containment reference. + * @see #getTenantTableDiscriminator() + * @generated + */ + public void setTenantTableDiscriminator(XmlTenantTableDiscriminator_2_4 newTenantTableDiscriminator) + { + if (newTenantTableDiscriminator != tenantTableDiscriminator) + { + NotificationChain msgs = null; + if (tenantTableDiscriminator != null) + msgs = ((InternalEObject)tenantTableDiscriminator).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MULTITENANT__TENANT_TABLE_DISCRIMINATOR, null, msgs); + if (newTenantTableDiscriminator != null) + msgs = ((InternalEObject)newTenantTableDiscriminator).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MULTITENANT__TENANT_TABLE_DISCRIMINATOR, null, msgs); + msgs = basicSetTenantTableDiscriminator(newTenantTableDiscriminator, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MULTITENANT__TENANT_TABLE_DISCRIMINATOR, newTenantTableDiscriminator, newTenantTableDiscriminator)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_MULTITENANT__TENANT_DISCRIMINATOR_COLUMNS: + return ((InternalEList)getTenantDiscriminatorColumns()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_MULTITENANT__TENANT_TABLE_DISCRIMINATOR: + return basicSetTenantTableDiscriminator(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_MULTITENANT__TYPE: + return getType(); + case EclipseLinkOrmPackage.XML_MULTITENANT__TENANT_DISCRIMINATOR_COLUMNS: + return getTenantDiscriminatorColumns(); + case EclipseLinkOrmPackage.XML_MULTITENANT__INCLUDE_CRITERIA: + return getIncludeCriteria(); + case EclipseLinkOrmPackage.XML_MULTITENANT__TENANT_TABLE_DISCRIMINATOR: + return getTenantTableDiscriminator(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_MULTITENANT__TYPE: + setType((MultitenantType)newValue); + return; + case EclipseLinkOrmPackage.XML_MULTITENANT__TENANT_DISCRIMINATOR_COLUMNS: + getTenantDiscriminatorColumns().clear(); + getTenantDiscriminatorColumns().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_MULTITENANT__INCLUDE_CRITERIA: + setIncludeCriteria((Boolean)newValue); + return; + case EclipseLinkOrmPackage.XML_MULTITENANT__TENANT_TABLE_DISCRIMINATOR: + setTenantTableDiscriminator((XmlTenantTableDiscriminator_2_4)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_MULTITENANT__TYPE: + setType(TYPE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_MULTITENANT__TENANT_DISCRIMINATOR_COLUMNS: + getTenantDiscriminatorColumns().clear(); + return; + case EclipseLinkOrmPackage.XML_MULTITENANT__INCLUDE_CRITERIA: + setIncludeCriteria(INCLUDE_CRITERIA_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_MULTITENANT__TENANT_TABLE_DISCRIMINATOR: + setTenantTableDiscriminator((XmlTenantTableDiscriminator_2_4)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_MULTITENANT__TYPE: + return type != TYPE_EDEFAULT; + case EclipseLinkOrmPackage.XML_MULTITENANT__TENANT_DISCRIMINATOR_COLUMNS: + return tenantDiscriminatorColumns != null && !tenantDiscriminatorColumns.isEmpty(); + case EclipseLinkOrmPackage.XML_MULTITENANT__INCLUDE_CRITERIA: + return INCLUDE_CRITERIA_EDEFAULT == null ? includeCriteria != null : !INCLUDE_CRITERIA_EDEFAULT.equals(includeCriteria); + case EclipseLinkOrmPackage.XML_MULTITENANT__TENANT_TABLE_DISCRIMINATOR: + return tenantTableDiscriminator != null; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public int eBaseStructuralFeatureID(int derivedFeatureID, Class baseClass) + { + if (baseClass == XmlMultitenant_2_4.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_MULTITENANT__INCLUDE_CRITERIA: return EclipseLinkOrmV2_4Package.XML_MULTITENANT_24__INCLUDE_CRITERIA; + case EclipseLinkOrmPackage.XML_MULTITENANT__TENANT_TABLE_DISCRIMINATOR: return EclipseLinkOrmV2_4Package.XML_MULTITENANT_24__TENANT_TABLE_DISCRIMINATOR; + default: return -1; + } + } + return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); + } + + /** + * + * + * @generated + */ + @Override + public int eDerivedStructuralFeatureID(int baseFeatureID, Class baseClass) + { + if (baseClass == XmlMultitenant_2_4.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_4Package.XML_MULTITENANT_24__INCLUDE_CRITERIA: return EclipseLinkOrmPackage.XML_MULTITENANT__INCLUDE_CRITERIA; + case EclipseLinkOrmV2_4Package.XML_MULTITENANT_24__TENANT_TABLE_DISCRIMINATOR: return EclipseLinkOrmPackage.XML_MULTITENANT__TENANT_TABLE_DISCRIMINATOR; + 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(" (type: "); + result.append(type); + result.append(", includeCriteria: "); + result.append(includeCriteria); + result.append(')'); + return result.toString(); + } + + public TextRange getIncludeCriteriaTextRange() { + return getAttributeTextRange(EclipseLink2_4.MULTITENANT__INCLUDE_CRITERIA); + } + + // ********** translators ********** + + public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) { + return new SimpleTranslator( + elementName, + structuralFeature, + EclipseLinkOrmPackage.eINSTANCE.getXmlMultitenant(), + buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildTypeTranslator(), + buildIncludeCriteriaTranslator(), + buildTenantDiscriminatorColumnsTranslator(), + buildTenantTableDiscriminatorTranslator() + }; + } + + protected static Translator buildTypeTranslator() { + return new Translator(EclipseLink2_3.MULTITENANT__TYPE, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlMultitenant_2_3_Type(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildTenantDiscriminatorColumnsTranslator() { + return XmlTenantDiscriminatorColumn.buildTranslator(EclipseLink2_3.TENANT_DISCRIMINATOR_COLUMN, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlMultitenant_2_3_TenantDiscriminatorColumns()); + } + + protected static Translator buildIncludeCriteriaTranslator() { + return new Translator(EclipseLink2_4.MULTITENANT__INCLUDE_CRITERIA, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlMultitenant_2_4_IncludeCriteria(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildTenantTableDiscriminatorTranslator() { + return XmlTenantTableDiscriminator.buildTranslator(EclipseLink2_4.TENANT_TABLE_DISCRIMINATOR, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlMultitenant_2_4_TenantTableDiscriminator()); + } + +} // XmlMultitenant diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlMultitenantHolder.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlMultitenantHolder.java new file mode 100644 index 0000000000..6ee8fbd001 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlMultitenantHolder.java @@ -0,0 +1,59 @@ +/******************************************************************************* + * 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 org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Multitenant Holder'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMultitenantHolder#getMultitenant Multitenant}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlMultitenantHolder() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlMultitenantHolder extends EBaseObject +{ + /** + * 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 + */ + XmlMultitenant getMultitenant(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMultitenantHolder#getMultitenant Multitenant}' containment reference. + * + * + * @param value the new value of the 'Multitenant' containment reference. + * @see #getMultitenant() + * @generated + */ + void setMultitenant(XmlMultitenant value); + +} // XmlMultitenantHolder diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlMutable.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlMutable.java new file mode 100644 index 0000000000..59bbc606c6 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlMutable.java @@ -0,0 +1,76 @@ +/******************************************************************************* + * 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; +import org.eclipse.jpt.common.core.utility.TextRange; + +/** + * + * + * A representation of the model object 'Xml Mutable'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMutable#getMutable Mutable}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlMutable() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlMutable extends EBaseObject +{ + /** + * 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 + */ + Boolean getMutable(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMutable#getMutable Mutable}' attribute. + * + * + * @param value the new value of the 'Mutable' attribute. + * @see #getMutable() + * @generated + */ + void setMutable(Boolean value); + + /** + * Return the {@link TextRange} for the mutable attibute. + */ + TextRange getMutableTextRange(); +} \ 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/XmlNamedConverter.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNamedConverter.java new file mode 100644 index 0000000000..7dfa55f740 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNamedConverter.java @@ -0,0 +1,218 @@ +/******************************************************************************* + * 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.impl.ENotificationImpl; +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.jpt.jpa.core.resource.orm.JPA; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * + * A representation of the model object 'Xml Named Converter'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedConverter#getName Name}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedConverter() + * @model kind="class" + * @extends EBaseObject + * @generated + */ +public class XmlNamedConverter extends EBaseObjectImpl implements EBaseObject +{ + /** + * 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 XmlNamedConverter() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_NAMED_CONVERTER; + } + + /** + * 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#getXmlNamedConverter_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.XmlNamedConverter#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_NAMED_CONVERTER__NAME, oldName, name)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_NAMED_CONVERTER__NAME: + return getName(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_NAMED_CONVERTER__NAME: + setName((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_NAMED_CONVERTER__NAME: + setName(NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_NAMED_CONVERTER__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(); + } + + public TextRange getNameTextRange() { + return getAttributeTextRange(JPA.NAME); + } + + // ********** translators ********** + + protected static Translator buildNameTranslator() { + return new Translator(EclipseLink.CONVERTER__NAME, EclipseLinkOrmPackage.eINSTANCE.getXmlNamedConverter_Name(), Translator.DOM_ATTRIBUTE); + } + +} // XmlNamedConverter diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNamedPlsqlStoredFunctionQuery.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNamedPlsqlStoredFunctionQuery.java new file mode 100644 index 0000000000..964ad620ba --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNamedPlsqlStoredFunctionQuery.java @@ -0,0 +1,212 @@ +/******************************************************************************* + * 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 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_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.XmlNamedPlsqlStoredFunctionQuery_2_3; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml Named Plsql Stored Function Query'. + * + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedPlsqlStoredFunctionQuery() + * @model kind="class" + * @generated + */ +public class XmlNamedPlsqlStoredFunctionQuery extends EBaseObjectImpl implements XmlNamedPlsqlStoredFunctionQuery_2_3 +{ + /** + * 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 XmlNamedPlsqlStoredFunctionQuery() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_NAMED_PLSQL_STORED_FUNCTION_QUERY; + } + + /** + * 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#getXmlNamedPlsqlStoredFunctionQuery_2_3_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.XmlNamedPlsqlStoredFunctionQuery#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_NAMED_PLSQL_STORED_FUNCTION_QUERY__NAME, oldName, name)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_NAMED_PLSQL_STORED_FUNCTION_QUERY__NAME: + return getName(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_NAMED_PLSQL_STORED_FUNCTION_QUERY__NAME: + setName((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_NAMED_PLSQL_STORED_FUNCTION_QUERY__NAME: + setName(NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_NAMED_PLSQL_STORED_FUNCTION_QUERY__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.getXmlNamedPlsqlStoredFunctionQuery(), + buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildNameTranslator(), + }; + } + + protected static Translator buildNameTranslator() { + return new Translator(EclipseLink2_3.NAMED_PLSQL_STORED_FUNCTION_QUERY__NAME, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlNamedPlsqlStoredFunctionQuery_2_3_Name(), Translator.DOM_ATTRIBUTE); + } +} // XmlNamedPlsqlStoredFunctionQuery diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNamedPlsqlStoredProcedureQuery.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNamedPlsqlStoredProcedureQuery.java new file mode 100644 index 0000000000..557b97030e --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNamedPlsqlStoredProcedureQuery.java @@ -0,0 +1,212 @@ +/******************************************************************************* + * 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 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_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.XmlNamedPlsqlStoredProcedureQuery_2_3; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml Named Plsql Stored Procedure Query'. + * + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedPlsqlStoredProcedureQuery() + * @model kind="class" + * @generated + */ +public class XmlNamedPlsqlStoredProcedureQuery extends EBaseObjectImpl implements XmlNamedPlsqlStoredProcedureQuery_2_3 +{ + /** + * 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 XmlNamedPlsqlStoredProcedureQuery() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_NAMED_PLSQL_STORED_PROCEDURE_QUERY; + } + + /** + * 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#getXmlNamedPlsqlStoredProcedureQuery_2_3_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.XmlNamedPlsqlStoredProcedureQuery#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_NAMED_PLSQL_STORED_PROCEDURE_QUERY__NAME, oldName, name)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_NAMED_PLSQL_STORED_PROCEDURE_QUERY__NAME: + return getName(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_NAMED_PLSQL_STORED_PROCEDURE_QUERY__NAME: + setName((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_NAMED_PLSQL_STORED_PROCEDURE_QUERY__NAME: + setName(NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_NAMED_PLSQL_STORED_PROCEDURE_QUERY__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.getXmlNamedPlsqlStoredProcedureQuery(), + buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildNameTranslator(), + }; + } + + protected static Translator buildNameTranslator() { + return new Translator(EclipseLink2_3.NAMED_PLSQL_STORED_PROCEDURE_QUERY__NAME, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlNamedPlsqlStoredProcedureQuery_2_3_Name(), Translator.DOM_ATTRIBUTE); + } +} // XmlNamedPlsqlStoredProcedureQuery diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNamedStoredFunctionQuery.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNamedStoredFunctionQuery.java new file mode 100644 index 0000000000..23c00d1da0 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNamedStoredFunctionQuery.java @@ -0,0 +1,212 @@ +/******************************************************************************* + * 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 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_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.XmlNamedStoredFunctionQuery_2_3; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml Named Stored Function Query'. + * + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedStoredFunctionQuery() + * @model kind="class" + * @generated + */ +public class XmlNamedStoredFunctionQuery extends EBaseObjectImpl implements XmlNamedStoredFunctionQuery_2_3 +{ + /** + * 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 XmlNamedStoredFunctionQuery() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_NAMED_STORED_FUNCTION_QUERY; + } + + /** + * 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#getXmlNamedStoredFunctionQuery_2_3_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.XmlNamedStoredFunctionQuery#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_NAMED_STORED_FUNCTION_QUERY__NAME, oldName, name)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_NAMED_STORED_FUNCTION_QUERY__NAME: + return getName(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_NAMED_STORED_FUNCTION_QUERY__NAME: + setName((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_NAMED_STORED_FUNCTION_QUERY__NAME: + setName(NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_NAMED_STORED_FUNCTION_QUERY__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.getXmlNamedStoredFunctionQuery(), + buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildNameTranslator(), + }; + } + + protected static Translator buildNameTranslator() { + return new Translator(EclipseLink2_3.NAMED_STORED_FUNCTION_QUERY__NAME, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlNamedStoredFunctionQuery_2_3_Name(), Translator.DOM_ATTRIBUTE); + } +} // XmlNamedStoredFunctionQuery diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNamedStoredProcedureQuery.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNamedStoredProcedureQuery.java new file mode 100644 index 0000000000..17b66966d9 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNamedStoredProcedureQuery.java @@ -0,0 +1,644 @@ +/******************************************************************************* + * 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.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.BooleanTranslator; +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.jpa.core.resource.orm.XmlQueryHint; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml Named Stored Procedure Query'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery#getName Name}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery#getResultClass Result Class}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery#getResultSetMapping Result Set Mapping}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery#getProcedureName Procedure Name}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery#getReturnsResultSet Returns Result Set}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery#getHints Hints}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery#getParameters Parameters}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedStoredProcedureQuery() + * @model kind="class" + * @extends EBaseObject + * @generated + */ +public class XmlNamedStoredProcedureQuery extends EBaseObjectImpl implements EBaseObject +{ + /** + * 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 #getResultClass() Result Class}' attribute. + * + * + * @see #getResultClass() + * @generated + * @ordered + */ + protected static final String RESULT_CLASS_EDEFAULT = null; + + /** + * The cached value of the '{@link #getResultClass() Result Class}' attribute. + * + * + * @see #getResultClass() + * @generated + * @ordered + */ + protected String resultClass = RESULT_CLASS_EDEFAULT; + + /** + * The default value of the '{@link #getResultSetMapping() Result Set Mapping}' attribute. + * + * + * @see #getResultSetMapping() + * @generated + * @ordered + */ + protected static final String RESULT_SET_MAPPING_EDEFAULT = null; + + /** + * The cached value of the '{@link #getResultSetMapping() Result Set Mapping}' attribute. + * + * + * @see #getResultSetMapping() + * @generated + * @ordered + */ + protected String resultSetMapping = RESULT_SET_MAPPING_EDEFAULT; + + /** + * The default value of the '{@link #getProcedureName() Procedure Name}' attribute. + * + * + * @see #getProcedureName() + * @generated + * @ordered + */ + protected static final String PROCEDURE_NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getProcedureName() Procedure Name}' attribute. + * + * + * @see #getProcedureName() + * @generated + * @ordered + */ + protected String procedureName = PROCEDURE_NAME_EDEFAULT; + + /** + * The default value of the '{@link #getReturnsResultSet() Returns Result Set}' attribute. + * + * + * @see #getReturnsResultSet() + * @generated + * @ordered + */ + protected static final Boolean RETURNS_RESULT_SET_EDEFAULT = null; + + /** + * The cached value of the '{@link #getReturnsResultSet() Returns Result Set}' attribute. + * + * + * @see #getReturnsResultSet() + * @generated + * @ordered + */ + protected Boolean returnsResultSet = RETURNS_RESULT_SET_EDEFAULT; + + /** + * The cached value of the '{@link #getHints() Hints}' containment reference list. + * + * + * @see #getHints() + * @generated + * @ordered + */ + protected EList hints; + + /** + * The cached value of the '{@link #getParameters() Parameters}' containment reference list. + * + * + * @see #getParameters() + * @generated + * @ordered + */ + protected EList parameters; + + /** + * + * + * @generated + */ + protected XmlNamedStoredProcedureQuery() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_NAMED_STORED_PROCEDURE_QUERY; + } + + /** + * 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#getXmlNamedStoredProcedureQuery_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.XmlNamedStoredProcedureQuery#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_NAMED_STORED_PROCEDURE_QUERY__NAME, oldName, name)); + } + + /** + * Returns the value of the 'Result Class' attribute. + * + *

+ * If the meaning of the 'Result Class' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Result Class' attribute. + * @see #setResultClass(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedStoredProcedureQuery_ResultClass() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getResultClass() + { + return resultClass; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery#getResultClass Result Class}' attribute. + * + * + * @param value the new value of the 'Result Class' attribute. + * @see #getResultClass() + * @generated + */ + public void setResultClass(String newResultClass) + { + String oldResultClass = resultClass; + resultClass = newResultClass; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__RESULT_CLASS, oldResultClass, resultClass)); + } + + /** + * Returns the value of the 'Result Set Mapping' attribute. + * + *

+ * If the meaning of the 'Result Set Mapping' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Result Set Mapping' attribute. + * @see #setResultSetMapping(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedStoredProcedureQuery_ResultSetMapping() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getResultSetMapping() + { + return resultSetMapping; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery#getResultSetMapping Result Set Mapping}' attribute. + * + * + * @param value the new value of the 'Result Set Mapping' attribute. + * @see #getResultSetMapping() + * @generated + */ + public void setResultSetMapping(String newResultSetMapping) + { + String oldResultSetMapping = resultSetMapping; + resultSetMapping = newResultSetMapping; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__RESULT_SET_MAPPING, oldResultSetMapping, resultSetMapping)); + } + + /** + * Returns the value of the 'Procedure Name' attribute. + * + *

+ * If the meaning of the 'Procedure Name' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Procedure Name' attribute. + * @see #setProcedureName(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedStoredProcedureQuery_ProcedureName() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getProcedureName() + { + return procedureName; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery#getProcedureName Procedure Name}' attribute. + * + * + * @param value the new value of the 'Procedure Name' attribute. + * @see #getProcedureName() + * @generated + */ + public void setProcedureName(String newProcedureName) + { + String oldProcedureName = procedureName; + procedureName = newProcedureName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__PROCEDURE_NAME, oldProcedureName, procedureName)); + } + + /** + * Returns the value of the 'Returns Result Set' attribute. + * + *

+ * If the meaning of the 'Returns Result Set' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Returns Result Set' attribute. + * @see #setReturnsResultSet(Boolean) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedStoredProcedureQuery_ReturnsResultSet() + * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" + * @generated + */ + public Boolean getReturnsResultSet() + { + return returnsResultSet; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery#getReturnsResultSet Returns Result Set}' attribute. + * + * + * @param value the new value of the 'Returns Result Set' attribute. + * @see #getReturnsResultSet() + * @generated + */ + public void setReturnsResultSet(Boolean newReturnsResultSet) + { + Boolean oldReturnsResultSet = returnsResultSet; + returnsResultSet = newReturnsResultSet; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__RETURNS_RESULT_SET, oldReturnsResultSet, returnsResultSet)); + } + + /** + * Returns the value of the 'Hints' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.core.resource.orm.XmlQueryHint}. + * + *

+ * If the meaning of the 'Hints' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Hints' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedStoredProcedureQuery_Hints() + * @model containment="true" + * @generated + */ + public EList getHints() + { + if (hints == null) + { + hints = new EObjectContainmentEList(XmlQueryHint.class, this, EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__HINTS); + } + return hints; + } + + /** + * Returns the value of the 'Parameters' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter}. + * + *

+ * If the meaning of the 'Parameters' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Parameters' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedStoredProcedureQuery_Parameters() + * @model containment="true" + * @generated + */ + public EList getParameters() + { + if (parameters == null) + { + parameters = new EObjectContainmentEList(XmlStoredProcedureParameter.class, this, EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__PARAMETERS); + } + return parameters; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__HINTS: + return ((InternalEList)getHints()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__PARAMETERS: + return ((InternalEList)getParameters()).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_NAMED_STORED_PROCEDURE_QUERY__NAME: + return getName(); + case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__RESULT_CLASS: + return getResultClass(); + case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__RESULT_SET_MAPPING: + return getResultSetMapping(); + case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__PROCEDURE_NAME: + return getProcedureName(); + case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__RETURNS_RESULT_SET: + return getReturnsResultSet(); + case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__HINTS: + return getHints(); + case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__PARAMETERS: + return getParameters(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__NAME: + setName((String)newValue); + return; + case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__RESULT_CLASS: + setResultClass((String)newValue); + return; + case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__RESULT_SET_MAPPING: + setResultSetMapping((String)newValue); + return; + case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__PROCEDURE_NAME: + setProcedureName((String)newValue); + return; + case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__RETURNS_RESULT_SET: + setReturnsResultSet((Boolean)newValue); + return; + case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__HINTS: + getHints().clear(); + getHints().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__PARAMETERS: + getParameters().clear(); + getParameters().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__NAME: + setName(NAME_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__RESULT_CLASS: + setResultClass(RESULT_CLASS_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__RESULT_SET_MAPPING: + setResultSetMapping(RESULT_SET_MAPPING_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__PROCEDURE_NAME: + setProcedureName(PROCEDURE_NAME_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__RETURNS_RESULT_SET: + setReturnsResultSet(RETURNS_RESULT_SET_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__HINTS: + getHints().clear(); + return; + case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__PARAMETERS: + getParameters().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__RESULT_CLASS: + return RESULT_CLASS_EDEFAULT == null ? resultClass != null : !RESULT_CLASS_EDEFAULT.equals(resultClass); + case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__RESULT_SET_MAPPING: + return RESULT_SET_MAPPING_EDEFAULT == null ? resultSetMapping != null : !RESULT_SET_MAPPING_EDEFAULT.equals(resultSetMapping); + case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__PROCEDURE_NAME: + return PROCEDURE_NAME_EDEFAULT == null ? procedureName != null : !PROCEDURE_NAME_EDEFAULT.equals(procedureName); + case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__RETURNS_RESULT_SET: + return RETURNS_RESULT_SET_EDEFAULT == null ? returnsResultSet != null : !RETURNS_RESULT_SET_EDEFAULT.equals(returnsResultSet); + case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__HINTS: + return hints != null && !hints.isEmpty(); + case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__PARAMETERS: + return parameters != null && !parameters.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(", resultClass: "); + result.append(resultClass); + result.append(", resultSetMapping: "); + result.append(resultSetMapping); + result.append(", procedureName: "); + result.append(procedureName); + result.append(", returnsResultSet: "); + result.append(returnsResultSet); + 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(), + buildResultClassTranslator(), + buildResultSetMappingTranslator(), + buildProcedureNameTranslator(), + buildReturnResultSetTranslator(), + buildHintTranslator(), + buildParameterTranslator(), + }; + } + + protected static Translator buildNameTranslator() { + return new Translator(EclipseLink.NAMED_STORED_PROCEDURE_QUERY__NAME, EclipseLinkOrmPackage.eINSTANCE.getXmlNamedStoredProcedureQuery_Name(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildResultClassTranslator() { + return new Translator(EclipseLink.NAMED_STORED_PROCEDURE_QUERY__RESULT_CLASS, EclipseLinkOrmPackage.eINSTANCE.getXmlNamedStoredProcedureQuery_ResultClass(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildResultSetMappingTranslator() { + return new Translator(EclipseLink.NAMED_STORED_PROCEDURE_QUERY__RESULT_SET_MAPPING, EclipseLinkOrmPackage.eINSTANCE.getXmlNamedStoredProcedureQuery_ResultSetMapping(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildProcedureNameTranslator() { + return new Translator(EclipseLink.NAMED_STORED_PROCEDURE_QUERY__PROCEDURE_NAME, EclipseLinkOrmPackage.eINSTANCE.getXmlNamedStoredProcedureQuery_ProcedureName(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildReturnResultSetTranslator() { + return new BooleanTranslator(EclipseLink.NAMED_STORED_PROCEDURE_QUERY__RETURNS_RESULT_SET, EclipseLinkOrmPackage.eINSTANCE.getXmlNamedStoredProcedureQuery_ReturnsResultSet(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildHintTranslator() { + return XmlQueryHint.buildTranslator(EclipseLink.NAMED_STORED_PROCEDURE_QUERY__HINT, EclipseLinkOrmPackage.eINSTANCE.getXmlNamedStoredProcedureQuery_Hints()); + } + + protected static Translator buildParameterTranslator() { + return XmlStoredProcedureParameter.buildTranslator(EclipseLink.NAMED_STORED_PROCEDURE_QUERY__PARAMETER, EclipseLinkOrmPackage.eINSTANCE.getXmlNamedStoredProcedureQuery_Parameters()); + } +} // XmlNamedStoredProcedureQuery diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNoSql.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNoSql.java new file mode 100644 index 0000000000..1e87b64d5b --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNoSql.java @@ -0,0 +1,290 @@ +/******************************************************************************* + * 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.eclipselink.core.resource.orm.v2_4.DataFormatType; +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.XmlNoSql_2_4; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml No Sql'. + * + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNoSql() + * @model kind="class" + * @generated + */ +public class XmlNoSql extends EBaseObjectImpl implements XmlNoSql_2_4 +{ + /** + * The default value of the '{@link #getDataType() Data Type}' attribute. + * + * + * @see #getDataType() + * @generated + * @ordered + */ + protected static final String DATA_TYPE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getDataType() Data Type}' attribute. + * + * + * @see #getDataType() + * @generated + * @ordered + */ + protected String dataType = DATA_TYPE_EDEFAULT; + + /** + * The default value of the '{@link #getDataFormat() Data Format}' attribute. + * + * + * @see #getDataFormat() + * @generated + * @ordered + */ + protected static final DataFormatType DATA_FORMAT_EDEFAULT = DataFormatType.XML; + + /** + * The cached value of the '{@link #getDataFormat() Data Format}' attribute. + * + * + * @see #getDataFormat() + * @generated + * @ordered + */ + protected DataFormatType dataFormat = DATA_FORMAT_EDEFAULT; + + /** + * + * + * @generated + */ + protected XmlNoSql() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_NO_SQL; + } + + /** + * Returns the value of the 'Data Type' attribute. + * + *

+ * If the meaning of the 'Data Type' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Data Type' attribute. + * @see #setDataType(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNoSql_2_4_DataType() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getDataType() + { + return dataType; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNoSql#getDataType Data Type}' attribute. + * + * + * @param value the new value of the 'Data Type' attribute. + * @see #getDataType() + * @generated + */ + public void setDataType(String newDataType) + { + String oldDataType = dataType; + dataType = newDataType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_NO_SQL__DATA_TYPE, oldDataType, dataType)); + } + + /** + * Returns the value of the 'Data Format' attribute. + * The default value is "". + * The literals are from the enumeration {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.DataFormatType}. + * + *

+ * If the meaning of the 'Data Format' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Data Format' attribute. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.DataFormatType + * @see #setDataFormat(DataFormatType) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNoSql_2_4_DataFormat() + * @model default="" + * @generated + */ + public DataFormatType getDataFormat() + { + return dataFormat; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNoSql#getDataFormat Data Format}' attribute. + * + * + * @param value the new value of the 'Data Format' attribute. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.DataFormatType + * @see #getDataFormat() + * @generated + */ + public void setDataFormat(DataFormatType newDataFormat) + { + DataFormatType oldDataFormat = dataFormat; + dataFormat = newDataFormat == null ? DATA_FORMAT_EDEFAULT : newDataFormat; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_NO_SQL__DATA_FORMAT, oldDataFormat, dataFormat)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_NO_SQL__DATA_TYPE: + return getDataType(); + case EclipseLinkOrmPackage.XML_NO_SQL__DATA_FORMAT: + return getDataFormat(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_NO_SQL__DATA_TYPE: + setDataType((String)newValue); + return; + case EclipseLinkOrmPackage.XML_NO_SQL__DATA_FORMAT: + setDataFormat((DataFormatType)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_NO_SQL__DATA_TYPE: + setDataType(DATA_TYPE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_NO_SQL__DATA_FORMAT: + setDataFormat(DATA_FORMAT_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_NO_SQL__DATA_TYPE: + return DATA_TYPE_EDEFAULT == null ? dataType != null : !DATA_TYPE_EDEFAULT.equals(dataType); + case EclipseLinkOrmPackage.XML_NO_SQL__DATA_FORMAT: + return dataFormat != DATA_FORMAT_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (dataType: "); + result.append(dataType); + result.append(", dataFormat: "); + result.append(dataFormat); + result.append(')'); + return result.toString(); + } + + // ********** translators ********** + + public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) { + return new SimpleTranslator( + elementName, + structuralFeature, + EclipseLinkOrmPackage.eINSTANCE.getXmlNoSql(), + buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildDataTypeTranslator(), + buildDataFormatTranslator(), + }; + } + + protected static Translator buildDataTypeTranslator() { + return new Translator(EclipseLink2_4.NO_SQL__DATA_TYPE, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlNoSql_2_4_DataType(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildDataFormatTranslator() { + return new Translator(EclipseLink2_4.NO_SQL__DATA_FORMAT, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlNoSql_2_4_DataFormat(), Translator.DOM_ATTRIBUTE); + } +} // XmlNoSql diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlObjectTypeConverter.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlObjectTypeConverter.java new file mode 100644 index 0000000000..bea986dce2 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlObjectTypeConverter.java @@ -0,0 +1,516 @@ +/******************************************************************************* + * 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.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 Object Type 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter#getDataType Data Type}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter#getObjectType Object Type}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter#getConversionValues Conversion Values}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter#getDefaultObjectValue Default Object Value}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlObjectTypeConverter() + * @model kind="class" + * @generated + */ +public class XmlObjectTypeConverter extends XmlNamedConverter +{ + /** + * The default value of the '{@link #getDataType() Data Type}' attribute. + * + * + * @see #getDataType() + * @generated + * @ordered + */ + protected static final String DATA_TYPE_EDEFAULT = null; + /** + * The cached value of the '{@link #getDataType() Data Type}' attribute. + * + * + * @see #getDataType() + * @generated + * @ordered + */ + protected String dataType = DATA_TYPE_EDEFAULT; + /** + * The default value of the '{@link #getObjectType() Object Type}' attribute. + * + * + * @see #getObjectType() + * @generated + * @ordered + */ + protected static final String OBJECT_TYPE_EDEFAULT = null; + /** + * The cached value of the '{@link #getObjectType() Object Type}' attribute. + * + * + * @see #getObjectType() + * @generated + * @ordered + */ + protected String objectType = OBJECT_TYPE_EDEFAULT; + /** + * The cached value of the '{@link #getConversionValues() Conversion Values}' containment reference list. + * + * + * @see #getConversionValues() + * @generated + * @ordered + */ + protected EList conversionValues; + /** + * The default value of the '{@link #getDefaultObjectValue() Default Object Value}' attribute. + * + * + * @see #getDefaultObjectValue() + * @generated + * @ordered + */ + protected static final String DEFAULT_OBJECT_VALUE_EDEFAULT = null; + /** + * The cached value of the '{@link #getDefaultObjectValue() Default Object Value}' attribute. + * + * + * @see #getDefaultObjectValue() + * @generated + * @ordered + */ + protected String defaultObjectValue = DEFAULT_OBJECT_VALUE_EDEFAULT; + + /** + * + * + * @generated + */ + protected XmlObjectTypeConverter() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_OBJECT_TYPE_CONVERTER; + } + + /** + * Returns the value of the 'Data Type' attribute. + * + *

+ * If the meaning of the 'Data Type' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Data Type' attribute. + * @see #setDataType(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlObjectTypeConverter_DataType() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getDataType() + { + return dataType; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter#getDataType Data Type}' attribute. + * + * + * @param value the new value of the 'Data Type' attribute. + * @see #getDataType() + * @generated + */ + public void setDataType(String newDataType) + { + String oldDataType = dataType; + dataType = newDataType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_OBJECT_TYPE_CONVERTER__DATA_TYPE, oldDataType, dataType)); + } + + /** + * Returns the value of the 'Object Type' attribute. + * + *

+ * If the meaning of the 'Object Type' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Object Type' attribute. + * @see #setObjectType(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlObjectTypeConverter_ObjectType() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getObjectType() + { + return objectType; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter#getObjectType Object Type}' attribute. + * + * + * @param value the new value of the 'Object Type' attribute. + * @see #getObjectType() + * @generated + */ + public void setObjectType(String newObjectType) + { + String oldObjectType = objectType; + objectType = newObjectType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_OBJECT_TYPE_CONVERTER__OBJECT_TYPE, oldObjectType, objectType)); + } + + /** + * Returns the value of the 'Conversion Values' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConversionValue}. + * + *

+ * If the meaning of the 'Conversion Values' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Conversion Values' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlObjectTypeConverter_ConversionValues() + * @model containment="true" + * @generated + */ + public EList getConversionValues() + { + if (conversionValues == null) + { + conversionValues = new EObjectContainmentEList(XmlConversionValue.class, this, EclipseLinkOrmPackage.XML_OBJECT_TYPE_CONVERTER__CONVERSION_VALUES); + } + return conversionValues; + } + + /** + * Returns the value of the 'Default Object Value' attribute. + * + *

+ * If the meaning of the 'Default Object Value' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Default Object Value' attribute. + * @see #setDefaultObjectValue(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlObjectTypeConverter_DefaultObjectValue() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getDefaultObjectValue() + { + return defaultObjectValue; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter#getDefaultObjectValue Default Object Value}' attribute. + * + * + * @param value the new value of the 'Default Object Value' attribute. + * @see #getDefaultObjectValue() + * @generated + */ + public void setDefaultObjectValue(String newDefaultObjectValue) + { + String oldDefaultObjectValue = defaultObjectValue; + defaultObjectValue = newDefaultObjectValue; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_OBJECT_TYPE_CONVERTER__DEFAULT_OBJECT_VALUE, oldDefaultObjectValue, defaultObjectValue)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_OBJECT_TYPE_CONVERTER__CONVERSION_VALUES: + return ((InternalEList)getConversionValues()).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_OBJECT_TYPE_CONVERTER__DATA_TYPE: + return getDataType(); + case EclipseLinkOrmPackage.XML_OBJECT_TYPE_CONVERTER__OBJECT_TYPE: + return getObjectType(); + case EclipseLinkOrmPackage.XML_OBJECT_TYPE_CONVERTER__CONVERSION_VALUES: + return getConversionValues(); + case EclipseLinkOrmPackage.XML_OBJECT_TYPE_CONVERTER__DEFAULT_OBJECT_VALUE: + return getDefaultObjectValue(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_OBJECT_TYPE_CONVERTER__DATA_TYPE: + setDataType((String)newValue); + return; + case EclipseLinkOrmPackage.XML_OBJECT_TYPE_CONVERTER__OBJECT_TYPE: + setObjectType((String)newValue); + return; + case EclipseLinkOrmPackage.XML_OBJECT_TYPE_CONVERTER__CONVERSION_VALUES: + getConversionValues().clear(); + getConversionValues().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_OBJECT_TYPE_CONVERTER__DEFAULT_OBJECT_VALUE: + setDefaultObjectValue((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_OBJECT_TYPE_CONVERTER__DATA_TYPE: + setDataType(DATA_TYPE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_OBJECT_TYPE_CONVERTER__OBJECT_TYPE: + setObjectType(OBJECT_TYPE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_OBJECT_TYPE_CONVERTER__CONVERSION_VALUES: + getConversionValues().clear(); + return; + case EclipseLinkOrmPackage.XML_OBJECT_TYPE_CONVERTER__DEFAULT_OBJECT_VALUE: + setDefaultObjectValue(DEFAULT_OBJECT_VALUE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_OBJECT_TYPE_CONVERTER__DATA_TYPE: + return DATA_TYPE_EDEFAULT == null ? dataType != null : !DATA_TYPE_EDEFAULT.equals(dataType); + case EclipseLinkOrmPackage.XML_OBJECT_TYPE_CONVERTER__OBJECT_TYPE: + return OBJECT_TYPE_EDEFAULT == null ? objectType != null : !OBJECT_TYPE_EDEFAULT.equals(objectType); + case EclipseLinkOrmPackage.XML_OBJECT_TYPE_CONVERTER__CONVERSION_VALUES: + return conversionValues != null && !conversionValues.isEmpty(); + case EclipseLinkOrmPackage.XML_OBJECT_TYPE_CONVERTER__DEFAULT_OBJECT_VALUE: + return DEFAULT_OBJECT_VALUE_EDEFAULT == null ? defaultObjectValue != null : !DEFAULT_OBJECT_VALUE_EDEFAULT.equals(defaultObjectValue); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (dataType: "); + result.append(dataType); + result.append(", objectType: "); + result.append(objectType); + result.append(", defaultObjectValue: "); + result.append(defaultObjectValue); + 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[] { + buildConversionValueTranslator(), + buildDefaultObjectValueTranslator(), + buildNameTranslator(), + buildDataTypeTranslator(), + buildObjectTypeTranslator(), + }; + } + + protected static Translator buildConversionValueTranslator() { + return XmlConversionValue.buildTranslator(EclipseLink.CONVERSION_VALUE, EclipseLinkOrmPackage.eINSTANCE.getXmlObjectTypeConverter_ConversionValues()); + } + + protected static Translator buildDefaultObjectValueTranslator() { + return new Translator(EclipseLink.OBJECT_TYPE_CONVERTER__DEFAULT_OBJECT_VALUE, EclipseLinkOrmPackage.eINSTANCE.getXmlObjectTypeConverter_DefaultObjectValue()); + } + + protected static Translator buildDataTypeTranslator() { + return new Translator(EclipseLink.OBJECT_TYPE_CONVERTER__DATA_TYPE, EclipseLinkOrmPackage.eINSTANCE.getXmlObjectTypeConverter_DataType(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildObjectTypeTranslator() { + return new Translator(EclipseLink.OBJECT_TYPE_CONVERTER__OBJECT_TYPE, EclipseLinkOrmPackage.eINSTANCE.getXmlObjectTypeConverter_ObjectType(), Translator.DOM_ATTRIBUTE); + } + + + // ********** refactoring ********** + + public ReplaceEdit createRenameDataTypeEdit(IType originalType, String newName) { + String originalName = originalType.getTypeQualifiedName(); + int nameIndex = this.dataType.lastIndexOf(originalName); + int offset = getAttributeNode(EclipseLink.OBJECT_TYPE_CONVERTER__DATA_TYPE).getValueRegionStartOffset() + 1; // +1 = opening double quote + return new ReplaceEdit(offset + nameIndex, originalName.length(), newName); + } + + public ReplaceEdit createRenameDataTypePackageEdit(String newPackageName) { + int packageLength = this.dataType.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.OBJECT_TYPE_CONVERTER__DATA_TYPE).getValueRegionStartOffset() + 1; // +1 = opening double quote + return new ReplaceEdit(offset, packageLength, newPackageName); + } + + public ReplaceEdit createRenameObjectTypeEdit(IType originalType, String newName) { + String originalName = originalType.getTypeQualifiedName(); + int nameIndex = this.objectType.lastIndexOf(originalName); + int offset = getAttributeNode(EclipseLink.OBJECT_TYPE_CONVERTER__OBJECT_TYPE).getValueRegionStartOffset() + 1; // +1 = opening double quote + return new ReplaceEdit(offset + nameIndex, originalName.length(), newName); + } + + public ReplaceEdit createRenameObjectTypePackageEdit(String newPackageName) { + int packageLength = this.objectType.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.OBJECT_TYPE_CONVERTER__OBJECT_TYPE).getValueRegionStartOffset() + 1; // +1 = opening double quote + return new ReplaceEdit(offset, packageLength, newPackageName); + } + + // ********** content assist *************** + + public TextRange getObjectTypeCodeAssistTextRange() { + return getAttributeCodeAssistTextRange(EclipseLink.OBJECT_TYPE_CONVERTER__OBJECT_TYPE); + } + + public boolean objectTypeTouches(int pos) { + TextRange textRange = this.getObjectTypeCodeAssistTextRange(); + return (textRange != null) && textRange.touches(pos); + } + + public TextRange getDataTypeCodeAssistTextRange() { + return getAttributeCodeAssistTextRange(EclipseLink.OBJECT_TYPE_CONVERTER__DATA_TYPE); + } + + public boolean dataTypeTouches(int pos) { + TextRange textRange = this.getDataTypeCodeAssistTextRange(); + return (textRange != null) && textRange.touches(pos); + } + + public TextRange getDefaultObjectValueCodeAssistTextRange() { + return getElementCodeAssistTextRange(EclipseLink.OBJECT_TYPE_CONVERTER__DEFAULT_OBJECT_VALUE); + } + + public boolean defaultObjectValueTouches(int pos) { + TextRange textRange = this.getDefaultObjectValueCodeAssistTextRange(); + return (textRange != null) && textRange.touches(pos); + } +} // XmlObjectTypeConverter diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlOneToMany.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlOneToMany.java new file mode 100644 index 0000000000..f612ab7824 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlOneToMany.java @@ -0,0 +1,2292 @@ +/******************************************************************************* + * 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.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.XmlMapKeyAssociationOverrideContainer_2_0; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlOneToMany_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.XmlOneToMany_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.XmlOneToMany_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.XmlOneToMany_2_4; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * + * A representation of the model object 'Xml One 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#getXmlOneToMany() + * @model kind="class" + * @generated + */ +public class XmlOneToMany extends org.eclipse.jpt.jpa.core.resource.orm.XmlOneToMany implements XmlOneToMany_2_0, XmlOneToMany_2_1, XmlOneToMany_2_2, XmlOneToMany_2_4, XmlAttributeMapping, XmlPrivateOwned, XmlJoinFetch +{ + /** + * The cached value of the '{@link #getMapKeyAssociationOverrides() Map Key Association Overrides}' containment reference list. + * + * + * @see #getMapKeyAssociationOverrides() + * @generated + * @ordered + */ + protected EList mapKeyAssociationOverrides; + + /** + * The cached value of the '{@link #getConverters() Converters}' containment reference list. + * + * + * @see #getConverters() + * @generated + * @ordered + */ + protected EList converters; + + /** + * The cached value of the '{@link #getTypeConverters() Type Converters}' containment reference list. + * + * + * @see #getTypeConverters() + * @generated + * @ordered + */ + protected EList typeConverters; + + /** + * The cached value of the '{@link #getObjectTypeConverters() Object Type Converters}' containment reference list. + * + * + * @see #getObjectTypeConverters() + * @generated + * @ordered + */ + protected EList objectTypeConverters; + + /** + * The cached value of the '{@link #getStructConverters() Struct Converters}' containment reference list. + * + * + * @see #getStructConverters() + * @generated + * @ordered + */ + protected EList structConverters; + + /** + * The default value of the '{@link #getMapKeyConvert() Map Key Convert}' attribute. + * + * + * @see #getMapKeyConvert() + * @generated + * @ordered + */ + protected static final String MAP_KEY_CONVERT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getMapKeyConvert() Map Key Convert}' attribute. + * + * + * @see #getMapKeyConvert() + * @generated + * @ordered + */ + protected String mapKeyConvert = MAP_KEY_CONVERT_EDEFAULT; + + /** + * The cached value of the '{@link #getBatchFetch() Batch Fetch}' containment reference. + * + * + * @see #getBatchFetch() + * @generated + * @ordered + */ + protected XmlBatchFetch batchFetch; + + /** + * The cached value of the '{@link #getPartitioning() Partitioning}' containment reference. + * + * + * @see #getPartitioning() + * @generated + * @ordered + */ + protected XmlPartitioning_2_2 partitioning; + + /** + * The cached value of the '{@link #getReplicationPartitioning() Replication Partitioning}' containment reference. + * + * + * @see #getReplicationPartitioning() + * @generated + * @ordered + */ + protected XmlReplicationPartitioning_2_2 replicationPartitioning; + + /** + * The cached value of the '{@link #getRoundRobinPartitioning() Round Robin Partitioning}' containment reference. + * + * + * @see #getRoundRobinPartitioning() + * @generated + * @ordered + */ + protected XmlRoundRobinPartitioning_2_2 roundRobinPartitioning; + + /** + * The cached value of the '{@link #getPinnedPartitioning() Pinned Partitioning}' containment reference. + * + * + * @see #getPinnedPartitioning() + * @generated + * @ordered + */ + protected XmlPinnedPartitioning_2_2 pinnedPartitioning; + + /** + * The cached value of the '{@link #getRangePartitioning() Range Partitioning}' containment reference. + * + * + * @see #getRangePartitioning() + * @generated + * @ordered + */ + protected XmlRangePartitioning_2_2 rangePartitioning; + + /** + * The cached value of the '{@link #getValuePartitioning() Value Partitioning}' containment reference. + * + * + * @see #getValuePartitioning() + * @generated + * @ordered + */ + protected XmlValuePartitioning_2_2 valuePartitioning; + + /** + * The cached value of the '{@link #getHashPartitioning() Hash Partitioning}' containment reference. + * + * + * @see #getHashPartitioning() + * @generated + * @ordered + */ + protected XmlHashPartitioning_2_2 hashPartitioning; + + /** + * The cached value of the '{@link #getUnionPartitioning() Union Partitioning}' containment reference. + * + * + * @see #getUnionPartitioning() + * @generated + * @ordered + */ + protected XmlUnionPartitioning_2_2 unionPartitioning; + + /** + * The default value of the '{@link #getPartitioned() Partitioned}' attribute. + * + * + * @see #getPartitioned() + * @generated + * @ordered + */ + protected static final String PARTITIONED_EDEFAULT = null; + + /** + * The cached value of the '{@link #getPartitioned() Partitioned}' attribute. + * + * + * @see #getPartitioned() + * @generated + * @ordered + */ + protected String partitioned = PARTITIONED_EDEFAULT; + + /** + * The default value of the '{@link #getCascadeOnDelete() Cascade On Delete}' attribute. + * + * + * @see #getCascadeOnDelete() + * @generated + * @ordered + */ + protected static final Boolean CASCADE_ON_DELETE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getCascadeOnDelete() Cascade On Delete}' attribute. + * + * + * @see #getCascadeOnDelete() + * @generated + * @ordered + */ + protected Boolean cascadeOnDelete = CASCADE_ON_DELETE_EDEFAULT; + + /** + * The default value of the '{@link #isNoncacheable() Noncacheable}' attribute. + * + * + * @see #isNoncacheable() + * @generated + * @ordered + */ + protected static final boolean NONCACHEABLE_EDEFAULT = false; + + /** + * The cached value of the '{@link #isNoncacheable() Noncacheable}' attribute. + * + * + * @see #isNoncacheable() + * @generated + * @ordered + */ + protected boolean noncacheable = NONCACHEABLE_EDEFAULT; + + /** + * The cached value of the '{@link #getJoinFields() Join Fields}' containment reference list. + * + * + * @see #getJoinFields() + * @generated + * @ordered + */ + protected EList joinFields; + + /** + * The default value of the '{@link #isDeleteAll() Delete All}' attribute. + * + * + * @see #isDeleteAll() + * @generated + * @ordered + */ + protected static final boolean DELETE_ALL_EDEFAULT = false; + + /** + * The cached value of the '{@link #isDeleteAll() Delete All}' attribute. + * + * + * @see #isDeleteAll() + * @generated + * @ordered + */ + protected boolean deleteAll = DELETE_ALL_EDEFAULT; + + /** + * 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 properties; + + /** + * The default value of the '{@link #getAttributeType() Attribute Type}' attribute. + * + * + * @see #getAttributeType() + * @generated + * @ordered + */ + protected static final String ATTRIBUTE_TYPE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getAttributeType() Attribute Type}' attribute. + * + * + * @see #getAttributeType() + * @generated + * @ordered + */ + protected String attributeType = ATTRIBUTE_TYPE_EDEFAULT; + + /** + * The default value of the '{@link #isPrivateOwned() Private Owned}' attribute. + * + * + * @see #isPrivateOwned() + * @generated + * @ordered + */ + protected static final boolean PRIVATE_OWNED_EDEFAULT = false; + + /** + * The cached value of the '{@link #isPrivateOwned() Private Owned}' attribute. + * + * + * @see #isPrivateOwned() + * @generated + * @ordered + */ + protected boolean privateOwned = PRIVATE_OWNED_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 XmlJoinFetchType JOIN_FETCH_EDEFAULT = null; + + /** + * The cached value of the '{@link #getJoinFetch() Join Fetch}' attribute. + * + * + * @see #getJoinFetch() + * @generated + * @ordered + */ + protected XmlJoinFetchType joinFetch = JOIN_FETCH_EDEFAULT; + + /** + * + * + * @generated + */ + protected XmlOneToMany() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_ONE_TO_MANY; + } + + /** + * Returns the value of the 'Private Owned' attribute. + * + *

+ * If the meaning of the 'Private Owned' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Private Owned' attribute. + * @see #setPrivateOwned(boolean) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPrivateOwned_PrivateOwned() + * @model dataType="org.eclipse.emf.ecore.xml.type.Boolean" + * @generated + */ + public boolean isPrivateOwned() + { + return privateOwned; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToMany#isPrivateOwned Private Owned}' attribute. + * + * + * @param value the new value of the 'Private Owned' attribute. + * @see #isPrivateOwned() + * @generated + */ + public void setPrivateOwned(boolean newPrivateOwned) + { + boolean oldPrivateOwned = privateOwned; + privateOwned = newPrivateOwned; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_MANY__PRIVATE_OWNED, oldPrivateOwned, privateOwned)); + } + + /** + * 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.XmlOneToMany#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_ONE_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 getMapKeyAssociationOverrides() + { + if (mapKeyAssociationOverrides == null) + { + mapKeyAssociationOverrides = new EObjectContainmentEList(XmlAssociationOverride.class, this, EclipseLinkOrmPackage.XML_ONE_TO_MANY__MAP_KEY_ASSOCIATION_OVERRIDES); + } + return mapKeyAssociationOverrides; + } + + /** + * Returns the value of the 'Map Key Convert' attribute. + * + *

+ * 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.XmlOneToMany#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_ONE_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 getConverters() + { + if (converters == null) + { + converters = new EObjectContainmentEList(XmlConverter.class, this, EclipseLinkOrmPackage.XML_ONE_TO_MANY__CONVERTERS); + } + return converters; + } + + /** + * Returns the value of the 'Type Converters' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter}. + * + *

+ * 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 getTypeConverters() + { + if (typeConverters == null) + { + typeConverters = new EObjectContainmentEList(XmlTypeConverter.class, this, EclipseLinkOrmPackage.XML_ONE_TO_MANY__TYPE_CONVERTERS); + } + return typeConverters; + } + + /** + * Returns the value of the 'Object Type Converters' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter}. + * + *

+ * 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 getObjectTypeConverters() + { + if (objectTypeConverters == null) + { + objectTypeConverters = new EObjectContainmentEList(XmlObjectTypeConverter.class, this, EclipseLinkOrmPackage.XML_ONE_TO_MANY__OBJECT_TYPE_CONVERTERS); + } + return objectTypeConverters; + } + + /** + * Returns the value of the 'Struct Converters' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructConverter}. + * + *

+ * 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 getStructConverters() + { + if (structConverters == null) + { + structConverters = new EObjectContainmentEList(XmlStructConverter.class, this, EclipseLinkOrmPackage.XML_ONE_TO_MANY__STRUCT_CONVERTERS); + } + return structConverters; + } + + /** + * 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_ONE_TO_MANY__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.XmlOneToMany#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_ONE_TO_MANY__BATCH_FETCH, null, msgs); + if (newBatchFetch != null) + msgs = ((InternalEObject)newBatchFetch).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_MANY__BATCH_FETCH, null, msgs); + msgs = basicSetBatchFetch(newBatchFetch, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_MANY__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.XmlOneToMany#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_ONE_TO_MANY__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_ONE_TO_MANY__PARTITIONING, oldPartitioning, newPartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToMany#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_ONE_TO_MANY__PARTITIONING, null, msgs); + if (newPartitioning != null) + msgs = ((InternalEObject)newPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONING, null, msgs); + msgs = basicSetPartitioning(newPartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONING, newPartitioning, newPartitioning)); + } + + /** + * Returns the value of the '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_ONE_TO_MANY__REPLICATION_PARTITIONING, oldReplicationPartitioning, newReplicationPartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToMany#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_ONE_TO_MANY__REPLICATION_PARTITIONING, null, msgs); + if (newReplicationPartitioning != null) + msgs = ((InternalEObject)newReplicationPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_MANY__REPLICATION_PARTITIONING, null, msgs); + msgs = basicSetReplicationPartitioning(newReplicationPartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_MANY__REPLICATION_PARTITIONING, newReplicationPartitioning, newReplicationPartitioning)); + } + + /** + * Returns the value of the '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_ONE_TO_MANY__ROUND_ROBIN_PARTITIONING, oldRoundRobinPartitioning, newRoundRobinPartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToMany#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_ONE_TO_MANY__ROUND_ROBIN_PARTITIONING, null, msgs); + if (newRoundRobinPartitioning != null) + msgs = ((InternalEObject)newRoundRobinPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_MANY__ROUND_ROBIN_PARTITIONING, null, msgs); + msgs = basicSetRoundRobinPartitioning(newRoundRobinPartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_MANY__ROUND_ROBIN_PARTITIONING, newRoundRobinPartitioning, newRoundRobinPartitioning)); + } + + /** + * Returns the value of the '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_ONE_TO_MANY__PINNED_PARTITIONING, oldPinnedPartitioning, newPinnedPartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToMany#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_ONE_TO_MANY__PINNED_PARTITIONING, null, msgs); + if (newPinnedPartitioning != null) + msgs = ((InternalEObject)newPinnedPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_MANY__PINNED_PARTITIONING, null, msgs); + msgs = basicSetPinnedPartitioning(newPinnedPartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_MANY__PINNED_PARTITIONING, newPinnedPartitioning, newPinnedPartitioning)); + } + + /** + * Returns the value of the '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_ONE_TO_MANY__RANGE_PARTITIONING, oldRangePartitioning, newRangePartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToMany#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_ONE_TO_MANY__RANGE_PARTITIONING, null, msgs); + if (newRangePartitioning != null) + msgs = ((InternalEObject)newRangePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_MANY__RANGE_PARTITIONING, null, msgs); + msgs = basicSetRangePartitioning(newRangePartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_MANY__RANGE_PARTITIONING, newRangePartitioning, newRangePartitioning)); + } + + /** + * Returns the value of the '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_ONE_TO_MANY__VALUE_PARTITIONING, oldValuePartitioning, newValuePartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToMany#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_ONE_TO_MANY__VALUE_PARTITIONING, null, msgs); + if (newValuePartitioning != null) + msgs = ((InternalEObject)newValuePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_MANY__VALUE_PARTITIONING, null, msgs); + msgs = basicSetValuePartitioning(newValuePartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_MANY__VALUE_PARTITIONING, newValuePartitioning, newValuePartitioning)); + } + + /** + * Returns the value of the '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_ONE_TO_MANY__HASH_PARTITIONING, oldHashPartitioning, newHashPartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToMany#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_ONE_TO_MANY__HASH_PARTITIONING, null, msgs); + if (newHashPartitioning != null) + msgs = ((InternalEObject)newHashPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_MANY__HASH_PARTITIONING, null, msgs); + msgs = basicSetHashPartitioning(newHashPartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_MANY__HASH_PARTITIONING, newHashPartitioning, newHashPartitioning)); + } + + /** + * Returns the value of the '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_ONE_TO_MANY__UNION_PARTITIONING, oldUnionPartitioning, newUnionPartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToMany#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_ONE_TO_MANY__UNION_PARTITIONING, null, msgs); + if (newUnionPartitioning != null) + msgs = ((InternalEObject)newUnionPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_MANY__UNION_PARTITIONING, null, msgs); + msgs = basicSetUnionPartitioning(newUnionPartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_MANY__UNION_PARTITIONING, newUnionPartitioning, newUnionPartitioning)); + } + + /** + * Returns the value of the '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.XmlOneToMany#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_ONE_TO_MANY__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#getXmlOneToMany_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.XmlOneToMany#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_ONE_TO_MANY__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#getXmlOneToMany_2_2_Noncacheable() + * @model dataType="org.eclipse.emf.ecore.xml.type.Boolean" + * @generated + */ + public boolean isNoncacheable() + { + return noncacheable; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToMany#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_ONE_TO_MANY__NONCACHEABLE, oldNoncacheable, noncacheable)); + } + + /** + * Returns the value of the 'Join Fields' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlJoinField_2_4}. + * + *

+ * If the meaning of the 'Join Fields' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Join Fields' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOneToMany_2_4_JoinFields() + * @model containment="true" + * @generated + */ + public EList getJoinFields() + { + if (joinFields == null) + { + joinFields = new EObjectContainmentEList(XmlJoinField_2_4.class, this, EclipseLinkOrmPackage.XML_ONE_TO_MANY__JOIN_FIELDS); + } + return joinFields; + } + + /** + * 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#getXmlOneToMany_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.XmlOneToMany#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_ONE_TO_MANY__DELETE_ALL, oldDeleteAll, deleteAll)); + } + + /** + * 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_ONE_TO_MANY__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.XmlOneToMany#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_ONE_TO_MANY__ACCESS_METHODS, null, msgs); + if (newAccessMethods != null) + msgs = ((InternalEObject)newAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_MANY__ACCESS_METHODS, null, msgs); + msgs = basicSetAccessMethods(newAccessMethods, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_MANY__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 getProperties() + { + if (properties == null) + { + properties = new EObjectContainmentEList(XmlProperty.class, this, EclipseLinkOrmPackage.XML_ONE_TO_MANY__PROPERTIES); + } + return properties; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__MAP_KEY_ASSOCIATION_OVERRIDES: + return ((InternalEList)getMapKeyAssociationOverrides()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__CONVERTERS: + return ((InternalEList)getConverters()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__TYPE_CONVERTERS: + return ((InternalEList)getTypeConverters()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__OBJECT_TYPE_CONVERTERS: + return ((InternalEList)getObjectTypeConverters()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__STRUCT_CONVERTERS: + return ((InternalEList)getStructConverters()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__BATCH_FETCH: + return basicSetBatchFetch(null, msgs); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONING: + return basicSetPartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__REPLICATION_PARTITIONING: + return basicSetReplicationPartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ROUND_ROBIN_PARTITIONING: + return basicSetRoundRobinPartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PINNED_PARTITIONING: + return basicSetPinnedPartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__RANGE_PARTITIONING: + return basicSetRangePartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__VALUE_PARTITIONING: + return basicSetValuePartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__HASH_PARTITIONING: + return basicSetHashPartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__UNION_PARTITIONING: + return basicSetUnionPartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__JOIN_FIELDS: + return ((InternalEList)getJoinFields()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ACCESS_METHODS: + return basicSetAccessMethods(null, msgs); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__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_ONE_TO_MANY__MAP_KEY_ASSOCIATION_OVERRIDES: + return getMapKeyAssociationOverrides(); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__CONVERTERS: + return getConverters(); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__TYPE_CONVERTERS: + return getTypeConverters(); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__OBJECT_TYPE_CONVERTERS: + return getObjectTypeConverters(); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__STRUCT_CONVERTERS: + return getStructConverters(); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__MAP_KEY_CONVERT: + return getMapKeyConvert(); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__BATCH_FETCH: + return getBatchFetch(); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONING: + return getPartitioning(); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__REPLICATION_PARTITIONING: + return getReplicationPartitioning(); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ROUND_ROBIN_PARTITIONING: + return getRoundRobinPartitioning(); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PINNED_PARTITIONING: + return getPinnedPartitioning(); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__RANGE_PARTITIONING: + return getRangePartitioning(); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__VALUE_PARTITIONING: + return getValuePartitioning(); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__HASH_PARTITIONING: + return getHashPartitioning(); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__UNION_PARTITIONING: + return getUnionPartitioning(); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONED: + return getPartitioned(); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__CASCADE_ON_DELETE: + return getCascadeOnDelete(); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__NONCACHEABLE: + return isNoncacheable(); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__JOIN_FIELDS: + return getJoinFields(); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__DELETE_ALL: + return isDeleteAll(); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ACCESS_METHODS: + return getAccessMethods(); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PROPERTIES: + return getProperties(); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ATTRIBUTE_TYPE: + return getAttributeType(); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PRIVATE_OWNED: + return isPrivateOwned(); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__JOIN_FETCH: + return getJoinFetch(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__MAP_KEY_ASSOCIATION_OVERRIDES: + getMapKeyAssociationOverrides().clear(); + getMapKeyAssociationOverrides().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__CONVERTERS: + getConverters().clear(); + getConverters().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__TYPE_CONVERTERS: + getTypeConverters().clear(); + getTypeConverters().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__OBJECT_TYPE_CONVERTERS: + getObjectTypeConverters().clear(); + getObjectTypeConverters().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__STRUCT_CONVERTERS: + getStructConverters().clear(); + getStructConverters().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__MAP_KEY_CONVERT: + setMapKeyConvert((String)newValue); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__BATCH_FETCH: + setBatchFetch((XmlBatchFetch)newValue); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONING: + setPartitioning((XmlPartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__REPLICATION_PARTITIONING: + setReplicationPartitioning((XmlReplicationPartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ROUND_ROBIN_PARTITIONING: + setRoundRobinPartitioning((XmlRoundRobinPartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PINNED_PARTITIONING: + setPinnedPartitioning((XmlPinnedPartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__RANGE_PARTITIONING: + setRangePartitioning((XmlRangePartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__VALUE_PARTITIONING: + setValuePartitioning((XmlValuePartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__HASH_PARTITIONING: + setHashPartitioning((XmlHashPartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__UNION_PARTITIONING: + setUnionPartitioning((XmlUnionPartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONED: + setPartitioned((String)newValue); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__CASCADE_ON_DELETE: + setCascadeOnDelete((Boolean)newValue); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__NONCACHEABLE: + setNoncacheable((Boolean)newValue); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__JOIN_FIELDS: + getJoinFields().clear(); + getJoinFields().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__DELETE_ALL: + setDeleteAll((Boolean)newValue); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ACCESS_METHODS: + setAccessMethods((XmlAccessMethods)newValue); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PROPERTIES: + getProperties().clear(); + getProperties().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ATTRIBUTE_TYPE: + setAttributeType((String)newValue); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PRIVATE_OWNED: + setPrivateOwned((Boolean)newValue); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__JOIN_FETCH: + setJoinFetch((XmlJoinFetchType)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__MAP_KEY_ASSOCIATION_OVERRIDES: + getMapKeyAssociationOverrides().clear(); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__CONVERTERS: + getConverters().clear(); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__TYPE_CONVERTERS: + getTypeConverters().clear(); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__OBJECT_TYPE_CONVERTERS: + getObjectTypeConverters().clear(); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__STRUCT_CONVERTERS: + getStructConverters().clear(); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__MAP_KEY_CONVERT: + setMapKeyConvert(MAP_KEY_CONVERT_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__BATCH_FETCH: + setBatchFetch((XmlBatchFetch)null); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONING: + setPartitioning((XmlPartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__REPLICATION_PARTITIONING: + setReplicationPartitioning((XmlReplicationPartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ROUND_ROBIN_PARTITIONING: + setRoundRobinPartitioning((XmlRoundRobinPartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PINNED_PARTITIONING: + setPinnedPartitioning((XmlPinnedPartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__RANGE_PARTITIONING: + setRangePartitioning((XmlRangePartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__VALUE_PARTITIONING: + setValuePartitioning((XmlValuePartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__HASH_PARTITIONING: + setHashPartitioning((XmlHashPartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__UNION_PARTITIONING: + setUnionPartitioning((XmlUnionPartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONED: + setPartitioned(PARTITIONED_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__CASCADE_ON_DELETE: + setCascadeOnDelete(CASCADE_ON_DELETE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__NONCACHEABLE: + setNoncacheable(NONCACHEABLE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__JOIN_FIELDS: + getJoinFields().clear(); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__DELETE_ALL: + setDeleteAll(DELETE_ALL_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ACCESS_METHODS: + setAccessMethods((XmlAccessMethods)null); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PROPERTIES: + getProperties().clear(); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ATTRIBUTE_TYPE: + setAttributeType(ATTRIBUTE_TYPE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PRIVATE_OWNED: + setPrivateOwned(PRIVATE_OWNED_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__JOIN_FETCH: + setJoinFetch(JOIN_FETCH_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__MAP_KEY_ASSOCIATION_OVERRIDES: + return mapKeyAssociationOverrides != null && !mapKeyAssociationOverrides.isEmpty(); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__CONVERTERS: + return converters != null && !converters.isEmpty(); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__TYPE_CONVERTERS: + return typeConverters != null && !typeConverters.isEmpty(); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__OBJECT_TYPE_CONVERTERS: + return objectTypeConverters != null && !objectTypeConverters.isEmpty(); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__STRUCT_CONVERTERS: + return structConverters != null && !structConverters.isEmpty(); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__MAP_KEY_CONVERT: + return MAP_KEY_CONVERT_EDEFAULT == null ? mapKeyConvert != null : !MAP_KEY_CONVERT_EDEFAULT.equals(mapKeyConvert); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__BATCH_FETCH: + return batchFetch != null; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONING: + return partitioning != null; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__REPLICATION_PARTITIONING: + return replicationPartitioning != null; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ROUND_ROBIN_PARTITIONING: + return roundRobinPartitioning != null; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PINNED_PARTITIONING: + return pinnedPartitioning != null; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__RANGE_PARTITIONING: + return rangePartitioning != null; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__VALUE_PARTITIONING: + return valuePartitioning != null; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__HASH_PARTITIONING: + return hashPartitioning != null; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__UNION_PARTITIONING: + return unionPartitioning != null; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONED: + return PARTITIONED_EDEFAULT == null ? partitioned != null : !PARTITIONED_EDEFAULT.equals(partitioned); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__CASCADE_ON_DELETE: + return CASCADE_ON_DELETE_EDEFAULT == null ? cascadeOnDelete != null : !CASCADE_ON_DELETE_EDEFAULT.equals(cascadeOnDelete); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__NONCACHEABLE: + return noncacheable != NONCACHEABLE_EDEFAULT; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__JOIN_FIELDS: + return joinFields != null && !joinFields.isEmpty(); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__DELETE_ALL: + return deleteAll != DELETE_ALL_EDEFAULT; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ACCESS_METHODS: + return accessMethods != null; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PROPERTIES: + return properties != null && !properties.isEmpty(); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ATTRIBUTE_TYPE: + return ATTRIBUTE_TYPE_EDEFAULT == null ? attributeType != null : !ATTRIBUTE_TYPE_EDEFAULT.equals(attributeType); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PRIVATE_OWNED: + return privateOwned != PRIVATE_OWNED_EDEFAULT; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__JOIN_FETCH: + return joinFetch != JOIN_FETCH_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public int eBaseStructuralFeatureID(int derivedFeatureID, Class baseClass) + { + if (baseClass == XmlMapKeyAssociationOverrideContainer_2_0.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__MAP_KEY_ASSOCIATION_OVERRIDES: return EclipseLinkOrmV2_0Package.XML_MAP_KEY_ASSOCIATION_OVERRIDE_CONTAINER_20__MAP_KEY_ASSOCIATION_OVERRIDES; + default: return -1; + } + } + if (baseClass == XmlConverterContainer.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__CONVERTERS; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__TYPE_CONVERTERS; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__OBJECT_TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__STRUCT_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS; + default: return -1; + } + } + if (baseClass == XmlCollectionMapping_2_0.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__MAP_KEY_CONVERT: return EclipseLinkOrmV2_0Package.XML_COLLECTION_MAPPING_20__MAP_KEY_CONVERT; + default: return -1; + } + } + if (baseClass == XmlOneToMany_2_0.class) + { + switch (derivedFeatureID) + { + default: return -1; + } + } + if (baseClass == XmlBatchFetchHolder.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__BATCH_FETCH: return EclipseLinkOrmPackage.XML_BATCH_FETCH_HOLDER__BATCH_FETCH; + default: return -1; + } + } + if (baseClass == XmlOneToMany_2_1.class) + { + switch (derivedFeatureID) + { + default: return -1; + } + } + if (baseClass == XmlPartitioningGroup_2_2.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONING; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__REPLICATION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PINNED_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__RANGE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__VALUE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__HASH_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__HASH_PARTITIONING; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__UNION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__UNION_PARTITIONING; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONED: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONED; + default: return -1; + } + } + if (baseClass == XmlOneToMany_2_2.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__CASCADE_ON_DELETE: return EclipseLinkOrmV2_2Package.XML_ONE_TO_MANY_22__CASCADE_ON_DELETE; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__NONCACHEABLE: return EclipseLinkOrmV2_2Package.XML_ONE_TO_MANY_22__NONCACHEABLE; + default: return -1; + } + } + if (baseClass == XmlOneToMany_2_4.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__JOIN_FIELDS: return EclipseLinkOrmV2_4Package.XML_ONE_TO_MANY_24__JOIN_FIELDS; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__DELETE_ALL: return EclipseLinkOrmV2_4Package.XML_ONE_TO_MANY_24__DELETE_ALL; + default: return -1; + } + } + if (baseClass == XmlAccessMethodsHolder.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS; + default: return -1; + } + } + if (baseClass == XmlPropertyContainer.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PROPERTIES: return EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES; + default: return -1; + } + } + if (baseClass == XmlAttributeMapping.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE; + default: return -1; + } + } + if (baseClass == XmlPrivateOwned.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PRIVATE_OWNED: return EclipseLinkOrmPackage.XML_PRIVATE_OWNED__PRIVATE_OWNED; + default: return -1; + } + } + if (baseClass == XmlJoinFetch.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__JOIN_FETCH: return EclipseLinkOrmPackage.XML_JOIN_FETCH__JOIN_FETCH; + default: return -1; + } + } + return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); + } + + /** + * + * + * @generated + */ + @Override + public int eDerivedStructuralFeatureID(int baseFeatureID, Class baseClass) + { + if (baseClass == XmlMapKeyAssociationOverrideContainer_2_0.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_0Package.XML_MAP_KEY_ASSOCIATION_OVERRIDE_CONTAINER_20__MAP_KEY_ASSOCIATION_OVERRIDES: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__MAP_KEY_ASSOCIATION_OVERRIDES; + default: return -1; + } + } + if (baseClass == XmlConverterContainer.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__CONVERTERS: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__CONVERTERS; + case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__TYPE_CONVERTERS; + case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__OBJECT_TYPE_CONVERTERS; + case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__STRUCT_CONVERTERS; + default: return -1; + } + } + if (baseClass == XmlCollectionMapping_2_0.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_0Package.XML_COLLECTION_MAPPING_20__MAP_KEY_CONVERT: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__MAP_KEY_CONVERT; + default: return -1; + } + } + if (baseClass == XmlOneToMany_2_0.class) + { + switch (baseFeatureID) + { + default: return -1; + } + } + if (baseClass == XmlBatchFetchHolder.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_BATCH_FETCH_HOLDER__BATCH_FETCH: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__BATCH_FETCH; + default: return -1; + } + } + if (baseClass == XmlOneToMany_2_1.class) + { + switch (baseFeatureID) + { + default: return -1; + } + } + if (baseClass == XmlPartitioningGroup_2_2.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__REPLICATION_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__ROUND_ROBIN_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__PINNED_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__RANGE_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__VALUE_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__HASH_PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__HASH_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__UNION_PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__UNION_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONED: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONED; + default: return -1; + } + } + if (baseClass == XmlOneToMany_2_2.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_2Package.XML_ONE_TO_MANY_22__CASCADE_ON_DELETE: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__CASCADE_ON_DELETE; + case EclipseLinkOrmV2_2Package.XML_ONE_TO_MANY_22__NONCACHEABLE: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__NONCACHEABLE; + default: return -1; + } + } + if (baseClass == XmlOneToMany_2_4.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_4Package.XML_ONE_TO_MANY_24__JOIN_FIELDS: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__JOIN_FIELDS; + case EclipseLinkOrmV2_4Package.XML_ONE_TO_MANY_24__DELETE_ALL: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__DELETE_ALL; + default: return -1; + } + } + if (baseClass == XmlAccessMethodsHolder.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__ACCESS_METHODS; + default: return -1; + } + } + if (baseClass == XmlPropertyContainer.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__PROPERTIES; + default: return -1; + } + } + if (baseClass == XmlAttributeMapping.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__ATTRIBUTE_TYPE; + default: return -1; + } + } + if (baseClass == XmlPrivateOwned.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_PRIVATE_OWNED__PRIVATE_OWNED: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__PRIVATE_OWNED; + default: return -1; + } + } + if (baseClass == XmlJoinFetch.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_JOIN_FETCH__JOIN_FETCH: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__JOIN_FETCH; + 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(" (mapKeyConvert: "); + result.append(mapKeyConvert); + result.append(", partitioned: "); + result.append(partitioned); + result.append(", cascadeOnDelete: "); + result.append(cascadeOnDelete); + result.append(", noncacheable: "); + result.append(noncacheable); + result.append(", deleteAll: "); + result.append(deleteAll); + result.append(", attributeType: "); + result.append(attributeType); + result.append(", privateOwned: "); + result.append(privateOwned); + result.append(", joinFetch: "); + result.append(joinFetch); + result.append(')'); + return result.toString(); + } + + public TextRange getPrivateOwnedTextRange() { + return getElementTextRange(EclipseLink.PRIVATE_OWNED); + } + + public TextRange getJoinFetchTextRange() { + return getElementTextRange(EclipseLink.JOIN_FETCH); + } + + 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.getXmlOneToMany(), + buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildNameTranslator(), + buildTargetEntityTranslator(), + buildFetchTranslator(), + buildAccessTranslator(), + buildMappedByTranslator(), + buildOrphanRemovalTranslator(), + buildAttributeTypeTranslator(), + buildOrderByTranslator(), + XmlOrderColumn.buildTranslator(JPA2_0.ORDER_COLUMN, OrmV2_0Package.eINSTANCE.getXmlOrderable_2_0_OrderColumn()), + buildMapKeyTranslator(), + buildMapKeyClassTranslator(), + buildMapKeyTemporalTranslator(), + buildMapKeyEnumeratedTranslator(), + buildMapKeyConvertTranslator(), + buildMapKeyAttributeOverrideTranslator(), + buildMapKeyAssociationOverrideTranslator(), + buildMapKeyColumnTranslator(), + buildMapKeyJoinColumnTranslator(), + buildConverterTranslator(), + buildTypeConverterTranslator(), + buildObjectTypeConverterTranslator(), + buildStructConverterTranslator(), + buildJoinTableTranslator(), + buildJoinColumnTranslator(), + buildJoinFieldTranslator(), + buildCascadeTranslator(), + buildCascadeOnDeleteTranslator(), + buildPrivateOwnedTranslator(), + buildJoinFetchTranslator(), + buildBatchFetchTranslator(), + buildPropertyTranslator(), + buildAccessMethodsTranslator(), + buildNoncacheableTranslator(), + buildDeleteAllTranslator(), + 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(), + }; + } + + protected static Translator buildMapKeyConvertTranslator() { + return new Translator(JPA2_0.MAP_KEY_CONVERT, EclipseLinkOrmV2_0Package.eINSTANCE.getXmlCollectionMapping_2_0_MapKeyConvert()); + } + + protected static Translator buildMapKeyAssociationOverrideTranslator() { + return XmlAssociationOverride.buildTranslator(EclipseLink2_0.MAP_KEY_ASSOCIATION_OVERRIDE, EclipseLinkOrmV2_0Package.eINSTANCE.getXmlMapKeyAssociationOverrideContainer_2_0_MapKeyAssociationOverrides()); + } + + 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 buildPrivateOwnedTranslator() { + return new EmptyTagBooleanTranslator(EclipseLink.PRIVATE_OWNED, EclipseLinkOrmPackage.eINSTANCE.getXmlPrivateOwned_PrivateOwned()); + } + + protected static Translator buildJoinFetchTranslator() { + return new Translator(EclipseLink.JOIN_FETCH, EclipseLinkOrmPackage.eINSTANCE.getXmlJoinFetch_JoinFetch()); + } + + 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 buildAttributeTypeTranslator() { + return new Translator(EclipseLink2_1.ATTRIBUTE_TYPE, EclipseLinkOrmPackage.eINSTANCE.getXmlAttributeMapping_AttributeType(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildBatchFetchTranslator() { + return XmlBatchFetch.buildTranslator(EclipseLink2_1.BATCH_FETCH, EclipseLinkOrmPackage.eINSTANCE.getXmlBatchFetchHolder_BatchFetch()); + } + + protected static Translator buildCascadeOnDeleteTranslator() { + return CascadeType.buildTranslator(EclipseLink2_2.CASCADE_ON_DELETE, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlOneToMany_2_2_CascadeOnDelete()); + } + + protected static Translator buildJoinTableTranslator() { + return XmlJoinTable.buildTranslator(JPA.JOIN_TABLE, OrmPackage.eINSTANCE.getXmlJoinTableContainer_JoinTable()); + } + + protected static Translator buildNoncacheableTranslator() { + return new EmptyTagBooleanTranslator(EclipseLink2_2.NONCACHEABLE, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlOneToMany_2_2_Noncacheable()); + } + + protected static Translator buildPartitionedTranslator() { + return new Translator(EclipseLink2_2.PARTITIONING_GROUP__PARTITIONED, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlPartitioningGroup_2_2_Partitioned()); + } + + protected static Translator buildDeleteAllTranslator() { + return new EmptyTagBooleanTranslator(EclipseLink2_4.DELETE_ALL, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlOneToMany_2_4_DeleteAll()); + } + + protected static Translator buildJoinFieldTranslator() { + return XmlJoinField.buildTranslator(EclipseLink2_4.JOIN_FIELD, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlOneToMany_2_4_JoinFields()); + } + + // ******** virtual attribute ************ + + public void setVirtualAttributeTypes(String attributeType, String targetEntity) { + this.setAttributeType(attributeType); + this.setTargetEntity(targetEntity); + } + + // *********** 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/XmlOneToOne.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlOneToOne.java new file mode 100644 index 0000000000..b94f1fe3bc --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlOneToOne.java @@ -0,0 +1,1794 @@ +/******************************************************************************* + * 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.eclipselink.core.resource.orm.v2_1.EclipseLink2_1; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlOneToOne_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.XmlOneToOne_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.XmlOneToOne_2_4; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * + * A representation of the model object 'Xml One To One'. + * + * 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#getXmlOneToOne() + * @model kind="class" + * @generated + */ +public class XmlOneToOne extends org.eclipse.jpt.jpa.core.resource.orm.XmlOneToOne implements XmlOneToOne_2_1, XmlOneToOne_2_2, XmlOneToOne_2_4, XmlAttributeMapping, XmlPrivateOwned, XmlJoinFetch +{ + /** + * The cached value of the '{@link #getBatchFetch() Batch Fetch}' containment reference. + * + * + * @see #getBatchFetch() + * @generated + * @ordered + */ + protected XmlBatchFetch batchFetch; + + /** + * The cached value of the '{@link #getPartitioning() Partitioning}' containment reference. + * + * + * @see #getPartitioning() + * @generated + * @ordered + */ + protected XmlPartitioning_2_2 partitioning; + + /** + * The cached value of the '{@link #getReplicationPartitioning() Replication Partitioning}' containment reference. + * + * + * @see #getReplicationPartitioning() + * @generated + * @ordered + */ + protected XmlReplicationPartitioning_2_2 replicationPartitioning; + + /** + * The cached value of the '{@link #getRoundRobinPartitioning() Round Robin Partitioning}' containment reference. + * + * + * @see #getRoundRobinPartitioning() + * @generated + * @ordered + */ + protected XmlRoundRobinPartitioning_2_2 roundRobinPartitioning; + + /** + * The cached value of the '{@link #getPinnedPartitioning() Pinned Partitioning}' containment reference. + * + * + * @see #getPinnedPartitioning() + * @generated + * @ordered + */ + protected XmlPinnedPartitioning_2_2 pinnedPartitioning; + + /** + * The cached value of the '{@link #getRangePartitioning() Range Partitioning}' containment reference. + * + * + * @see #getRangePartitioning() + * @generated + * @ordered + */ + protected XmlRangePartitioning_2_2 rangePartitioning; + + /** + * The cached value of the '{@link #getValuePartitioning() Value Partitioning}' containment reference. + * + * + * @see #getValuePartitioning() + * @generated + * @ordered + */ + protected XmlValuePartitioning_2_2 valuePartitioning; + + /** + * The cached value of the '{@link #getHashPartitioning() Hash Partitioning}' containment reference. + * + * + * @see #getHashPartitioning() + * @generated + * @ordered + */ + protected XmlHashPartitioning_2_2 hashPartitioning; + + /** + * The cached value of the '{@link #getUnionPartitioning() Union Partitioning}' containment reference. + * + * + * @see #getUnionPartitioning() + * @generated + * @ordered + */ + protected XmlUnionPartitioning_2_2 unionPartitioning; + + /** + * The default value of the '{@link #getPartitioned() Partitioned}' attribute. + * + * + * @see #getPartitioned() + * @generated + * @ordered + */ + protected static final String PARTITIONED_EDEFAULT = null; + + /** + * The cached value of the '{@link #getPartitioned() Partitioned}' attribute. + * + * + * @see #getPartitioned() + * @generated + * @ordered + */ + protected String partitioned = PARTITIONED_EDEFAULT; + + /** + * The default value of the '{@link #getCascadeOnDelete() Cascade On Delete}' attribute. + * + * + * @see #getCascadeOnDelete() + * @generated + * @ordered + */ + protected static final Boolean CASCADE_ON_DELETE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getCascadeOnDelete() Cascade On Delete}' attribute. + * + * + * @see #getCascadeOnDelete() + * @generated + * @ordered + */ + protected Boolean cascadeOnDelete = CASCADE_ON_DELETE_EDEFAULT; + + /** + * The default value of the '{@link #isNonCacheable() Non Cacheable}' attribute. + * + * + * @see #isNonCacheable() + * @generated + * @ordered + */ + protected static final boolean NON_CACHEABLE_EDEFAULT = false; + + /** + * The cached value of the '{@link #isNonCacheable() Non Cacheable}' attribute. + * + * + * @see #isNonCacheable() + * @generated + * @ordered + */ + protected boolean nonCacheable = NON_CACHEABLE_EDEFAULT; + + /** + * The cached value of the '{@link #getJoinFields() Join Fields}' containment reference list. + * + * + * @see #getJoinFields() + * @generated + * @ordered + */ + protected EList joinFields; + + /** + * 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 properties; + + /** + * The default value of the '{@link #getAttributeType() Attribute Type}' attribute. + * + * + * @see #getAttributeType() + * @generated + * @ordered + */ + protected static final String ATTRIBUTE_TYPE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getAttributeType() Attribute Type}' attribute. + * + * + * @see #getAttributeType() + * @generated + * @ordered + */ + protected String attributeType = ATTRIBUTE_TYPE_EDEFAULT; + + /** + * The default value of the '{@link #isPrivateOwned() Private Owned}' attribute. + * + * + * @see #isPrivateOwned() + * @generated + * @ordered + */ + protected static final boolean PRIVATE_OWNED_EDEFAULT = false; + + /** + * The cached value of the '{@link #isPrivateOwned() Private Owned}' attribute. + * + * + * @see #isPrivateOwned() + * @generated + * @ordered + */ + protected boolean privateOwned = PRIVATE_OWNED_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 XmlJoinFetchType JOIN_FETCH_EDEFAULT = null; + + /** + * The cached value of the '{@link #getJoinFetch() Join Fetch}' attribute. + * + * + * @see #getJoinFetch() + * @generated + * @ordered + */ + protected XmlJoinFetchType joinFetch = JOIN_FETCH_EDEFAULT; + + /** + * + * + * @generated + */ + protected XmlOneToOne() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_ONE_TO_ONE; + } + + /** + * 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_ONE_TO_ONE__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.XmlOneToOne#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_ONE_TO_ONE__BATCH_FETCH, null, msgs); + if (newBatchFetch != null) + msgs = ((InternalEObject)newBatchFetch).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_ONE__BATCH_FETCH, null, msgs); + msgs = basicSetBatchFetch(newBatchFetch, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_ONE__BATCH_FETCH, newBatchFetch, newBatchFetch)); + } + + /** + * 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_ONE_TO_ONE__PARTITIONING, oldPartitioning, newPartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToOne#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_ONE_TO_ONE__PARTITIONING, null, msgs); + if (newPartitioning != null) + msgs = ((InternalEObject)newPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONING, null, msgs); + msgs = basicSetPartitioning(newPartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONING, newPartitioning, newPartitioning)); + } + + /** + * Returns the value of the '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_ONE_TO_ONE__REPLICATION_PARTITIONING, oldReplicationPartitioning, newReplicationPartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToOne#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_ONE_TO_ONE__REPLICATION_PARTITIONING, null, msgs); + if (newReplicationPartitioning != null) + msgs = ((InternalEObject)newReplicationPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_ONE__REPLICATION_PARTITIONING, null, msgs); + msgs = basicSetReplicationPartitioning(newReplicationPartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_ONE__REPLICATION_PARTITIONING, newReplicationPartitioning, newReplicationPartitioning)); + } + + /** + * Returns the value of the '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_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING, oldRoundRobinPartitioning, newRoundRobinPartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToOne#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_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING, null, msgs); + if (newRoundRobinPartitioning != null) + msgs = ((InternalEObject)newRoundRobinPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING, null, msgs); + msgs = basicSetRoundRobinPartitioning(newRoundRobinPartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING, newRoundRobinPartitioning, newRoundRobinPartitioning)); + } + + /** + * Returns the value of the '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_ONE_TO_ONE__PINNED_PARTITIONING, oldPinnedPartitioning, newPinnedPartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToOne#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_ONE_TO_ONE__PINNED_PARTITIONING, null, msgs); + if (newPinnedPartitioning != null) + msgs = ((InternalEObject)newPinnedPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_ONE__PINNED_PARTITIONING, null, msgs); + msgs = basicSetPinnedPartitioning(newPinnedPartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_ONE__PINNED_PARTITIONING, newPinnedPartitioning, newPinnedPartitioning)); + } + + /** + * Returns the value of the '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_ONE_TO_ONE__RANGE_PARTITIONING, oldRangePartitioning, newRangePartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToOne#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_ONE_TO_ONE__RANGE_PARTITIONING, null, msgs); + if (newRangePartitioning != null) + msgs = ((InternalEObject)newRangePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_ONE__RANGE_PARTITIONING, null, msgs); + msgs = basicSetRangePartitioning(newRangePartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_ONE__RANGE_PARTITIONING, newRangePartitioning, newRangePartitioning)); + } + + /** + * Returns the value of the '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_ONE_TO_ONE__VALUE_PARTITIONING, oldValuePartitioning, newValuePartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToOne#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_ONE_TO_ONE__VALUE_PARTITIONING, null, msgs); + if (newValuePartitioning != null) + msgs = ((InternalEObject)newValuePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_ONE__VALUE_PARTITIONING, null, msgs); + msgs = basicSetValuePartitioning(newValuePartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_ONE__VALUE_PARTITIONING, newValuePartitioning, newValuePartitioning)); + } + + /** + * Returns the value of the '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_ONE_TO_ONE__HASH_PARTITIONING, oldHashPartitioning, newHashPartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToOne#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_ONE_TO_ONE__HASH_PARTITIONING, null, msgs); + if (newHashPartitioning != null) + msgs = ((InternalEObject)newHashPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_ONE__HASH_PARTITIONING, null, msgs); + msgs = basicSetHashPartitioning(newHashPartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_ONE__HASH_PARTITIONING, newHashPartitioning, newHashPartitioning)); + } + + /** + * Returns the value of the '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_ONE_TO_ONE__UNION_PARTITIONING, oldUnionPartitioning, newUnionPartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToOne#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_ONE_TO_ONE__UNION_PARTITIONING, null, msgs); + if (newUnionPartitioning != null) + msgs = ((InternalEObject)newUnionPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_ONE__UNION_PARTITIONING, null, msgs); + msgs = basicSetUnionPartitioning(newUnionPartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_ONE__UNION_PARTITIONING, newUnionPartitioning, newUnionPartitioning)); + } + + /** + * Returns the value of the '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.XmlOneToOne#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_ONE_TO_ONE__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#getXmlOneToOne_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.XmlOneToOne#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_ONE_TO_ONE__CASCADE_ON_DELETE, oldCascadeOnDelete, cascadeOnDelete)); + } + + /** + * Returns the value of the 'Non Cacheable' attribute. + * + *

+ * If the meaning of the 'Non Cacheable' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Non Cacheable' attribute. + * @see #setNonCacheable(boolean) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOneToOne_2_2_NonCacheable() + * @model dataType="org.eclipse.emf.ecore.xml.type.Boolean" + * @generated + */ + public boolean isNonCacheable() + { + return nonCacheable; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToOne#isNonCacheable Non Cacheable}' attribute. + * + * + * @param value the new value of the 'Non Cacheable' attribute. + * @see #isNonCacheable() + * @generated + */ + public void setNonCacheable(boolean newNonCacheable) + { + boolean oldNonCacheable = nonCacheable; + nonCacheable = newNonCacheable; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_ONE__NON_CACHEABLE, oldNonCacheable, nonCacheable)); + } + + /** + * Returns the value of the 'Join Fields' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlJoinField_2_4}. + * + *

+ * If the meaning of the 'Join Fields' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Join Fields' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOneToOne_2_4_JoinFields() + * @model containment="true" + * @generated + */ + public EList getJoinFields() + { + if (joinFields == null) + { + joinFields = new EObjectContainmentEList(XmlJoinField_2_4.class, this, EclipseLinkOrmPackage.XML_ONE_TO_ONE__JOIN_FIELDS); + } + return joinFields; + } + + /** + * Returns the value of the 'Private Owned' attribute. + * + *

+ * If the meaning of the 'Private Owned' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Private Owned' attribute. + * @see #setPrivateOwned(boolean) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPrivateOwned_PrivateOwned() + * @model dataType="org.eclipse.emf.ecore.xml.type.Boolean" + * @generated + */ + public boolean isPrivateOwned() + { + return privateOwned; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToOne#isPrivateOwned Private Owned}' attribute. + * + * + * @param value the new value of the 'Private Owned' attribute. + * @see #isPrivateOwned() + * @generated + */ + public void setPrivateOwned(boolean newPrivateOwned) + { + boolean oldPrivateOwned = privateOwned; + privateOwned = newPrivateOwned; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_ONE__PRIVATE_OWNED, oldPrivateOwned, privateOwned)); + } + + /** + * 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.XmlOneToOne#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_ONE_TO_ONE__JOIN_FETCH, oldJoinFetch, joinFetch)); + } + + /** + * 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_ONE_TO_ONE__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.XmlOneToOne#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_ONE_TO_ONE__ACCESS_METHODS, null, msgs); + if (newAccessMethods != null) + msgs = ((InternalEObject)newAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_ONE__ACCESS_METHODS, null, msgs); + msgs = basicSetAccessMethods(newAccessMethods, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_ONE__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 getProperties() + { + if (properties == null) + { + properties = new EObjectContainmentEList(XmlProperty.class, this, EclipseLinkOrmPackage.XML_ONE_TO_ONE__PROPERTIES); + } + return properties; + } + + /** + * 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.XmlOneToOne#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_ONE_TO_ONE__ATTRIBUTE_TYPE, oldAttributeType, attributeType)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__BATCH_FETCH: + return basicSetBatchFetch(null, msgs); + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONING: + return basicSetPartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__REPLICATION_PARTITIONING: + return basicSetReplicationPartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING: + return basicSetRoundRobinPartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PINNED_PARTITIONING: + return basicSetPinnedPartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__RANGE_PARTITIONING: + return basicSetRangePartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__VALUE_PARTITIONING: + return basicSetValuePartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__HASH_PARTITIONING: + return basicSetHashPartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__UNION_PARTITIONING: + return basicSetUnionPartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__JOIN_FIELDS: + return ((InternalEList)getJoinFields()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__ACCESS_METHODS: + return basicSetAccessMethods(null, msgs); + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__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_ONE_TO_ONE__BATCH_FETCH: + return getBatchFetch(); + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONING: + return getPartitioning(); + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__REPLICATION_PARTITIONING: + return getReplicationPartitioning(); + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING: + return getRoundRobinPartitioning(); + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PINNED_PARTITIONING: + return getPinnedPartitioning(); + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__RANGE_PARTITIONING: + return getRangePartitioning(); + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__VALUE_PARTITIONING: + return getValuePartitioning(); + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__HASH_PARTITIONING: + return getHashPartitioning(); + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__UNION_PARTITIONING: + return getUnionPartitioning(); + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONED: + return getPartitioned(); + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__CASCADE_ON_DELETE: + return getCascadeOnDelete(); + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__NON_CACHEABLE: + return isNonCacheable(); + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__JOIN_FIELDS: + return getJoinFields(); + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__ACCESS_METHODS: + return getAccessMethods(); + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PROPERTIES: + return getProperties(); + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__ATTRIBUTE_TYPE: + return getAttributeType(); + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PRIVATE_OWNED: + return isPrivateOwned(); + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__JOIN_FETCH: + return getJoinFetch(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__BATCH_FETCH: + setBatchFetch((XmlBatchFetch)newValue); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONING: + setPartitioning((XmlPartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__REPLICATION_PARTITIONING: + setReplicationPartitioning((XmlReplicationPartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING: + setRoundRobinPartitioning((XmlRoundRobinPartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PINNED_PARTITIONING: + setPinnedPartitioning((XmlPinnedPartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__RANGE_PARTITIONING: + setRangePartitioning((XmlRangePartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__VALUE_PARTITIONING: + setValuePartitioning((XmlValuePartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__HASH_PARTITIONING: + setHashPartitioning((XmlHashPartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__UNION_PARTITIONING: + setUnionPartitioning((XmlUnionPartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONED: + setPartitioned((String)newValue); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__CASCADE_ON_DELETE: + setCascadeOnDelete((Boolean)newValue); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__NON_CACHEABLE: + setNonCacheable((Boolean)newValue); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__JOIN_FIELDS: + getJoinFields().clear(); + getJoinFields().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__ACCESS_METHODS: + setAccessMethods((XmlAccessMethods)newValue); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PROPERTIES: + getProperties().clear(); + getProperties().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__ATTRIBUTE_TYPE: + setAttributeType((String)newValue); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PRIVATE_OWNED: + setPrivateOwned((Boolean)newValue); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__JOIN_FETCH: + setJoinFetch((XmlJoinFetchType)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__BATCH_FETCH: + setBatchFetch((XmlBatchFetch)null); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONING: + setPartitioning((XmlPartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__REPLICATION_PARTITIONING: + setReplicationPartitioning((XmlReplicationPartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING: + setRoundRobinPartitioning((XmlRoundRobinPartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PINNED_PARTITIONING: + setPinnedPartitioning((XmlPinnedPartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__RANGE_PARTITIONING: + setRangePartitioning((XmlRangePartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__VALUE_PARTITIONING: + setValuePartitioning((XmlValuePartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__HASH_PARTITIONING: + setHashPartitioning((XmlHashPartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__UNION_PARTITIONING: + setUnionPartitioning((XmlUnionPartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONED: + setPartitioned(PARTITIONED_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__CASCADE_ON_DELETE: + setCascadeOnDelete(CASCADE_ON_DELETE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__NON_CACHEABLE: + setNonCacheable(NON_CACHEABLE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__JOIN_FIELDS: + getJoinFields().clear(); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__ACCESS_METHODS: + setAccessMethods((XmlAccessMethods)null); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PROPERTIES: + getProperties().clear(); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__ATTRIBUTE_TYPE: + setAttributeType(ATTRIBUTE_TYPE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PRIVATE_OWNED: + setPrivateOwned(PRIVATE_OWNED_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__JOIN_FETCH: + setJoinFetch(JOIN_FETCH_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__BATCH_FETCH: + return batchFetch != null; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONING: + return partitioning != null; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__REPLICATION_PARTITIONING: + return replicationPartitioning != null; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING: + return roundRobinPartitioning != null; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PINNED_PARTITIONING: + return pinnedPartitioning != null; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__RANGE_PARTITIONING: + return rangePartitioning != null; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__VALUE_PARTITIONING: + return valuePartitioning != null; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__HASH_PARTITIONING: + return hashPartitioning != null; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__UNION_PARTITIONING: + return unionPartitioning != null; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONED: + return PARTITIONED_EDEFAULT == null ? partitioned != null : !PARTITIONED_EDEFAULT.equals(partitioned); + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__CASCADE_ON_DELETE: + return CASCADE_ON_DELETE_EDEFAULT == null ? cascadeOnDelete != null : !CASCADE_ON_DELETE_EDEFAULT.equals(cascadeOnDelete); + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__NON_CACHEABLE: + return nonCacheable != NON_CACHEABLE_EDEFAULT; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__JOIN_FIELDS: + return joinFields != null && !joinFields.isEmpty(); + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__ACCESS_METHODS: + return accessMethods != null; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PROPERTIES: + return properties != null && !properties.isEmpty(); + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__ATTRIBUTE_TYPE: + return ATTRIBUTE_TYPE_EDEFAULT == null ? attributeType != null : !ATTRIBUTE_TYPE_EDEFAULT.equals(attributeType); + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PRIVATE_OWNED: + return privateOwned != PRIVATE_OWNED_EDEFAULT; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__JOIN_FETCH: + return joinFetch != JOIN_FETCH_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public int eBaseStructuralFeatureID(int derivedFeatureID, Class baseClass) + { + if (baseClass == XmlBatchFetchHolder.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__BATCH_FETCH: return EclipseLinkOrmPackage.XML_BATCH_FETCH_HOLDER__BATCH_FETCH; + default: return -1; + } + } + if (baseClass == XmlOneToOne_2_1.class) + { + switch (derivedFeatureID) + { + default: return -1; + } + } + if (baseClass == XmlPartitioningGroup_2_2.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONING; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__REPLICATION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PINNED_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__RANGE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__VALUE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__HASH_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__HASH_PARTITIONING; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__UNION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__UNION_PARTITIONING; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONED: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONED; + default: return -1; + } + } + if (baseClass == XmlOneToOne_2_2.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__CASCADE_ON_DELETE: return EclipseLinkOrmV2_2Package.XML_ONE_TO_ONE_22__CASCADE_ON_DELETE; + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__NON_CACHEABLE: return EclipseLinkOrmV2_2Package.XML_ONE_TO_ONE_22__NON_CACHEABLE; + default: return -1; + } + } + if (baseClass == XmlOneToOne_2_4.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__JOIN_FIELDS: return EclipseLinkOrmV2_4Package.XML_ONE_TO_ONE_24__JOIN_FIELDS; + default: return -1; + } + } + if (baseClass == XmlAccessMethodsHolder.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS; + default: return -1; + } + } + if (baseClass == XmlPropertyContainer.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PROPERTIES: return EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES; + default: return -1; + } + } + if (baseClass == XmlAttributeMapping.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE; + default: return -1; + } + } + if (baseClass == XmlPrivateOwned.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PRIVATE_OWNED: return EclipseLinkOrmPackage.XML_PRIVATE_OWNED__PRIVATE_OWNED; + default: return -1; + } + } + if (baseClass == XmlJoinFetch.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ONE_TO_ONE__JOIN_FETCH: return EclipseLinkOrmPackage.XML_JOIN_FETCH__JOIN_FETCH; + default: return -1; + } + } + return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); + } + + /** + * + * + * @generated + */ + @Override + public int eDerivedStructuralFeatureID(int baseFeatureID, Class baseClass) + { + if (baseClass == XmlBatchFetchHolder.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_BATCH_FETCH_HOLDER__BATCH_FETCH: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__BATCH_FETCH; + default: return -1; + } + } + if (baseClass == XmlOneToOne_2_1.class) + { + switch (baseFeatureID) + { + default: return -1; + } + } + if (baseClass == XmlPartitioningGroup_2_2.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__REPLICATION_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__PINNED_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__RANGE_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__VALUE_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__HASH_PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__HASH_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__UNION_PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__UNION_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONED: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONED; + default: return -1; + } + } + if (baseClass == XmlOneToOne_2_2.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_2Package.XML_ONE_TO_ONE_22__CASCADE_ON_DELETE: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__CASCADE_ON_DELETE; + case EclipseLinkOrmV2_2Package.XML_ONE_TO_ONE_22__NON_CACHEABLE: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__NON_CACHEABLE; + default: return -1; + } + } + if (baseClass == XmlOneToOne_2_4.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_4Package.XML_ONE_TO_ONE_24__JOIN_FIELDS: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__JOIN_FIELDS; + default: return -1; + } + } + if (baseClass == XmlAccessMethodsHolder.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__ACCESS_METHODS; + default: return -1; + } + } + if (baseClass == XmlPropertyContainer.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__PROPERTIES; + default: return -1; + } + } + if (baseClass == XmlAttributeMapping.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__ATTRIBUTE_TYPE; + default: return -1; + } + } + if (baseClass == XmlPrivateOwned.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_PRIVATE_OWNED__PRIVATE_OWNED: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__PRIVATE_OWNED; + default: return -1; + } + } + if (baseClass == XmlJoinFetch.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_JOIN_FETCH__JOIN_FETCH: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__JOIN_FETCH; + 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(" (partitioned: "); + result.append(partitioned); + result.append(", cascadeOnDelete: "); + result.append(cascadeOnDelete); + result.append(", nonCacheable: "); + result.append(nonCacheable); + result.append(", attributeType: "); + result.append(attributeType); + result.append(", privateOwned: "); + result.append(privateOwned); + result.append(", joinFetch: "); + result.append(joinFetch); + result.append(')'); + return result.toString(); + } + + public TextRange getPrivateOwnedTextRange() { + return getElementTextRange(EclipseLink.PRIVATE_OWNED); + } + + public TextRange getJoinFetchTextRange() { + return getElementTextRange(EclipseLink.JOIN_FETCH); + } + + public TextRange getAttributeTypeTextRange() { + //no attribute-type for one-to-one + return getValidationTextRange(); + } + + + // ********** translators ********** + + public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) { + return new SimpleTranslator( + elementName, + structuralFeature, + EclipseLinkOrmPackage.eINSTANCE.getXmlOneToOne(), + buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildNameTranslator(), + buildTargetEntityTranslator(), + buildFetchTranslator(), + buildOptionalTranslator(), + buildAccessTranslator(), + buildMappedByTranslator(), + buildOrphanRemovalTranslator(), + buildMapsIdTranslator(), + buildIdTranslator(), + buildPrimaryKeyJoinColumnTranslator(), + buildJoinColumnTranslator(), + buildJoinTableTranslator(), + buildJoinFieldTranslator(), + buildCascadeTranslator(), + buildCascadeOnDeleteTranslator(), + buildPrivateOwnedTranslator(), + buildJoinFetchTranslator(), + buildBatchFetchTranslator(), + buildPropertyTranslator(), + buildAccessMethodsTranslator(), + buildNoncacheableTranslator(), + 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(), + }; + } + + protected static Translator buildPrivateOwnedTranslator() { + return new EmptyTagBooleanTranslator(EclipseLink.PRIVATE_OWNED, EclipseLinkOrmPackage.eINSTANCE.getXmlPrivateOwned_PrivateOwned()); + } + + protected static Translator buildJoinFetchTranslator() { + return new Translator(EclipseLink.JOIN_FETCH, EclipseLinkOrmPackage.eINSTANCE.getXmlJoinFetch_JoinFetch()); + } + + 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 buildBatchFetchTranslator() { + return XmlBatchFetch.buildTranslator(EclipseLink2_1.BATCH_FETCH, EclipseLinkOrmPackage.eINSTANCE.getXmlBatchFetchHolder_BatchFetch()); + } + + protected static Translator buildCascadeOnDeleteTranslator() { + return CascadeType.buildTranslator(EclipseLink2_2.CASCADE_ON_DELETE, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlOneToOne_2_2_CascadeOnDelete()); + } + + protected static Translator buildJoinTableTranslator() { + return XmlJoinTable.buildTranslator(JPA.JOIN_TABLE, OrmPackage.eINSTANCE.getXmlJoinTableContainer_JoinTable()); + } + + protected static Translator buildNoncacheableTranslator() { + return new EmptyTagBooleanTranslator(EclipseLink2_2.NONCACHEABLE, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlOneToOne_2_2_NonCacheable()); + } + + protected static Translator buildPartitionedTranslator() { + return new Translator(EclipseLink2_2.PARTITIONING_GROUP__PARTITIONED, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlPartitioningGroup_2_2_Partitioned()); + } + + protected static Translator buildJoinFieldTranslator() { + return XmlJoinField.buildTranslator(EclipseLink2_4.JOIN_FIELD, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlOneToOne_2_4_JoinFields()); + } + + // ******** virtual attribute ************ + + public void setVirtualAttributeTypes(String attributeType, String targetEntity) { + this.setTargetEntity(targetEntity); + } +} diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlOptimisticLocking.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlOptimisticLocking.java new file mode 100644 index 0000000000..a881f3c721 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlOptimisticLocking.java @@ -0,0 +1,373 @@ +/******************************************************************************* + * 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.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.BooleanTranslator; +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.jpa.core.resource.orm.XmlColumn; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml Optimistic Locking'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOptimisticLocking#getType Type}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOptimisticLocking#getCascade Cascade}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOptimisticLocking#getSelectedColumns Selected Columns}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOptimisticLocking() + * @model kind="class" + * @extends EBaseObject + * @generated + */ +public class XmlOptimisticLocking extends EBaseObjectImpl implements EBaseObject +{ + /** + * 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 XmlOptimisticLockingType TYPE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getType() Type}' attribute. + * + * + * @see #getType() + * @generated + * @ordered + */ + protected XmlOptimisticLockingType type = TYPE_EDEFAULT; + + /** + * The default value of the '{@link #getCascade() Cascade}' attribute. + * + * + * @see #getCascade() + * @generated + * @ordered + */ + protected static final Boolean CASCADE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getCascade() Cascade}' attribute. + * + * + * @see #getCascade() + * @generated + * @ordered + */ + protected Boolean cascade = CASCADE_EDEFAULT; + + /** + * The cached value of the '{@link #getSelectedColumns() Selected Columns}' containment reference list. + * + * + * @see #getSelectedColumns() + * @generated + * @ordered + */ + protected EList selectedColumns; + + /** + * + * + * @generated + */ + protected XmlOptimisticLocking() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_OPTIMISTIC_LOCKING; + } + + /** + * Returns the value of the 'Type' attribute. + * The literals are from the enumeration {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOptimisticLockingType}. + * + *

+ * 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.XmlOptimisticLockingType + * @see #setType(XmlOptimisticLockingType) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOptimisticLocking_Type() + * @model + * @generated + */ + public XmlOptimisticLockingType getType() + { + return type; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOptimisticLocking#getType Type}' attribute. + * + * + * @param value the new value of the 'Type' attribute. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOptimisticLockingType + * @see #getType() + * @generated + */ + public void setType(XmlOptimisticLockingType newType) + { + XmlOptimisticLockingType oldType = type; + type = newType == null ? TYPE_EDEFAULT : newType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_OPTIMISTIC_LOCKING__TYPE, oldType, type)); + } + + /** + * Returns the value of the 'Cascade' attribute. + * + *

+ * If the meaning of the 'Cascade' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Cascade' attribute. + * @see #setCascade(Boolean) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOptimisticLocking_Cascade() + * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" + * @generated + */ + public Boolean getCascade() + { + return cascade; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOptimisticLocking#getCascade Cascade}' attribute. + * + * + * @param value the new value of the 'Cascade' attribute. + * @see #getCascade() + * @generated + */ + public void setCascade(Boolean newCascade) + { + Boolean oldCascade = cascade; + cascade = newCascade; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_OPTIMISTIC_LOCKING__CASCADE, oldCascade, cascade)); + } + + /** + * Returns the value of the 'Selected Columns' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.core.resource.orm.XmlColumn}. + * + *

+ * If the meaning of the 'Selected Columns' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Selected Columns' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOptimisticLocking_SelectedColumns() + * @model containment="true" + * @generated + */ + public EList getSelectedColumns() + { + if (selectedColumns == null) + { + selectedColumns = new EObjectContainmentEList(XmlColumn.class, this, EclipseLinkOrmPackage.XML_OPTIMISTIC_LOCKING__SELECTED_COLUMNS); + } + return selectedColumns; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_OPTIMISTIC_LOCKING__SELECTED_COLUMNS: + return ((InternalEList)getSelectedColumns()).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_OPTIMISTIC_LOCKING__TYPE: + return getType(); + case EclipseLinkOrmPackage.XML_OPTIMISTIC_LOCKING__CASCADE: + return getCascade(); + case EclipseLinkOrmPackage.XML_OPTIMISTIC_LOCKING__SELECTED_COLUMNS: + return getSelectedColumns(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_OPTIMISTIC_LOCKING__TYPE: + setType((XmlOptimisticLockingType)newValue); + return; + case EclipseLinkOrmPackage.XML_OPTIMISTIC_LOCKING__CASCADE: + setCascade((Boolean)newValue); + return; + case EclipseLinkOrmPackage.XML_OPTIMISTIC_LOCKING__SELECTED_COLUMNS: + getSelectedColumns().clear(); + getSelectedColumns().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_OPTIMISTIC_LOCKING__TYPE: + setType(TYPE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_OPTIMISTIC_LOCKING__CASCADE: + setCascade(CASCADE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_OPTIMISTIC_LOCKING__SELECTED_COLUMNS: + getSelectedColumns().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_OPTIMISTIC_LOCKING__TYPE: + return type != TYPE_EDEFAULT; + case EclipseLinkOrmPackage.XML_OPTIMISTIC_LOCKING__CASCADE: + return CASCADE_EDEFAULT == null ? cascade != null : !CASCADE_EDEFAULT.equals(cascade); + case EclipseLinkOrmPackage.XML_OPTIMISTIC_LOCKING__SELECTED_COLUMNS: + return selectedColumns != null && !selectedColumns.isEmpty(); + } + 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(", cascade: "); + result.append(cascade); + 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[] { + buildTypeTranslator(), + buildCascadeTranslator(), + buildSelectedColumnTranslator(), + }; + } + + protected static Translator buildTypeTranslator() { + return new Translator(EclipseLink.OPTIMISTIC_LOCKING__TYPE, EclipseLinkOrmPackage.eINSTANCE.getXmlOptimisticLocking_Type(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildCascadeTranslator() { + return new BooleanTranslator(EclipseLink.OPTIMISTIC_LOCKING__CASCADE, EclipseLinkOrmPackage.eINSTANCE.getXmlOptimisticLocking_Cascade(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildSelectedColumnTranslator() { + return XmlColumn.buildTranslator(EclipseLink.OPTIMISTIC_LOCKING__SELECTED_COLUMN, EclipseLinkOrmPackage.eINSTANCE.getXmlOptimisticLocking_SelectedColumns()); + } + +} // XmlOptimisticLocking diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlOptimisticLockingType.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlOptimisticLockingType.java new file mode 100644 index 0000000000..508934af9b --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlOptimisticLockingType.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 Optimistic Locking 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.2 + * @since 2.2 + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOptimisticLockingType() + * @model + * @generated + */ +public enum XmlOptimisticLockingType implements Enumerator +{ + /** + * The 'ALL COLUMNS' literal object. + * + * + * @see #ALL_COLUMNS_VALUE + * @generated + * @ordered + */ + ALL_COLUMNS(0, "ALL_COLUMNS", "ALL_COLUMNS"), + + /** + * The 'CHANGED COLUMNS' literal object. + * + * + * @see #CHANGED_COLUMNS_VALUE + * @generated + * @ordered + */ + CHANGED_COLUMNS(1, "CHANGED_COLUMNS", "CHANGED_COLUMNS"), + + /** + * The 'SELECTED COLUMNS' literal object. + * + * + * @see #SELECTED_COLUMNS_VALUE + * @generated + * @ordered + */ + SELECTED_COLUMNS(2, "SELECTED_COLUMNS", "SELECTED_COLUMNS"), + + /** + * The 'VERSION COLUMN' literal object. + * + * + * @see #VERSION_COLUMN_VALUE + * @generated + * @ordered + */ + VERSION_COLUMN(3, "VERSION_COLUMN", "VERSION_COLUMN"); + + /** + * The 'ALL COLUMNS' literal value. + * + *

+ * If the meaning of 'ALL COLUMNS' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #ALL_COLUMNS + * @model + * @generated + * @ordered + */ + public static final int ALL_COLUMNS_VALUE = 0; + + /** + * The 'CHANGED COLUMNS' literal value. + * + *

+ * If the meaning of 'CHANGED COLUMNS' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #CHANGED_COLUMNS + * @model + * @generated + * @ordered + */ + public static final int CHANGED_COLUMNS_VALUE = 1; + + /** + * The 'SELECTED COLUMNS' literal value. + * + *

+ * If the meaning of 'SELECTED COLUMNS' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #SELECTED_COLUMNS + * @model + * @generated + * @ordered + */ + public static final int SELECTED_COLUMNS_VALUE = 2; + + /** + * The 'VERSION COLUMN' literal value. + * + *

+ * If the meaning of 'VERSION COLUMN' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #VERSION_COLUMN + * @model + * @generated + * @ordered + */ + public static final int VERSION_COLUMN_VALUE = 3; + + /** + * An array of all the 'Xml Optimistic Locking Type' enumerators. + * + * + * @generated + */ + private static final XmlOptimisticLockingType[] VALUES_ARRAY = + new XmlOptimisticLockingType[] + { + ALL_COLUMNS, + CHANGED_COLUMNS, + SELECTED_COLUMNS, + VERSION_COLUMN, + }; + + /** + * A public read-only list of all the 'Xml Optimistic Locking Type' enumerators. + * + * + * @generated + */ + public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the 'Xml Optimistic Locking Type' literal with the specified literal value. + * + * + * @generated + */ + public static XmlOptimisticLockingType get(String literal) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + XmlOptimisticLockingType result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Xml Optimistic Locking Type' literal with the specified name. + * + * + * @generated + */ + public static XmlOptimisticLockingType getByName(String name) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + XmlOptimisticLockingType result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Xml Optimistic Locking Type' literal with the specified integer value. + * + * + * @generated + */ + public static XmlOptimisticLockingType get(int value) + { + switch (value) + { + case ALL_COLUMNS_VALUE: return ALL_COLUMNS; + case CHANGED_COLUMNS_VALUE: return CHANGED_COLUMNS; + case SELECTED_COLUMNS_VALUE: return SELECTED_COLUMNS; + case VERSION_COLUMN_VALUE: return VERSION_COLUMN; + } + return null; + } + + /** + * + * + * @generated + */ + private final int value; + + /** + * + * + * @generated + */ + private final String name; + + /** + * + * + * @generated + */ + private final String literal; + + /** + * Only this class can construct instances. + * + * + * @generated + */ + private XmlOptimisticLockingType(int value, String name, String literal) + { + this.value = value; + this.name = name; + this.literal = literal; + } + + /** + * + * + * @generated + */ + public int getValue() + { + return value; + } + + /** + * + * + * @generated + */ + public String getName() + { + return name; + } + + /** + * + * + * @generated + */ + public String getLiteral() + { + return literal; + } + + /** + * Returns the literal value of the enumerator, which is its string representation. + * + * + * @generated + */ + @Override + public String toString() + { + return literal; + } + +} //XmlOptimisticLockingType diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlOrderColumn.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlOrderColumn.java new file mode 100644 index 0000000000..f6273a9229 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlOrderColumn.java @@ -0,0 +1,260 @@ +/******************************************************************************* + * 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.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.OrderCorrectionType_2_0; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlOrderColumn_2_0; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml Order Column'. + * + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOrderColumn() + * @model kind="class" + * @generated + */ +public class XmlOrderColumn extends org.eclipse.jpt.jpa.core.resource.orm.XmlOrderColumn implements XmlOrderColumn_2_0 +{ + + /** + * 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 OrderCorrectionType_2_0 CORRECTION_TYPE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getCorrectionType() Correction Type}' attribute. + * + * + * @see #getCorrectionType() + * @generated + * @ordered + */ + protected OrderCorrectionType_2_0 correctionType = CORRECTION_TYPE_EDEFAULT; + + /** + * + * + * @generated + */ + protected XmlOrderColumn() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_ORDER_COLUMN; + } + + /** + * Returns the value of the 'Correction Type' attribute. + * The literals are from the enumeration {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.OrderCorrectionType_2_0}. + * + *

+ * If the meaning of the 'Correction Type' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Correction Type' attribute. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.OrderCorrectionType_2_0 + * @see #setCorrectionType(OrderCorrectionType_2_0) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOrderColumn_2_0_CorrectionType() + * @model + * @generated + */ + public OrderCorrectionType_2_0 getCorrectionType() + { + return correctionType; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOrderColumn#getCorrectionType Correction Type}' attribute. + * + * + * @param value the new value of the 'Correction Type' attribute. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.OrderCorrectionType_2_0 + * @see #getCorrectionType() + * @generated + */ + public void setCorrectionType(OrderCorrectionType_2_0 newCorrectionType) + { + OrderCorrectionType_2_0 oldCorrectionType = correctionType; + correctionType = newCorrectionType == null ? CORRECTION_TYPE_EDEFAULT : newCorrectionType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ORDER_COLUMN__CORRECTION_TYPE, oldCorrectionType, correctionType)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ORDER_COLUMN__CORRECTION_TYPE: + return getCorrectionType(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ORDER_COLUMN__CORRECTION_TYPE: + setCorrectionType((OrderCorrectionType_2_0)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ORDER_COLUMN__CORRECTION_TYPE: + setCorrectionType(CORRECTION_TYPE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ORDER_COLUMN__CORRECTION_TYPE: + return correctionType != CORRECTION_TYPE_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public int eBaseStructuralFeatureID(int derivedFeatureID, Class baseClass) + { + if (baseClass == XmlOrderColumn_2_0.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ORDER_COLUMN__CORRECTION_TYPE: return EclipseLinkOrmV2_0Package.XML_ORDER_COLUMN_20__CORRECTION_TYPE; + default: return -1; + } + } + return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); + } + + /** + * + * + * @generated + */ + @Override + public int eDerivedStructuralFeatureID(int baseFeatureID, Class baseClass) + { + if (baseClass == XmlOrderColumn_2_0.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_0Package.XML_ORDER_COLUMN_20__CORRECTION_TYPE: return EclipseLinkOrmPackage.XML_ORDER_COLUMN__CORRECTION_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(" (correctionType: "); + result.append(correctionType); + 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[] { + buildNameTranslator(), + buildNullableTranslator(), + buildInsertableTranslator(), + buildUpdatableTranslator(), + buildColumnDefinitionTranslator(), + buildCorrectionTypeTranslator(), + }; + } + + protected static Translator buildCorrectionTypeTranslator() { + return new Translator(EclipseLink2_0.CORRECTION_TYPE, EclipseLinkOrmV2_0Package.eINSTANCE.getXmlOrderColumn_2_0_CorrectionType(), Translator.DOM_ATTRIBUTE); + } +} diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPartitioning.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPartitioning.java new file mode 100644 index 0000000000..be862dc95e --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPartitioning.java @@ -0,0 +1,220 @@ +/******************************************************************************* + * Copyright (c) 2010 Oracle. All rights reserved. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License v1.0, which accompanies this distribution + * and is available at http://www.eclipse.org/legal/epl-v10.html. + * + * Contributors: + * Oracle - initial API and implementation + ******************************************************************************/ +package org.eclipse.jpt.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.XmlPartitioning_2_2; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml 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#getXmlPartitioning() + * @model kind="class" + * @generated + */ +public class XmlPartitioning extends EBaseObjectImpl implements XmlPartitioning_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 XmlPartitioning() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_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#getXmlPartitioning_2_2_Name() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getName() + { + return name; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPartitioning#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_PARTITIONING__NAME, oldName, name)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_PARTITIONING__NAME: + return getName(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_PARTITIONING__NAME: + setName((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_PARTITIONING__NAME: + setName(NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_PARTITIONING__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @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.getXmlPartitioning(), + buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildNameTranslator(), + }; + } + + protected static Translator buildNameTranslator() { + return new Translator(JPA.NAME, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlPartitioning_2_2_Name(), Translator.DOM_ATTRIBUTE); + } + +} // XmlPartitioning diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPersistenceUnitDefaults.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPersistenceUnitDefaults.java new file mode 100644 index 0000000000..6e63a219d4 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPersistenceUnitDefaults.java @@ -0,0 +1,371 @@ +/******************************************************************************* + * Copyright (c) 2010, 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.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.jpa.eclipselink.core.resource.orm.v2_1.XmlPersistenceUnitDefaults_2_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.XmlPersistenceUnitDefaults_2_3; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml Persistence Unit Defaults'. + * + * 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#getXmlPersistenceUnitDefaults() + * @model kind="class" + * @generated + */ +public class XmlPersistenceUnitDefaults extends org.eclipse.jpt.jpa.core.resource.orm.XmlPersistenceUnitDefaults implements XmlPersistenceUnitDefaults_2_1, XmlPersistenceUnitDefaults_2_3 +{ + /** + * The cached value of the '{@link #getAccessMethods() Access Methods}' containment reference. + * + * + * @see #getAccessMethods() + * @generated + * @ordered + */ + protected XmlAccessMethods accessMethods; + + /** + * The cached value of the '{@link #getTenantDiscriminatorColumns() Tenant Discriminator Columns}' containment reference list. + * + * + * @see #getTenantDiscriminatorColumns() + * @generated + * @ordered + */ + protected EList tenantDiscriminatorColumns; + + /** + * + * + * @generated + */ + protected XmlPersistenceUnitDefaults() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_PERSISTENCE_UNIT_DEFAULTS; + } + + /** + * 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_PERSISTENCE_UNIT_DEFAULTS__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.XmlPersistenceUnitDefaults#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_PERSISTENCE_UNIT_DEFAULTS__ACCESS_METHODS, null, msgs); + if (newAccessMethods != null) + msgs = ((InternalEObject)newAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS__ACCESS_METHODS, null, msgs); + msgs = basicSetAccessMethods(newAccessMethods, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS__ACCESS_METHODS, newAccessMethods, newAccessMethods)); + } + + /** + * Returns the value of the 'Tenant Discriminator Columns' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3}. + * + *

+ * 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#getXmlPersistenceUnitDefaults_2_3_TenantDiscriminatorColumns() + * @model containment="true" + * @generated + */ + public EList getTenantDiscriminatorColumns() + { + if (tenantDiscriminatorColumns == null) + { + tenantDiscriminatorColumns = new EObjectContainmentEList(XmlTenantDiscriminatorColumn_2_3.class, this, EclipseLinkOrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS__TENANT_DISCRIMINATOR_COLUMNS); + } + return tenantDiscriminatorColumns; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS__ACCESS_METHODS: + return basicSetAccessMethods(null, msgs); + case EclipseLinkOrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS__TENANT_DISCRIMINATOR_COLUMNS: + return ((InternalEList)getTenantDiscriminatorColumns()).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_PERSISTENCE_UNIT_DEFAULTS__ACCESS_METHODS: + return getAccessMethods(); + case EclipseLinkOrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS__TENANT_DISCRIMINATOR_COLUMNS: + return getTenantDiscriminatorColumns(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS__ACCESS_METHODS: + setAccessMethods((XmlAccessMethods)newValue); + return; + case EclipseLinkOrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS__TENANT_DISCRIMINATOR_COLUMNS: + getTenantDiscriminatorColumns().clear(); + getTenantDiscriminatorColumns().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS__ACCESS_METHODS: + setAccessMethods((XmlAccessMethods)null); + return; + case EclipseLinkOrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS__TENANT_DISCRIMINATOR_COLUMNS: + getTenantDiscriminatorColumns().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS__ACCESS_METHODS: + return accessMethods != null; + case EclipseLinkOrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS__TENANT_DISCRIMINATOR_COLUMNS: + return tenantDiscriminatorColumns != null && !tenantDiscriminatorColumns.isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public int eBaseStructuralFeatureID(int derivedFeatureID, Class baseClass) + { + if (baseClass == XmlAccessMethodsHolder.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS; + default: return -1; + } + } + if (baseClass == XmlPersistenceUnitDefaults_2_1.class) + { + switch (derivedFeatureID) + { + default: return -1; + } + } + if (baseClass == XmlPersistenceUnitDefaults_2_3.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS__TENANT_DISCRIMINATOR_COLUMNS: return EclipseLinkOrmV2_3Package.XML_PERSISTENCE_UNIT_DEFAULTS_23__TENANT_DISCRIMINATOR_COLUMNS; + 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_PERSISTENCE_UNIT_DEFAULTS__ACCESS_METHODS; + default: return -1; + } + } + if (baseClass == XmlPersistenceUnitDefaults_2_1.class) + { + switch (baseFeatureID) + { + default: return -1; + } + } + if (baseClass == XmlPersistenceUnitDefaults_2_3.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_3Package.XML_PERSISTENCE_UNIT_DEFAULTS_23__TENANT_DISCRIMINATOR_COLUMNS: return EclipseLinkOrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS__TENANT_DISCRIMINATOR_COLUMNS; + default: return -1; + } + } + return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass); + } + + + // ********** translators ********** + + public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) { + return new SimpleTranslator( + elementName, + structuralFeature, + EclipseLinkOrmPackage.eINSTANCE.getXmlPersistenceUnitDefaults(), + buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildDescriptionTranslator(), + buildSchemaTranslator(), + buildCatalogTranslator(), + buildDelimitedIdentifiersTranslator(), + buildAccessTranslator(), + buildAccessMethodsTranslator(), + buildCascadePersistTranslator(), + buildTenantDiscriminatorColumnsTranslator(), + buildEntityListenersTranslator() + }; + } + + protected static Translator buildAccessMethodsTranslator() { + return XmlAccessMethods.buildTranslator(EclipseLink.ACCESS_METHODS, EclipseLinkOrmPackage.eINSTANCE.getXmlAccessMethodsHolder_AccessMethods()); + } + + protected static Translator buildTenantDiscriminatorColumnsTranslator() { + return XmlTenantDiscriminatorColumn.buildTranslator(EclipseLink2_3.TENANT_DISCRIMINATOR_COLUMN, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlPersistenceUnitDefaults_2_3_TenantDiscriminatorColumns()); + } +} // XmlPersistenceUnitDefaults diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPersistenceUnitMetadata.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPersistenceUnitMetadata.java new file mode 100644 index 0000000000..fcec1babc6 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPersistenceUnitMetadata.java @@ -0,0 +1,233 @@ +/******************************************************************************* + * Copyright (c) 2009, 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.EmptyTagBooleanTranslator; +import org.eclipse.jpt.common.core.internal.utility.translators.SimpleTranslator; +import org.eclipse.jpt.jpa.core.resource.orm.JPA; +import org.eclipse.jpt.jpa.core.resource.orm.OrmPackage; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml Persistence Unit Metadata'. + * + * 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.2 + * + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPersistenceUnitMetadata#isExcludeDefaultMappings Exclude Default Mappings}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPersistenceUnitMetadata() + * @model kind="class" + * @generated + */ +public class XmlPersistenceUnitMetadata extends org.eclipse.jpt.jpa.core.resource.orm.XmlPersistenceUnitMetadata +{ + /** + * The default value of the '{@link #isExcludeDefaultMappings() Exclude Default Mappings}' attribute. + * + * + * @see #isExcludeDefaultMappings() + * @generated + * @ordered + */ + protected static final boolean EXCLUDE_DEFAULT_MAPPINGS_EDEFAULT = false; + + /** + * The cached value of the '{@link #isExcludeDefaultMappings() Exclude Default Mappings}' attribute. + * + * + * @see #isExcludeDefaultMappings() + * @generated + * @ordered + */ + protected boolean excludeDefaultMappings = EXCLUDE_DEFAULT_MAPPINGS_EDEFAULT; + + /** + * + * + * @generated + */ + protected XmlPersistenceUnitMetadata() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_PERSISTENCE_UNIT_METADATA; + } + + /** + * 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#getXmlPersistenceUnitMetadata_ExcludeDefaultMappings() + * @model dataType="org.eclipse.emf.ecore.xml.type.Boolean" + * @generated + */ + public boolean isExcludeDefaultMappings() + { + return excludeDefaultMappings; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPersistenceUnitMetadata#isExcludeDefaultMappings Exclude Default Mappings}' attribute. + * + * + * @param value the new value of the 'Exclude Default Mappings' attribute. + * @see #isExcludeDefaultMappings() + * @generated + */ + public void setExcludeDefaultMappings(boolean newExcludeDefaultMappings) + { + boolean oldExcludeDefaultMappings = excludeDefaultMappings; + excludeDefaultMappings = newExcludeDefaultMappings; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_PERSISTENCE_UNIT_METADATA__EXCLUDE_DEFAULT_MAPPINGS, oldExcludeDefaultMappings, excludeDefaultMappings)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_PERSISTENCE_UNIT_METADATA__EXCLUDE_DEFAULT_MAPPINGS: + return isExcludeDefaultMappings(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_PERSISTENCE_UNIT_METADATA__EXCLUDE_DEFAULT_MAPPINGS: + setExcludeDefaultMappings((Boolean)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_PERSISTENCE_UNIT_METADATA__EXCLUDE_DEFAULT_MAPPINGS: + setExcludeDefaultMappings(EXCLUDE_DEFAULT_MAPPINGS_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_PERSISTENCE_UNIT_METADATA__EXCLUDE_DEFAULT_MAPPINGS: + return excludeDefaultMappings != EXCLUDE_DEFAULT_MAPPINGS_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (excludeDefaultMappings: "); + result.append(excludeDefaultMappings); + result.append(')'); + return result.toString(); + } + + + // ********** translators ********** + + public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) { + return new SimpleTranslator( + elementName, + structuralFeature, + EclipseLinkOrmPackage.eINSTANCE.getXmlPersistenceUnitMetadata(), + buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildDescriptionTranslator(), + buildXmlMappingMetadataCompleteTranslator(), + buildExcludeDefaultMappingsTranslator(), + XmlPersistenceUnitDefaults.buildTranslator(JPA.PERSISTENCE_UNIT_DEFAULTS, OrmPackage.eINSTANCE.getXmlPersistenceUnitMetadata_PersistenceUnitDefaults()) + }; + } + + protected static Translator buildExcludeDefaultMappingsTranslator() { + return new EmptyTagBooleanTranslator(EclipseLink.EXCLUDE_DEFAULT_MAPPINGS, EclipseLinkOrmPackage.eINSTANCE.getXmlPersistenceUnitMetadata_ExcludeDefaultMappings()); + } +} diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPinnedPartitioning.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPinnedPartitioning.java new file mode 100644 index 0000000000..b34b9182cb --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPinnedPartitioning.java @@ -0,0 +1,219 @@ +/******************************************************************************* + * Copyright (c) 2010 Oracle. All rights reserved. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License v1.0, which accompanies this distribution + * and is available at http://www.eclipse.org/legal/epl-v10.html. + * + * Contributors: + * Oracle - initial API and implementation + ******************************************************************************/ +package org.eclipse.jpt.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.XmlPinnedPartitioning_2_2; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml Pinned 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#getXmlPinnedPartitioning() + * @model kind="class" + * @generated + */ +public class XmlPinnedPartitioning extends EBaseObjectImpl implements XmlPinnedPartitioning_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 XmlPinnedPartitioning() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_PINNED_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#getXmlPinnedPartitioning_2_2_Name() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getName() + { + return name; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPinnedPartitioning#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_PINNED_PARTITIONING__NAME, oldName, name)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_PINNED_PARTITIONING__NAME: + return getName(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_PINNED_PARTITIONING__NAME: + setName((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_PINNED_PARTITIONING__NAME: + setName(NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_PINNED_PARTITIONING__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @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.getXmlPinnedPartitioning(), + buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildNameTranslator() + }; + } + + protected static Translator buildNameTranslator() { + return new Translator(JPA.NAME, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlPinnedPartitioning_2_2_Name(), Translator.DOM_ATTRIBUTE); + } +} // XmlPinnedPartitioning diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPlsqlRecord.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPlsqlRecord.java new file mode 100644 index 0000000000..28674465bd --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPlsqlRecord.java @@ -0,0 +1,213 @@ +/******************************************************************************* + * 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 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_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.XmlPlsqlRecord_2_3; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml Plsql Record'. + * + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPlsqlRecord() + * @model kind="class" + * @generated + */ +public class XmlPlsqlRecord extends EBaseObjectImpl implements XmlPlsqlRecord_2_3 +{ + /** + * 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 XmlPlsqlRecord() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_PLSQL_RECORD; + } + + /** + * 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#getXmlPlsqlRecord_2_3_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.XmlPlsqlRecord#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_PLSQL_RECORD__NAME, oldName, name)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_PLSQL_RECORD__NAME: + return getName(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_PLSQL_RECORD__NAME: + setName((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_PLSQL_RECORD__NAME: + setName(NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_PLSQL_RECORD__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.getXmlPlsqlRecord(), + buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildNameTranslator(), + }; + } + + protected static Translator buildNameTranslator() { + return new Translator(EclipseLink2_3.PLSQL_RECORD__NAME, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlPlsqlRecord_2_3_Name(), Translator.DOM_ATTRIBUTE); + } + +} // XmlPlsqlRecord diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPlsqlTable.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPlsqlTable.java new file mode 100644 index 0000000000..172b8fbef1 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPlsqlTable.java @@ -0,0 +1,213 @@ +/******************************************************************************* + * 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 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_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.XmlPlsqlTable_2_3; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml Plsql Table'. + * + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPlsqlTable() + * @model kind="class" + * @generated + */ +public class XmlPlsqlTable extends EBaseObjectImpl implements XmlPlsqlTable_2_3 +{ + /** + * 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 XmlPlsqlTable() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_PLSQL_TABLE; + } + + /** + * 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#getXmlPlsqlTable_2_3_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.XmlPlsqlTable#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_PLSQL_TABLE__NAME, oldName, name)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_PLSQL_TABLE__NAME: + return getName(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_PLSQL_TABLE__NAME: + setName((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_PLSQL_TABLE__NAME: + setName(NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_PLSQL_TABLE__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.getXmlPlsqlTable(), + buildTranslatorChildren()); + } + + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildNameTranslator(), + }; + } + + protected static Translator buildNameTranslator() { + return new Translator(EclipseLink2_3.PLSQL_TABLE__NAME, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlPlsqlTable_2_3_Name(), Translator.DOM_ATTRIBUTE); + } +} // XmlPlsqlTable diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPrimaryKey.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPrimaryKey.java new file mode 100644 index 0000000000..86f48d051a --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPrimaryKey.java @@ -0,0 +1,406 @@ +/******************************************************************************* + * Copyright (c) 2009, 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.XmlColumn; +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.IdValidationType_1_1; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlPrimaryKey_1_1; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.CacheKeyType_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.XmlPrimaryKey_2_1; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml Primary Key'. + * + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPrimaryKey() + * @model kind="class" + * @generated + */ +public class XmlPrimaryKey extends EBaseObjectImpl implements XmlPrimaryKey_1_1, XmlPrimaryKey_2_1 +{ + /** + * 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 IdValidationType_1_1 VALIDATION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getValidation() Validation}' attribute. + * + * + * @see #getValidation() + * @generated + * @ordered + */ + protected IdValidationType_1_1 validation = VALIDATION_EDEFAULT; + + /** + * The cached value of the '{@link #getColumns() Columns}' containment reference list. + * + * + * @see #getColumns() + * @generated + * @ordered + */ + protected EList columns; + + /** + * The default value of the '{@link #getCacheKeyType() Cache Key Type}' attribute. + * + * + * @see #getCacheKeyType() + * @generated + * @ordered + */ + protected static final CacheKeyType_2_1 CACHE_KEY_TYPE_EDEFAULT = CacheKeyType_2_1.ID_VALUE; + + /** + * The cached value of the '{@link #getCacheKeyType() Cache Key Type}' attribute. + * + * + * @see #getCacheKeyType() + * @generated + * @ordered + */ + protected CacheKeyType_2_1 cacheKeyType = CACHE_KEY_TYPE_EDEFAULT; + + /** + * + * + * @generated + */ + protected XmlPrimaryKey() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_PRIMARY_KEY; + } + + /** + * Returns the value of the 'Validation' attribute. + * The literals are from the enumeration {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.IdValidationType_1_1}. + * + *

+ * If the meaning of the 'Validation' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Validation' attribute. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.IdValidationType_1_1 + * @see #setValidation(IdValidationType_1_1) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPrimaryKey_1_1_Validation() + * @model + * @generated + */ + public IdValidationType_1_1 getValidation() + { + return validation; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPrimaryKey#getValidation Validation}' attribute. + * + * + * @param value the new value of the 'Validation' attribute. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.IdValidationType_1_1 + * @see #getValidation() + * @generated + */ + public void setValidation(IdValidationType_1_1 newValidation) + { + IdValidationType_1_1 oldValidation = validation; + validation = newValidation == null ? VALIDATION_EDEFAULT : newValidation; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_PRIMARY_KEY__VALIDATION, oldValidation, validation)); + } + + /** + * Returns the value of the 'Columns' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.core.resource.orm.XmlColumn}. + * + *

+ * If the meaning of the 'Columns' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Columns' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPrimaryKey_1_1_Columns() + * @model containment="true" + * @generated + */ + public EList getColumns() + { + if (columns == null) + { + columns = new EObjectContainmentEList(XmlColumn.class, this, EclipseLinkOrmPackage.XML_PRIMARY_KEY__COLUMNS); + } + return columns; + } + + /** + * Returns the value of the 'Cache Key Type' attribute. + * The literals are from the enumeration {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.CacheKeyType_2_1}. + * + *

+ * If the meaning of the 'Cache Key Type' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Cache Key Type' attribute. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.CacheKeyType_2_1 + * @see #setCacheKeyType(CacheKeyType_2_1) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPrimaryKey_2_1_CacheKeyType() + * @model + * @generated + */ + public CacheKeyType_2_1 getCacheKeyType() + { + return cacheKeyType; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPrimaryKey#getCacheKeyType Cache Key Type}' attribute. + * + * + * @param value the new value of the 'Cache Key Type' attribute. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.CacheKeyType_2_1 + * @see #getCacheKeyType() + * @generated + */ + public void setCacheKeyType(CacheKeyType_2_1 newCacheKeyType) + { + CacheKeyType_2_1 oldCacheKeyType = cacheKeyType; + cacheKeyType = newCacheKeyType == null ? CACHE_KEY_TYPE_EDEFAULT : newCacheKeyType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_PRIMARY_KEY__CACHE_KEY_TYPE, oldCacheKeyType, cacheKeyType)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_PRIMARY_KEY__COLUMNS: + return ((InternalEList)getColumns()).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_PRIMARY_KEY__VALIDATION: + return getValidation(); + case EclipseLinkOrmPackage.XML_PRIMARY_KEY__COLUMNS: + return getColumns(); + case EclipseLinkOrmPackage.XML_PRIMARY_KEY__CACHE_KEY_TYPE: + return getCacheKeyType(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_PRIMARY_KEY__VALIDATION: + setValidation((IdValidationType_1_1)newValue); + return; + case EclipseLinkOrmPackage.XML_PRIMARY_KEY__COLUMNS: + getColumns().clear(); + getColumns().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_PRIMARY_KEY__CACHE_KEY_TYPE: + setCacheKeyType((CacheKeyType_2_1)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_PRIMARY_KEY__VALIDATION: + setValidation(VALIDATION_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_PRIMARY_KEY__COLUMNS: + getColumns().clear(); + return; + case EclipseLinkOrmPackage.XML_PRIMARY_KEY__CACHE_KEY_TYPE: + setCacheKeyType(CACHE_KEY_TYPE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_PRIMARY_KEY__VALIDATION: + return validation != VALIDATION_EDEFAULT; + case EclipseLinkOrmPackage.XML_PRIMARY_KEY__COLUMNS: + return columns != null && !columns.isEmpty(); + case EclipseLinkOrmPackage.XML_PRIMARY_KEY__CACHE_KEY_TYPE: + return cacheKeyType != CACHE_KEY_TYPE_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public int eBaseStructuralFeatureID(int derivedFeatureID, Class baseClass) + { + if (baseClass == XmlPrimaryKey_2_1.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_PRIMARY_KEY__CACHE_KEY_TYPE: return EclipseLinkOrmV2_1Package.XML_PRIMARY_KEY_21__CACHE_KEY_TYPE; + default: return -1; + } + } + return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); + } + + /** + * + * + * @generated + */ + @Override + public int eDerivedStructuralFeatureID(int baseFeatureID, Class baseClass) + { + if (baseClass == XmlPrimaryKey_2_1.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_1Package.XML_PRIMARY_KEY_21__CACHE_KEY_TYPE: return EclipseLinkOrmPackage.XML_PRIMARY_KEY__CACHE_KEY_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(" (validation: "); + result.append(validation); + result.append(", cacheKeyType: "); + result.append(cacheKeyType); + result.append(')'); + return result.toString(); + } + + + // ********** translators ********** + + public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) { + return new SimpleTranslator( + elementName, + structuralFeature, + EclipseLinkOrmPackage.eINSTANCE.getXmlPrimaryKey(), + buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildValidationTranslator(), + buildCacheKeyTypeTranslator(), + buildColumnTranslator() + }; + } + + protected static Translator buildValidationTranslator() { + return new Translator(EclipseLink1_1.PRIMARY_KEY__VALIDATION, EclipseLinkOrmV1_1Package.eINSTANCE.getXmlPrimaryKey_1_1_Validation(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildCacheKeyTypeTranslator() { + return new Translator(EclipseLink2_1.CACHE_KEY_TYPE, EclipseLinkOrmV2_1Package.eINSTANCE.getXmlPrimaryKey_2_1_CacheKeyType(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildColumnTranslator() { + return XmlColumn.buildTranslator(EclipseLink1_1.PRIMARY_KEY__COLUMN, EclipseLinkOrmV1_1Package.eINSTANCE.getXmlPrimaryKey_1_1_Columns()); + } +} diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPrivateOwned.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPrivateOwned.java new file mode 100644 index 0000000000..0b2f753406 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPrivateOwned.java @@ -0,0 +1,76 @@ +/******************************************************************************* + * 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; +import org.eclipse.jpt.common.core.utility.TextRange; + +/** + * + * + * A representation of the model object 'Xml Private Owned'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPrivateOwned#isPrivateOwned Private Owned}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPrivateOwned() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlPrivateOwned extends EBaseObject +{ + /** + * Returns the value of the 'Private Owned' attribute. + * + *

+ * If the meaning of the 'Private Owned' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Private Owned' attribute. + * @see #setPrivateOwned(boolean) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPrivateOwned_PrivateOwned() + * @model dataType="org.eclipse.emf.ecore.xml.type.Boolean" + * @generated + */ + boolean isPrivateOwned(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPrivateOwned#isPrivateOwned Private Owned}' attribute. + * + * + * @param value the new value of the 'Private Owned' attribute. + * @see #isPrivateOwned() + * @generated + */ + void setPrivateOwned(boolean value); + + /** + * Return the {@link TextRange} for the private-owned attibute. + */ + TextRange getPrivateOwnedTextRange(); +} \ 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/XmlProperty.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlProperty.java new file mode 100644 index 0000000000..e609273886 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlProperty.java @@ -0,0 +1,362 @@ +/******************************************************************************* + * 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 Property'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlProperty#getName Name}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlProperty#getValue Value}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlProperty#getValueType Value Type}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlProperty() + * @model kind="class" + * @extends EBaseObject + * @generated + */ +public class XmlProperty extends EBaseObjectImpl implements EBaseObject +{ + /** + * 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 #getValue() Value}' attribute. + * + * + * @see #getValue() + * @generated + * @ordered + */ + protected static final String VALUE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getValue() Value}' attribute. + * + * + * @see #getValue() + * @generated + * @ordered + */ + protected String value = VALUE_EDEFAULT; + + /** + * The default value of the '{@link #getValueType() Value Type}' attribute. + * + * + * @see #getValueType() + * @generated + * @ordered + */ + protected static final String VALUE_TYPE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getValueType() Value Type}' attribute. + * + * + * @see #getValueType() + * @generated + * @ordered + */ + protected String valueType = VALUE_TYPE_EDEFAULT; + + /** + * + * + * @generated + */ + protected XmlProperty() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_PROPERTY; + } + + /** + * 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#getXmlProperty_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.XmlProperty#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_PROPERTY__NAME, oldName, name)); + } + + /** + * Returns the value of the 'Value' attribute. + * + *

+ * If the meaning of the 'Value' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Value' attribute. + * @see #setValue(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlProperty_Value() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getValue() + { + return value; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlProperty#getValue Value}' attribute. + * + * + * @param value the new value of the 'Value' attribute. + * @see #getValue() + * @generated + */ + public void setValue(String newValue) + { + String oldValue = value; + value = newValue; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_PROPERTY__VALUE, oldValue, value)); + } + + /** + * Returns the value of the 'Value Type' attribute. + * + *

+ * If the meaning of the 'Value Type' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Value Type' attribute. + * @see #setValueType(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlProperty_ValueType() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getValueType() + { + return valueType; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlProperty#getValueType Value Type}' attribute. + * + * + * @param value the new value of the 'Value Type' attribute. + * @see #getValueType() + * @generated + */ + public void setValueType(String newValueType) + { + String oldValueType = valueType; + valueType = newValueType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_PROPERTY__VALUE_TYPE, oldValueType, valueType)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_PROPERTY__NAME: + return getName(); + case EclipseLinkOrmPackage.XML_PROPERTY__VALUE: + return getValue(); + case EclipseLinkOrmPackage.XML_PROPERTY__VALUE_TYPE: + return getValueType(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_PROPERTY__NAME: + setName((String)newValue); + return; + case EclipseLinkOrmPackage.XML_PROPERTY__VALUE: + setValue((String)newValue); + return; + case EclipseLinkOrmPackage.XML_PROPERTY__VALUE_TYPE: + setValueType((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_PROPERTY__NAME: + setName(NAME_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_PROPERTY__VALUE: + setValue(VALUE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_PROPERTY__VALUE_TYPE: + setValueType(VALUE_TYPE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_PROPERTY__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case EclipseLinkOrmPackage.XML_PROPERTY__VALUE: + return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value); + case EclipseLinkOrmPackage.XML_PROPERTY__VALUE_TYPE: + return VALUE_TYPE_EDEFAULT == null ? valueType != null : !VALUE_TYPE_EDEFAULT.equals(valueType); + } + 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(", value: "); + result.append(value); + result.append(", valueType: "); + result.append(valueType); + 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(), + buildValueTranslator(), + buildValueTypeTranslator(), + }; + } + + protected static Translator buildNameTranslator() { + return new Translator(EclipseLink.PROPERTY__NAME, EclipseLinkOrmPackage.eINSTANCE.getXmlProperty_Name(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildValueTranslator() { + return new Translator(EclipseLink.PROPERTY__VALUE, EclipseLinkOrmPackage.eINSTANCE.getXmlProperty_Value(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildValueTypeTranslator() { + return new Translator(EclipseLink.PROPERTY__VALUE_TYPE, EclipseLinkOrmPackage.eINSTANCE.getXmlProperty_ValueType(), Translator.DOM_ATTRIBUTE); + } + +} // XmlProperty diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPropertyContainer.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPropertyContainer.java new file mode 100644 index 0000000000..d2c419a670 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPropertyContainer.java @@ -0,0 +1,51 @@ +/******************************************************************************* + * 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.util.EList; +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Property Container'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPropertyContainer#getProperties Properties}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPropertyContainer() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlPropertyContainer extends EBaseObject +{ + /** + * 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 + */ + EList getProperties(); + +} // XmlPropertyContainer diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlQueryContainer.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlQueryContainer.java new file mode 100644 index 0000000000..57b9cc346c --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlQueryContainer.java @@ -0,0 +1,51 @@ +/******************************************************************************* + * 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.util.EList; +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Query Container'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryContainer#getNamedStoredProcedureQueries Named Stored Procedure Queries}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlQueryContainer() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlQueryContainer extends EBaseObject +{ + /** + * 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 + */ + EList getNamedStoredProcedureQueries(); + +} // XmlQueryContainer diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlQueryRedirectors.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlQueryRedirectors.java new file mode 100644 index 0000000000..169a0b4a97 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlQueryRedirectors.java @@ -0,0 +1,654 @@ +/******************************************************************************* + * Copyright (c) 2009, 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_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.XmlQueryRedirectors_2_0; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml Query Redirectors'. + * + * 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#getXmlQueryRedirectors() + * @model kind="class" + * @generated + */ +public class XmlQueryRedirectors extends EBaseObjectImpl implements XmlQueryRedirectors_2_0 +{ + /** + * The default value of the '{@link #getAllQueries() All Queries}' attribute. + * + * + * @see #getAllQueries() + * @generated + * @ordered + */ + protected static final String ALL_QUERIES_EDEFAULT = null; + + /** + * The cached value of the '{@link #getAllQueries() All Queries}' attribute. + * + * + * @see #getAllQueries() + * @generated + * @ordered + */ + protected String allQueries = ALL_QUERIES_EDEFAULT; + + /** + * The default value of the '{@link #getReadAll() Read All}' attribute. + * + * + * @see #getReadAll() + * @generated + * @ordered + */ + protected static final String READ_ALL_EDEFAULT = null; + + /** + * The cached value of the '{@link #getReadAll() Read All}' attribute. + * + * + * @see #getReadAll() + * @generated + * @ordered + */ + protected String readAll = READ_ALL_EDEFAULT; + + /** + * The default value of the '{@link #getReadObject() Read Object}' attribute. + * + * + * @see #getReadObject() + * @generated + * @ordered + */ + protected static final String READ_OBJECT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getReadObject() Read Object}' attribute. + * + * + * @see #getReadObject() + * @generated + * @ordered + */ + protected String readObject = READ_OBJECT_EDEFAULT; + + /** + * The default value of the '{@link #getReport() Report}' attribute. + * + * + * @see #getReport() + * @generated + * @ordered + */ + protected static final String REPORT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getReport() Report}' attribute. + * + * + * @see #getReport() + * @generated + * @ordered + */ + protected String report = REPORT_EDEFAULT; + + /** + * The default value of the '{@link #getUpdate() Update}' attribute. + * + * + * @see #getUpdate() + * @generated + * @ordered + */ + protected static final String UPDATE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getUpdate() Update}' attribute. + * + * + * @see #getUpdate() + * @generated + * @ordered + */ + protected String update = UPDATE_EDEFAULT; + + /** + * The default value of the '{@link #getInsert() Insert}' attribute. + * + * + * @see #getInsert() + * @generated + * @ordered + */ + protected static final String INSERT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getInsert() Insert}' attribute. + * + * + * @see #getInsert() + * @generated + * @ordered + */ + protected String insert = INSERT_EDEFAULT; + + /** + * The default value of the '{@link #getDelete() Delete}' attribute. + * + * + * @see #getDelete() + * @generated + * @ordered + */ + protected static final String DELETE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getDelete() Delete}' attribute. + * + * + * @see #getDelete() + * @generated + * @ordered + */ + protected String delete = DELETE_EDEFAULT; + + /** + * + * + * @generated + */ + protected XmlQueryRedirectors() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_QUERY_REDIRECTORS; + } + + /** + * Returns the value of the 'All Queries' attribute. + * + *

+ * If the meaning of the 'All Queries' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'All Queries' attribute. + * @see #setAllQueries(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlQueryRedirectors_2_0_AllQueries() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getAllQueries() + { + return allQueries; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryRedirectors#getAllQueries All Queries}' attribute. + * + * + * @param value the new value of the 'All Queries' attribute. + * @see #getAllQueries() + * @generated + */ + public void setAllQueries(String newAllQueries) + { + String oldAllQueries = allQueries; + allQueries = newAllQueries; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__ALL_QUERIES, oldAllQueries, allQueries)); + } + + /** + * Returns the value of the 'Read All' attribute. + * + *

+ * If the meaning of the 'Read All' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Read All' attribute. + * @see #setReadAll(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlQueryRedirectors_2_0_ReadAll() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getReadAll() + { + return readAll; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryRedirectors#getReadAll Read All}' attribute. + * + * + * @param value the new value of the 'Read All' attribute. + * @see #getReadAll() + * @generated + */ + public void setReadAll(String newReadAll) + { + String oldReadAll = readAll; + readAll = newReadAll; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__READ_ALL, oldReadAll, readAll)); + } + + /** + * Returns the value of the 'Read Object' attribute. + * + *

+ * If the meaning of the 'Read Object' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Read Object' attribute. + * @see #setReadObject(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlQueryRedirectors_2_0_ReadObject() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getReadObject() + { + return readObject; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryRedirectors#getReadObject Read Object}' attribute. + * + * + * @param value the new value of the 'Read Object' attribute. + * @see #getReadObject() + * @generated + */ + public void setReadObject(String newReadObject) + { + String oldReadObject = readObject; + readObject = newReadObject; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__READ_OBJECT, oldReadObject, readObject)); + } + + /** + * Returns the value of the 'Report' attribute. + * + *

+ * If the meaning of the 'Report' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Report' attribute. + * @see #setReport(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlQueryRedirectors_2_0_Report() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getReport() + { + return report; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryRedirectors#getReport Report}' attribute. + * + * + * @param value the new value of the 'Report' attribute. + * @see #getReport() + * @generated + */ + public void setReport(String newReport) + { + String oldReport = report; + report = newReport; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__REPORT, oldReport, report)); + } + + /** + * Returns the value of the 'Update' attribute. + * + *

+ * If the meaning of the 'Update' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Update' attribute. + * @see #setUpdate(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlQueryRedirectors_2_0_Update() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getUpdate() + { + return update; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryRedirectors#getUpdate Update}' attribute. + * + * + * @param value the new value of the 'Update' attribute. + * @see #getUpdate() + * @generated + */ + public void setUpdate(String newUpdate) + { + String oldUpdate = update; + update = newUpdate; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__UPDATE, oldUpdate, update)); + } + + /** + * Returns the value of the 'Insert' attribute. + * + *

+ * If the meaning of the 'Insert' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Insert' attribute. + * @see #setInsert(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlQueryRedirectors_2_0_Insert() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getInsert() + { + return insert; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryRedirectors#getInsert Insert}' attribute. + * + * + * @param value the new value of the 'Insert' attribute. + * @see #getInsert() + * @generated + */ + public void setInsert(String newInsert) + { + String oldInsert = insert; + insert = newInsert; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__INSERT, oldInsert, insert)); + } + + /** + * Returns the value of the 'Delete' attribute. + * + *

+ * If the meaning of the 'Delete' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Delete' attribute. + * @see #setDelete(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlQueryRedirectors_2_0_Delete() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getDelete() + { + return delete; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryRedirectors#getDelete Delete}' attribute. + * + * + * @param value the new value of the 'Delete' attribute. + * @see #getDelete() + * @generated + */ + public void setDelete(String newDelete) + { + String oldDelete = delete; + delete = newDelete; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__DELETE, oldDelete, delete)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__ALL_QUERIES: + return getAllQueries(); + case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__READ_ALL: + return getReadAll(); + case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__READ_OBJECT: + return getReadObject(); + case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__REPORT: + return getReport(); + case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__UPDATE: + return getUpdate(); + case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__INSERT: + return getInsert(); + case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__DELETE: + return getDelete(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__ALL_QUERIES: + setAllQueries((String)newValue); + return; + case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__READ_ALL: + setReadAll((String)newValue); + return; + case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__READ_OBJECT: + setReadObject((String)newValue); + return; + case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__REPORT: + setReport((String)newValue); + return; + case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__UPDATE: + setUpdate((String)newValue); + return; + case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__INSERT: + setInsert((String)newValue); + return; + case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__DELETE: + setDelete((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__ALL_QUERIES: + setAllQueries(ALL_QUERIES_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__READ_ALL: + setReadAll(READ_ALL_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__READ_OBJECT: + setReadObject(READ_OBJECT_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__REPORT: + setReport(REPORT_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__UPDATE: + setUpdate(UPDATE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__INSERT: + setInsert(INSERT_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__DELETE: + setDelete(DELETE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__ALL_QUERIES: + return ALL_QUERIES_EDEFAULT == null ? allQueries != null : !ALL_QUERIES_EDEFAULT.equals(allQueries); + case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__READ_ALL: + return READ_ALL_EDEFAULT == null ? readAll != null : !READ_ALL_EDEFAULT.equals(readAll); + case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__READ_OBJECT: + return READ_OBJECT_EDEFAULT == null ? readObject != null : !READ_OBJECT_EDEFAULT.equals(readObject); + case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__REPORT: + return REPORT_EDEFAULT == null ? report != null : !REPORT_EDEFAULT.equals(report); + case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__UPDATE: + return UPDATE_EDEFAULT == null ? update != null : !UPDATE_EDEFAULT.equals(update); + case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__INSERT: + return INSERT_EDEFAULT == null ? insert != null : !INSERT_EDEFAULT.equals(insert); + case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__DELETE: + return DELETE_EDEFAULT == null ? delete != null : !DELETE_EDEFAULT.equals(delete); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (allQueries: "); + result.append(allQueries); + result.append(", readAll: "); + result.append(readAll); + result.append(", readObject: "); + result.append(readObject); + result.append(", report: "); + result.append(report); + result.append(", update: "); + result.append(update); + result.append(", insert: "); + result.append(insert); + result.append(", delete: "); + result.append(delete); + result.append(')'); + return result.toString(); + } + + + // ********** translators ********** + + public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) { + return new SimpleTranslator( + elementName, + structuralFeature, + Translator.END_TAG_NO_INDENT, + EclipseLinkOrmPackage.eINSTANCE.getXmlQueryRedirectors(), + buildTranslatorChildren() + ); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildAllQueriesTranslator(), + buildReadAllTranslator(), + buildReadObjectTranslator(), + buildReportTranslator(), + buildUpdateTranslator(), + buildInsertTranslator(), + buildDeleteTranslator(), + }; + } + + protected static Translator buildAllQueriesTranslator() { + return new Translator(EclipseLink2_0.QUERY_REDIRECTORS__ALL_QUERIES, EclipseLinkOrmV2_0Package.eINSTANCE.getXmlQueryRedirectors_2_0_AllQueries(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildReadAllTranslator() { + return new Translator(EclipseLink2_0.QUERY_REDIRECTORS__READ_ALL, EclipseLinkOrmV2_0Package.eINSTANCE.getXmlQueryRedirectors_2_0_ReadAll(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildReadObjectTranslator() { + return new Translator(EclipseLink2_0.QUERY_REDIRECTORS__READ_OBJECT, EclipseLinkOrmV2_0Package.eINSTANCE.getXmlQueryRedirectors_2_0_ReadObject(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildReportTranslator() { + return new Translator(EclipseLink2_0.QUERY_REDIRECTORS__REPORT, EclipseLinkOrmV2_0Package.eINSTANCE.getXmlQueryRedirectors_2_0_AllQueries(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildUpdateTranslator() { + return new Translator(EclipseLink2_0.QUERY_REDIRECTORS__UPDATE, EclipseLinkOrmV2_0Package.eINSTANCE.getXmlQueryRedirectors_2_0_AllQueries(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildInsertTranslator() { + return new Translator(EclipseLink2_0.QUERY_REDIRECTORS__INSERT, EclipseLinkOrmV2_0Package.eINSTANCE.getXmlQueryRedirectors_2_0_AllQueries(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildDeleteTranslator() { + return new Translator(EclipseLink2_0.QUERY_REDIRECTORS__DELETE, EclipseLinkOrmV2_0Package.eINSTANCE.getXmlQueryRedirectors_2_0_AllQueries(), Translator.DOM_ATTRIBUTE); + } +} // XmlQueryRedirectors diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlRangePartitioning.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlRangePartitioning.java new file mode 100644 index 0000000000..49377aef3c --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlRangePartitioning.java @@ -0,0 +1,219 @@ +/******************************************************************************* + * Copyright (c) 2010 Oracle. All rights reserved. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License v1.0, which accompanies this distribution + * and is available at http://www.eclipse.org/legal/epl-v10.html. + * + * Contributors: + * Oracle - initial API and implementation + ******************************************************************************/ +package org.eclipse.jpt.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.XmlRangePartitioning_2_2; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml Range 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#getXmlRangePartitioning() + * @model kind="class" + * @generated + */ +public class XmlRangePartitioning extends EBaseObjectImpl implements XmlRangePartitioning_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 XmlRangePartitioning() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_RANGE_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#getXmlRangePartitioning_2_2_Name() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getName() + { + return name; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlRangePartitioning#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_RANGE_PARTITIONING__NAME, oldName, name)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_RANGE_PARTITIONING__NAME: + return getName(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_RANGE_PARTITIONING__NAME: + setName((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_RANGE_PARTITIONING__NAME: + setName(NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_RANGE_PARTITIONING__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @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.getXmlRangePartitioning(), + buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildNameTranslator() + }; + } + + protected static Translator buildNameTranslator() { + return new Translator(JPA.NAME, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlRangePartitioning_2_2_Name(), Translator.DOM_ATTRIBUTE); + } +} // XmlRangePartitioning diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlReadOnly.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlReadOnly.java new file mode 100644 index 0000000000..899e07a833 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlReadOnly.java @@ -0,0 +1,76 @@ +/******************************************************************************* + * 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; +import org.eclipse.jpt.common.core.utility.TextRange; + +/** + * + * + * A representation of the model object 'Xml Read Only'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlReadOnly#getReadOnly Read Only}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlReadOnly() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlReadOnly extends EBaseObject +{ + /** + * Returns the value of the 'Read Only' attribute. + * + *

+ * 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 + */ + Boolean getReadOnly(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlReadOnly#getReadOnly Read Only}' attribute. + * + * + * @param value the new value of the 'Read Only' attribute. + * @see #getReadOnly() + * @generated + */ + void setReadOnly(Boolean value); + + /** + * Return the {@link TextRange} for the read-only attibute. + */ + TextRange getReadOnlyTextRange(); +} \ 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/XmlReplicationPartitioning.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlReplicationPartitioning.java new file mode 100644 index 0000000000..0331fb455e --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlReplicationPartitioning.java @@ -0,0 +1,219 @@ +/******************************************************************************* + * Copyright (c) 2010 Oracle. All rights reserved. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License v1.0, which accompanies this distribution + * and is available at http://www.eclipse.org/legal/epl-v10.html. + * + * Contributors: + * Oracle - initial API and implementation + ******************************************************************************/ +package org.eclipse.jpt.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.XmlReplicationPartitioning_2_2; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml Replication 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#getXmlReplicationPartitioning() + * @model kind="class" + * @generated + */ +public class XmlReplicationPartitioning extends EBaseObjectImpl implements XmlReplicationPartitioning_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 XmlReplicationPartitioning() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_REPLICATION_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#getXmlReplicationPartitioning_2_2_Name() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getName() + { + return name; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlReplicationPartitioning#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_REPLICATION_PARTITIONING__NAME, oldName, name)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_REPLICATION_PARTITIONING__NAME: + return getName(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_REPLICATION_PARTITIONING__NAME: + setName((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_REPLICATION_PARTITIONING__NAME: + setName(NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_REPLICATION_PARTITIONING__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @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.getXmlReplicationPartitioning(), + buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildNameTranslator(), + }; + } + + protected static Translator buildNameTranslator() { + return new Translator(JPA.NAME, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlReplicationPartitioning_2_2_Name(), Translator.DOM_ATTRIBUTE); + } +} // XmlReplicationPartitioning diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlReturnInsert.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlReturnInsert.java new file mode 100644 index 0000000000..5ad7b59c8c --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlReturnInsert.java @@ -0,0 +1,211 @@ +/******************************************************************************* + * 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.XmlReturnInsert_2_1; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml Return Insert'. + * + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlReturnInsert() + * @model kind="class" + * @generated + */ +public class XmlReturnInsert extends EBaseObjectImpl implements XmlReturnInsert_2_1 +{ + /** + * The default value of the '{@link #getReturnOnly() Return Only}' attribute. + * + * + * @see #getReturnOnly() + * @generated + * @ordered + */ + protected static final Boolean RETURN_ONLY_EDEFAULT = null; + + /** + * The cached value of the '{@link #getReturnOnly() Return Only}' attribute. + * + * + * @see #getReturnOnly() + * @generated + * @ordered + */ + protected Boolean returnOnly = RETURN_ONLY_EDEFAULT; + + /** + * + * + * @generated + */ + protected XmlReturnInsert() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_RETURN_INSERT; + } + + /** + * Returns the value of the 'Return Only' attribute. + * + *

+ * If the meaning of the 'Return Only' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Return Only' attribute. + * @see #setReturnOnly(Boolean) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlReturnInsert_2_1_ReturnOnly() + * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" + * @generated + */ + public Boolean getReturnOnly() + { + return returnOnly; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlReturnInsert#getReturnOnly Return Only}' attribute. + * + * + * @param value the new value of the 'Return Only' attribute. + * @see #getReturnOnly() + * @generated + */ + public void setReturnOnly(Boolean newReturnOnly) + { + Boolean oldReturnOnly = returnOnly; + returnOnly = newReturnOnly; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_RETURN_INSERT__RETURN_ONLY, oldReturnOnly, returnOnly)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_RETURN_INSERT__RETURN_ONLY: + return getReturnOnly(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_RETURN_INSERT__RETURN_ONLY: + setReturnOnly((Boolean)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_RETURN_INSERT__RETURN_ONLY: + setReturnOnly(RETURN_ONLY_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_RETURN_INSERT__RETURN_ONLY: + return RETURN_ONLY_EDEFAULT == null ? returnOnly != null : !RETURN_ONLY_EDEFAULT.equals(returnOnly); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (returnOnly: "); + result.append(returnOnly); + 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[] { + buildReturnOnlyTranslator()}; + } + + protected static Translator buildReturnOnlyTranslator() { + return new Translator(EclipseLink2_1.RETURN_ONLY, EclipseLinkOrmV2_1Package.eINSTANCE.getXmlReturnInsert_2_1_ReturnOnly()); + } +} diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlRoundRobinPartitioning.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlRoundRobinPartitioning.java new file mode 100644 index 0000000000..d3cf18d9a8 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlRoundRobinPartitioning.java @@ -0,0 +1,219 @@ +/******************************************************************************* + * Copyright (c) 2010 Oracle. All rights reserved. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License v1.0, which accompanies this distribution + * and is available at http://www.eclipse.org/legal/epl-v10.html. + * + * Contributors: + * Oracle - initial API and implementation + ******************************************************************************/ +package org.eclipse.jpt.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.XmlRoundRobinPartitioning_2_2; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml Round Robin 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#getXmlRoundRobinPartitioning() + * @model kind="class" + * @generated + */ +public class XmlRoundRobinPartitioning extends EBaseObjectImpl implements XmlRoundRobinPartitioning_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 XmlRoundRobinPartitioning() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_ROUND_ROBIN_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#getXmlRoundRobinPartitioning_2_2_Name() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getName() + { + return name; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlRoundRobinPartitioning#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_ROUND_ROBIN_PARTITIONING__NAME, oldName, name)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ROUND_ROBIN_PARTITIONING__NAME: + return getName(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ROUND_ROBIN_PARTITIONING__NAME: + setName((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ROUND_ROBIN_PARTITIONING__NAME: + setName(NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ROUND_ROBIN_PARTITIONING__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @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.getXmlRoundRobinPartitioning(), + buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildNameTranslator() + }; + } + + protected static Translator buildNameTranslator() { + return new Translator(JPA.NAME, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlRoundRobinPartitioning_2_2_Name(), Translator.DOM_ATTRIBUTE); + } +} // XmlRoundRobinPartitioning diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlSecondaryTable.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlSecondaryTable.java new file mode 100644 index 0000000000..3677138a76 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlSecondaryTable.java @@ -0,0 +1,259 @@ +/******************************************************************************* + * 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.XmlSecondaryTable_2_2; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml Secondary 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#getXmlSecondaryTable() + * @model kind="class" + * @generated + */ +public class XmlSecondaryTable extends org.eclipse.jpt.jpa.core.resource.orm.XmlSecondaryTable implements XmlSecondaryTable_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 XmlSecondaryTable() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_SECONDARY_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#getXmlSecondaryTable_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.XmlSecondaryTable#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_SECONDARY_TABLE__CREATION_SUFFIX, oldCreationSuffix, creationSuffix)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_SECONDARY_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_SECONDARY_TABLE__CREATION_SUFFIX: + setCreationSuffix((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_SECONDARY_TABLE__CREATION_SUFFIX: + setCreationSuffix(CREATION_SUFFIX_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_SECONDARY_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 == XmlSecondaryTable_2_2.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_SECONDARY_TABLE__CREATION_SUFFIX: return EclipseLinkOrmV2_2Package.XML_SECONDARY_TABLE_22__CREATION_SUFFIX; + default: return -1; + } + } + return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); + } + + /** + * + * + * @generated + */ + @Override + public int eDerivedStructuralFeatureID(int baseFeatureID, Class baseClass) + { + if (baseClass == XmlSecondaryTable_2_2.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_2Package.XML_SECONDARY_TABLE_22__CREATION_SUFFIX: return EclipseLinkOrmPackage.XML_SECONDARY_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(); + } + + public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) { + return new SimpleTranslator( + elementName, + structuralFeature, + EclipseLinkOrmPackage.eINSTANCE.getXmlSecondaryTable(), + buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildNameTranslator(), + buildCatalogTranslator(), + buildSchemaTranslator(), + buildCreationSuffixTranslator(), + buildPrimaryKeyJoinColumnsTranslator(), + buildUniqueConstraintTranslator() + }; + } + + protected static Translator buildCreationSuffixTranslator() { + return new Translator(EclipseLink2_2.CREATION_SUFFIX, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlSecondaryTable_2_2_CreationSuffix(), Translator.DOM_ATTRIBUTE); + } +} // XmlSecondaryTable diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlStoredProcedureParameter.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlStoredProcedureParameter.java new file mode 100644 index 0000000000..e7860def11 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlStoredProcedureParameter.java @@ -0,0 +1,590 @@ +/******************************************************************************* + * 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 Stored Procedure Parameter'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter#getDirection Direction}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter#getName Name}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter#getQueryParameter Query Parameter}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter#getType Type}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter#getJdbcType Jdbc Type}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter#getJdbcTypeName Jdbc Type Name}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlStoredProcedureParameter() + * @model kind="class" + * @extends EBaseObject + * @generated + */ +public class XmlStoredProcedureParameter extends EBaseObjectImpl implements EBaseObject +{ + /** + * 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 XmlDirection DIRECTION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getDirection() Direction}' attribute. + * + * + * @see #getDirection() + * @generated + * @ordered + */ + protected XmlDirection direction = DIRECTION_EDEFAULT; + + /** + * 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 #getQueryParameter() Query Parameter}' attribute. + * + * + * @see #getQueryParameter() + * @generated + * @ordered + */ + protected static final String QUERY_PARAMETER_EDEFAULT = null; + + /** + * The cached value of the '{@link #getQueryParameter() Query Parameter}' attribute. + * + * + * @see #getQueryParameter() + * @generated + * @ordered + */ + protected String queryParameter = QUERY_PARAMETER_EDEFAULT; + + /** + * The default value of the '{@link #getType() Type}' attribute. + * + * + * @see #getType() + * @generated + * @ordered + */ + protected static final String TYPE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getType() Type}' attribute. + * + * + * @see #getType() + * @generated + * @ordered + */ + protected String type = TYPE_EDEFAULT; + + /** + * The default value of the '{@link #getJdbcType() Jdbc Type}' attribute. + * + * + * @see #getJdbcType() + * @generated + * @ordered + */ + protected static final Integer JDBC_TYPE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getJdbcType() Jdbc Type}' attribute. + * + * + * @see #getJdbcType() + * @generated + * @ordered + */ + protected Integer jdbcType = JDBC_TYPE_EDEFAULT; + + /** + * The default value of the '{@link #getJdbcTypeName() Jdbc Type Name}' attribute. + * + * + * @see #getJdbcTypeName() + * @generated + * @ordered + */ + protected static final String JDBC_TYPE_NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getJdbcTypeName() Jdbc Type Name}' attribute. + * + * + * @see #getJdbcTypeName() + * @generated + * @ordered + */ + protected String jdbcTypeName = JDBC_TYPE_NAME_EDEFAULT; + + /** + * + * + * @generated + */ + protected XmlStoredProcedureParameter() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_STORED_PROCEDURE_PARAMETER; + } + + /** + * Returns the value of the 'Direction' attribute. + * The literals are from the enumeration {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlDirection}. + * + *

+ * If the meaning of the 'Direction' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Direction' attribute. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlDirection + * @see #setDirection(XmlDirection) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlStoredProcedureParameter_Direction() + * @model + * @generated + */ + public XmlDirection getDirection() + { + return direction; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter#getDirection Direction}' attribute. + * + * + * @param value the new value of the 'Direction' attribute. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlDirection + * @see #getDirection() + * @generated + */ + public void setDirection(XmlDirection newDirection) + { + XmlDirection oldDirection = direction; + direction = newDirection == null ? DIRECTION_EDEFAULT : newDirection; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__DIRECTION, oldDirection, direction)); + } + + /** + * 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#getXmlStoredProcedureParameter_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.XmlStoredProcedureParameter#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_STORED_PROCEDURE_PARAMETER__NAME, oldName, name)); + } + + /** + * Returns the value of the 'Query Parameter' attribute. + * + *

+ * If the meaning of the 'Query Parameter' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Query Parameter' attribute. + * @see #setQueryParameter(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlStoredProcedureParameter_QueryParameter() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getQueryParameter() + { + return queryParameter; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter#getQueryParameter Query Parameter}' attribute. + * + * + * @param value the new value of the 'Query Parameter' attribute. + * @see #getQueryParameter() + * @generated + */ + public void setQueryParameter(String newQueryParameter) + { + String oldQueryParameter = queryParameter; + queryParameter = newQueryParameter; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__QUERY_PARAMETER, oldQueryParameter, queryParameter)); + } + + /** + * Returns the value of the 'Type' attribute. + * + *

+ * 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 #setType(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlStoredProcedureParameter_Type() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getType() + { + return type; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter#getType Type}' attribute. + * + * + * @param value the new value of the 'Type' attribute. + * @see #getType() + * @generated + */ + public void setType(String newType) + { + String oldType = type; + type = newType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__TYPE, oldType, type)); + } + + /** + * Returns the value of the 'Jdbc Type' attribute. + * + *

+ * If the meaning of the 'Jdbc Type' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Jdbc Type' attribute. + * @see #setJdbcType(Integer) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlStoredProcedureParameter_JdbcType() + * @model dataType="org.eclipse.emf.ecore.xml.type.IntObject" + * @generated + */ + public Integer getJdbcType() + { + return jdbcType; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter#getJdbcType Jdbc Type}' attribute. + * + * + * @param value the new value of the 'Jdbc Type' attribute. + * @see #getJdbcType() + * @generated + */ + public void setJdbcType(Integer newJdbcType) + { + Integer oldJdbcType = jdbcType; + jdbcType = newJdbcType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__JDBC_TYPE, oldJdbcType, jdbcType)); + } + + /** + * Returns the value of the 'Jdbc Type Name' attribute. + * + *

+ * If the meaning of the 'Jdbc Type Name' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Jdbc Type Name' attribute. + * @see #setJdbcTypeName(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlStoredProcedureParameter_JdbcTypeName() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getJdbcTypeName() + { + return jdbcTypeName; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter#getJdbcTypeName Jdbc Type Name}' attribute. + * + * + * @param value the new value of the 'Jdbc Type Name' attribute. + * @see #getJdbcTypeName() + * @generated + */ + public void setJdbcTypeName(String newJdbcTypeName) + { + String oldJdbcTypeName = jdbcTypeName; + jdbcTypeName = newJdbcTypeName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__JDBC_TYPE_NAME, oldJdbcTypeName, jdbcTypeName)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__DIRECTION: + return getDirection(); + case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__NAME: + return getName(); + case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__QUERY_PARAMETER: + return getQueryParameter(); + case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__TYPE: + return getType(); + case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__JDBC_TYPE: + return getJdbcType(); + case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__JDBC_TYPE_NAME: + return getJdbcTypeName(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__DIRECTION: + setDirection((XmlDirection)newValue); + return; + case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__NAME: + setName((String)newValue); + return; + case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__QUERY_PARAMETER: + setQueryParameter((String)newValue); + return; + case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__TYPE: + setType((String)newValue); + return; + case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__JDBC_TYPE: + setJdbcType((Integer)newValue); + return; + case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__JDBC_TYPE_NAME: + setJdbcTypeName((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__DIRECTION: + setDirection(DIRECTION_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__NAME: + setName(NAME_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__QUERY_PARAMETER: + setQueryParameter(QUERY_PARAMETER_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__TYPE: + setType(TYPE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__JDBC_TYPE: + setJdbcType(JDBC_TYPE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__JDBC_TYPE_NAME: + setJdbcTypeName(JDBC_TYPE_NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__DIRECTION: + return direction != DIRECTION_EDEFAULT; + case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__QUERY_PARAMETER: + return QUERY_PARAMETER_EDEFAULT == null ? queryParameter != null : !QUERY_PARAMETER_EDEFAULT.equals(queryParameter); + case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__TYPE: + return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT.equals(type); + case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__JDBC_TYPE: + return JDBC_TYPE_EDEFAULT == null ? jdbcType != null : !JDBC_TYPE_EDEFAULT.equals(jdbcType); + case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__JDBC_TYPE_NAME: + return JDBC_TYPE_NAME_EDEFAULT == null ? jdbcTypeName != null : !JDBC_TYPE_NAME_EDEFAULT.equals(jdbcTypeName); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (direction: "); + result.append(direction); + result.append(", name: "); + result.append(name); + result.append(", queryParameter: "); + result.append(queryParameter); + result.append(", type: "); + result.append(type); + result.append(", jdbcType: "); + result.append(jdbcType); + result.append(", jdbcTypeName: "); + result.append(jdbcTypeName); + 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[] { + buildDirectionTranslator(), + buildNameTranslator(), + buildQueryParameterTranslator(), + buildTypeTranslator(), + buildJdbcTypeTranslator(), + buildJdbcTypeNameTranslator(), + }; + } + + protected static Translator buildDirectionTranslator() { + return new Translator(EclipseLink.PARAMETER__DIRECTION, EclipseLinkOrmPackage.eINSTANCE.getXmlStoredProcedureParameter_Direction(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildNameTranslator() { + return new Translator(EclipseLink.PARAMETER__NAME, EclipseLinkOrmPackage.eINSTANCE.getXmlStoredProcedureParameter_Name(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildQueryParameterTranslator() { + return new Translator(EclipseLink.PARAMETER__QUERY_PARAMETER, EclipseLinkOrmPackage.eINSTANCE.getXmlStoredProcedureParameter_QueryParameter(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildTypeTranslator() { + return new Translator(EclipseLink.PARAMETER__TYPE, EclipseLinkOrmPackage.eINSTANCE.getXmlStoredProcedureParameter_Type(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildJdbcTypeTranslator() { + return new Translator(EclipseLink.PARAMETER__JDBC_TYPE, EclipseLinkOrmPackage.eINSTANCE.getXmlStoredProcedureParameter_JdbcType(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildJdbcTypeNameTranslator() { + return new Translator(EclipseLink.PARAMETER__JDBC_TYPE_NAME, EclipseLinkOrmPackage.eINSTANCE.getXmlStoredProcedureParameter_JdbcTypeName(), Translator.DOM_ATTRIBUTE); + } + +} // XmlStoredProcedureParameter diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlStruct.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlStruct.java new file mode 100644 index 0000000000..d9d26f679a --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlStruct.java @@ -0,0 +1,212 @@ +/******************************************************************************* + * 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 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_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.XmlStruct_2_3; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml Struct'. + * + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlStruct() + * @model kind="class" + * @generated + */ +public class XmlStruct extends EBaseObjectImpl implements XmlStruct_2_3 +{ + /** + * 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 XmlStruct() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_STRUCT; + } + + /** + * 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#getXmlStruct_2_3_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.XmlStruct#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_STRUCT__NAME, oldName, name)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_STRUCT__NAME: + return getName(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_STRUCT__NAME: + setName((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_STRUCT__NAME: + setName(NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_STRUCT__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.getXmlStruct(), + buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildNameTranslator(), + }; + } + + protected static Translator buildNameTranslator() { + return new Translator(EclipseLink2_3.STRUCT__NAME, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlStruct_2_3_Name(), Translator.DOM_ATTRIBUTE); + } +} // XmlStruct diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlStructConverter.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlStructConverter.java new file mode 100644 index 0000000000..7d86003dd8 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlStructConverter.java @@ -0,0 +1,271 @@ +/******************************************************************************* + * 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 Struct 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructConverter#getConverter Converter}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlStructConverter() + * @model kind="class" + * @generated + */ +public class XmlStructConverter extends XmlNamedConverter +{ + /** + * The default value of the '{@link #getConverter() Converter}' attribute. + * + * + * @see #getConverter() + * @generated + * @ordered + */ + protected static final String CONVERTER_EDEFAULT = null; + /** + * The cached value of the '{@link #getConverter() Converter}' attribute. + * + * + * @see #getConverter() + * @generated + * @ordered + */ + protected String converter = CONVERTER_EDEFAULT; + + /** + * + * + * @generated + */ + protected XmlStructConverter() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_STRUCT_CONVERTER; + } + + /** + * Returns the value of the 'Converter' attribute. + * + *

+ * If the meaning of the 'CustomConverter' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Converter' attribute. + * @see #setConverter(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlStructConverter_Converter() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getConverter() + { + return converter; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructConverter#getConverter Converter}' attribute. + * + * + * @param value the new value of the 'Converter' attribute. + * @see #getConverter() + * @generated + */ + public void setConverter(String newConverter) + { + String oldConverter = converter; + converter = newConverter; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_STRUCT_CONVERTER__CONVERTER, oldConverter, converter)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_STRUCT_CONVERTER__CONVERTER: + return getConverter(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_STRUCT_CONVERTER__CONVERTER: + setConverter((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_STRUCT_CONVERTER__CONVERTER: + setConverter(CONVERTER_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_STRUCT_CONVERTER__CONVERTER: + return CONVERTER_EDEFAULT == null ? converter != null : !CONVERTER_EDEFAULT.equals(converter); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (converter: "); + result.append(converter); + result.append(')'); + return result.toString(); + } + + public TextRange getConverterClassTextRange() { + return getAttributeTextRange(EclipseLink.STRUCT_CONVERTER__CONVERTER); + } + + // ********** 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(), + buildConverterTranslator() + }; + } + + protected static Translator buildConverterTranslator() { + return new Translator(EclipseLink.STRUCT_CONVERTER__CONVERTER, EclipseLinkOrmPackage.eINSTANCE.getXmlStructConverter_Converter(), Translator.DOM_ATTRIBUTE); + } + + + // ********** refactoring ********** + + public ReplaceEdit createRenameEdit(IType originalType, String newName) { + String originalName = originalType.getTypeQualifiedName(); + int nameIndex = this.converter.lastIndexOf(originalName); + int offset = getAttributeNode(EclipseLink.STRUCT_CONVERTER__CONVERTER).getValueRegionStartOffset() + 1; // +1 = opening double quote + return new ReplaceEdit(offset + nameIndex, originalName.length(), newName); + } + + public ReplaceEdit createRenamePackageEdit(String newPackageName) { + int packageLength = this.converter.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.STRUCT_CONVERTER__CONVERTER).getValueRegionStartOffset() + 1; // +1 = opening double quote + return new ReplaceEdit(offset, packageLength, newPackageName); + } + + // ********** content assist *************** + + public TextRange getConverterClassCodeAssistTextRange() { + return getAttributeCodeAssistTextRange(EclipseLink.STRUCT_CONVERTER__CONVERTER); + } + + public boolean converterClassTouches(int pos) { + TextRange textRange = this.getConverterClassCodeAssistTextRange(); + return (textRange != null) && textRange.touches(pos); + } +} // XmlStructConverter diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlStructure.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlStructure.java new file mode 100644 index 0000000000..d083d02a50 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlStructure.java @@ -0,0 +1,485 @@ +/******************************************************************************* + * 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.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_3.EclipseLink2_3; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlStructure_2_3; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml Structure'. + * + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlStructure() + * @model kind="class" + * @generated + */ +public class XmlStructure extends AbstractXmlAttributeMapping implements XmlAttributeMapping, XmlStructure_2_3 +{ + /** + * 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 properties; + + /** + * The default value of the '{@link #getAttributeType() Attribute Type}' attribute. + * + * + * @see #getAttributeType() + * @generated + * @ordered + */ + protected static final String ATTRIBUTE_TYPE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getAttributeType() Attribute Type}' attribute. + * + * + * @see #getAttributeType() + * @generated + * @ordered + */ + protected String attributeType = ATTRIBUTE_TYPE_EDEFAULT; + + /** + * + * + * @generated + */ + protected XmlStructure() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_STRUCTURE; + } + + /** + * 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_STRUCTURE__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.XmlStructure#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_STRUCTURE__ACCESS_METHODS, null, msgs); + if (newAccessMethods != null) + msgs = ((InternalEObject)newAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_STRUCTURE__ACCESS_METHODS, null, msgs); + msgs = basicSetAccessMethods(newAccessMethods, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_STRUCTURE__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 getProperties() + { + if (properties == null) + { + properties = new EObjectContainmentEList(XmlProperty.class, this, EclipseLinkOrmPackage.XML_STRUCTURE__PROPERTIES); + } + return properties; + } + + /** + * 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.XmlStructure#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_STRUCTURE__ATTRIBUTE_TYPE, oldAttributeType, attributeType)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_STRUCTURE__ACCESS_METHODS: + return basicSetAccessMethods(null, msgs); + case EclipseLinkOrmPackage.XML_STRUCTURE__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_STRUCTURE__ACCESS_METHODS: + return getAccessMethods(); + case EclipseLinkOrmPackage.XML_STRUCTURE__PROPERTIES: + return getProperties(); + case EclipseLinkOrmPackage.XML_STRUCTURE__ATTRIBUTE_TYPE: + return getAttributeType(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_STRUCTURE__ACCESS_METHODS: + setAccessMethods((XmlAccessMethods)newValue); + return; + case EclipseLinkOrmPackage.XML_STRUCTURE__PROPERTIES: + getProperties().clear(); + getProperties().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_STRUCTURE__ATTRIBUTE_TYPE: + setAttributeType((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_STRUCTURE__ACCESS_METHODS: + setAccessMethods((XmlAccessMethods)null); + return; + case EclipseLinkOrmPackage.XML_STRUCTURE__PROPERTIES: + getProperties().clear(); + return; + case EclipseLinkOrmPackage.XML_STRUCTURE__ATTRIBUTE_TYPE: + setAttributeType(ATTRIBUTE_TYPE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_STRUCTURE__ACCESS_METHODS: + return accessMethods != null; + case EclipseLinkOrmPackage.XML_STRUCTURE__PROPERTIES: + return properties != null && !properties.isEmpty(); + case EclipseLinkOrmPackage.XML_STRUCTURE__ATTRIBUTE_TYPE: + return ATTRIBUTE_TYPE_EDEFAULT == null ? attributeType != null : !ATTRIBUTE_TYPE_EDEFAULT.equals(attributeType); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public int eBaseStructuralFeatureID(int derivedFeatureID, Class baseClass) + { + if (baseClass == XmlAccessMethodsHolder.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_STRUCTURE__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS; + default: return -1; + } + } + if (baseClass == XmlPropertyContainer.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_STRUCTURE__PROPERTIES: return EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES; + default: return -1; + } + } + if (baseClass == XmlAttributeMapping.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_STRUCTURE__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE; + default: return -1; + } + } + if (baseClass == XmlStructure_2_3.class) + { + switch (derivedFeatureID) + { + 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_STRUCTURE__ACCESS_METHODS; + default: return -1; + } + } + if (baseClass == XmlPropertyContainer.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES: return EclipseLinkOrmPackage.XML_STRUCTURE__PROPERTIES; + default: return -1; + } + } + if (baseClass == XmlAttributeMapping.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_STRUCTURE__ATTRIBUTE_TYPE; + default: return -1; + } + } + if (baseClass == XmlStructure_2_3.class) + { + switch (baseFeatureID) + { + 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(')'); + return result.toString(); + } + + public String getMappingKey() { + return EclipseLinkMappingKeys.STRUCTURE_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, + EclipseLinkOrmPackage.eINSTANCE.getXmlStructure(), + buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildNameTranslator(), + buildAccessTranslator(), + buildAttributeTypeTranslator(), + buildPropertyTranslator(), + buildAccessMethodsTranslator() + }; + } + + protected static Translator buildAttributeTypeTranslator() { + return new Translator(EclipseLink2_3.STRUCTURE__ATTRIBUTE_TYPE, EclipseLinkOrmPackage.eINSTANCE.getXmlAttributeMapping_AttributeType(), Translator.DOM_ATTRIBUTE); + } + + 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()); + } + + // ******** virtual attribute ************ + + public void setVirtualAttributeTypes(String attributeType, String targetType) { + this.setAttributeType(attributeType); + } + + // *********** content assist ************ + + protected TextRange getAttributeTypeCodeAssistTextRange() { + return getAttributeCodeAssistTextRange(EclipseLink2_3.STRUCTURE__ATTRIBUTE_TYPE); + } + + public boolean attributeTypeTouches(int pos) { + TextRange textRange = this.getAttributeTypeCodeAssistTextRange(); + return (textRange != null) && (textRange.touches(pos)); + } +} // XmlStructure diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTable.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTable.java new file mode 100644 index 0000000000..7edd8aecdb --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTable.java @@ -0,0 +1,261 @@ +/******************************************************************************* + * 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.XmlTable_2_2; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml 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#getXmlTable() + * @model kind="class" + * @generated + */ +public class XmlTable extends org.eclipse.jpt.jpa.core.resource.orm.XmlTable implements XmlTable_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 XmlTable() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_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#getXmlTable_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.XmlTable#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_TABLE__CREATION_SUFFIX, oldCreationSuffix, creationSuffix)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_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_TABLE__CREATION_SUFFIX: + setCreationSuffix((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_TABLE__CREATION_SUFFIX: + setCreationSuffix(CREATION_SUFFIX_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_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 == XmlTable_2_2.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_TABLE__CREATION_SUFFIX: return EclipseLinkOrmV2_2Package.XML_TABLE_22__CREATION_SUFFIX; + default: return -1; + } + } + return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); + } + + /** + * + * + * @generated + */ + @Override + public int eDerivedStructuralFeatureID(int baseFeatureID, Class baseClass) + { + if (baseClass == XmlTable_2_2.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_2Package.XML_TABLE_22__CREATION_SUFFIX: return EclipseLinkOrmPackage.XML_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.getXmlTable(), + buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildNameTranslator(), + buildCatalogTranslator(), + buildSchemaTranslator(), + buildCreationSuffixTranslator(), + buildUniqueConstraintTranslator() + }; + } + + protected static Translator buildCreationSuffixTranslator() { + return new Translator(EclipseLink2_2.CREATION_SUFFIX, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlTable_2_2_CreationSuffix(), Translator.DOM_ATTRIBUTE); + } +} // XmlTable diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTableGenerator.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTableGenerator.java new file mode 100644 index 0000000000..115797dea8 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTableGenerator.java @@ -0,0 +1,271 @@ +/******************************************************************************* + * 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.core.resource.orm.JPA; +import org.eclipse.jpt.jpa.core.resource.orm.OrmPackage; +import org.eclipse.jpt.jpa.core.resource.orm.XmlUniqueConstraint; +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.XmlTableGenerator_2_2; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * + * 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. + * A representation of the model object 'Xml Table Generator'. + * + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTableGenerator() + * @model kind="class" + * @generated + */ +public class XmlTableGenerator extends org.eclipse.jpt.jpa.core.resource.orm.XmlTableGenerator implements XmlTableGenerator_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 XmlTableGenerator() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_TABLE_GENERATOR; + } + + /** + * 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#getXmlTableGenerator_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.XmlTableGenerator#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_TABLE_GENERATOR__CREATION_SUFFIX, oldCreationSuffix, creationSuffix)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_TABLE_GENERATOR__CREATION_SUFFIX: + return getCreationSuffix(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_TABLE_GENERATOR__CREATION_SUFFIX: + setCreationSuffix((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_TABLE_GENERATOR__CREATION_SUFFIX: + setCreationSuffix(CREATION_SUFFIX_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_TABLE_GENERATOR__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 == XmlTableGenerator_2_2.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_TABLE_GENERATOR__CREATION_SUFFIX: return EclipseLinkOrmV2_2Package.XML_TABLE_GENERATOR_22__CREATION_SUFFIX; + default: return -1; + } + } + return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); + } + + /** + * + * + * @generated + */ + @Override + public int eDerivedStructuralFeatureID(int baseFeatureID, Class baseClass) + { + if (baseClass == XmlTableGenerator_2_2.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_2Package.XML_TABLE_GENERATOR_22__CREATION_SUFFIX: return EclipseLinkOrmPackage.XML_TABLE_GENERATOR__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.getXmlTableGenerator(), + buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildNameTranslator(), + buildTableTranslator(), + buildCatalogTranslator(), + buildSchemaTranslator(), + buildCreationSuffixTranslator(), + buildPkColumnNameTranslator(), + buildValueColumnNameTranslator(), + buildPkColumnValueTranslator(), + buildInitialValueTranslator(), + buildAllocationSizeTranslator(), + buildDescriptionTranslator(), + XmlUniqueConstraint.buildTranslator(JPA.UNIQUE_CONSTRAINT, OrmPackage.eINSTANCE.getXmlTableGenerator_UniqueConstraints()) + }; + } + + protected static Translator buildCreationSuffixTranslator() { + return new Translator(EclipseLink2_2.CREATION_SUFFIX, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlTableGenerator_2_2_CreationSuffix(), Translator.DOM_ATTRIBUTE); + } +} // XmlTableGenerator diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTenantDiscriminatorColumn.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTenantDiscriminatorColumn.java new file mode 100644 index 0000000000..5d14eec74d --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTenantDiscriminatorColumn.java @@ -0,0 +1,414 @@ +/******************************************************************************* + * 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.utility.TextRange; +import org.eclipse.jpt.jpa.core.resource.orm.AbstractXmlBaseDiscriminatorColumn; +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.XmlTenantDiscriminatorColumn_2_3; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml Tenant Discriminator'. + * + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTenantDiscriminatorColumn() + * @model kind="class" + * @generated + */ +public class XmlTenantDiscriminatorColumn extends AbstractXmlBaseDiscriminatorColumn implements XmlTenantDiscriminatorColumn_2_3 +{ + /** + * The default value of the '{@link #getContextProperty() Context Property}' attribute. + * + * + * @see #getContextProperty() + * @generated + * @ordered + */ + protected static final String CONTEXT_PROPERTY_EDEFAULT = null; + /** + * The cached value of the '{@link #getContextProperty() Context Property}' attribute. + * + * + * @see #getContextProperty() + * @generated + * @ordered + */ + protected String contextProperty = CONTEXT_PROPERTY_EDEFAULT; + + /** + * The default value of the '{@link #getTable() Table}' attribute. + * + * + * @see #getTable() + * @generated + * @ordered + */ + protected static final String TABLE_EDEFAULT = null; + /** + * The cached value of the '{@link #getTable() Table}' attribute. + * + * + * @see #getTable() + * @generated + * @ordered + */ + protected String table = TABLE_EDEFAULT; + /** + * The default value of the '{@link #getPrimaryKey() Primary Key}' attribute. + * + * + * @see #getPrimaryKey() + * @generated + * @ordered + */ + protected static final Boolean PRIMARY_KEY_EDEFAULT = null; + /** + * The cached value of the '{@link #getPrimaryKey() Primary Key}' attribute. + * + * + * @see #getPrimaryKey() + * @generated + * @ordered + */ + protected Boolean primaryKey = PRIMARY_KEY_EDEFAULT; + + /** + * + * + * @generated + */ + protected XmlTenantDiscriminatorColumn() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_TENANT_DISCRIMINATOR_COLUMN; + } + /** + * Returns the value of the 'Context Property' attribute. + * + *

+ * If the meaning of the 'Context Property' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Context Property' attribute. + * @see #setContextProperty(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTenantDiscriminatorColumn_2_3_ContextProperty() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getContextProperty() + { + return contextProperty; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTenantDiscriminatorColumn#getContextProperty Context Property}' attribute. + * + * + * @param value the new value of the 'Context Property' attribute. + * @see #getContextProperty() + * @generated + */ + public void setContextProperty(String newContextProperty) + { + String oldContextProperty = contextProperty; + contextProperty = newContextProperty; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_TENANT_DISCRIMINATOR_COLUMN__CONTEXT_PROPERTY, oldContextProperty, contextProperty)); + } + + /** + * 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#getXmlTenantDiscriminatorColumn_2_3_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.XmlTenantDiscriminatorColumn#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_TENANT_DISCRIMINATOR_COLUMN__TABLE, oldTable, table)); + } + + /** + * Returns the value of the 'Primary Key' attribute. + * + *

+ * If the meaning of the 'Primary Key' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Primary Key' attribute. + * @see #setPrimaryKey(Boolean) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTenantDiscriminatorColumn_2_3_PrimaryKey() + * @model + * @generated + */ + public Boolean getPrimaryKey() + { + return primaryKey; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTenantDiscriminatorColumn#getPrimaryKey Primary Key}' attribute. + * + * + * @param value the new value of the 'Primary Key' attribute. + * @see #getPrimaryKey() + * @generated + */ + public void setPrimaryKey(Boolean newPrimaryKey) + { + Boolean oldPrimaryKey = primaryKey; + primaryKey = newPrimaryKey; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_TENANT_DISCRIMINATOR_COLUMN__PRIMARY_KEY, oldPrimaryKey, primaryKey)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_TENANT_DISCRIMINATOR_COLUMN__CONTEXT_PROPERTY: + return getContextProperty(); + case EclipseLinkOrmPackage.XML_TENANT_DISCRIMINATOR_COLUMN__TABLE: + return getTable(); + case EclipseLinkOrmPackage.XML_TENANT_DISCRIMINATOR_COLUMN__PRIMARY_KEY: + return getPrimaryKey(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_TENANT_DISCRIMINATOR_COLUMN__CONTEXT_PROPERTY: + setContextProperty((String)newValue); + return; + case EclipseLinkOrmPackage.XML_TENANT_DISCRIMINATOR_COLUMN__TABLE: + setTable((String)newValue); + return; + case EclipseLinkOrmPackage.XML_TENANT_DISCRIMINATOR_COLUMN__PRIMARY_KEY: + setPrimaryKey((Boolean)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_TENANT_DISCRIMINATOR_COLUMN__CONTEXT_PROPERTY: + setContextProperty(CONTEXT_PROPERTY_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_TENANT_DISCRIMINATOR_COLUMN__TABLE: + setTable(TABLE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_TENANT_DISCRIMINATOR_COLUMN__PRIMARY_KEY: + setPrimaryKey(PRIMARY_KEY_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_TENANT_DISCRIMINATOR_COLUMN__CONTEXT_PROPERTY: + return CONTEXT_PROPERTY_EDEFAULT == null ? contextProperty != null : !CONTEXT_PROPERTY_EDEFAULT.equals(contextProperty); + case EclipseLinkOrmPackage.XML_TENANT_DISCRIMINATOR_COLUMN__TABLE: + return TABLE_EDEFAULT == null ? table != null : !TABLE_EDEFAULT.equals(table); + case EclipseLinkOrmPackage.XML_TENANT_DISCRIMINATOR_COLUMN__PRIMARY_KEY: + return PRIMARY_KEY_EDEFAULT == null ? primaryKey != null : !PRIMARY_KEY_EDEFAULT.equals(primaryKey); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public int eBaseStructuralFeatureID(int derivedFeatureID, Class baseClass) + { + if (baseClass == XmlTenantDiscriminatorColumn_2_3.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_TENANT_DISCRIMINATOR_COLUMN__CONTEXT_PROPERTY: return EclipseLinkOrmV2_3Package.XML_TENANT_DISCRIMINATOR_COLUMN_23__CONTEXT_PROPERTY; + case EclipseLinkOrmPackage.XML_TENANT_DISCRIMINATOR_COLUMN__TABLE: return EclipseLinkOrmV2_3Package.XML_TENANT_DISCRIMINATOR_COLUMN_23__TABLE; + case EclipseLinkOrmPackage.XML_TENANT_DISCRIMINATOR_COLUMN__PRIMARY_KEY: return EclipseLinkOrmV2_3Package.XML_TENANT_DISCRIMINATOR_COLUMN_23__PRIMARY_KEY; + default: return -1; + } + } + return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); + } + + /** + * + * + * @generated + */ + @Override + public int eDerivedStructuralFeatureID(int baseFeatureID, Class baseClass) + { + if (baseClass == XmlTenantDiscriminatorColumn_2_3.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_3Package.XML_TENANT_DISCRIMINATOR_COLUMN_23__CONTEXT_PROPERTY: return EclipseLinkOrmPackage.XML_TENANT_DISCRIMINATOR_COLUMN__CONTEXT_PROPERTY; + case EclipseLinkOrmV2_3Package.XML_TENANT_DISCRIMINATOR_COLUMN_23__TABLE: return EclipseLinkOrmPackage.XML_TENANT_DISCRIMINATOR_COLUMN__TABLE; + case EclipseLinkOrmV2_3Package.XML_TENANT_DISCRIMINATOR_COLUMN_23__PRIMARY_KEY: return EclipseLinkOrmPackage.XML_TENANT_DISCRIMINATOR_COLUMN__PRIMARY_KEY; + 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(" (contextProperty: "); + result.append(contextProperty); + result.append(", table: "); + result.append(table); + result.append(", primaryKey: "); + result.append(primaryKey); + result.append(')'); + return result.toString(); + } + + public TextRange getTableTextRange() { + return getAttributeTextRange(EclipseLink2_3.TENANT_DISCRIMINATOR_COLUMN__TABLE); + } + + // ********** translators ********** + + public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) { + return new SimpleTranslator( + elementName, + structuralFeature, + Translator.END_TAG_NO_INDENT, + EclipseLinkOrmPackage.eINSTANCE.getXmlTenantDiscriminatorColumn(), + buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildNameTranslator(), + buildContextPropertyTranslator(), + buildDiscriminatorTypeTranslator(), + buildColumnDefinitionTranslator(), + buildLengthTranslator(), + buildTableTranslator(), + buildPrimaryKeyTranslator() + }; + } + + protected static Translator buildContextPropertyTranslator() { + return new Translator(EclipseLink2_3.TENANT_DISCRIMINATOR_COLUMN__CONTEXT_PROPERTY, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlTenantDiscriminatorColumn_2_3_ContextProperty(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildTableTranslator() { + return new Translator(EclipseLink2_3.TENANT_DISCRIMINATOR_COLUMN__TABLE, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlTenantDiscriminatorColumn_2_3_Table(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildPrimaryKeyTranslator() { + return new Translator(EclipseLink2_3.TENANT_DISCRIMINATOR_COLUMN__PRIMARY_KEY, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlTenantDiscriminatorColumn_2_3_PrimaryKey(), Translator.DOM_ATTRIBUTE); + } + // *********** content assist *********** + + public TextRange getTableCodeAssistTextRange() { + return getAttributeCodeAssistTextRange(EclipseLink2_3.TENANT_DISCRIMINATOR_COLUMN__TABLE); + } + + public boolean tableTouches(int pos) { + TextRange textRange = this.getTableCodeAssistTextRange(); + return (textRange != null) && (textRange.touches(pos)); + } +} // XmlTenantDiscriminator diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTenantTableDiscriminator.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTenantTableDiscriminator.java new file mode 100644 index 0000000000..61428f87b5 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTenantTableDiscriminator.java @@ -0,0 +1,296 @@ +/******************************************************************************* + * 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.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.TenantTableDiscriminatorType; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlTenantTableDiscriminator_2_4; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml Tenant Table Discriminator'. + * + * 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#getXmlTenantTableDiscriminator() + * @model kind="class" + * @generated + */ +public class XmlTenantTableDiscriminator extends EBaseObjectImpl implements XmlTenantTableDiscriminator_2_4 +{ + /** + * The default value of the '{@link #getContextProperty() Context Property}' attribute. + * + * + * @see #getContextProperty() + * @generated + * @ordered + */ + protected static final String CONTEXT_PROPERTY_EDEFAULT = null; + + /** + * The cached value of the '{@link #getContextProperty() Context Property}' attribute. + * + * + * @see #getContextProperty() + * @generated + * @ordered + */ + protected String contextProperty = CONTEXT_PROPERTY_EDEFAULT; + + /** + * The default value of the '{@link #getType() Type}' attribute. + * + * + * @see #getType() + * @generated + * @ordered + */ + protected static final TenantTableDiscriminatorType TYPE_EDEFAULT = TenantTableDiscriminatorType.SCHEMA; + + /** + * The cached value of the '{@link #getType() Type}' attribute. + * + * + * @see #getType() + * @generated + * @ordered + */ + protected TenantTableDiscriminatorType type = TYPE_EDEFAULT; + + /** + * + * + * @generated + */ + protected XmlTenantTableDiscriminator() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_TENANT_TABLE_DISCRIMINATOR; + } + + /** + * Returns the value of the 'Context Property' attribute. + * + *

+ * If the meaning of the 'Context Property' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Context Property' attribute. + * @see #setContextProperty(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTenantTableDiscriminator_2_4_ContextProperty() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getContextProperty() + { + return contextProperty; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTenantTableDiscriminator#getContextProperty Context Property}' attribute. + * + * + * @param value the new value of the 'Context Property' attribute. + * @see #getContextProperty() + * @generated + */ + public void setContextProperty(String newContextProperty) + { + String oldContextProperty = contextProperty; + contextProperty = newContextProperty; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_TENANT_TABLE_DISCRIMINATOR__CONTEXT_PROPERTY, oldContextProperty, contextProperty)); + } + + /** + * Returns the value of the 'Type' attribute. + * The literals are from the enumeration {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.TenantTableDiscriminatorType}. + * + *

+ * 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.v2_4.TenantTableDiscriminatorType + * @see #setType(TenantTableDiscriminatorType) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTenantTableDiscriminator_2_4_Type() + * @model + * @generated + */ + public TenantTableDiscriminatorType getType() + { + return type; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTenantTableDiscriminator#getType Type}' attribute. + * + * + * @param value the new value of the 'Type' attribute. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.TenantTableDiscriminatorType + * @see #getType() + * @generated + */ + public void setType(TenantTableDiscriminatorType newType) + { + TenantTableDiscriminatorType oldType = type; + type = newType == null ? TYPE_EDEFAULT : newType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_TENANT_TABLE_DISCRIMINATOR__TYPE, oldType, type)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_TENANT_TABLE_DISCRIMINATOR__CONTEXT_PROPERTY: + return getContextProperty(); + case EclipseLinkOrmPackage.XML_TENANT_TABLE_DISCRIMINATOR__TYPE: + return getType(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_TENANT_TABLE_DISCRIMINATOR__CONTEXT_PROPERTY: + setContextProperty((String)newValue); + return; + case EclipseLinkOrmPackage.XML_TENANT_TABLE_DISCRIMINATOR__TYPE: + setType((TenantTableDiscriminatorType)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_TENANT_TABLE_DISCRIMINATOR__CONTEXT_PROPERTY: + setContextProperty(CONTEXT_PROPERTY_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_TENANT_TABLE_DISCRIMINATOR__TYPE: + setType(TYPE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_TENANT_TABLE_DISCRIMINATOR__CONTEXT_PROPERTY: + return CONTEXT_PROPERTY_EDEFAULT == null ? contextProperty != null : !CONTEXT_PROPERTY_EDEFAULT.equals(contextProperty); + case EclipseLinkOrmPackage.XML_TENANT_TABLE_DISCRIMINATOR__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(" (contextProperty: "); + result.append(contextProperty); + 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, + EclipseLinkOrmPackage.eINSTANCE.getXmlTenantTableDiscriminator(), + buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildContextPropertyTranslator(), + buildReferencedFieldNameTranslator(), + }; + } + + protected static Translator buildContextPropertyTranslator() { + return new Translator(EclipseLink2_4.TENANT_TABLE_DISCRIMINATOR__CONTEXT_PROPERTY, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlTenantTableDiscriminator_2_4_ContextProperty(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildReferencedFieldNameTranslator() { + return new Translator(EclipseLink2_4.TENANT_TABLE_DISCRIMINATOR__TYPE, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlTenantTableDiscriminator_2_4_Type(), Translator.DOM_ATTRIBUTE); + } +} // XmlTenantTableDiscriminator diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTimeOfDay.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTimeOfDay.java new file mode 100644 index 0000000000..c3cacc62bc --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTimeOfDay.java @@ -0,0 +1,446 @@ +/******************************************************************************* + * 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.wst.common.internal.emf.resource.Translator; + +/** + * + * + * A representation of the model object 'Xml Time Of Day'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTimeOfDay#getHour Hour}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTimeOfDay#getMinute Minute}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTimeOfDay#getSecond Second}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTimeOfDay#getMillisecond Millisecond}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTimeOfDay() + * @model kind="class" + * @extends EBaseObject + * @generated + */ +public class XmlTimeOfDay extends EBaseObjectImpl implements EBaseObject +{ + /** + * The default value of the '{@link #getHour() Hour}' attribute. + * + * + * @see #getHour() + * @generated + * @ordered + */ + protected static final Integer HOUR_EDEFAULT = null; + + /** + * The cached value of the '{@link #getHour() Hour}' attribute. + * + * + * @see #getHour() + * @generated + * @ordered + */ + protected Integer hour = HOUR_EDEFAULT; + + /** + * The default value of the '{@link #getMinute() Minute}' attribute. + * + * + * @see #getMinute() + * @generated + * @ordered + */ + protected static final Integer MINUTE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getMinute() Minute}' attribute. + * + * + * @see #getMinute() + * @generated + * @ordered + */ + protected Integer minute = MINUTE_EDEFAULT; + + /** + * The default value of the '{@link #getSecond() Second}' attribute. + * + * + * @see #getSecond() + * @generated + * @ordered + */ + protected static final Integer SECOND_EDEFAULT = null; + + /** + * The cached value of the '{@link #getSecond() Second}' attribute. + * + * + * @see #getSecond() + * @generated + * @ordered + */ + protected Integer second = SECOND_EDEFAULT; + + /** + * The default value of the '{@link #getMillisecond() Millisecond}' attribute. + * + * + * @see #getMillisecond() + * @generated + * @ordered + */ + protected static final Integer MILLISECOND_EDEFAULT = null; + + /** + * The cached value of the '{@link #getMillisecond() Millisecond}' attribute. + * + * + * @see #getMillisecond() + * @generated + * @ordered + */ + protected Integer millisecond = MILLISECOND_EDEFAULT; + + /** + * + * + * @generated + */ + protected XmlTimeOfDay() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_TIME_OF_DAY; + } + + /** + * Returns the value of the 'Hour' attribute. + * + *

+ * If the meaning of the 'Hour' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Hour' attribute. + * @see #setHour(Integer) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTimeOfDay_Hour() + * @model dataType="org.eclipse.emf.ecore.xml.type.IntObject" + * @generated + */ + public Integer getHour() + { + return hour; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTimeOfDay#getHour Hour}' attribute. + * + * + * @param value the new value of the 'Hour' attribute. + * @see #getHour() + * @generated + */ + public void setHour(Integer newHour) + { + Integer oldHour = hour; + hour = newHour; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_TIME_OF_DAY__HOUR, oldHour, hour)); + } + + /** + * Returns the value of the 'Minute' attribute. + * + *

+ * If the meaning of the 'Minute' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Minute' attribute. + * @see #setMinute(Integer) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTimeOfDay_Minute() + * @model dataType="org.eclipse.emf.ecore.xml.type.IntObject" + * @generated + */ + public Integer getMinute() + { + return minute; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTimeOfDay#getMinute Minute}' attribute. + * + * + * @param value the new value of the 'Minute' attribute. + * @see #getMinute() + * @generated + */ + public void setMinute(Integer newMinute) + { + Integer oldMinute = minute; + minute = newMinute; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_TIME_OF_DAY__MINUTE, oldMinute, minute)); + } + + /** + * Returns the value of the 'Second' attribute. + * + *

+ * If the meaning of the 'Second' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Second' attribute. + * @see #setSecond(Integer) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTimeOfDay_Second() + * @model dataType="org.eclipse.emf.ecore.xml.type.IntObject" + * @generated + */ + public Integer getSecond() + { + return second; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTimeOfDay#getSecond Second}' attribute. + * + * + * @param value the new value of the 'Second' attribute. + * @see #getSecond() + * @generated + */ + public void setSecond(Integer newSecond) + { + Integer oldSecond = second; + second = newSecond; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_TIME_OF_DAY__SECOND, oldSecond, second)); + } + + /** + * Returns the value of the 'Millisecond' attribute. + * + *

+ * If the meaning of the 'Millisecond' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Millisecond' attribute. + * @see #setMillisecond(Integer) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTimeOfDay_Millisecond() + * @model dataType="org.eclipse.emf.ecore.xml.type.IntObject" + * @generated + */ + public Integer getMillisecond() + { + return millisecond; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTimeOfDay#getMillisecond Millisecond}' attribute. + * + * + * @param value the new value of the 'Millisecond' attribute. + * @see #getMillisecond() + * @generated + */ + public void setMillisecond(Integer newMillisecond) + { + Integer oldMillisecond = millisecond; + millisecond = newMillisecond; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_TIME_OF_DAY__MILLISECOND, oldMillisecond, millisecond)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_TIME_OF_DAY__HOUR: + return getHour(); + case EclipseLinkOrmPackage.XML_TIME_OF_DAY__MINUTE: + return getMinute(); + case EclipseLinkOrmPackage.XML_TIME_OF_DAY__SECOND: + return getSecond(); + case EclipseLinkOrmPackage.XML_TIME_OF_DAY__MILLISECOND: + return getMillisecond(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_TIME_OF_DAY__HOUR: + setHour((Integer)newValue); + return; + case EclipseLinkOrmPackage.XML_TIME_OF_DAY__MINUTE: + setMinute((Integer)newValue); + return; + case EclipseLinkOrmPackage.XML_TIME_OF_DAY__SECOND: + setSecond((Integer)newValue); + return; + case EclipseLinkOrmPackage.XML_TIME_OF_DAY__MILLISECOND: + setMillisecond((Integer)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_TIME_OF_DAY__HOUR: + setHour(HOUR_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_TIME_OF_DAY__MINUTE: + setMinute(MINUTE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_TIME_OF_DAY__SECOND: + setSecond(SECOND_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_TIME_OF_DAY__MILLISECOND: + setMillisecond(MILLISECOND_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_TIME_OF_DAY__HOUR: + return HOUR_EDEFAULT == null ? hour != null : !HOUR_EDEFAULT.equals(hour); + case EclipseLinkOrmPackage.XML_TIME_OF_DAY__MINUTE: + return MINUTE_EDEFAULT == null ? minute != null : !MINUTE_EDEFAULT.equals(minute); + case EclipseLinkOrmPackage.XML_TIME_OF_DAY__SECOND: + return SECOND_EDEFAULT == null ? second != null : !SECOND_EDEFAULT.equals(second); + case EclipseLinkOrmPackage.XML_TIME_OF_DAY__MILLISECOND: + return MILLISECOND_EDEFAULT == null ? millisecond != null : !MILLISECOND_EDEFAULT.equals(millisecond); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (hour: "); + result.append(hour); + result.append(", minute: "); + result.append(minute); + result.append(", second: "); + result.append(second); + result.append(", millisecond: "); + result.append(millisecond); + 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[] { + buildHourTranslator(), + buildMinuteTranslator(), + buildSecondTranslator(), + buildMillisecondTranslator(), + }; + } + + protected static Translator buildHourTranslator() { + return new Translator(EclipseLink.EXPIRY_TIME_OF_DAY__HOUR, EclipseLinkOrmPackage.eINSTANCE.getXmlTimeOfDay_Hour(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildMinuteTranslator() { + return new Translator(EclipseLink.EXPIRY_TIME_OF_DAY__MINUTE, EclipseLinkOrmPackage.eINSTANCE.getXmlTimeOfDay_Minute(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildSecondTranslator() { + return new Translator(EclipseLink.EXPIRY_TIME_OF_DAY__SECOND, EclipseLinkOrmPackage.eINSTANCE.getXmlTimeOfDay_Second(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildMillisecondTranslator() { + return new Translator(EclipseLink.EXPIRY_TIME_OF_DAY__MILLISECOND, EclipseLinkOrmPackage.eINSTANCE.getXmlTimeOfDay_Millisecond(), Translator.DOM_ATTRIBUTE); + } + +} // XmlTimeOfDay diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTransformation.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTransformation.java new file mode 100644 index 0000000000..205a2162a1 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTransformation.java @@ -0,0 +1,480 @@ +/******************************************************************************* + * 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.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml Transformation 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#getXmlTransformation() + * @model kind="class" + * @generated + */ +public class XmlTransformation extends AbstractXmlAttributeMapping implements XmlAttributeMapping +{ + /** + * 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 properties; + + /** + * The default value of the '{@link #getAttributeType() Attribute Type}' attribute. + * + * + * @see #getAttributeType() + * @generated + * @ordered + */ + protected static final String ATTRIBUTE_TYPE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getAttributeType() Attribute Type}' attribute. + * + * + * @see #getAttributeType() + * @generated + * @ordered + */ + protected String attributeType = ATTRIBUTE_TYPE_EDEFAULT; + + /** + * + * + * @generated + */ + protected XmlTransformation() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_TRANSFORMATION; + } + + /** + * 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.XmlTransformation#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_TRANSFORMATION__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_TRANSFORMATION__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.XmlTransformation#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_TRANSFORMATION__ACCESS_METHODS, null, msgs); + if (newAccessMethods != null) + msgs = ((InternalEObject)newAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_TRANSFORMATION__ACCESS_METHODS, null, msgs); + msgs = basicSetAccessMethods(newAccessMethods, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_TRANSFORMATION__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 getProperties() + { + if (properties == null) + { + properties = new EObjectContainmentEList(XmlProperty.class, this, EclipseLinkOrmPackage.XML_TRANSFORMATION__PROPERTIES); + } + return properties; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_TRANSFORMATION__ACCESS_METHODS: + return basicSetAccessMethods(null, msgs); + case EclipseLinkOrmPackage.XML_TRANSFORMATION__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_TRANSFORMATION__ACCESS_METHODS: + return getAccessMethods(); + case EclipseLinkOrmPackage.XML_TRANSFORMATION__PROPERTIES: + return getProperties(); + case EclipseLinkOrmPackage.XML_TRANSFORMATION__ATTRIBUTE_TYPE: + return getAttributeType(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_TRANSFORMATION__ACCESS_METHODS: + setAccessMethods((XmlAccessMethods)newValue); + return; + case EclipseLinkOrmPackage.XML_TRANSFORMATION__PROPERTIES: + getProperties().clear(); + getProperties().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_TRANSFORMATION__ATTRIBUTE_TYPE: + setAttributeType((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_TRANSFORMATION__ACCESS_METHODS: + setAccessMethods((XmlAccessMethods)null); + return; + case EclipseLinkOrmPackage.XML_TRANSFORMATION__PROPERTIES: + getProperties().clear(); + return; + case EclipseLinkOrmPackage.XML_TRANSFORMATION__ATTRIBUTE_TYPE: + setAttributeType(ATTRIBUTE_TYPE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_TRANSFORMATION__ACCESS_METHODS: + return accessMethods != null; + case EclipseLinkOrmPackage.XML_TRANSFORMATION__PROPERTIES: + return properties != null && !properties.isEmpty(); + case EclipseLinkOrmPackage.XML_TRANSFORMATION__ATTRIBUTE_TYPE: + return ATTRIBUTE_TYPE_EDEFAULT == null ? attributeType != null : !ATTRIBUTE_TYPE_EDEFAULT.equals(attributeType); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public int eBaseStructuralFeatureID(int derivedFeatureID, Class baseClass) + { + if (baseClass == XmlAccessMethodsHolder.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_TRANSFORMATION__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS; + default: return -1; + } + } + if (baseClass == XmlPropertyContainer.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_TRANSFORMATION__PROPERTIES: return EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES; + default: return -1; + } + } + if (baseClass == XmlAttributeMapping.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_TRANSFORMATION__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE; + 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_TRANSFORMATION__ACCESS_METHODS; + default: return -1; + } + } + if (baseClass == XmlPropertyContainer.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES: return EclipseLinkOrmPackage.XML_TRANSFORMATION__PROPERTIES; + default: return -1; + } + } + if (baseClass == XmlAttributeMapping.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_TRANSFORMATION__ATTRIBUTE_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(" (attributeType: "); + result.append(attributeType); + result.append(')'); + return result.toString(); + } + + public String getMappingKey() { + return EclipseLinkMappingKeys.TRANSFORMATION_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(), +// buildFetchTranslator(), +// buildOptionalTranslator(), + buildAccessTranslator(), +// buildMutableTranslator(), + buildAttributeTypeTranslator(), +// buildReadTransformerTranslator(), +// buildWriteTransformerTranslator(), + buildPropertyTranslator(), + buildAccessMethodsTranslator() + }; + } + + 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 buildAttributeTypeTranslator() { + return new Translator(EclipseLink2_1.ATTRIBUTE_TYPE, EclipseLinkOrmPackage.eINSTANCE.getXmlAttributeMapping_AttributeType(), Translator.DOM_ATTRIBUTE); + } + + // ******** 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/XmlTransient.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTransient.java new file mode 100644 index 0000000000..c5f4f6f4db --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTransient.java @@ -0,0 +1,442 @@ +/******************************************************************************* + * 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.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml Transient'. + * + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTransient() + * @model kind="class" + * @generated + */ +public class XmlTransient extends org.eclipse.jpt.jpa.core.resource.orm.XmlTransient implements XmlAttributeMapping +{ + /** + * 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 properties; + + /** + * The default value of the '{@link #getAttributeType() Attribute Type}' attribute. + * + * + * @see #getAttributeType() + * @generated + * @ordered + */ + protected static final String ATTRIBUTE_TYPE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getAttributeType() Attribute Type}' attribute. + * + * + * @see #getAttributeType() + * @generated + * @ordered + */ + protected String attributeType = ATTRIBUTE_TYPE_EDEFAULT; + + /** + * + * + * @generated + */ + protected XmlTransient() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_TRANSIENT; + } + + /** + * 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_TRANSIENT__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.XmlTransient#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_TRANSIENT__ACCESS_METHODS, null, msgs); + if (newAccessMethods != null) + msgs = ((InternalEObject)newAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_TRANSIENT__ACCESS_METHODS, null, msgs); + msgs = basicSetAccessMethods(newAccessMethods, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_TRANSIENT__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 getProperties() + { + if (properties == null) + { + properties = new EObjectContainmentEList(XmlProperty.class, this, EclipseLinkOrmPackage.XML_TRANSIENT__PROPERTIES); + } + return properties; + } + + /** + * 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.XmlTransient#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_TRANSIENT__ATTRIBUTE_TYPE, oldAttributeType, attributeType)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_TRANSIENT__ACCESS_METHODS: + return basicSetAccessMethods(null, msgs); + case EclipseLinkOrmPackage.XML_TRANSIENT__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_TRANSIENT__ACCESS_METHODS: + return getAccessMethods(); + case EclipseLinkOrmPackage.XML_TRANSIENT__PROPERTIES: + return getProperties(); + case EclipseLinkOrmPackage.XML_TRANSIENT__ATTRIBUTE_TYPE: + return getAttributeType(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_TRANSIENT__ACCESS_METHODS: + setAccessMethods((XmlAccessMethods)newValue); + return; + case EclipseLinkOrmPackage.XML_TRANSIENT__PROPERTIES: + getProperties().clear(); + getProperties().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_TRANSIENT__ATTRIBUTE_TYPE: + setAttributeType((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_TRANSIENT__ACCESS_METHODS: + setAccessMethods((XmlAccessMethods)null); + return; + case EclipseLinkOrmPackage.XML_TRANSIENT__PROPERTIES: + getProperties().clear(); + return; + case EclipseLinkOrmPackage.XML_TRANSIENT__ATTRIBUTE_TYPE: + setAttributeType(ATTRIBUTE_TYPE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_TRANSIENT__ACCESS_METHODS: + return accessMethods != null; + case EclipseLinkOrmPackage.XML_TRANSIENT__PROPERTIES: + return properties != null && !properties.isEmpty(); + case EclipseLinkOrmPackage.XML_TRANSIENT__ATTRIBUTE_TYPE: + return ATTRIBUTE_TYPE_EDEFAULT == null ? attributeType != null : !ATTRIBUTE_TYPE_EDEFAULT.equals(attributeType); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public int eBaseStructuralFeatureID(int derivedFeatureID, Class baseClass) + { + if (baseClass == XmlAccessMethodsHolder.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_TRANSIENT__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS; + default: return -1; + } + } + if (baseClass == XmlPropertyContainer.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_TRANSIENT__PROPERTIES: return EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES; + default: return -1; + } + } + if (baseClass == XmlAttributeMapping.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_TRANSIENT__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE; + 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_TRANSIENT__ACCESS_METHODS; + default: return -1; + } + } + if (baseClass == XmlPropertyContainer.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES: return EclipseLinkOrmPackage.XML_TRANSIENT__PROPERTIES; + default: return -1; + } + } + if (baseClass == XmlAttributeMapping.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_TRANSIENT__ATTRIBUTE_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(" (attributeType: "); + result.append(attributeType); + result.append(')'); + return result.toString(); + } + + public TextRange getAttributeTypeTextRange() { + //no attribute-type for one-to-one + return getValidationTextRange(); + } + + + // ********** translators ********** + + public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) { + return new SimpleTranslator( + elementName, + structuralFeature, + Translator.END_TAG_NO_INDENT, + EclipseLinkOrmPackage.eINSTANCE.getXmlTransient(), + buildTranslatorChildren() + ); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildNameTranslator() + }; + } + + // ******** virtual attribute ************ + + public void setVirtualAttributeTypes(String attributeType, String targetType) { + this.setAttributeType(attributeType); + } +} diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTypeConverter.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTypeConverter.java new file mode 100644 index 0000000000..b839d9b8d7 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTypeConverter.java @@ -0,0 +1,369 @@ +/******************************************************************************* + * 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 Type 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter#getDataType Data Type}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter#getObjectType Object Type}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTypeConverter() + * @model kind="class" + * @generated + */ +public class XmlTypeConverter extends XmlNamedConverter +{ + /** + * The default value of the '{@link #getDataType() Data Type}' attribute. + * + * + * @see #getDataType() + * @generated + * @ordered + */ + protected static final String DATA_TYPE_EDEFAULT = null; + /** + * The cached value of the '{@link #getDataType() Data Type}' attribute. + * + * + * @see #getDataType() + * @generated + * @ordered + */ + protected String dataType = DATA_TYPE_EDEFAULT; + /** + * The default value of the '{@link #getObjectType() Object Type}' attribute. + * + * + * @see #getObjectType() + * @generated + * @ordered + */ + protected static final String OBJECT_TYPE_EDEFAULT = null; + /** + * The cached value of the '{@link #getObjectType() Object Type}' attribute. + * + * + * @see #getObjectType() + * @generated + * @ordered + */ + protected String objectType = OBJECT_TYPE_EDEFAULT; + + /** + * + * + * @generated + */ + protected XmlTypeConverter() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_TYPE_CONVERTER; + } + + /** + * Returns the value of the 'Data Type' attribute. + * + *

+ * If the meaning of the 'Data Type' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Data Type' attribute. + * @see #setDataType(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTypeConverter_DataType() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getDataType() + { + return dataType; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter#getDataType Data Type}' attribute. + * + * + * @param value the new value of the 'Data Type' attribute. + * @see #getDataType() + * @generated + */ + public void setDataType(String newDataType) + { + String oldDataType = dataType; + dataType = newDataType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_TYPE_CONVERTER__DATA_TYPE, oldDataType, dataType)); + } + + /** + * Returns the value of the 'Object Type' attribute. + * + *

+ * If the meaning of the 'Object Type' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Object Type' attribute. + * @see #setObjectType(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTypeConverter_ObjectType() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getObjectType() + { + return objectType; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter#getObjectType Object Type}' attribute. + * + * + * @param value the new value of the 'Object Type' attribute. + * @see #getObjectType() + * @generated + */ + public void setObjectType(String newObjectType) + { + String oldObjectType = objectType; + objectType = newObjectType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_TYPE_CONVERTER__OBJECT_TYPE, oldObjectType, objectType)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_TYPE_CONVERTER__DATA_TYPE: + return getDataType(); + case EclipseLinkOrmPackage.XML_TYPE_CONVERTER__OBJECT_TYPE: + return getObjectType(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_TYPE_CONVERTER__DATA_TYPE: + setDataType((String)newValue); + return; + case EclipseLinkOrmPackage.XML_TYPE_CONVERTER__OBJECT_TYPE: + setObjectType((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_TYPE_CONVERTER__DATA_TYPE: + setDataType(DATA_TYPE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_TYPE_CONVERTER__OBJECT_TYPE: + setObjectType(OBJECT_TYPE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_TYPE_CONVERTER__DATA_TYPE: + return DATA_TYPE_EDEFAULT == null ? dataType != null : !DATA_TYPE_EDEFAULT.equals(dataType); + case EclipseLinkOrmPackage.XML_TYPE_CONVERTER__OBJECT_TYPE: + return OBJECT_TYPE_EDEFAULT == null ? objectType != null : !OBJECT_TYPE_EDEFAULT.equals(objectType); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (dataType: "); + result.append(dataType); + result.append(", objectType: "); + result.append(objectType); + 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[] { + buildNameTranslator(), + buildDataTypeTranslator(), + buildObjectTypeTranslator(), + }; + } + + protected static Translator buildDataTypeTranslator() { + return new Translator(EclipseLink.TYPE_CONVERTER__DATA_TYPE, EclipseLinkOrmPackage.eINSTANCE.getXmlTypeConverter_DataType(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildObjectTypeTranslator() { + return new Translator(EclipseLink.TYPE_CONVERTER__OBJECT_TYPE, EclipseLinkOrmPackage.eINSTANCE.getXmlTypeConverter_ObjectType(), Translator.DOM_ATTRIBUTE); + } + + + // ********** refactoring ********** + + public ReplaceEdit createRenameDataTypeEdit(IType originalType, String newName) { + String originalName = originalType.getTypeQualifiedName(); + int nameIndex = this.dataType.lastIndexOf(originalName); + int offset = getAttributeNode(EclipseLink.TYPE_CONVERTER__DATA_TYPE).getValueRegionStartOffset() + 1; // +1 = opening double quote + return new ReplaceEdit(offset + nameIndex, originalName.length(), newName); + } + + public ReplaceEdit createRenameDataTypePackageEdit(String newPackageName) { + int packageLength = this.dataType.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.TYPE_CONVERTER__DATA_TYPE).getValueRegionStartOffset() + 1; // +1 = opening double quote + return new ReplaceEdit(offset, packageLength, newPackageName); + } + + public ReplaceEdit createRenameObjectTypeEdit(IType originalType, String newName) { + String originalName = originalType.getTypeQualifiedName(); + int nameIndex = this.objectType.lastIndexOf(originalName); + int offset = getAttributeNode(EclipseLink.TYPE_CONVERTER__OBJECT_TYPE).getValueRegionStartOffset() + 1; // +1 = opening double quote + return new ReplaceEdit(offset + nameIndex, originalName.length(), newName); + } + + public ReplaceEdit createRenameObjectTypePackageEdit(String newPackageName) { + int packageLength = this.objectType.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.TYPE_CONVERTER__OBJECT_TYPE).getValueRegionStartOffset() + 1; // +1 = opening double quote + return new ReplaceEdit(offset, packageLength, newPackageName); + } + + // ********** content assist *************** + + public TextRange getObjectTypeCodeAssistTextRange() { + return getAttributeCodeAssistTextRange(EclipseLink.TYPE_CONVERTER__OBJECT_TYPE); + } + + public boolean objectTypeTouches(int pos) { + TextRange textRange = this.getObjectTypeCodeAssistTextRange(); + return (textRange != null) && textRange.touches(pos); + } + + public TextRange getDataTypeCodeAssistTextRange() { + return getAttributeCodeAssistTextRange(EclipseLink.TYPE_CONVERTER__DATA_TYPE); + } + + public boolean dataTypeTouches(int pos) { + TextRange textRange = this.getDataTypeCodeAssistTextRange(); + return (textRange != null) && textRange.touches(pos); + } +} // XmlTypeConverter diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTypeMapping.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTypeMapping.java new file mode 100644 index 0000000000..47128bd90f --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTypeMapping.java @@ -0,0 +1,26 @@ +/******************************************************************************* + * 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.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlTypeMapping_2_1; + +/** + * + * A representation of the model object 'Xml Type Mapping'. + * + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTypeMapping() + * @model kind="class" interface="true" abstract="true" + * @generated + */ +public interface XmlTypeMapping extends org.eclipse.jpt.jpa.core.resource.orm.XmlTypeMapping, XmlTypeMapping_2_1 +{ +} // XmlTypeMapping diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlUnionPartitioning.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlUnionPartitioning.java new file mode 100644 index 0000000000..a6849ef0de --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlUnionPartitioning.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.XmlUnionPartitioning_2_2; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml Union 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#getXmlUnionPartitioning() + * @model kind="class" + * @generated + */ +public class XmlUnionPartitioning extends EBaseObjectImpl implements XmlUnionPartitioning_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 XmlUnionPartitioning() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_UNION_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#getXmlUnionPartitioning_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.XmlUnionPartitioning#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_UNION_PARTITIONING__NAME, oldName, name)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_UNION_PARTITIONING__NAME: + return getName(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_UNION_PARTITIONING__NAME: + setName((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_UNION_PARTITIONING__NAME: + setName(NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_UNION_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.getXmlUnionPartitioning(), + buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildNameTranslator() + }; + } + + protected static Translator buildNameTranslator() { + return new Translator(JPA.NAME, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlUnionPartitioning_2_2_Name(), Translator.DOM_ATTRIBUTE); + } +} // XmlUnionPartitioning diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlUuidGenerator.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlUuidGenerator.java new file mode 100644 index 0000000000..1431f66f79 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlUuidGenerator.java @@ -0,0 +1,442 @@ +/******************************************************************************* + * 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.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_4.XmlUuidGenerator_2_4; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml Uuid Generator'. + * + * 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#getXmlUuidGenerator() + * @model kind="class" + * @generated + */ +public class XmlUuidGenerator extends EBaseObjectImpl implements XmlUuidGenerator_2_4 +{ + /** + * The default value of the '{@link #getDescription() Description}' attribute. + * + * + * @see #getDescription() + * @generated + * @ordered + */ + protected static final String DESCRIPTION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getDescription() Description}' attribute. + * + * + * @see #getDescription() + * @generated + * @ordered + */ + protected String description = DESCRIPTION_EDEFAULT; + + /** + * 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 #getInitialValue() Initial Value}' attribute. + * + * + * @see #getInitialValue() + * @generated + * @ordered + */ + protected static final Integer INITIAL_VALUE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getInitialValue() Initial Value}' attribute. + * + * + * @see #getInitialValue() + * @generated + * @ordered + */ + protected Integer initialValue = INITIAL_VALUE_EDEFAULT; + + /** + * The default value of the '{@link #getAllocationSize() Allocation Size}' attribute. + * + * + * @see #getAllocationSize() + * @generated + * @ordered + */ + protected static final Integer ALLOCATION_SIZE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getAllocationSize() Allocation Size}' attribute. + * + * + * @see #getAllocationSize() + * @generated + * @ordered + */ + protected Integer allocationSize = ALLOCATION_SIZE_EDEFAULT; + + /** + * + * + * @generated + */ + protected XmlUuidGenerator() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_UUID_GENERATOR; + } + + /** + * Returns the value of the 'Description' attribute. + * + *

+ * If the meaning of the 'Description' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Description' attribute. + * @see #setDescription(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlGenerator_2_0_Description() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getDescription() + { + return description; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlUuidGenerator#getDescription Description}' attribute. + * + * + * @param value the new value of the 'Description' attribute. + * @see #getDescription() + * @generated + */ + public void setDescription(String newDescription) + { + String oldDescription = description; + description = newDescription; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_UUID_GENERATOR__DESCRIPTION, oldDescription, description)); + } + + /** + * 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#getXmlGenerator_Name() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true" + * @generated + */ + public String getName() + { + return name; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlUuidGenerator#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_UUID_GENERATOR__NAME, oldName, name)); + } + + /** + * Returns the value of the 'Initial Value' attribute. + * + *

+ * If the meaning of the 'Initial Value' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Initial Value' attribute. + * @see #setInitialValue(Integer) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlGenerator_InitialValue() + * @model dataType="org.eclipse.emf.ecore.xml.type.IntObject" + * @generated + */ + public Integer getInitialValue() + { + return initialValue; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlUuidGenerator#getInitialValue Initial Value}' attribute. + * + * + * @param value the new value of the 'Initial Value' attribute. + * @see #getInitialValue() + * @generated + */ + public void setInitialValue(Integer newInitialValue) + { + Integer oldInitialValue = initialValue; + initialValue = newInitialValue; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_UUID_GENERATOR__INITIAL_VALUE, oldInitialValue, initialValue)); + } + + /** + * Returns the value of the 'Allocation Size' attribute. + * + *

+ * If the meaning of the 'Allocation Size' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Allocation Size' attribute. + * @see #setAllocationSize(Integer) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlGenerator_AllocationSize() + * @model dataType="org.eclipse.emf.ecore.xml.type.IntObject" + * @generated + */ + public Integer getAllocationSize() + { + return allocationSize; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlUuidGenerator#getAllocationSize Allocation Size}' attribute. + * + * + * @param value the new value of the 'Allocation Size' attribute. + * @see #getAllocationSize() + * @generated + */ + public void setAllocationSize(Integer newAllocationSize) + { + Integer oldAllocationSize = allocationSize; + allocationSize = newAllocationSize; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_UUID_GENERATOR__ALLOCATION_SIZE, oldAllocationSize, allocationSize)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_UUID_GENERATOR__DESCRIPTION: + return getDescription(); + case EclipseLinkOrmPackage.XML_UUID_GENERATOR__NAME: + return getName(); + case EclipseLinkOrmPackage.XML_UUID_GENERATOR__INITIAL_VALUE: + return getInitialValue(); + case EclipseLinkOrmPackage.XML_UUID_GENERATOR__ALLOCATION_SIZE: + return getAllocationSize(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_UUID_GENERATOR__DESCRIPTION: + setDescription((String)newValue); + return; + case EclipseLinkOrmPackage.XML_UUID_GENERATOR__NAME: + setName((String)newValue); + return; + case EclipseLinkOrmPackage.XML_UUID_GENERATOR__INITIAL_VALUE: + setInitialValue((Integer)newValue); + return; + case EclipseLinkOrmPackage.XML_UUID_GENERATOR__ALLOCATION_SIZE: + setAllocationSize((Integer)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_UUID_GENERATOR__DESCRIPTION: + setDescription(DESCRIPTION_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_UUID_GENERATOR__NAME: + setName(NAME_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_UUID_GENERATOR__INITIAL_VALUE: + setInitialValue(INITIAL_VALUE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_UUID_GENERATOR__ALLOCATION_SIZE: + setAllocationSize(ALLOCATION_SIZE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_UUID_GENERATOR__DESCRIPTION: + return DESCRIPTION_EDEFAULT == null ? description != null : !DESCRIPTION_EDEFAULT.equals(description); + case EclipseLinkOrmPackage.XML_UUID_GENERATOR__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case EclipseLinkOrmPackage.XML_UUID_GENERATOR__INITIAL_VALUE: + return INITIAL_VALUE_EDEFAULT == null ? initialValue != null : !INITIAL_VALUE_EDEFAULT.equals(initialValue); + case EclipseLinkOrmPackage.XML_UUID_GENERATOR__ALLOCATION_SIZE: + return ALLOCATION_SIZE_EDEFAULT == null ? allocationSize != null : !ALLOCATION_SIZE_EDEFAULT.equals(allocationSize); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (description: "); + result.append(description); + result.append(", name: "); + result.append(name); + result.append(", initialValue: "); + result.append(initialValue); + result.append(", allocationSize: "); + result.append(allocationSize); + result.append(')'); + return result.toString(); + } + + public TextRange getNameTextRange() { + return getAttributeTextRange(JPA.NAME); + } + + //TODO remove these methods after refactoring XmlGenerator + public TextRange getSchemaCodeAssistTextRange() { + throw new UnsupportedOperationException(); + } + public TextRange getCatalogCodeAssistTextRange() { + throw new UnsupportedOperationException(); + } + public boolean schemaTouches(int pos) { + throw new UnsupportedOperationException(); + } + + public boolean catalogTouches(int pos) { + throw new UnsupportedOperationException(); + } + + // ********** translators ********** + + public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) { + return new SimpleTranslator( + elementName, + structuralFeature, + Translator.END_TAG_NO_INDENT, + EclipseLinkOrmPackage.eINSTANCE.getXmlUuidGenerator(), + buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildNameTranslator(), + }; + } + + protected static Translator buildNameTranslator() { + return new Translator(JPA.NAME, OrmPackage.eINSTANCE.getXmlGenerator_Name(), Translator.DOM_ATTRIBUTE); + } + +} // XmlUuidGenerator diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlValuePartitioning.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlValuePartitioning.java new file mode 100644 index 0000000000..9c94cfe0ab --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlValuePartitioning.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.XmlValuePartitioning_2_2; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml Value 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#getXmlValuePartitioning() + * @model kind="class" + * @generated + */ +public class XmlValuePartitioning extends EBaseObjectImpl implements XmlValuePartitioning_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 XmlValuePartitioning() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_VALUE_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#getXmlValuePartitioning_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.XmlValuePartitioning#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_VALUE_PARTITIONING__NAME, oldName, name)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_VALUE_PARTITIONING__NAME: + return getName(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_VALUE_PARTITIONING__NAME: + setName((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_VALUE_PARTITIONING__NAME: + setName(NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_VALUE_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.getXmlValuePartitioning(), + buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildNameTranslator() + }; + } + + protected static Translator buildNameTranslator() { + return new Translator(JPA.NAME, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlValuePartitioning_2_2_Name(), Translator.DOM_ATTRIBUTE); + } +} // XmlValuePartitioning diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlVariableOneToOne.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlVariableOneToOne.java new file mode 100644 index 0000000000..73a57b8e43 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlVariableOneToOne.java @@ -0,0 +1,1393 @@ +/******************************************************************************* + * 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.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.XmlHashPartitioning_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_2.XmlVariableOneToOne_2_2; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml Variable One To One 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.2 + * @since 2.2 + * + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlVariableOneToOne#getTargetInterface Target Interface}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlVariableOneToOne() + * @model kind="class" + * @generated + */ +public class XmlVariableOneToOne extends AbstractXmlAttributeMapping implements XmlAttributeMapping, XmlVariableOneToOne_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 properties; + + /** + * The default value of the '{@link #getAttributeType() Attribute Type}' attribute. + * + * + * @see #getAttributeType() + * @generated + * @ordered + */ + protected static final String ATTRIBUTE_TYPE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getAttributeType() Attribute Type}' attribute. + * + * + * @see #getAttributeType() + * @generated + * @ordered + */ + protected String attributeType = ATTRIBUTE_TYPE_EDEFAULT; + + /** + * The cached value of the '{@link #getPartitioning() Partitioning}' containment reference. + * + * + * @see #getPartitioning() + * @generated + * @ordered + */ + protected XmlPartitioning_2_2 partitioning; + + /** + * The cached value of the '{@link #getReplicationPartitioning() Replication Partitioning}' containment reference. + * + * + * @see #getReplicationPartitioning() + * @generated + * @ordered + */ + protected XmlReplicationPartitioning_2_2 replicationPartitioning; + + /** + * The cached value of the '{@link #getRoundRobinPartitioning() Round Robin Partitioning}' containment reference. + * + * + * @see #getRoundRobinPartitioning() + * @generated + * @ordered + */ + protected XmlRoundRobinPartitioning_2_2 roundRobinPartitioning; + + /** + * The cached value of the '{@link #getPinnedPartitioning() Pinned Partitioning}' containment reference. + * + * + * @see #getPinnedPartitioning() + * @generated + * @ordered + */ + protected XmlPinnedPartitioning_2_2 pinnedPartitioning; + + /** + * The cached value of the '{@link #getRangePartitioning() Range Partitioning}' containment reference. + * + * + * @see #getRangePartitioning() + * @generated + * @ordered + */ + protected XmlRangePartitioning_2_2 rangePartitioning; + + /** + * The cached value of the '{@link #getValuePartitioning() Value Partitioning}' containment reference. + * + * + * @see #getValuePartitioning() + * @generated + * @ordered + */ + protected XmlValuePartitioning_2_2 valuePartitioning; + + /** + * The cached value of the '{@link #getHashPartitioning() Hash Partitioning}' containment reference. + * + * + * @see #getHashPartitioning() + * @generated + * @ordered + */ + protected XmlHashPartitioning_2_2 hashPartitioning; + + /** + * The cached value of the '{@link #getUnionPartitioning() Union Partitioning}' containment reference. + * + * + * @see #getUnionPartitioning() + * @generated + * @ordered + */ + protected XmlUnionPartitioning_2_2 unionPartitioning; + + /** + * The default value of the '{@link #getPartitioned() Partitioned}' attribute. + * + * + * @see #getPartitioned() + * @generated + * @ordered + */ + protected static final String PARTITIONED_EDEFAULT = null; + + /** + * The cached value of the '{@link #getPartitioned() Partitioned}' attribute. + * + * + * @see #getPartitioned() + * @generated + * @ordered + */ + protected String partitioned = PARTITIONED_EDEFAULT; + + /** + * The default value of the '{@link #isNonCacheable() Non Cacheable}' attribute. + * + * + * @see #isNonCacheable() + * @generated + * @ordered + */ + protected static final boolean NON_CACHEABLE_EDEFAULT = false; + + /** + * The cached value of the '{@link #isNonCacheable() Non Cacheable}' attribute. + * + * + * @see #isNonCacheable() + * @generated + * @ordered + */ + protected boolean nonCacheable = NON_CACHEABLE_EDEFAULT; + + /** + * The default value of the '{@link #getTargetInterface() Target Interface}' attribute. + * + * + * @see #getTargetInterface() + * @generated + * @ordered + */ + protected static final String TARGET_INTERFACE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTargetInterface() Target Interface}' attribute. + * + * + * @see #getTargetInterface() + * @generated + * @ordered + */ + protected String targetInterface = TARGET_INTERFACE_EDEFAULT; + + /** + * + * + * @generated + */ + protected XmlVariableOneToOne() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_VARIABLE_ONE_TO_ONE; + } + + /** + * 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_VARIABLE_ONE_TO_ONE__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.XmlVariableOneToOne#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_VARIABLE_ONE_TO_ONE__ACCESS_METHODS, null, msgs); + if (newAccessMethods != null) + msgs = ((InternalEObject)newAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__ACCESS_METHODS, null, msgs); + msgs = basicSetAccessMethods(newAccessMethods, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__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 getProperties() + { + if (properties == null) + { + properties = new EObjectContainmentEList(XmlProperty.class, this, EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PROPERTIES); + } + return properties; + } + + /** + * 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.XmlVariableOneToOne#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_VARIABLE_ONE_TO_ONE__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_VARIABLE_ONE_TO_ONE__PARTITIONING, oldPartitioning, newPartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlVariableOneToOne#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_VARIABLE_ONE_TO_ONE__PARTITIONING, null, msgs); + if (newPartitioning != null) + msgs = ((InternalEObject)newPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PARTITIONING, null, msgs); + msgs = basicSetPartitioning(newPartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__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_VARIABLE_ONE_TO_ONE__REPLICATION_PARTITIONING, oldReplicationPartitioning, newReplicationPartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlVariableOneToOne#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_VARIABLE_ONE_TO_ONE__REPLICATION_PARTITIONING, null, msgs); + if (newReplicationPartitioning != null) + msgs = ((InternalEObject)newReplicationPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__REPLICATION_PARTITIONING, null, msgs); + msgs = basicSetReplicationPartitioning(newReplicationPartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__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_VARIABLE_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING, oldRoundRobinPartitioning, newRoundRobinPartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlVariableOneToOne#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_VARIABLE_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING, null, msgs); + if (newRoundRobinPartitioning != null) + msgs = ((InternalEObject)newRoundRobinPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING, null, msgs); + msgs = basicSetRoundRobinPartitioning(newRoundRobinPartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__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_VARIABLE_ONE_TO_ONE__PINNED_PARTITIONING, oldPinnedPartitioning, newPinnedPartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlVariableOneToOne#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_VARIABLE_ONE_TO_ONE__PINNED_PARTITIONING, null, msgs); + if (newPinnedPartitioning != null) + msgs = ((InternalEObject)newPinnedPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PINNED_PARTITIONING, null, msgs); + msgs = basicSetPinnedPartitioning(newPinnedPartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__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_VARIABLE_ONE_TO_ONE__RANGE_PARTITIONING, oldRangePartitioning, newRangePartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlVariableOneToOne#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_VARIABLE_ONE_TO_ONE__RANGE_PARTITIONING, null, msgs); + if (newRangePartitioning != null) + msgs = ((InternalEObject)newRangePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__RANGE_PARTITIONING, null, msgs); + msgs = basicSetRangePartitioning(newRangePartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__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_VARIABLE_ONE_TO_ONE__VALUE_PARTITIONING, oldValuePartitioning, newValuePartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlVariableOneToOne#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_VARIABLE_ONE_TO_ONE__VALUE_PARTITIONING, null, msgs); + if (newValuePartitioning != null) + msgs = ((InternalEObject)newValuePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__VALUE_PARTITIONING, null, msgs); + msgs = basicSetValuePartitioning(newValuePartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__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_VARIABLE_ONE_TO_ONE__HASH_PARTITIONING, oldHashPartitioning, newHashPartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlVariableOneToOne#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_VARIABLE_ONE_TO_ONE__HASH_PARTITIONING, null, msgs); + if (newHashPartitioning != null) + msgs = ((InternalEObject)newHashPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__HASH_PARTITIONING, null, msgs); + msgs = basicSetHashPartitioning(newHashPartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__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_VARIABLE_ONE_TO_ONE__UNION_PARTITIONING, oldUnionPartitioning, newUnionPartitioning); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlVariableOneToOne#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_VARIABLE_ONE_TO_ONE__UNION_PARTITIONING, null, msgs); + if (newUnionPartitioning != null) + msgs = ((InternalEObject)newUnionPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__UNION_PARTITIONING, null, msgs); + msgs = basicSetUnionPartitioning(newUnionPartitioning, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__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.XmlVariableOneToOne#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_VARIABLE_ONE_TO_ONE__PARTITIONED, oldPartitioned, partitioned)); + } + + /** + * Returns the value of the 'Non Cacheable' attribute. + * + *

+ * If the meaning of the 'Non Cacheable' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Non Cacheable' attribute. + * @see #setNonCacheable(boolean) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlVariableOneToOne_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.XmlVariableOneToOne#isNonCacheable Non Cacheable}' attribute. + * + * + * @param value the new value of the 'Non Cacheable' attribute. + * @see #isNonCacheable() + * @generated + */ + public void setNonCacheable(boolean newNonCacheable) + { + boolean oldNonCacheable = nonCacheable; + nonCacheable = newNonCacheable; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__NON_CACHEABLE, oldNonCacheable, nonCacheable)); + } + + /** + * Returns the value of the 'Target Interface' attribute. + * + *

+ * If the meaning of the 'Target Interface' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Target Interface' attribute. + * @see #setTargetInterface(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlVariableOneToOne_TargetInterface() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getTargetInterface() + { + return targetInterface; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlVariableOneToOne#getTargetInterface Target Interface}' attribute. + * + * + * @param value the new value of the 'Target Interface' attribute. + * @see #getTargetInterface() + * @generated + */ + public void setTargetInterface(String newTargetInterface) + { + String oldTargetInterface = targetInterface; + targetInterface = newTargetInterface; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__TARGET_INTERFACE, oldTargetInterface, targetInterface)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__ACCESS_METHODS: + return basicSetAccessMethods(null, msgs); + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PROPERTIES: + return ((InternalEList)getProperties()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PARTITIONING: + return basicSetPartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__REPLICATION_PARTITIONING: + return basicSetReplicationPartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING: + return basicSetRoundRobinPartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PINNED_PARTITIONING: + return basicSetPinnedPartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__RANGE_PARTITIONING: + return basicSetRangePartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__VALUE_PARTITIONING: + return basicSetValuePartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__HASH_PARTITIONING: + return basicSetHashPartitioning(null, msgs); + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__UNION_PARTITIONING: + return basicSetUnionPartitioning(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__ACCESS_METHODS: + return getAccessMethods(); + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PROPERTIES: + return getProperties(); + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__ATTRIBUTE_TYPE: + return getAttributeType(); + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PARTITIONING: + return getPartitioning(); + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__REPLICATION_PARTITIONING: + return getReplicationPartitioning(); + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING: + return getRoundRobinPartitioning(); + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PINNED_PARTITIONING: + return getPinnedPartitioning(); + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__RANGE_PARTITIONING: + return getRangePartitioning(); + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__VALUE_PARTITIONING: + return getValuePartitioning(); + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__HASH_PARTITIONING: + return getHashPartitioning(); + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__UNION_PARTITIONING: + return getUnionPartitioning(); + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PARTITIONED: + return getPartitioned(); + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__NON_CACHEABLE: + return isNonCacheable(); + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__TARGET_INTERFACE: + return getTargetInterface(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__ACCESS_METHODS: + setAccessMethods((XmlAccessMethods)newValue); + return; + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PROPERTIES: + getProperties().clear(); + getProperties().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__ATTRIBUTE_TYPE: + setAttributeType((String)newValue); + return; + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PARTITIONING: + setPartitioning((XmlPartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__REPLICATION_PARTITIONING: + setReplicationPartitioning((XmlReplicationPartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING: + setRoundRobinPartitioning((XmlRoundRobinPartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PINNED_PARTITIONING: + setPinnedPartitioning((XmlPinnedPartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__RANGE_PARTITIONING: + setRangePartitioning((XmlRangePartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__VALUE_PARTITIONING: + setValuePartitioning((XmlValuePartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__HASH_PARTITIONING: + setHashPartitioning((XmlHashPartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__UNION_PARTITIONING: + setUnionPartitioning((XmlUnionPartitioning_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PARTITIONED: + setPartitioned((String)newValue); + return; + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__NON_CACHEABLE: + setNonCacheable((Boolean)newValue); + return; + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__TARGET_INTERFACE: + setTargetInterface((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__ACCESS_METHODS: + setAccessMethods((XmlAccessMethods)null); + return; + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PROPERTIES: + getProperties().clear(); + return; + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__ATTRIBUTE_TYPE: + setAttributeType(ATTRIBUTE_TYPE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PARTITIONING: + setPartitioning((XmlPartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__REPLICATION_PARTITIONING: + setReplicationPartitioning((XmlReplicationPartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING: + setRoundRobinPartitioning((XmlRoundRobinPartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PINNED_PARTITIONING: + setPinnedPartitioning((XmlPinnedPartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__RANGE_PARTITIONING: + setRangePartitioning((XmlRangePartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__VALUE_PARTITIONING: + setValuePartitioning((XmlValuePartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__HASH_PARTITIONING: + setHashPartitioning((XmlHashPartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__UNION_PARTITIONING: + setUnionPartitioning((XmlUnionPartitioning_2_2)null); + return; + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PARTITIONED: + setPartitioned(PARTITIONED_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__NON_CACHEABLE: + setNonCacheable(NON_CACHEABLE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__TARGET_INTERFACE: + setTargetInterface(TARGET_INTERFACE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__ACCESS_METHODS: + return accessMethods != null; + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PROPERTIES: + return properties != null && !properties.isEmpty(); + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__ATTRIBUTE_TYPE: + return ATTRIBUTE_TYPE_EDEFAULT == null ? attributeType != null : !ATTRIBUTE_TYPE_EDEFAULT.equals(attributeType); + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PARTITIONING: + return partitioning != null; + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__REPLICATION_PARTITIONING: + return replicationPartitioning != null; + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING: + return roundRobinPartitioning != null; + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PINNED_PARTITIONING: + return pinnedPartitioning != null; + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__RANGE_PARTITIONING: + return rangePartitioning != null; + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__VALUE_PARTITIONING: + return valuePartitioning != null; + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__HASH_PARTITIONING: + return hashPartitioning != null; + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__UNION_PARTITIONING: + return unionPartitioning != null; + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PARTITIONED: + return PARTITIONED_EDEFAULT == null ? partitioned != null : !PARTITIONED_EDEFAULT.equals(partitioned); + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__NON_CACHEABLE: + return nonCacheable != NON_CACHEABLE_EDEFAULT; + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__TARGET_INTERFACE: + return TARGET_INTERFACE_EDEFAULT == null ? targetInterface != null : !TARGET_INTERFACE_EDEFAULT.equals(targetInterface); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public int eBaseStructuralFeatureID(int derivedFeatureID, Class baseClass) + { + if (baseClass == XmlAccessMethodsHolder.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS; + default: return -1; + } + } + if (baseClass == XmlPropertyContainer.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PROPERTIES: return EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES; + default: return -1; + } + } + if (baseClass == XmlAttributeMapping.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE; + default: return -1; + } + } + if (baseClass == XmlPartitioningGroup_2_2.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONING; + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__REPLICATION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING; + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING; + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PINNED_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING; + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__RANGE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING; + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__VALUE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING; + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__HASH_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__HASH_PARTITIONING; + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__UNION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__UNION_PARTITIONING; + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PARTITIONED: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONED; + default: return -1; + } + } + if (baseClass == XmlVariableOneToOne_2_2.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__NON_CACHEABLE: return EclipseLinkOrmV2_2Package.XML_VARIABLE_ONE_TO_ONE_22__NON_CACHEABLE; + 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_VARIABLE_ONE_TO_ONE__ACCESS_METHODS; + default: return -1; + } + } + if (baseClass == XmlPropertyContainer.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES: return EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PROPERTIES; + default: return -1; + } + } + if (baseClass == XmlAttributeMapping.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__ATTRIBUTE_TYPE; + default: return -1; + } + } + if (baseClass == XmlPartitioningGroup_2_2.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONING: return EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING: return EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__REPLICATION_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING: return EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PINNED_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING: return EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__RANGE_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING: return EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__VALUE_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__HASH_PARTITIONING: return EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__HASH_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__UNION_PARTITIONING: return EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__UNION_PARTITIONING; + case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONED: return EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PARTITIONED; + default: return -1; + } + } + if (baseClass == XmlVariableOneToOne_2_2.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_2Package.XML_VARIABLE_ONE_TO_ONE_22__NON_CACHEABLE: return EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__NON_CACHEABLE; + 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(", partitioned: "); + result.append(partitioned); + result.append(", nonCacheable: "); + result.append(nonCacheable); + result.append(", targetInterface: "); + result.append(targetInterface); + result.append(')'); + return result.toString(); + } + + public String getMappingKey() { + return EclipseLinkMappingKeys.VARIABLE_ONE_TO_ONE_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(), + buildTargetInterfaceTranslator(), + buildAccessTranslator(), + }; + } + // ********** translators ********** + + protected static Translator buildTargetInterfaceTranslator() { + return new Translator(EclipseLink.VARIABLE_ONE_TO_ONE__TARGET_INTERFACE, EclipseLinkOrmPackage.eINSTANCE.getXmlVariableOneToOne_TargetInterface(), Translator.DOM_ATTRIBUTE); + } + + // ******** virtual attribute ************ + + public void setVirtualAttributeTypes(String attributeType, String targetInterface) { + this.setAttributeType(attributeType); + //TODO support this in the UI if we ever fully add Var 1-1 mapping support + this.setTargetInterface(targetInterface); + } + + // *********** content assist ************ + + protected TextRange getTargetInterfaceCodeAssistTextRange() { + return getAttributeCodeAssistTextRange(EclipseLink.VARIABLE_ONE_TO_ONE__TARGET_INTERFACE); + } + + public boolean targetInterfaceTouches(int pos) { + TextRange textRange = this.getTargetInterfaceCodeAssistTextRange(); + 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/XmlVersion.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlVersion.java new file mode 100644 index 0000000000..cb46b87248 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlVersion.java @@ -0,0 +1,1004 @@ +/******************************************************************************* + * 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.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.XmlIndex_2_2; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlVersion_2_2; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * + * A representation of the model object 'Xml Version'. + * + * 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#getXmlVersion() + * @model kind="class" + * @generated + */ +public class XmlVersion extends org.eclipse.jpt.jpa.core.resource.orm.XmlVersion implements XmlVersion_2_2, 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 #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 properties; + + /** + * The default value of the '{@link #getAttributeType() Attribute Type}' attribute. + * + * + * @see #getAttributeType() + * @generated + * @ordered + */ + protected static final String ATTRIBUTE_TYPE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getAttributeType() Attribute Type}' attribute. + * + * + * @see #getAttributeType() + * @generated + * @ordered + */ + protected String attributeType = ATTRIBUTE_TYPE_EDEFAULT; + + /** + * The default value of the '{@link #getMutable() Mutable}' attribute. + * + * + * @see #getMutable() + * @generated + * @ordered + */ + protected static final Boolean MUTABLE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getMutable() Mutable}' attribute. + * + * + * @see #getMutable() + * @generated + * @ordered + */ + protected Boolean mutable = MUTABLE_EDEFAULT; + + /** + * The default value of the '{@link #getConvert() Convert}' attribute. + * + * + * @see #getConvert() + * @generated + * @ordered + */ + protected static final String CONVERT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getConvert() Convert}' attribute. + * + * + * @see #getConvert() + * @generated + * @ordered + */ + protected String convert = CONVERT_EDEFAULT; + + /** + * The cached value of the '{@link #getConverters() Converters}' containment reference list. + * + * + * @see #getConverters() + * @generated + * @ordered + */ + protected EList converters; + + /** + * The cached value of the '{@link #getTypeConverters() Type Converters}' containment reference list. + * + * + * @see #getTypeConverters() + * @generated + * @ordered + */ + protected EList typeConverters; + + /** + * The cached value of the '{@link #getObjectTypeConverters() Object Type Converters}' containment reference list. + * + * + * @see #getObjectTypeConverters() + * @generated + * @ordered + */ + protected EList objectTypeConverters; + + /** + * The cached value of the '{@link #getStructConverters() Struct Converters}' containment reference list. + * + * + * @see #getStructConverters() + * @generated + * @ordered + */ + protected EList structConverters; + + /** + * + * + * @generated + */ + protected XmlVersion() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_VERSION; + } + + /** + * 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.XmlVersion#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_VERSION__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#getXmlVersion_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_VERSION__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.XmlVersion#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_VERSION__INDEX, null, msgs); + if (newIndex != null) + msgs = ((InternalEObject)newIndex).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_VERSION__INDEX, null, msgs); + msgs = basicSetIndex(newIndex, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_VERSION__INDEX, newIndex, newIndex)); + } + + /** + * 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.XmlVersion#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_VERSION__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.XmlVersion#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_VERSION__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 getConverters() + { + if (converters == null) + { + converters = new EObjectContainmentEList(XmlConverter.class, this, EclipseLinkOrmPackage.XML_VERSION__CONVERTERS); + } + return converters; + } + + /** + * Returns the value of the 'Type Converters' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter}. + * + *

+ * 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 getTypeConverters() + { + if (typeConverters == null) + { + typeConverters = new EObjectContainmentEList(XmlTypeConverter.class, this, EclipseLinkOrmPackage.XML_VERSION__TYPE_CONVERTERS); + } + return typeConverters; + } + + /** + * Returns the value of the 'Object Type Converters' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter}. + * + *

+ * 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 getObjectTypeConverters() + { + if (objectTypeConverters == null) + { + objectTypeConverters = new EObjectContainmentEList(XmlObjectTypeConverter.class, this, EclipseLinkOrmPackage.XML_VERSION__OBJECT_TYPE_CONVERTERS); + } + return objectTypeConverters; + } + + /** + * Returns the value of the 'Struct Converters' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructConverter}. + * + *

+ * 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 getStructConverters() + { + if (structConverters == null) + { + structConverters = new EObjectContainmentEList(XmlStructConverter.class, this, EclipseLinkOrmPackage.XML_VERSION__STRUCT_CONVERTERS); + } + return structConverters; + } + + /** + * 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_VERSION__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.XmlVersion#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_VERSION__ACCESS_METHODS, null, msgs); + if (newAccessMethods != null) + msgs = ((InternalEObject)newAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_VERSION__ACCESS_METHODS, null, msgs); + msgs = basicSetAccessMethods(newAccessMethods, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_VERSION__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 getProperties() + { + if (properties == null) + { + properties = new EObjectContainmentEList(XmlProperty.class, this, EclipseLinkOrmPackage.XML_VERSION__PROPERTIES); + } + return properties; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_VERSION__INDEX: + return basicSetIndex(null, msgs); + case EclipseLinkOrmPackage.XML_VERSION__ACCESS_METHODS: + return basicSetAccessMethods(null, msgs); + case EclipseLinkOrmPackage.XML_VERSION__PROPERTIES: + return ((InternalEList)getProperties()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_VERSION__CONVERTERS: + return ((InternalEList)getConverters()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_VERSION__TYPE_CONVERTERS: + return ((InternalEList)getTypeConverters()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_VERSION__OBJECT_TYPE_CONVERTERS: + return ((InternalEList)getObjectTypeConverters()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_VERSION__STRUCT_CONVERTERS: + return ((InternalEList)getStructConverters()).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_VERSION__INDEX: + return getIndex(); + case EclipseLinkOrmPackage.XML_VERSION__ACCESS_METHODS: + return getAccessMethods(); + case EclipseLinkOrmPackage.XML_VERSION__PROPERTIES: + return getProperties(); + case EclipseLinkOrmPackage.XML_VERSION__ATTRIBUTE_TYPE: + return getAttributeType(); + case EclipseLinkOrmPackage.XML_VERSION__MUTABLE: + return getMutable(); + case EclipseLinkOrmPackage.XML_VERSION__CONVERT: + return getConvert(); + case EclipseLinkOrmPackage.XML_VERSION__CONVERTERS: + return getConverters(); + case EclipseLinkOrmPackage.XML_VERSION__TYPE_CONVERTERS: + return getTypeConverters(); + case EclipseLinkOrmPackage.XML_VERSION__OBJECT_TYPE_CONVERTERS: + return getObjectTypeConverters(); + case EclipseLinkOrmPackage.XML_VERSION__STRUCT_CONVERTERS: + return getStructConverters(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_VERSION__INDEX: + setIndex((XmlIndex_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_VERSION__ACCESS_METHODS: + setAccessMethods((XmlAccessMethods)newValue); + return; + case EclipseLinkOrmPackage.XML_VERSION__PROPERTIES: + getProperties().clear(); + getProperties().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_VERSION__ATTRIBUTE_TYPE: + setAttributeType((String)newValue); + return; + case EclipseLinkOrmPackage.XML_VERSION__MUTABLE: + setMutable((Boolean)newValue); + return; + case EclipseLinkOrmPackage.XML_VERSION__CONVERT: + setConvert((String)newValue); + return; + case EclipseLinkOrmPackage.XML_VERSION__CONVERTERS: + getConverters().clear(); + getConverters().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_VERSION__TYPE_CONVERTERS: + getTypeConverters().clear(); + getTypeConverters().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_VERSION__OBJECT_TYPE_CONVERTERS: + getObjectTypeConverters().clear(); + getObjectTypeConverters().addAll((Collection)newValue); + return; + case EclipseLinkOrmPackage.XML_VERSION__STRUCT_CONVERTERS: + getStructConverters().clear(); + getStructConverters().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_VERSION__INDEX: + setIndex((XmlIndex_2_2)null); + return; + case EclipseLinkOrmPackage.XML_VERSION__ACCESS_METHODS: + setAccessMethods((XmlAccessMethods)null); + return; + case EclipseLinkOrmPackage.XML_VERSION__PROPERTIES: + getProperties().clear(); + return; + case EclipseLinkOrmPackage.XML_VERSION__ATTRIBUTE_TYPE: + setAttributeType(ATTRIBUTE_TYPE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_VERSION__MUTABLE: + setMutable(MUTABLE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_VERSION__CONVERT: + setConvert(CONVERT_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_VERSION__CONVERTERS: + getConverters().clear(); + return; + case EclipseLinkOrmPackage.XML_VERSION__TYPE_CONVERTERS: + getTypeConverters().clear(); + return; + case EclipseLinkOrmPackage.XML_VERSION__OBJECT_TYPE_CONVERTERS: + getObjectTypeConverters().clear(); + return; + case EclipseLinkOrmPackage.XML_VERSION__STRUCT_CONVERTERS: + getStructConverters().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_VERSION__INDEX: + return index != null; + case EclipseLinkOrmPackage.XML_VERSION__ACCESS_METHODS: + return accessMethods != null; + case EclipseLinkOrmPackage.XML_VERSION__PROPERTIES: + return properties != null && !properties.isEmpty(); + case EclipseLinkOrmPackage.XML_VERSION__ATTRIBUTE_TYPE: + return ATTRIBUTE_TYPE_EDEFAULT == null ? attributeType != null : !ATTRIBUTE_TYPE_EDEFAULT.equals(attributeType); + case EclipseLinkOrmPackage.XML_VERSION__MUTABLE: + return MUTABLE_EDEFAULT == null ? mutable != null : !MUTABLE_EDEFAULT.equals(mutable); + case EclipseLinkOrmPackage.XML_VERSION__CONVERT: + return CONVERT_EDEFAULT == null ? convert != null : !CONVERT_EDEFAULT.equals(convert); + case EclipseLinkOrmPackage.XML_VERSION__CONVERTERS: + return converters != null && !converters.isEmpty(); + case EclipseLinkOrmPackage.XML_VERSION__TYPE_CONVERTERS: + return typeConverters != null && !typeConverters.isEmpty(); + case EclipseLinkOrmPackage.XML_VERSION__OBJECT_TYPE_CONVERTERS: + return objectTypeConverters != null && !objectTypeConverters.isEmpty(); + case EclipseLinkOrmPackage.XML_VERSION__STRUCT_CONVERTERS: + return structConverters != null && !structConverters.isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public int eBaseStructuralFeatureID(int derivedFeatureID, Class baseClass) + { + if (baseClass == XmlVersion_2_2.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_VERSION__INDEX: return EclipseLinkOrmV2_2Package.XML_VERSION_22__INDEX; + default: return -1; + } + } + if (baseClass == XmlAccessMethodsHolder.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_VERSION__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS; + default: return -1; + } + } + if (baseClass == XmlPropertyContainer.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_VERSION__PROPERTIES: return EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES; + default: return -1; + } + } + if (baseClass == XmlAttributeMapping.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_VERSION__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE; + default: return -1; + } + } + if (baseClass == XmlMutable.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_VERSION__MUTABLE: return EclipseLinkOrmPackage.XML_MUTABLE__MUTABLE; + default: return -1; + } + } + if (baseClass == XmlConvertibleMapping.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_VERSION__CONVERT: return EclipseLinkOrmPackage.XML_CONVERTIBLE_MAPPING__CONVERT; + default: return -1; + } + } + if (baseClass == XmlConverterContainer.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_VERSION__CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__CONVERTERS; + case EclipseLinkOrmPackage.XML_VERSION__TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__TYPE_CONVERTERS; + case EclipseLinkOrmPackage.XML_VERSION__OBJECT_TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS; + case EclipseLinkOrmPackage.XML_VERSION__STRUCT_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS; + default: return -1; + } + } + return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); + } + + /** + * + * + * @generated + */ + @Override + public int eDerivedStructuralFeatureID(int baseFeatureID, Class baseClass) + { + if (baseClass == XmlVersion_2_2.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_2Package.XML_VERSION_22__INDEX: return EclipseLinkOrmPackage.XML_VERSION__INDEX; + default: return -1; + } + } + if (baseClass == XmlAccessMethodsHolder.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_VERSION__ACCESS_METHODS; + default: return -1; + } + } + if (baseClass == XmlPropertyContainer.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES: return EclipseLinkOrmPackage.XML_VERSION__PROPERTIES; + default: return -1; + } + } + if (baseClass == XmlAttributeMapping.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_VERSION__ATTRIBUTE_TYPE; + default: return -1; + } + } + if (baseClass == XmlMutable.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_MUTABLE__MUTABLE: return EclipseLinkOrmPackage.XML_VERSION__MUTABLE; + default: return -1; + } + } + if (baseClass == XmlConvertibleMapping.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_CONVERTIBLE_MAPPING__CONVERT: return EclipseLinkOrmPackage.XML_VERSION__CONVERT; + default: return -1; + } + } + if (baseClass == XmlConverterContainer.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__CONVERTERS: return EclipseLinkOrmPackage.XML_VERSION__CONVERTERS; + case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_VERSION__TYPE_CONVERTERS; + case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_VERSION__OBJECT_TYPE_CONVERTERS; + case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS: return EclipseLinkOrmPackage.XML_VERSION__STRUCT_CONVERTERS; + 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(", mutable: "); + result.append(mutable); + result.append(", convert: "); + result.append(convert); + result.append(')'); + return result.toString(); + } + + public TextRange getMutableTextRange() { + return getAttributeTextRange(EclipseLink.MUTABLE); + } + + 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.getXmlVersion(), + buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildNameTranslator(), + buildAccessTranslator(), + buildMutableTranslator(), + buildAttributeTypeTranslator(), + buildColumnTranslator(), + buildIndexTranslator(), + buildTemporalTranslator(), + buildConvertTranslator(), + buildConverterTranslator(), + buildTypeConverterTranslator(), + buildObjectTypeConverterTranslator(), + buildStructConverterTranslator(), + buildPropertyTranslator(), + buildAccessMethodsTranslator() + }; + } + + protected static Translator buildMutableTranslator() { + return new Translator(EclipseLink.MUTABLE, EclipseLinkOrmPackage.eINSTANCE.getXmlMutable_Mutable(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildIndexTranslator() { + return XmlIndex.buildTranslator(EclipseLink2_2.INDEX, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlVersion_2_2_Index()); + } + + 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 buildAttributeTypeTranslator() { + return new Translator(EclipseLink2_1.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_1.ATTRIBUTE_TYPE); + } + + public boolean attributeTypeTouches(int pos) { + TextRange textRange = this.getAttributeTypeCodeAssistTextRange(); + return (textRange != null) && (textRange.touches(pos)); + } + + // ******** virtual attribute ************ + + public void setVirtualAttributeTypes(String attributeType, String targetType) { + this.setAttributeType(attributeType); + } +} diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/EclipseLinkOrmV1_1Factory.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/EclipseLinkOrmV1_1Factory.java new file mode 100644 index 0000000000..e96e4dc88e --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/EclipseLinkOrmV1_1Factory.java @@ -0,0 +1,166 @@ +/******************************************************************************* + * 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.v1_1; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.impl.EFactoryImpl; +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +/** + * + * The Factory for the model. + * It provides a create method for each non-abstract class of the model. + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package + * @generated + */ +public class EclipseLinkOrmV1_1Factory extends EFactoryImpl +{ + /** + * The singleton instance of the factory. + * + * + * @generated + */ + public static final EclipseLinkOrmV1_1Factory eINSTANCE = init(); + + /** + * Creates the default factory implementation. + * + * + * @generated + */ + public static EclipseLinkOrmV1_1Factory init() + { + try + { + EclipseLinkOrmV1_1Factory theEclipseLinkOrmV1_1Factory = (EclipseLinkOrmV1_1Factory)EPackage.Registry.INSTANCE.getEFactory("jpt.eclipselink.orm.v1_1.xmi"); + if (theEclipseLinkOrmV1_1Factory != null) + { + return theEclipseLinkOrmV1_1Factory; + } + } + catch (Exception exception) + { + EcorePlugin.INSTANCE.log(exception); + } + return new EclipseLinkOrmV1_1Factory(); + } + + /** + * Creates an instance of the factory. + * + * + * @generated + */ + public EclipseLinkOrmV1_1Factory() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + public EObject create(EClass eClass) + { + switch (eClass.getClassifierID()) + { + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + @Override + public Object createFromString(EDataType eDataType, String initialValue) + { + switch (eDataType.getClassifierID()) + { + case EclipseLinkOrmV1_1Package.ID_VALIDATION_TYPE_11: + return createIdValidationType_1_1FromString(eDataType, initialValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + @Override + public String convertToString(EDataType eDataType, Object instanceValue) + { + switch (eDataType.getClassifierID()) + { + case EclipseLinkOrmV1_1Package.ID_VALIDATION_TYPE_11: + return convertIdValidationType_1_1ToString(eDataType, instanceValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + public IdValidationType_1_1 createIdValidationType_1_1FromString(EDataType eDataType, String initialValue) + { + IdValidationType_1_1 result = IdValidationType_1_1.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * + * + * @generated + */ + public String convertIdValidationType_1_1ToString(EDataType eDataType, Object instanceValue) + { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * + * + * @generated + */ + public EclipseLinkOrmV1_1Package getEclipseLinkOrmV1_1Package() + { + return (EclipseLinkOrmV1_1Package)getEPackage(); + } + + /** + * + * + * @deprecated + * @generated + */ + @Deprecated + public static EclipseLinkOrmV1_1Package getPackage() + { + return EclipseLinkOrmV1_1Package.eINSTANCE; + } + +} //EclipseLinkOrmV1_1Factory diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/EclipseLinkOrmV1_1Package.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/EclipseLinkOrmV1_1Package.java new file mode 100644 index 0000000000..2936907052 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/EclipseLinkOrmV1_1Package.java @@ -0,0 +1,694 @@ +/******************************************************************************* + * Copyright (c) 2009, 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.v1_1; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EEnum; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; +import org.eclipse.emf.ecore.impl.EPackageImpl; +import org.eclipse.jpt.jpa.core.resource.orm.OrmPackage; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package; + +/** + * + * The Package for the model. + * It contains accessors for the meta objects to represent + *
    + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • + *
+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Factory + * @model kind="package" + * @generated + */ +public class EclipseLinkOrmV1_1Package extends EPackageImpl +{ + /** + * The package name. + * + * + * @generated + */ + public static final String eNAME = "v1_1"; + + /** + * The package namespace URI. + * + * + * @generated + */ + public static final String eNS_URI = "jpt.eclipselink.orm.v1_1.xmi"; + + /** + * The package namespace name. + * + * + * @generated + */ + public static final String eNS_PREFIX = "org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1"; + + /** + * The singleton instance of the package. + * + * + * @generated + */ + public static final EclipseLinkOrmV1_1Package eINSTANCE = org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package.init(); + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlBasic_1_1 Xml Basic 11}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlBasic_1_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package#getXmlBasic_1_1() + * @generated + */ + public static final int XML_BASIC_11 = 0; + + /** + * The feature id for the 'Sequence Generator' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC_11__SEQUENCE_GENERATOR = OrmPackage.XML_GENERATOR_CONTAINER__SEQUENCE_GENERATOR; + + /** + * The feature id for the 'Table Generator' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC_11__TABLE_GENERATOR = OrmPackage.XML_GENERATOR_CONTAINER__TABLE_GENERATOR; + + /** + * The feature id for the 'Generated Value' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC_11__GENERATED_VALUE = OrmPackage.XML_GENERATOR_CONTAINER_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Xml Basic 11' class. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC_11_FEATURE_COUNT = OrmPackage.XML_GENERATOR_CONTAINER_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlEntity_1_1 Xml Entity 11}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlEntity_1_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package#getXmlEntity_1_1() + * @generated + */ + public static final int XML_ENTITY_11 = 1; + + /** + * The feature id for the 'Primary Key' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_11__PRIMARY_KEY = 0; + + /** + * The number of structural features of the 'Xml Entity 11' class. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_11_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlMappedSuperclass_1_1 Xml Mapped Superclass 11}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlMappedSuperclass_1_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package#getXmlMappedSuperclass_1_1() + * @generated + */ + public static final int XML_MAPPED_SUPERCLASS_11 = 2; + + /** + * The feature id for the 'Primary Key' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS_11__PRIMARY_KEY = 0; + + /** + * The number of structural features of the 'Xml Mapped Superclass 11' class. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS_11_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlPrimaryKey_1_1 Xml Primary Key 11}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlPrimaryKey_1_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package#getXmlPrimaryKey_1_1() + * @generated + */ + public static final int XML_PRIMARY_KEY_11 = 3; + + /** + * The feature id for the 'Validation' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_PRIMARY_KEY_11__VALIDATION = 0; + + /** + * The feature id for the 'Columns' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_PRIMARY_KEY_11__COLUMNS = 1; + + /** + * The number of structural features of the 'Xml Primary Key 11' class. + * + * + * @generated + * @ordered + */ + public static final int XML_PRIMARY_KEY_11_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.IdValidationType_1_1 Id Validation Type 11}' enum. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.IdValidationType_1_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package#getIdValidationType_1_1() + * @generated + */ + public static final int ID_VALIDATION_TYPE_11 = 4; + + /** + * + * + * @generated + */ + private EClass xmlBasic_1_1EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlEntity_1_1EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlMappedSuperclass_1_1EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlPrimaryKey_1_1EClass = null; + + /** + * + * + * @generated + */ + private EEnum idValidationType_1_1EEnum = null; + + /** + * Creates an instance of the model Package, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + *

Note: 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.v1_1.EclipseLinkOrmV1_1Package#eNS_URI + * @see #init() + * @generated + */ + private EclipseLinkOrmV1_1Package() + { + super(eNS_URI, EclipseLinkOrmV1_1Factory.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 EclipseLinkOrmV1_1Package#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 EclipseLinkOrmV1_1Package init() + { + if (isInited) return (EclipseLinkOrmV1_1Package)EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmV1_1Package.eNS_URI); + + // Obtain or create and register package + EclipseLinkOrmV1_1Package theEclipseLinkOrmV1_1Package = (EclipseLinkOrmV1_1Package)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof EclipseLinkOrmV1_1Package ? EPackage.Registry.INSTANCE.get(eNS_URI) : new EclipseLinkOrmV1_1Package()); + + isInited = true; + + // Initialize simple dependencies + OrmPackage.eINSTANCE.eClass(); + + // Obtain or create and register interdependencies + EclipseLinkOrmPackage theEclipseLinkOrmPackage = (EclipseLinkOrmPackage)(EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmPackage.eNS_URI) instanceof EclipseLinkOrmPackage ? EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmPackage.eNS_URI) : EclipseLinkOrmPackage.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 + theEclipseLinkOrmV1_1Package.createPackageContents(); + theEclipseLinkOrmPackage.createPackageContents(); + theEclipseLinkOrmV2_0Package.createPackageContents(); + theEclipseLinkOrmV2_1Package.createPackageContents(); + theEclipseLinkOrmV2_2Package.createPackageContents(); + theEclipseLinkOrmV2_3Package.createPackageContents(); + theEclipseLinkOrmV2_4Package.createPackageContents(); + + // Initialize created meta-data + theEclipseLinkOrmV1_1Package.initializePackageContents(); + theEclipseLinkOrmPackage.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 + theEclipseLinkOrmV1_1Package.freeze(); + + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(EclipseLinkOrmV1_1Package.eNS_URI, theEclipseLinkOrmV1_1Package); + return theEclipseLinkOrmV1_1Package; + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlBasic_1_1 Xml Basic 11}'. + * + * + * @return the meta object for class 'Xml Basic 11'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlBasic_1_1 + * @generated + */ + public EClass getXmlBasic_1_1() + { + return xmlBasic_1_1EClass; + } + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlBasic_1_1#getGeneratedValue Generated Value}'. + * + * + * @return the meta object for the containment reference 'Generated Value'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlBasic_1_1#getGeneratedValue() + * @see #getXmlBasic_1_1() + * @generated + */ + public EReference getXmlBasic_1_1_GeneratedValue() + { + return (EReference)xmlBasic_1_1EClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlEntity_1_1 Xml Entity 11}'. + * + * + * @return the meta object for class 'Xml Entity 11'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlEntity_1_1 + * @generated + */ + public EClass getXmlEntity_1_1() + { + return xmlEntity_1_1EClass; + } + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlEntity_1_1#getPrimaryKey Primary Key}'. + * + * + * @return the meta object for the containment reference 'Primary Key'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlEntity_1_1#getPrimaryKey() + * @see #getXmlEntity_1_1() + * @generated + */ + public EReference getXmlEntity_1_1_PrimaryKey() + { + return (EReference)xmlEntity_1_1EClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlMappedSuperclass_1_1 Xml Mapped Superclass 11}'. + * + * + * @return the meta object for class 'Xml Mapped Superclass 11'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlMappedSuperclass_1_1 + * @generated + */ + public EClass getXmlMappedSuperclass_1_1() + { + return xmlMappedSuperclass_1_1EClass; + } + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlMappedSuperclass_1_1#getPrimaryKey Primary Key}'. + * + * + * @return the meta object for the containment reference 'Primary Key'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlMappedSuperclass_1_1#getPrimaryKey() + * @see #getXmlMappedSuperclass_1_1() + * @generated + */ + public EReference getXmlMappedSuperclass_1_1_PrimaryKey() + { + return (EReference)xmlMappedSuperclass_1_1EClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlPrimaryKey_1_1 Xml Primary Key 11}'. + * + * + * @return the meta object for class 'Xml Primary Key 11'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlPrimaryKey_1_1 + * @generated + */ + public EClass getXmlPrimaryKey_1_1() + { + return xmlPrimaryKey_1_1EClass; + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlPrimaryKey_1_1#getValidation Validation}'. + * + * + * @return the meta object for the attribute 'Validation'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlPrimaryKey_1_1#getValidation() + * @see #getXmlPrimaryKey_1_1() + * @generated + */ + public EAttribute getXmlPrimaryKey_1_1_Validation() + { + return (EAttribute)xmlPrimaryKey_1_1EClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlPrimaryKey_1_1#getColumns Columns}'. + * + * + * @return the meta object for the containment reference list 'Columns'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlPrimaryKey_1_1#getColumns() + * @see #getXmlPrimaryKey_1_1() + * @generated + */ + public EReference getXmlPrimaryKey_1_1_Columns() + { + return (EReference)xmlPrimaryKey_1_1EClass.getEStructuralFeatures().get(1); + } + + /** + * Returns the meta object for enum '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.IdValidationType_1_1 Id Validation Type 11}'. + * + * + * @return the meta object for enum 'Id Validation Type 11'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.IdValidationType_1_1 + * @generated + */ + public EEnum getIdValidationType_1_1() + { + return idValidationType_1_1EEnum; + } + + /** + * Returns the factory that creates the instances of the model. + * + * + * @return the factory that creates the instances of the model. + * @generated + */ + public EclipseLinkOrmV1_1Factory getEclipseLinkOrmV1_1Factory() + { + return (EclipseLinkOrmV1_1Factory)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 + xmlBasic_1_1EClass = createEClass(XML_BASIC_11); + createEReference(xmlBasic_1_1EClass, XML_BASIC_11__GENERATED_VALUE); + + xmlEntity_1_1EClass = createEClass(XML_ENTITY_11); + createEReference(xmlEntity_1_1EClass, XML_ENTITY_11__PRIMARY_KEY); + + xmlMappedSuperclass_1_1EClass = createEClass(XML_MAPPED_SUPERCLASS_11); + createEReference(xmlMappedSuperclass_1_1EClass, XML_MAPPED_SUPERCLASS_11__PRIMARY_KEY); + + xmlPrimaryKey_1_1EClass = createEClass(XML_PRIMARY_KEY_11); + createEAttribute(xmlPrimaryKey_1_1EClass, XML_PRIMARY_KEY_11__VALIDATION); + createEReference(xmlPrimaryKey_1_1EClass, XML_PRIMARY_KEY_11__COLUMNS); + + // Create enums + idValidationType_1_1EEnum = createEEnum(ID_VALIDATION_TYPE_11); + } + + /** + * + * + * @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 + OrmPackage theOrmPackage = (OrmPackage)EPackage.Registry.INSTANCE.getEPackage(OrmPackage.eNS_URI); + EclipseLinkOrmPackage theEclipseLinkOrmPackage = (EclipseLinkOrmPackage)EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmPackage.eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + xmlBasic_1_1EClass.getESuperTypes().add(theOrmPackage.getXmlGeneratorContainer()); + + // Initialize classes and features; add operations and parameters + initEClass(xmlBasic_1_1EClass, XmlBasic_1_1.class, "XmlBasic_1_1", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlBasic_1_1_GeneratedValue(), theOrmPackage.getXmlGeneratedValue(), null, "generatedValue", null, 0, 1, XmlBasic_1_1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlEntity_1_1EClass, XmlEntity_1_1.class, "XmlEntity_1_1", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlEntity_1_1_PrimaryKey(), theEclipseLinkOrmPackage.getXmlPrimaryKey(), null, "primaryKey", null, 0, 1, XmlEntity_1_1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlMappedSuperclass_1_1EClass, XmlMappedSuperclass_1_1.class, "XmlMappedSuperclass_1_1", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlMappedSuperclass_1_1_PrimaryKey(), theEclipseLinkOrmPackage.getXmlPrimaryKey(), null, "primaryKey", null, 0, 1, XmlMappedSuperclass_1_1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlPrimaryKey_1_1EClass, XmlPrimaryKey_1_1.class, "XmlPrimaryKey_1_1", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlPrimaryKey_1_1_Validation(), this.getIdValidationType_1_1(), "validation", null, 0, 1, XmlPrimaryKey_1_1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlPrimaryKey_1_1_Columns(), theOrmPackage.getXmlColumn(), null, "columns", null, 0, -1, XmlPrimaryKey_1_1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + // Initialize enums and add enum literals + initEEnum(idValidationType_1_1EEnum, IdValidationType_1_1.class, "IdValidationType_1_1"); + addEEnumLiteral(idValidationType_1_1EEnum, IdValidationType_1_1.NULL); + addEEnumLiteral(idValidationType_1_1EEnum, IdValidationType_1_1.ZERO); + addEEnumLiteral(idValidationType_1_1EEnum, IdValidationType_1_1.NONE); + } + + /** + * + * Defines literals for the meta objects that represent + *

    + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • + *
+ * + * @generated + */ + public interface Literals + { + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlBasic_1_1 Xml Basic 11}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlBasic_1_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package#getXmlBasic_1_1() + * @generated + */ + public static final EClass XML_BASIC_11 = eINSTANCE.getXmlBasic_1_1(); + + /** + * The meta object literal for the 'Generated Value' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_BASIC_11__GENERATED_VALUE = eINSTANCE.getXmlBasic_1_1_GeneratedValue(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlEntity_1_1 Xml Entity 11}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlEntity_1_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package#getXmlEntity_1_1() + * @generated + */ + public static final EClass XML_ENTITY_11 = eINSTANCE.getXmlEntity_1_1(); + + /** + * The meta object literal for the 'Primary Key' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_ENTITY_11__PRIMARY_KEY = eINSTANCE.getXmlEntity_1_1_PrimaryKey(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlMappedSuperclass_1_1 Xml Mapped Superclass 11}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlMappedSuperclass_1_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package#getXmlMappedSuperclass_1_1() + * @generated + */ + public static final EClass XML_MAPPED_SUPERCLASS_11 = eINSTANCE.getXmlMappedSuperclass_1_1(); + + /** + * The meta object literal for the 'Primary Key' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_MAPPED_SUPERCLASS_11__PRIMARY_KEY = eINSTANCE.getXmlMappedSuperclass_1_1_PrimaryKey(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlPrimaryKey_1_1 Xml Primary Key 11}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlPrimaryKey_1_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package#getXmlPrimaryKey_1_1() + * @generated + */ + public static final EClass XML_PRIMARY_KEY_11 = eINSTANCE.getXmlPrimaryKey_1_1(); + + /** + * The meta object literal for the 'Validation' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_PRIMARY_KEY_11__VALIDATION = eINSTANCE.getXmlPrimaryKey_1_1_Validation(); + + /** + * The meta object literal for the 'Columns' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_PRIMARY_KEY_11__COLUMNS = eINSTANCE.getXmlPrimaryKey_1_1_Columns(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.IdValidationType_1_1 Id Validation Type 11}' enum. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.IdValidationType_1_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package#getIdValidationType_1_1() + * @generated + */ + public static final EEnum ID_VALIDATION_TYPE_11 = eINSTANCE.getIdValidationType_1_1(); + + } + +} //EclipseLinkOrmV1_1Package diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/IdValidationType_1_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/IdValidationType_1_1.java new file mode 100644 index 0000000000..86526aa17f --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/IdValidationType_1_1.java @@ -0,0 +1,257 @@ +/******************************************************************************* + * 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.v1_1; + +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 'Id Validation Type 11', + * and utility methods for working with them. + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package#getIdValidationType_1_1() + * @model + * @generated + */ +public enum IdValidationType_1_1 implements Enumerator +{ + /** + * The 'NULL' literal object. + * + * + * @see #NULL_VALUE + * @generated + * @ordered + */ + NULL(0, "NULL", "NULL"), + + /** + * The 'ZERO' literal object. + * + * + * @see #ZERO_VALUE + * @generated + * @ordered + */ + ZERO(2, "ZERO", "ZERO"), + + /** + * The 'NONE' literal object. + * + * + * @see #NONE_VALUE + * @generated + * @ordered + */ + NONE(2, "NONE", "NONE"); + + /** + * The 'NULL' literal value. + * + *

+ * If the meaning of 'NULL' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #NULL + * @model + * @generated + * @ordered + */ + public static final int NULL_VALUE = 0; + + /** + * The 'ZERO' literal value. + * + *

+ * If the meaning of 'ZERO' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #ZERO + * @model + * @generated + * @ordered + */ + public static final int ZERO_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 = 2; + + /** + * An array of all the 'Id Validation Type 11' enumerators. + * + * + * @generated + */ + private static final IdValidationType_1_1[] VALUES_ARRAY = + new IdValidationType_1_1[] + { + NULL, + ZERO, + NONE, + }; + + /** + * A public read-only list of all the 'Id Validation Type 11' enumerators. + * + * + * @generated + */ + public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the 'Id Validation Type 11' literal with the specified literal value. + * + * + * @generated + */ + public static IdValidationType_1_1 get(String literal) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + IdValidationType_1_1 result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Id Validation Type 11' literal with the specified name. + * + * + * @generated + */ + public static IdValidationType_1_1 getByName(String name) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + IdValidationType_1_1 result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Id Validation Type 11' literal with the specified integer value. + * + * + * @generated + */ + public static IdValidationType_1_1 get(int value) + { + switch (value) + { + case NULL_VALUE: return NULL; + case ZERO_VALUE: return ZERO; + } + return null; + } + + /** + * + * + * @generated + */ + private final int value; + + /** + * + * + * @generated + */ + private final String name; + + /** + * + * + * @generated + */ + private final String literal; + + /** + * Only this class can construct instances. + * + * + * @generated + */ + private IdValidationType_1_1(int value, String name, String literal) + { + this.value = value; + this.name = name; + this.literal = literal; + } + + /** + * + * + * @generated + */ + public int getValue() + { + return value; + } + + /** + * + * + * @generated + */ + public String getName() + { + return name; + } + + /** + * + * + * @generated + */ + public String getLiteral() + { + return literal; + } + + /** + * Returns the literal value of the enumerator, which is its string representation. + * + * + * @generated + */ + @Override + public String toString() + { + return literal; + } + +} //IdValidationType_1_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/XmlBasic_1_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/XmlBasic_1_1.java new file mode 100644 index 0000000000..62f5765c4a --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/XmlBasic_1_1.java @@ -0,0 +1,61 @@ +/******************************************************************************* + * 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.v1_1; + +import org.eclipse.jpt.jpa.core.resource.orm.XmlGeneratedValue; +import org.eclipse.jpt.jpa.core.resource.orm.XmlGeneratorContainer; + +/** + * + * A representation of the model object 'Xml Basic 11'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlBasic_1_1#getGeneratedValue Generated Value}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package#getXmlBasic_1_1() + * @model kind="class" interface="true" abstract="true" + * @generated + */ +public interface XmlBasic_1_1 extends XmlGeneratorContainer +{ + /** + * 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.v1_1.EclipseLinkOrmV1_1Package#getXmlBasic_1_1_GeneratedValue() + * @model containment="true" + * @generated + */ + XmlGeneratedValue getGeneratedValue(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlBasic_1_1#getGeneratedValue Generated Value}' containment reference. + * + * + * @param value the new value of the 'Generated Value' containment reference. + * @see #getGeneratedValue() + * @generated + */ + void setGeneratedValue(XmlGeneratedValue value); + +} // XmlBasic_1_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/XmlEntity_1_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/XmlEntity_1_1.java new file mode 100644 index 0000000000..b51c17d0d9 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/XmlEntity_1_1.java @@ -0,0 +1,62 @@ +/******************************************************************************* + * Copyright (c) 2009, 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.v1_1; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPrimaryKey; + +/** + * + * A representation of the model object 'Xml Entity 11'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlEntity_1_1#getPrimaryKey Primary Key}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package#getXmlEntity_1_1() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlEntity_1_1 extends EBaseObject +{ + /** + * Returns the value of the 'Primary Key' containment reference. + * + *

+ * 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.v1_1.EclipseLinkOrmV1_1Package#getXmlEntity_1_1_PrimaryKey() + * @model containment="true" + * @generated + */ + XmlPrimaryKey getPrimaryKey(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlEntity_1_1#getPrimaryKey Primary Key}' containment reference. + * + * + * @param value the new value of the 'Primary Key' containment reference. + * @see #getPrimaryKey() + * @generated + */ + void setPrimaryKey(XmlPrimaryKey value); + +} // XmlEntity_1_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/XmlMappedSuperclass_1_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/XmlMappedSuperclass_1_1.java new file mode 100644 index 0000000000..424061e65e --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/XmlMappedSuperclass_1_1.java @@ -0,0 +1,62 @@ +/******************************************************************************* + * 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.v1_1; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPrimaryKey; + +/** + * + * A representation of the model object 'Xml Mapped Superclass 11'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlMappedSuperclass_1_1#getPrimaryKey Primary Key}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package#getXmlMappedSuperclass_1_1() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlMappedSuperclass_1_1 extends EBaseObject +{ + /** + * Returns the value of the 'Primary Key' containment reference. + * + *

+ * 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.v1_1.EclipseLinkOrmV1_1Package#getXmlMappedSuperclass_1_1_PrimaryKey() + * @model containment="true" + * @generated + */ + XmlPrimaryKey getPrimaryKey(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlMappedSuperclass_1_1#getPrimaryKey Primary Key}' containment reference. + * + * + * @param value the new value of the 'Primary Key' containment reference. + * @see #getPrimaryKey() + * @generated + */ + void setPrimaryKey(XmlPrimaryKey value); + +} // XmlMappedSuperclass_1_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/XmlPrimaryKey_1_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/XmlPrimaryKey_1_1.java new file mode 100644 index 0000000000..23c33b4f92 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/XmlPrimaryKey_1_1.java @@ -0,0 +1,83 @@ +/******************************************************************************* + * 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.v1_1; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; +import org.eclipse.jpt.jpa.core.resource.orm.XmlColumn; + +/** + * + * A representation of the model object 'Xml Primary Key 11'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlPrimaryKey_1_1#getValidation Validation}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlPrimaryKey_1_1#getColumns Columns}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package#getXmlPrimaryKey_1_1() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlPrimaryKey_1_1 extends EBaseObject +{ + /** + * Returns the value of the 'Validation' attribute. + * The literals are from the enumeration {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.IdValidationType_1_1}. + * + *

+ * If the meaning of the 'Validation' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Validation' attribute. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.IdValidationType_1_1 + * @see #setValidation(IdValidationType_1_1) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package#getXmlPrimaryKey_1_1_Validation() + * @model + * @generated + */ + IdValidationType_1_1 getValidation(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlPrimaryKey_1_1#getValidation Validation}' attribute. + * + * + * @param value the new value of the 'Validation' attribute. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.IdValidationType_1_1 + * @see #getValidation() + * @generated + */ + void setValidation(IdValidationType_1_1 value); + + /** + * Returns the value of the 'Columns' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.core.resource.orm.XmlColumn}. + * + *

+ * If the meaning of the 'Columns' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Columns' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package#getXmlPrimaryKey_1_1_Columns() + * @model containment="true" + * @generated + */ + EList getColumns(); + +} // XmlPrimaryKey_1_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/EclipseLinkOrmV2_0Factory.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/EclipseLinkOrmV2_0Factory.java new file mode 100644 index 0000000000..9c17c127d4 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/EclipseLinkOrmV2_0Factory.java @@ -0,0 +1,166 @@ +/******************************************************************************* + * 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.v2_0; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.impl.EFactoryImpl; +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +/** + * + * The Factory for the model. + * It provides a create method for each non-abstract class of the model. + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package + * @generated + */ +public class EclipseLinkOrmV2_0Factory extends EFactoryImpl +{ + /** + * The singleton instance of the factory. + * + * + * @generated + */ + public static final EclipseLinkOrmV2_0Factory eINSTANCE = init(); + + /** + * Creates the default factory implementation. + * + * + * @generated + */ + public static EclipseLinkOrmV2_0Factory init() + { + try + { + EclipseLinkOrmV2_0Factory theEclipseLinkOrmV2_0Factory = (EclipseLinkOrmV2_0Factory)EPackage.Registry.INSTANCE.getEFactory("jpt.eclipselink.orm.v2_0.xmi"); + if (theEclipseLinkOrmV2_0Factory != null) + { + return theEclipseLinkOrmV2_0Factory; + } + } + catch (Exception exception) + { + EcorePlugin.INSTANCE.log(exception); + } + return new EclipseLinkOrmV2_0Factory(); + } + + /** + * Creates an instance of the factory. + * + * + * @generated + */ + public EclipseLinkOrmV2_0Factory() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + public EObject create(EClass eClass) + { + switch (eClass.getClassifierID()) + { + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + @Override + public Object createFromString(EDataType eDataType, String initialValue) + { + switch (eDataType.getClassifierID()) + { + case EclipseLinkOrmV2_0Package.ORDER_CORRECTION_TYPE_20: + return createOrderCorrectionType_2_0FromString(eDataType, initialValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + @Override + public String convertToString(EDataType eDataType, Object instanceValue) + { + switch (eDataType.getClassifierID()) + { + case EclipseLinkOrmV2_0Package.ORDER_CORRECTION_TYPE_20: + return convertOrderCorrectionType_2_0ToString(eDataType, instanceValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + public OrderCorrectionType_2_0 createOrderCorrectionType_2_0FromString(EDataType eDataType, String initialValue) + { + OrderCorrectionType_2_0 result = OrderCorrectionType_2_0.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * + * + * @generated + */ + public String convertOrderCorrectionType_2_0ToString(EDataType eDataType, Object instanceValue) + { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * + * + * @generated + */ + public EclipseLinkOrmV2_0Package getEclipseLinkOrmV2_0Package() + { + return (EclipseLinkOrmV2_0Package)getEPackage(); + } + + /** + * + * + * @deprecated + * @generated + */ + @Deprecated + public static EclipseLinkOrmV2_0Package getPackage() + { + return EclipseLinkOrmV2_0Package.eINSTANCE; + } + +} //EclipseLinkOrmV2_0Factory diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/EclipseLinkOrmV2_0Package.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/EclipseLinkOrmV2_0Package.java new file mode 100644 index 0000000000..aee52d62c8 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/EclipseLinkOrmV2_0Package.java @@ -0,0 +1,1531 @@ +/******************************************************************************* + * Copyright (c) 2009, 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.v2_0; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EEnum; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; +import org.eclipse.emf.ecore.impl.EPackageImpl; +import org.eclipse.emf.ecore.xml.type.XMLTypePackage; +import org.eclipse.jpt.jpa.core.resource.orm.OrmPackage; +import org.eclipse.jpt.jpa.core.resource.orm.v2_0.OrmV2_0Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package; + +/** + * + * The Package for the model. + * It contains accessors for the meta objects to represent + *
    + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • + *
+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Factory + * @model kind="package" + * @generated + */ +public class EclipseLinkOrmV2_0Package extends EPackageImpl +{ + /** + * The package name. + * + * + * @generated + */ + public static final String eNAME = "v2_0"; + + /** + * The package namespace URI. + * + * + * @generated + */ + public static final String eNS_URI = "jpt.eclipselink.orm.v2_0.xmi"; + + /** + * The package namespace name. + * + * + * @generated + */ + public static final String eNS_PREFIX = "org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0"; + + /** + * The singleton instance of the package. + * + * + * @generated + */ + public static final EclipseLinkOrmV2_0Package eINSTANCE = org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package.init(); + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlMapKeyAssociationOverrideContainer_2_0 Xml Map Key Association Override Container 20}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlMapKeyAssociationOverrideContainer_2_0 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlMapKeyAssociationOverrideContainer_2_0() + * @generated + */ + public static final int XML_MAP_KEY_ASSOCIATION_OVERRIDE_CONTAINER_20 = 4; + + /** + * The feature id for the 'Map Key Association Overrides' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MAP_KEY_ASSOCIATION_OVERRIDE_CONTAINER_20__MAP_KEY_ASSOCIATION_OVERRIDES = 0; + + /** + * The number of structural features of the 'Xml Map Key Association Override Container 20' class. + * + * + * @generated + * @ordered + */ + public static final int XML_MAP_KEY_ASSOCIATION_OVERRIDE_CONTAINER_20_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlCollectionMapping_2_0 Xml Collection Mapping 20}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlCollectionMapping_2_0 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlCollectionMapping_2_0() + * @generated + */ + public static final int XML_COLLECTION_MAPPING_20 = 0; + + /** + * The feature id for the 'Map Key Association Overrides' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_COLLECTION_MAPPING_20__MAP_KEY_ASSOCIATION_OVERRIDES = XML_MAP_KEY_ASSOCIATION_OVERRIDE_CONTAINER_20__MAP_KEY_ASSOCIATION_OVERRIDES; + + /** + * The feature id for the 'Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_COLLECTION_MAPPING_20__CONVERTERS = XML_MAP_KEY_ASSOCIATION_OVERRIDE_CONTAINER_20_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Type Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_COLLECTION_MAPPING_20__TYPE_CONVERTERS = XML_MAP_KEY_ASSOCIATION_OVERRIDE_CONTAINER_20_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Object Type Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_COLLECTION_MAPPING_20__OBJECT_TYPE_CONVERTERS = XML_MAP_KEY_ASSOCIATION_OVERRIDE_CONTAINER_20_FEATURE_COUNT + 2; + + /** + * The feature id for the 'Struct Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_COLLECTION_MAPPING_20__STRUCT_CONVERTERS = XML_MAP_KEY_ASSOCIATION_OVERRIDE_CONTAINER_20_FEATURE_COUNT + 3; + + /** + * The feature id for the 'Map Key Convert' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_COLLECTION_MAPPING_20__MAP_KEY_CONVERT = XML_MAP_KEY_ASSOCIATION_OVERRIDE_CONTAINER_20_FEATURE_COUNT + 4; + + /** + * The number of structural features of the 'Xml Collection Mapping 20' class. + * + * + * @generated + * @ordered + */ + public static final int XML_COLLECTION_MAPPING_20_FEATURE_COUNT = XML_MAP_KEY_ASSOCIATION_OVERRIDE_CONTAINER_20_FEATURE_COUNT + 5; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlElementCollection_2_0 Xml Element Collection 20}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlElementCollection_2_0 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlElementCollection_2_0() + * @generated + */ + public static final int XML_ELEMENT_COLLECTION_20 = 1; + + /** + * The feature id for the 'Access' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION_20__ACCESS = EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ACCESS; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION_20__NAME = EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__NAME; + + /** + * The feature id for the 'Access Methods' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION_20__ACCESS_METHODS = EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ACCESS_METHODS; + + /** + * The feature id for the 'Properties' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION_20__PROPERTIES = EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__PROPERTIES; + + /** + * The feature id for the 'Attribute Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION_20__ATTRIBUTE_TYPE = EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE; + + /** + * The feature id for the 'Lob' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION_20__LOB = EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Temporal' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION_20__TEMPORAL = EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Enumerated' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION_20__ENUMERATED = EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 2; + + /** + * The feature id for the 'Convert' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION_20__CONVERT = EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 3; + + /** + * The feature id for the 'Map Key Association Overrides' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION_20__MAP_KEY_ASSOCIATION_OVERRIDES = EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 4; + + /** + * The feature id for the 'Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION_20__CONVERTERS = EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 5; + + /** + * The feature id for the 'Type Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION_20__TYPE_CONVERTERS = EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 6; + + /** + * The feature id for the 'Object Type Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION_20__OBJECT_TYPE_CONVERTERS = EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 7; + + /** + * The feature id for the 'Struct Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION_20__STRUCT_CONVERTERS = EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 8; + + /** + * The feature id for the 'Map Key Convert' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION_20__MAP_KEY_CONVERT = EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 9; + + /** + * The number of structural features of the 'Xml Element Collection 20' class. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION_20_FEATURE_COUNT = EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 10; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlEntity_2_0 Xml Entity 20}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlEntity_2_0 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlEntity_2_0() + * @generated + */ + public static final int XML_ENTITY_20 = 2; + + /** + * The feature id for the 'Cache Interceptor' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_20__CACHE_INTERCEPTOR = 0; + + /** + * The feature id for the 'Query Redirectors' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_20__QUERY_REDIRECTORS = 1; + + /** + * The number of structural features of the 'Xml Entity 20' class. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_20_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlManyToMany_2_0 Xml Many To Many 20}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlManyToMany_2_0 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlManyToMany_2_0() + * @generated + */ + public static final int XML_MANY_TO_MANY_20 = 3; + + /** + * The feature id for the 'Map Key Association Overrides' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY_20__MAP_KEY_ASSOCIATION_OVERRIDES = XML_COLLECTION_MAPPING_20__MAP_KEY_ASSOCIATION_OVERRIDES; + + /** + * The feature id for the 'Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY_20__CONVERTERS = XML_COLLECTION_MAPPING_20__CONVERTERS; + + /** + * The feature id for the 'Type Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY_20__TYPE_CONVERTERS = XML_COLLECTION_MAPPING_20__TYPE_CONVERTERS; + + /** + * The feature id for the 'Object Type Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY_20__OBJECT_TYPE_CONVERTERS = XML_COLLECTION_MAPPING_20__OBJECT_TYPE_CONVERTERS; + + /** + * The feature id for the 'Struct Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY_20__STRUCT_CONVERTERS = XML_COLLECTION_MAPPING_20__STRUCT_CONVERTERS; + + /** + * The feature id for the 'Map Key Convert' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY_20__MAP_KEY_CONVERT = XML_COLLECTION_MAPPING_20__MAP_KEY_CONVERT; + + /** + * The number of structural features of the 'Xml Many To Many 20' class. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY_20_FEATURE_COUNT = XML_COLLECTION_MAPPING_20_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlMappedSuperclass_2_0 Xml Mapped Superclass 20}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlMappedSuperclass_2_0 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlMappedSuperclass_2_0() + * @generated + */ + public static final int XML_MAPPED_SUPERCLASS_20 = 5; + + /** + * The feature id for the 'Cacheable' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS_20__CACHEABLE = OrmV2_0Package.XML_CACHEABLE_20__CACHEABLE; + + /** + * The feature id for the 'Cache Interceptor' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS_20__CACHE_INTERCEPTOR = OrmV2_0Package.XML_CACHEABLE_20_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Xml Mapped Superclass 20' class. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS_20_FEATURE_COUNT = OrmV2_0Package.XML_CACHEABLE_20_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlOneToMany_2_0 Xml One To Many 20}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlOneToMany_2_0 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlOneToMany_2_0() + * @generated + */ + public static final int XML_ONE_TO_MANY_20 = 6; + + /** + * The feature id for the 'Map Key Association Overrides' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY_20__MAP_KEY_ASSOCIATION_OVERRIDES = XML_COLLECTION_MAPPING_20__MAP_KEY_ASSOCIATION_OVERRIDES; + + /** + * The feature id for the 'Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY_20__CONVERTERS = XML_COLLECTION_MAPPING_20__CONVERTERS; + + /** + * The feature id for the 'Type Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY_20__TYPE_CONVERTERS = XML_COLLECTION_MAPPING_20__TYPE_CONVERTERS; + + /** + * The feature id for the 'Object Type Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY_20__OBJECT_TYPE_CONVERTERS = XML_COLLECTION_MAPPING_20__OBJECT_TYPE_CONVERTERS; + + /** + * The feature id for the 'Struct Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY_20__STRUCT_CONVERTERS = XML_COLLECTION_MAPPING_20__STRUCT_CONVERTERS; + + /** + * The feature id for the 'Map Key Convert' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY_20__MAP_KEY_CONVERT = XML_COLLECTION_MAPPING_20__MAP_KEY_CONVERT; + + /** + * The number of structural features of the 'Xml One To Many 20' class. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY_20_FEATURE_COUNT = XML_COLLECTION_MAPPING_20_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlOrderColumn_2_0 Xml Order Column 20}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlOrderColumn_2_0 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlOrderColumn_2_0() + * @generated + */ + public static final int XML_ORDER_COLUMN_20 = 7; + + /** + * The feature id for the 'Correction Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ORDER_COLUMN_20__CORRECTION_TYPE = 0; + + /** + * The number of structural features of the 'Xml Order Column 20' class. + * + * + * @generated + * @ordered + */ + public static final int XML_ORDER_COLUMN_20_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0 Xml Query Redirectors 20}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlQueryRedirectors_2_0() + * @generated + */ + public static final int XML_QUERY_REDIRECTORS_20 = 8; + + /** + * The feature id for the 'All Queries' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_QUERY_REDIRECTORS_20__ALL_QUERIES = 0; + + /** + * The feature id for the 'Read All' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_QUERY_REDIRECTORS_20__READ_ALL = 1; + + /** + * The feature id for the 'Read Object' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_QUERY_REDIRECTORS_20__READ_OBJECT = 2; + + /** + * The feature id for the 'Report' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_QUERY_REDIRECTORS_20__REPORT = 3; + + /** + * The feature id for the 'Update' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_QUERY_REDIRECTORS_20__UPDATE = 4; + + /** + * The feature id for the 'Insert' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_QUERY_REDIRECTORS_20__INSERT = 5; + + /** + * The feature id for the 'Delete' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_QUERY_REDIRECTORS_20__DELETE = 6; + + /** + * The number of structural features of the 'Xml Query Redirectors 20' class. + * + * + * @generated + * @ordered + */ + public static final int XML_QUERY_REDIRECTORS_20_FEATURE_COUNT = 7; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.OrderCorrectionType_2_0 Order Correction Type 20}' enum. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.OrderCorrectionType_2_0 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getOrderCorrectionType_2_0() + * @generated + */ + public static final int ORDER_CORRECTION_TYPE_20 = 9; + + /** + * + * + * @generated + */ + private EClass xmlCollectionMapping_2_0EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlElementCollection_2_0EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlEntity_2_0EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlManyToMany_2_0EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlMapKeyAssociationOverrideContainer_2_0EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlMappedSuperclass_2_0EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlOneToMany_2_0EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlOrderColumn_2_0EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlQueryRedirectors_2_0EClass = null; + + /** + * + * + * @generated + */ + private EEnum orderCorrectionType_2_0EEnum = null; + + /** + * Creates an instance of the model Package, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + *

Note: 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.v2_0.EclipseLinkOrmV2_0Package#eNS_URI + * @see #init() + * @generated + */ + private EclipseLinkOrmV2_0Package() + { + super(eNS_URI, EclipseLinkOrmV2_0Factory.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 EclipseLinkOrmV2_0Package#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 EclipseLinkOrmV2_0Package init() + { + if (isInited) return (EclipseLinkOrmV2_0Package)EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmV2_0Package.eNS_URI); + + // Obtain or create and register package + EclipseLinkOrmV2_0Package theEclipseLinkOrmV2_0Package = (EclipseLinkOrmV2_0Package)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof EclipseLinkOrmV2_0Package ? EPackage.Registry.INSTANCE.get(eNS_URI) : new EclipseLinkOrmV2_0Package()); + + isInited = true; + + // Initialize simple dependencies + OrmPackage.eINSTANCE.eClass(); + XMLTypePackage.eINSTANCE.eClass(); + + // Obtain or create and register interdependencies + EclipseLinkOrmPackage theEclipseLinkOrmPackage = (EclipseLinkOrmPackage)(EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmPackage.eNS_URI) instanceof EclipseLinkOrmPackage ? EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmPackage.eNS_URI) : EclipseLinkOrmPackage.eINSTANCE); + 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_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 + theEclipseLinkOrmV2_0Package.createPackageContents(); + theEclipseLinkOrmPackage.createPackageContents(); + theEclipseLinkOrmV1_1Package.createPackageContents(); + theEclipseLinkOrmV2_1Package.createPackageContents(); + theEclipseLinkOrmV2_2Package.createPackageContents(); + theEclipseLinkOrmV2_3Package.createPackageContents(); + theEclipseLinkOrmV2_4Package.createPackageContents(); + + // Initialize created meta-data + theEclipseLinkOrmV2_0Package.initializePackageContents(); + theEclipseLinkOrmPackage.initializePackageContents(); + theEclipseLinkOrmV1_1Package.initializePackageContents(); + theEclipseLinkOrmV2_1Package.initializePackageContents(); + theEclipseLinkOrmV2_2Package.initializePackageContents(); + theEclipseLinkOrmV2_3Package.initializePackageContents(); + theEclipseLinkOrmV2_4Package.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theEclipseLinkOrmV2_0Package.freeze(); + + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(EclipseLinkOrmV2_0Package.eNS_URI, theEclipseLinkOrmV2_0Package); + return theEclipseLinkOrmV2_0Package; + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlCollectionMapping_2_0 Xml Collection Mapping 20}'. + * + * + * @return the meta object for class 'Xml Collection Mapping 20'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlCollectionMapping_2_0 + * @generated + */ + public EClass getXmlCollectionMapping_2_0() + { + return xmlCollectionMapping_2_0EClass; + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlCollectionMapping_2_0#getMapKeyConvert Map Key Convert}'. + * + * + * @return the meta object for the attribute 'Map Key Convert'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlCollectionMapping_2_0#getMapKeyConvert() + * @see #getXmlCollectionMapping_2_0() + * @generated + */ + public EAttribute getXmlCollectionMapping_2_0_MapKeyConvert() + { + return (EAttribute)xmlCollectionMapping_2_0EClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlElementCollection_2_0 Xml Element Collection 20}'. + * + * + * @return the meta object for class 'Xml Element Collection 20'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlElementCollection_2_0 + * @generated + */ + public EClass getXmlElementCollection_2_0() + { + return xmlElementCollection_2_0EClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlEntity_2_0 Xml Entity 20}'. + * + * + * @return the meta object for class 'Xml Entity 20'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlEntity_2_0 + * @generated + */ + public EClass getXmlEntity_2_0() + { + return xmlEntity_2_0EClass; + } + + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlEntity_2_0#getCacheInterceptor Cache Interceptor}'. + * + * + * @return the meta object for the containment reference 'Cache Interceptor'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlEntity_2_0#getCacheInterceptor() + * @see #getXmlEntity_2_0() + * @generated + */ + public EReference getXmlEntity_2_0_CacheInterceptor() + { + return (EReference)xmlEntity_2_0EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlEntity_2_0#getQueryRedirectors Query Redirectors}'. + * + * + * @return the meta object for the containment reference 'Query Redirectors'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlEntity_2_0#getQueryRedirectors() + * @see #getXmlEntity_2_0() + * @generated + */ + public EReference getXmlEntity_2_0_QueryRedirectors() + { + return (EReference)xmlEntity_2_0EClass.getEStructuralFeatures().get(1); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlManyToMany_2_0 Xml Many To Many 20}'. + * + * + * @return the meta object for class 'Xml Many To Many 20'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlManyToMany_2_0 + * @generated + */ + public EClass getXmlManyToMany_2_0() + { + return xmlManyToMany_2_0EClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlMapKeyAssociationOverrideContainer_2_0 Xml Map Key Association Override Container 20}'. + * + * + * @return the meta object for class 'Xml Map Key Association Override Container 20'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlMapKeyAssociationOverrideContainer_2_0 + * @generated + */ + public EClass getXmlMapKeyAssociationOverrideContainer_2_0() + { + return xmlMapKeyAssociationOverrideContainer_2_0EClass; + } + + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlMapKeyAssociationOverrideContainer_2_0#getMapKeyAssociationOverrides Map Key Association Overrides}'. + * + * + * @return the meta object for the containment reference list 'Map Key Association Overrides'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlMapKeyAssociationOverrideContainer_2_0#getMapKeyAssociationOverrides() + * @see #getXmlMapKeyAssociationOverrideContainer_2_0() + * @generated + */ + public EReference getXmlMapKeyAssociationOverrideContainer_2_0_MapKeyAssociationOverrides() + { + return (EReference)xmlMapKeyAssociationOverrideContainer_2_0EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlMappedSuperclass_2_0 Xml Mapped Superclass 20}'. + * + * + * @return the meta object for class 'Xml Mapped Superclass 20'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlMappedSuperclass_2_0 + * @generated + */ + public EClass getXmlMappedSuperclass_2_0() + { + return xmlMappedSuperclass_2_0EClass; + } + + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlMappedSuperclass_2_0#getCacheInterceptor Cache Interceptor}'. + * + * + * @return the meta object for the containment reference 'Cache Interceptor'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlMappedSuperclass_2_0#getCacheInterceptor() + * @see #getXmlMappedSuperclass_2_0() + * @generated + */ + public EReference getXmlMappedSuperclass_2_0_CacheInterceptor() + { + return (EReference)xmlMappedSuperclass_2_0EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlOneToMany_2_0 Xml One To Many 20}'. + * + * + * @return the meta object for class 'Xml One To Many 20'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlOneToMany_2_0 + * @generated + */ + public EClass getXmlOneToMany_2_0() + { + return xmlOneToMany_2_0EClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlOrderColumn_2_0 Xml Order Column 20}'. + * + * + * @return the meta object for class 'Xml Order Column 20'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlOrderColumn_2_0 + * @generated + */ + public EClass getXmlOrderColumn_2_0() + { + return xmlOrderColumn_2_0EClass; + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlOrderColumn_2_0#getCorrectionType Correction Type}'. + * + * + * @return the meta object for the attribute 'Correction Type'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlOrderColumn_2_0#getCorrectionType() + * @see #getXmlOrderColumn_2_0() + * @generated + */ + public EAttribute getXmlOrderColumn_2_0_CorrectionType() + { + return (EAttribute)xmlOrderColumn_2_0EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0 Xml Query Redirectors 20}'. + * + * + * @return the meta object for class 'Xml Query Redirectors 20'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0 + * @generated + */ + public EClass getXmlQueryRedirectors_2_0() + { + return xmlQueryRedirectors_2_0EClass; + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getAllQueries All Queries}'. + * + * + * @return the meta object for the attribute 'All Queries'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getAllQueries() + * @see #getXmlQueryRedirectors_2_0() + * @generated + */ + public EAttribute getXmlQueryRedirectors_2_0_AllQueries() + { + return (EAttribute)xmlQueryRedirectors_2_0EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getReadAll Read All}'. + * + * + * @return the meta object for the attribute 'Read All'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getReadAll() + * @see #getXmlQueryRedirectors_2_0() + * @generated + */ + public EAttribute getXmlQueryRedirectors_2_0_ReadAll() + { + return (EAttribute)xmlQueryRedirectors_2_0EClass.getEStructuralFeatures().get(1); + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getReadObject Read Object}'. + * + * + * @return the meta object for the attribute 'Read Object'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getReadObject() + * @see #getXmlQueryRedirectors_2_0() + * @generated + */ + public EAttribute getXmlQueryRedirectors_2_0_ReadObject() + { + return (EAttribute)xmlQueryRedirectors_2_0EClass.getEStructuralFeatures().get(2); + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getReport Report}'. + * + * + * @return the meta object for the attribute 'Report'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getReport() + * @see #getXmlQueryRedirectors_2_0() + * @generated + */ + public EAttribute getXmlQueryRedirectors_2_0_Report() + { + return (EAttribute)xmlQueryRedirectors_2_0EClass.getEStructuralFeatures().get(3); + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getUpdate Update}'. + * + * + * @return the meta object for the attribute 'Update'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getUpdate() + * @see #getXmlQueryRedirectors_2_0() + * @generated + */ + public EAttribute getXmlQueryRedirectors_2_0_Update() + { + return (EAttribute)xmlQueryRedirectors_2_0EClass.getEStructuralFeatures().get(4); + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getInsert Insert}'. + * + * + * @return the meta object for the attribute 'Insert'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getInsert() + * @see #getXmlQueryRedirectors_2_0() + * @generated + */ + public EAttribute getXmlQueryRedirectors_2_0_Insert() + { + return (EAttribute)xmlQueryRedirectors_2_0EClass.getEStructuralFeatures().get(5); + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getDelete Delete}'. + * + * + * @return the meta object for the attribute 'Delete'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getDelete() + * @see #getXmlQueryRedirectors_2_0() + * @generated + */ + public EAttribute getXmlQueryRedirectors_2_0_Delete() + { + return (EAttribute)xmlQueryRedirectors_2_0EClass.getEStructuralFeatures().get(6); + } + + + /** + * Returns the meta object for enum '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.OrderCorrectionType_2_0 Order Correction Type 20}'. + * + * + * @return the meta object for enum 'Order Correction Type 20'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.OrderCorrectionType_2_0 + * @generated + */ + public EEnum getOrderCorrectionType_2_0() + { + return orderCorrectionType_2_0EEnum; + } + + + /** + * Returns the factory that creates the instances of the model. + * + * + * @return the factory that creates the instances of the model. + * @generated + */ + public EclipseLinkOrmV2_0Factory getEclipseLinkOrmV2_0Factory() + { + return (EclipseLinkOrmV2_0Factory)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 + xmlCollectionMapping_2_0EClass = createEClass(XML_COLLECTION_MAPPING_20); + createEAttribute(xmlCollectionMapping_2_0EClass, XML_COLLECTION_MAPPING_20__MAP_KEY_CONVERT); + + xmlElementCollection_2_0EClass = createEClass(XML_ELEMENT_COLLECTION_20); + + xmlEntity_2_0EClass = createEClass(XML_ENTITY_20); + createEReference(xmlEntity_2_0EClass, XML_ENTITY_20__CACHE_INTERCEPTOR); + createEReference(xmlEntity_2_0EClass, XML_ENTITY_20__QUERY_REDIRECTORS); + + xmlManyToMany_2_0EClass = createEClass(XML_MANY_TO_MANY_20); + + xmlMapKeyAssociationOverrideContainer_2_0EClass = createEClass(XML_MAP_KEY_ASSOCIATION_OVERRIDE_CONTAINER_20); + createEReference(xmlMapKeyAssociationOverrideContainer_2_0EClass, XML_MAP_KEY_ASSOCIATION_OVERRIDE_CONTAINER_20__MAP_KEY_ASSOCIATION_OVERRIDES); + + xmlMappedSuperclass_2_0EClass = createEClass(XML_MAPPED_SUPERCLASS_20); + createEReference(xmlMappedSuperclass_2_0EClass, XML_MAPPED_SUPERCLASS_20__CACHE_INTERCEPTOR); + + xmlOneToMany_2_0EClass = createEClass(XML_ONE_TO_MANY_20); + + xmlOrderColumn_2_0EClass = createEClass(XML_ORDER_COLUMN_20); + createEAttribute(xmlOrderColumn_2_0EClass, XML_ORDER_COLUMN_20__CORRECTION_TYPE); + + xmlQueryRedirectors_2_0EClass = createEClass(XML_QUERY_REDIRECTORS_20); + createEAttribute(xmlQueryRedirectors_2_0EClass, XML_QUERY_REDIRECTORS_20__ALL_QUERIES); + createEAttribute(xmlQueryRedirectors_2_0EClass, XML_QUERY_REDIRECTORS_20__READ_ALL); + createEAttribute(xmlQueryRedirectors_2_0EClass, XML_QUERY_REDIRECTORS_20__READ_OBJECT); + createEAttribute(xmlQueryRedirectors_2_0EClass, XML_QUERY_REDIRECTORS_20__REPORT); + createEAttribute(xmlQueryRedirectors_2_0EClass, XML_QUERY_REDIRECTORS_20__UPDATE); + createEAttribute(xmlQueryRedirectors_2_0EClass, XML_QUERY_REDIRECTORS_20__INSERT); + createEAttribute(xmlQueryRedirectors_2_0EClass, XML_QUERY_REDIRECTORS_20__DELETE); + + // Create enums + orderCorrectionType_2_0EEnum = createEEnum(ORDER_CORRECTION_TYPE_20); + } + + /** + * + * + * @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 + EclipseLinkOrmPackage theEclipseLinkOrmPackage = (EclipseLinkOrmPackage)EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmPackage.eNS_URI); + XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI); + OrmPackage theOrmPackage = (OrmPackage)EPackage.Registry.INSTANCE.getEPackage(OrmPackage.eNS_URI); + OrmV2_0Package theOrmV2_0Package = (OrmV2_0Package)EPackage.Registry.INSTANCE.getEPackage(OrmV2_0Package.eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + xmlCollectionMapping_2_0EClass.getESuperTypes().add(this.getXmlMapKeyAssociationOverrideContainer_2_0()); + xmlCollectionMapping_2_0EClass.getESuperTypes().add(theEclipseLinkOrmPackage.getXmlConverterContainer()); + xmlElementCollection_2_0EClass.getESuperTypes().add(theEclipseLinkOrmPackage.getXmlAttributeMapping()); + xmlElementCollection_2_0EClass.getESuperTypes().add(theEclipseLinkOrmPackage.getXmlConvertibleMapping()); + xmlElementCollection_2_0EClass.getESuperTypes().add(this.getXmlCollectionMapping_2_0()); + xmlManyToMany_2_0EClass.getESuperTypes().add(this.getXmlCollectionMapping_2_0()); + xmlMappedSuperclass_2_0EClass.getESuperTypes().add(theOrmV2_0Package.getXmlCacheable_2_0()); + xmlOneToMany_2_0EClass.getESuperTypes().add(this.getXmlCollectionMapping_2_0()); + + // Initialize classes and features; add operations and parameters + initEClass(xmlCollectionMapping_2_0EClass, XmlCollectionMapping_2_0.class, "XmlCollectionMapping_2_0", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlCollectionMapping_2_0_MapKeyConvert(), theXMLTypePackage.getString(), "mapKeyConvert", null, 0, 1, XmlCollectionMapping_2_0.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlElementCollection_2_0EClass, XmlElementCollection_2_0.class, "XmlElementCollection_2_0", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(xmlEntity_2_0EClass, XmlEntity_2_0.class, "XmlEntity_2_0", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlEntity_2_0_CacheInterceptor(), theOrmPackage.getXmlClassReference(), null, "cacheInterceptor", null, 0, 1, XmlEntity_2_0.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlEntity_2_0_QueryRedirectors(), theEclipseLinkOrmPackage.getXmlQueryRedirectors(), null, "queryRedirectors", null, 0, 1, XmlEntity_2_0.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlManyToMany_2_0EClass, XmlManyToMany_2_0.class, "XmlManyToMany_2_0", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(xmlMapKeyAssociationOverrideContainer_2_0EClass, XmlMapKeyAssociationOverrideContainer_2_0.class, "XmlMapKeyAssociationOverrideContainer_2_0", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlMapKeyAssociationOverrideContainer_2_0_MapKeyAssociationOverrides(), theOrmPackage.getXmlAssociationOverride(), null, "mapKeyAssociationOverrides", null, 0, -1, XmlMapKeyAssociationOverrideContainer_2_0.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlMappedSuperclass_2_0EClass, XmlMappedSuperclass_2_0.class, "XmlMappedSuperclass_2_0", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlMappedSuperclass_2_0_CacheInterceptor(), theOrmPackage.getXmlClassReference(), null, "cacheInterceptor", null, 0, 1, XmlMappedSuperclass_2_0.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlOneToMany_2_0EClass, XmlOneToMany_2_0.class, "XmlOneToMany_2_0", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(xmlOrderColumn_2_0EClass, XmlOrderColumn_2_0.class, "XmlOrderColumn_2_0", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlOrderColumn_2_0_CorrectionType(), this.getOrderCorrectionType_2_0(), "correctionType", null, 0, 1, XmlOrderColumn_2_0.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlQueryRedirectors_2_0EClass, XmlQueryRedirectors_2_0.class, "XmlQueryRedirectors_2_0", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlQueryRedirectors_2_0_AllQueries(), theXMLTypePackage.getString(), "allQueries", null, 0, 1, XmlQueryRedirectors_2_0.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlQueryRedirectors_2_0_ReadAll(), theXMLTypePackage.getString(), "readAll", null, 0, 1, XmlQueryRedirectors_2_0.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlQueryRedirectors_2_0_ReadObject(), theXMLTypePackage.getString(), "readObject", null, 0, 1, XmlQueryRedirectors_2_0.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlQueryRedirectors_2_0_Report(), theXMLTypePackage.getString(), "report", null, 0, 1, XmlQueryRedirectors_2_0.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlQueryRedirectors_2_0_Update(), theXMLTypePackage.getString(), "update", null, 0, 1, XmlQueryRedirectors_2_0.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlQueryRedirectors_2_0_Insert(), theXMLTypePackage.getString(), "insert", null, 0, 1, XmlQueryRedirectors_2_0.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlQueryRedirectors_2_0_Delete(), theXMLTypePackage.getString(), "delete", null, 0, 1, XmlQueryRedirectors_2_0.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + // Initialize enums and add enum literals + initEEnum(orderCorrectionType_2_0EEnum, OrderCorrectionType_2_0.class, "OrderCorrectionType_2_0"); + addEEnumLiteral(orderCorrectionType_2_0EEnum, OrderCorrectionType_2_0.READ); + addEEnumLiteral(orderCorrectionType_2_0EEnum, OrderCorrectionType_2_0.READ_WRITE); + addEEnumLiteral(orderCorrectionType_2_0EEnum, OrderCorrectionType_2_0.EXCEPTION); + } + + /** + * + * Defines literals for the meta objects that represent + *

    + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • + *
+ * + * @generated + */ + public interface Literals + { + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlCollectionMapping_2_0 Xml Collection Mapping 20}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlCollectionMapping_2_0 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlCollectionMapping_2_0() + * @generated + */ + public static final EClass XML_COLLECTION_MAPPING_20 = eINSTANCE.getXmlCollectionMapping_2_0(); + + /** + * The meta object literal for the 'Map Key Convert' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_COLLECTION_MAPPING_20__MAP_KEY_CONVERT = eINSTANCE.getXmlCollectionMapping_2_0_MapKeyConvert(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlElementCollection_2_0 Xml Element Collection 20}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlElementCollection_2_0 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlElementCollection_2_0() + * @generated + */ + public static final EClass XML_ELEMENT_COLLECTION_20 = eINSTANCE.getXmlElementCollection_2_0(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlEntity_2_0 Xml Entity 20}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlEntity_2_0 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlEntity_2_0() + * @generated + */ + public static final EClass XML_ENTITY_20 = eINSTANCE.getXmlEntity_2_0(); + + /** + * The meta object literal for the 'Cache Interceptor' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_ENTITY_20__CACHE_INTERCEPTOR = eINSTANCE.getXmlEntity_2_0_CacheInterceptor(); + + /** + * The meta object literal for the 'Query Redirectors' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_ENTITY_20__QUERY_REDIRECTORS = eINSTANCE.getXmlEntity_2_0_QueryRedirectors(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlManyToMany_2_0 Xml Many To Many 20}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlManyToMany_2_0 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlManyToMany_2_0() + * @generated + */ + public static final EClass XML_MANY_TO_MANY_20 = eINSTANCE.getXmlManyToMany_2_0(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlMapKeyAssociationOverrideContainer_2_0 Xml Map Key Association Override Container 20}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlMapKeyAssociationOverrideContainer_2_0 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlMapKeyAssociationOverrideContainer_2_0() + * @generated + */ + public static final EClass XML_MAP_KEY_ASSOCIATION_OVERRIDE_CONTAINER_20 = eINSTANCE.getXmlMapKeyAssociationOverrideContainer_2_0(); + + /** + * The meta object literal for the 'Map Key Association Overrides' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_MAP_KEY_ASSOCIATION_OVERRIDE_CONTAINER_20__MAP_KEY_ASSOCIATION_OVERRIDES = eINSTANCE.getXmlMapKeyAssociationOverrideContainer_2_0_MapKeyAssociationOverrides(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlMappedSuperclass_2_0 Xml Mapped Superclass 20}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlMappedSuperclass_2_0 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlMappedSuperclass_2_0() + * @generated + */ + public static final EClass XML_MAPPED_SUPERCLASS_20 = eINSTANCE.getXmlMappedSuperclass_2_0(); + + /** + * The meta object literal for the 'Cache Interceptor' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_MAPPED_SUPERCLASS_20__CACHE_INTERCEPTOR = eINSTANCE.getXmlMappedSuperclass_2_0_CacheInterceptor(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlOneToMany_2_0 Xml One To Many 20}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlOneToMany_2_0 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlOneToMany_2_0() + * @generated + */ + public static final EClass XML_ONE_TO_MANY_20 = eINSTANCE.getXmlOneToMany_2_0(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlOrderColumn_2_0 Xml Order Column 20}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlOrderColumn_2_0 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlOrderColumn_2_0() + * @generated + */ + public static final EClass XML_ORDER_COLUMN_20 = eINSTANCE.getXmlOrderColumn_2_0(); + + /** + * The meta object literal for the 'Correction Type' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_ORDER_COLUMN_20__CORRECTION_TYPE = eINSTANCE.getXmlOrderColumn_2_0_CorrectionType(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0 Xml Query Redirectors 20}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlQueryRedirectors_2_0() + * @generated + */ + public static final EClass XML_QUERY_REDIRECTORS_20 = eINSTANCE.getXmlQueryRedirectors_2_0(); + + /** + * The meta object literal for the 'All Queries' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_QUERY_REDIRECTORS_20__ALL_QUERIES = eINSTANCE.getXmlQueryRedirectors_2_0_AllQueries(); + + /** + * The meta object literal for the 'Read All' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_QUERY_REDIRECTORS_20__READ_ALL = eINSTANCE.getXmlQueryRedirectors_2_0_ReadAll(); + + /** + * The meta object literal for the 'Read Object' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_QUERY_REDIRECTORS_20__READ_OBJECT = eINSTANCE.getXmlQueryRedirectors_2_0_ReadObject(); + + /** + * The meta object literal for the 'Report' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_QUERY_REDIRECTORS_20__REPORT = eINSTANCE.getXmlQueryRedirectors_2_0_Report(); + + /** + * The meta object literal for the 'Update' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_QUERY_REDIRECTORS_20__UPDATE = eINSTANCE.getXmlQueryRedirectors_2_0_Update(); + + /** + * The meta object literal for the 'Insert' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_QUERY_REDIRECTORS_20__INSERT = eINSTANCE.getXmlQueryRedirectors_2_0_Insert(); + + /** + * The meta object literal for the 'Delete' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_QUERY_REDIRECTORS_20__DELETE = eINSTANCE.getXmlQueryRedirectors_2_0_Delete(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.OrderCorrectionType_2_0 Order Correction Type 20}' enum. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.OrderCorrectionType_2_0 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getOrderCorrectionType_2_0() + * @generated + */ + public static final EEnum ORDER_CORRECTION_TYPE_20 = eINSTANCE.getOrderCorrectionType_2_0(); + + } + +} //EclipseLinkOrmV2_0Package diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/OrderCorrectionType_2_0.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/OrderCorrectionType_2_0.java new file mode 100644 index 0000000000..d9a1f50eb9 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/OrderCorrectionType_2_0.java @@ -0,0 +1,257 @@ +/******************************************************************************* + * Copyright (c) 2009, 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.v2_0; + +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 'Order Column Correction Type 20', + * and utility methods for working with them. + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getOrderCorrectionType_2_0() + * @model + * @generated + */ +public enum OrderCorrectionType_2_0 implements Enumerator +{ + /** + * The 'READ' literal object. + * + * + * @see #READ_VALUE + * @generated + * @ordered + */ + READ(0, "READ", "READ"), + + /** + * The 'READ WRITE' literal object. + * + * + * @see #READ_WRITE_VALUE + * @generated + * @ordered + */ + READ_WRITE(1, "READ_WRITE", "READ_WRITE"), + + /** + * The 'EXCEPTION' literal object. + * + * + * @see #EXCEPTION_VALUE + * @generated + * @ordered + */ + EXCEPTION(2, "EXCEPTION", "EXCEPTION"); + + /** + * The 'READ' literal value. + * + *

+ * If the meaning of 'READ' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #READ + * @model + * @generated + * @ordered + */ + public static final int READ_VALUE = 0; + + /** + * The 'READ WRITE' literal value. + * + *

+ * If the meaning of 'READ WRITE' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #READ_WRITE + * @model + * @generated + * @ordered + */ + public static final int READ_WRITE_VALUE = 1; + + /** + * The 'EXCEPTION' literal value. + * + *

+ * If the meaning of 'EXCEPTION' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #EXCEPTION + * @model + * @generated + * @ordered + */ + public static final int EXCEPTION_VALUE = 2; + + /** + * An array of all the 'Order Correction Type 20' enumerators. + * + * + * @generated + */ + private static final OrderCorrectionType_2_0[] VALUES_ARRAY = + new OrderCorrectionType_2_0[] + { + READ, + READ_WRITE, + EXCEPTION, + }; + + /** + * A public read-only list of all the 'Order Correction Type 20' enumerators. + * + * + * @generated + */ + public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the 'Order Correction Type 20' literal with the specified literal value. + * + * + * @generated + */ + public static OrderCorrectionType_2_0 get(String literal) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + OrderCorrectionType_2_0 result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Order Correction Type 20' literal with the specified name. + * + * + * @generated + */ + public static OrderCorrectionType_2_0 getByName(String name) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + OrderCorrectionType_2_0 result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Order Correction Type 20' literal with the specified integer value. + * + * + * @generated + */ + public static OrderCorrectionType_2_0 get(int value) + { + switch (value) + { + case READ_VALUE: return READ; + case READ_WRITE_VALUE: return READ_WRITE; + case EXCEPTION_VALUE: return EXCEPTION; + } + return null; + } + + /** + * + * + * @generated + */ + private final int value; + + /** + * + * + * @generated + */ + private final String name; + + /** + * + * + * @generated + */ + private final String literal; + + /** + * Only this class can construct instances. + * + * + * @generated + */ + private OrderCorrectionType_2_0(int value, String name, String literal) + { + this.value = value; + this.name = name; + this.literal = literal; + } + + /** + * + * + * @generated + */ + public int getValue() + { + return value; + } + + /** + * + * + * @generated + */ + public String getName() + { + return name; + } + + /** + * + * + * @generated + */ + public String getLiteral() + { + return literal; + } + + /** + * Returns the literal value of the enumerator, which is its string representation. + * + * + * @generated + */ + @Override + public String toString() + { + return literal; + } + +} //OrderColumnCorrectionType_2_0 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlCacheInterceptor_2_0.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlCacheInterceptor_2_0.java new file mode 100644 index 0000000000..37b6a47e1f --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlCacheInterceptor_2_0.java @@ -0,0 +1,65 @@ +/******************************************************************************* + * Copyright (c) 2009, 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.v2_0; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Cache Interceptor2 0'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlCacheInterceptor_2_0#getClassName Class Name}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlCacheInterceptor_2_0() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlCacheInterceptor_2_0 extends EBaseObject +{ + /** + * Returns the value of the 'Class Name' attribute. + * + *

+ * 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.v2_0.EclipseLinkOrmV2_0Package#getXmlCacheInterceptor_2_0_ClassName() + * @model + * @generated + */ + String getClassName(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlCacheInterceptor_2_0#getClassName Class Name}' attribute. + * + * + * @param value the new value of the 'Class Name' attribute. + * @see #getClassName() + * @generated + */ + void setClassName(String value); + +} // XmlCacheInterceptor2_0 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlCollectionMapping_2_0.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlCollectionMapping_2_0.java new file mode 100644 index 0000000000..b44dbf73be --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlCollectionMapping_2_0.java @@ -0,0 +1,66 @@ +/******************************************************************************* + * Copyright (c) 2009, 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.v2_0; + +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverterContainer; + +/** + * + * A representation of the model object 'Xml Collection Mapping 20'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlCollectionMapping_2_0#getMapKeyConvert Map Key Convert}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlCollectionMapping_2_0() + * @model kind="class" interface="true" abstract="true" + * @generated + */ +public interface XmlCollectionMapping_2_0 extends XmlMapKeyAssociationOverrideContainer_2_0, XmlConverterContainer +{ + /** + * Returns the value of the 'Map Key Convert' attribute. + * + *

+ * 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.v2_0.EclipseLinkOrmV2_0Package#getXmlCollectionMapping_2_0_MapKeyConvert() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getMapKeyConvert(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlCollectionMapping_2_0#getMapKeyConvert Map Key Convert}' attribute. + * + * + * @param value the new value of the 'Map Key Convert' attribute. + * @see #getMapKeyConvert() + * @generated + */ + void setMapKeyConvert(String value); + +} // XmlCollectionMapping_2_0 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlElementCollection_2_0.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlElementCollection_2_0.java new file mode 100644 index 0000000000..76487d15df --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlElementCollection_2_0.java @@ -0,0 +1,35 @@ +/******************************************************************************* + * Copyright (c) 2009, 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.v2_0; + +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAttributeMapping; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConvertibleMapping; + +/** + * + * A representation of the model object 'Xml Element Collection 20'. + * + * 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.v2_0.EclipseLinkOrmV2_0Package#getXmlElementCollection_2_0() + * @model kind="class" interface="true" abstract="true" + * @generated + */ +public interface XmlElementCollection_2_0 extends XmlAttributeMapping, XmlConvertibleMapping, XmlCollectionMapping_2_0 +{ +} diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlEntity_2_0.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlEntity_2_0.java new file mode 100644 index 0000000000..e19fa71c41 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlEntity_2_0.java @@ -0,0 +1,94 @@ +/******************************************************************************* + * Copyright (c) 2009, 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.v2_0; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; +import org.eclipse.jpt.jpa.core.resource.orm.XmlClassReference; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryRedirectors; + +/** + * + * A representation of the model object 'Xml Entity2 0'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlEntity_2_0#getCacheInterceptor Cache Interceptor}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlEntity_2_0#getQueryRedirectors Query Redirectors}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlEntity_2_0() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlEntity_2_0 extends EBaseObject +{ + /** + * 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.v2_0.EclipseLinkOrmV2_0Package#getXmlEntity_2_0_CacheInterceptor() + * @model containment="true" + * @generated + */ + XmlClassReference getCacheInterceptor(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlEntity_2_0#getCacheInterceptor Cache Interceptor}' containment reference. + * + * + * @param value the new value of the 'Cache Interceptor' containment reference. + * @see #getCacheInterceptor() + * @generated + */ + void setCacheInterceptor(XmlClassReference value); + + /** + * 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.v2_0.EclipseLinkOrmV2_0Package#getXmlEntity_2_0_QueryRedirectors() + * @model containment="true" + * @generated + */ + XmlQueryRedirectors getQueryRedirectors(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlEntity_2_0#getQueryRedirectors Query Redirectors}' containment reference. + * + * + * @param value the new value of the 'Query Redirectors' containment reference. + * @see #getQueryRedirectors() + * @generated + */ + void setQueryRedirectors(XmlQueryRedirectors value); + +} // XmlEntity2_0 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlManyToMany_2_0.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlManyToMany_2_0.java new file mode 100644 index 0000000000..7d80cffea7 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlManyToMany_2_0.java @@ -0,0 +1,33 @@ +/******************************************************************************* + * Copyright (c) 2009, 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.v2_0; + + +/** + * + * A representation of the model object 'Xml Many To Many 20'. + * + * 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.v2_0.EclipseLinkOrmV2_0Package#getXmlManyToMany_2_0() + * @model kind="class" interface="true" abstract="true" + * @generated + */ +public interface XmlManyToMany_2_0 extends XmlCollectionMapping_2_0 +{ +} diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlMapKeyAssociationOverrideContainer_2_0.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlMapKeyAssociationOverrideContainer_2_0.java new file mode 100644 index 0000000000..3b159b788b --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlMapKeyAssociationOverrideContainer_2_0.java @@ -0,0 +1,58 @@ +/******************************************************************************* + * 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.v2_0; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; +import org.eclipse.jpt.jpa.core.resource.orm.XmlAssociationOverride; + +/** + * + * A representation of the model object 'Xml Map Key Association Override Container2 0'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlMapKeyAssociationOverrideContainer_2_0#getMapKeyAssociationOverrides Map Key Association Overrides}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlMapKeyAssociationOverrideContainer_2_0() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlMapKeyAssociationOverrideContainer_2_0 extends EBaseObject +{ + /** + * 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.v2_0.EclipseLinkOrmV2_0Package#getXmlMapKeyAssociationOverrideContainer_2_0_MapKeyAssociationOverrides() + * @model containment="true" + * @generated + */ + EList getMapKeyAssociationOverrides(); + +} // XmlMapKeyAssociationOverrideContainer2_0 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlMappedSuperclass_2_0.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlMappedSuperclass_2_0.java new file mode 100644 index 0000000000..20cb2803d7 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlMappedSuperclass_2_0.java @@ -0,0 +1,66 @@ +/******************************************************************************* + * Copyright (c) 2009, 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.v2_0; + +import org.eclipse.jpt.jpa.core.resource.orm.XmlClassReference; +import org.eclipse.jpt.jpa.core.resource.orm.v2_0.XmlCacheable_2_0; + +/** + * + * A representation of the model object 'Xml Mapped Superclass 20'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlMappedSuperclass_2_0#getCacheInterceptor Cache Interceptor}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlMappedSuperclass_2_0() + * @model kind="class" interface="true" abstract="true" + * @generated + */ +public interface XmlMappedSuperclass_2_0 extends XmlCacheable_2_0 +{ + + /** + * 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.v2_0.EclipseLinkOrmV2_0Package#getXmlMappedSuperclass_2_0_CacheInterceptor() + * @model containment="true" + * @generated + */ + XmlClassReference getCacheInterceptor(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlMappedSuperclass_2_0#getCacheInterceptor Cache Interceptor}' containment reference. + * + * + * @param value the new value of the 'Cache Interceptor' containment reference. + * @see #getCacheInterceptor() + * @generated + */ + void setCacheInterceptor(XmlClassReference value); + +} // XmlMappedSuperclass_2_0 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlOneToMany_2_0.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlOneToMany_2_0.java new file mode 100644 index 0000000000..7df503683c --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlOneToMany_2_0.java @@ -0,0 +1,33 @@ +/******************************************************************************* + * Copyright (c) 2009, 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.v2_0; + + +/** + * + * A representation of the model object 'Xml One To Many 20'. + * + * 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.v2_0.EclipseLinkOrmV2_0Package#getXmlOneToMany_2_0() + * @model kind="class" interface="true" abstract="true" + * @generated + */ +public interface XmlOneToMany_2_0 extends XmlCollectionMapping_2_0 +{ +} diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlOrderColumn_2_0.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlOrderColumn_2_0.java new file mode 100644 index 0000000000..8e9198e48f --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlOrderColumn_2_0.java @@ -0,0 +1,70 @@ +/******************************************************************************* + * 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.v2_0; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Order Column 20'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlOrderColumn_2_0#getCorrectionType Correction Type}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlOrderColumn_2_0() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlOrderColumn_2_0 extends EBaseObject +{ + /** + * Returns the value of the 'Correction Type' attribute. + * The literals are from the enumeration {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.OrderCorrectionType_2_0}. + * + *

+ * If the meaning of the 'Correction Type' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Correction Type' attribute. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.OrderCorrectionType_2_0 + * @see #setCorrectionType(OrderCorrectionType_2_0) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlOrderColumn_2_0_CorrectionType() + * @model + * @generated + */ + OrderCorrectionType_2_0 getCorrectionType(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlOrderColumn_2_0#getCorrectionType Correction Type}' attribute. + * + * + * @param value the new value of the 'Correction Type' attribute. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.OrderCorrectionType_2_0 + * @see #getCorrectionType() + * @generated + */ + void setCorrectionType(OrderCorrectionType_2_0 value); + +} // XmlOrderColumn_2_0 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlQueryRedirectors_2_0.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlQueryRedirectors_2_0.java new file mode 100644 index 0000000000..04b3ba09e1 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlQueryRedirectors_2_0.java @@ -0,0 +1,227 @@ +/******************************************************************************* + * Copyright (c) 2009, 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.v2_0; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Query Redirectors2 0'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getAllQueries All Queries}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getReadAll Read All}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getReadObject Read Object}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getReport Report}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getUpdate Update}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getInsert Insert}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getDelete Delete}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlQueryRedirectors_2_0() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlQueryRedirectors_2_0 extends EBaseObject +{ + /** + * Returns the value of the 'All Queries' attribute. + * + *

+ * If the meaning of the 'All Queries' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'All Queries' attribute. + * @see #setAllQueries(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlQueryRedirectors_2_0_AllQueries() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getAllQueries(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getAllQueries All Queries}' attribute. + * + * + * @param value the new value of the 'All Queries' attribute. + * @see #getAllQueries() + * @generated + */ + void setAllQueries(String value); + + /** + * Returns the value of the 'Read All' attribute. + * + *

+ * If the meaning of the 'Read All' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Read All' attribute. + * @see #setReadAll(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlQueryRedirectors_2_0_ReadAll() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getReadAll(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getReadAll Read All}' attribute. + * + * + * @param value the new value of the 'Read All' attribute. + * @see #getReadAll() + * @generated + */ + void setReadAll(String value); + + /** + * Returns the value of the 'Read Object' attribute. + * + *

+ * If the meaning of the 'Read Object' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Read Object' attribute. + * @see #setReadObject(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlQueryRedirectors_2_0_ReadObject() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getReadObject(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getReadObject Read Object}' attribute. + * + * + * @param value the new value of the 'Read Object' attribute. + * @see #getReadObject() + * @generated + */ + void setReadObject(String value); + + /** + * Returns the value of the 'Report' attribute. + * + *

+ * If the meaning of the 'Report' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Report' attribute. + * @see #setReport(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlQueryRedirectors_2_0_Report() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getReport(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getReport Report}' attribute. + * + * + * @param value the new value of the 'Report' attribute. + * @see #getReport() + * @generated + */ + void setReport(String value); + + /** + * Returns the value of the 'Update' attribute. + * + *

+ * If the meaning of the 'Update' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Update' attribute. + * @see #setUpdate(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlQueryRedirectors_2_0_Update() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getUpdate(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getUpdate Update}' attribute. + * + * + * @param value the new value of the 'Update' attribute. + * @see #getUpdate() + * @generated + */ + void setUpdate(String value); + + /** + * Returns the value of the 'Insert' attribute. + * + *

+ * If the meaning of the 'Insert' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Insert' attribute. + * @see #setInsert(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlQueryRedirectors_2_0_Insert() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getInsert(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getInsert Insert}' attribute. + * + * + * @param value the new value of the 'Insert' attribute. + * @see #getInsert() + * @generated + */ + void setInsert(String value); + + /** + * Returns the value of the 'Delete' attribute. + * + *

+ * If the meaning of the 'Delete' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Delete' attribute. + * @see #setDelete(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlQueryRedirectors_2_0_Delete() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getDelete(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getDelete Delete}' attribute. + * + * + * @param value the new value of the 'Delete' attribute. + * @see #getDelete() + * @generated + */ + void setDelete(String value); + +} // XmlQueryRedirectors2_0 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/BatchFetchType_2_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/BatchFetchType_2_1.java new file mode 100644 index 0000000000..e78b22cf6c --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/BatchFetchType_2_1.java @@ -0,0 +1,265 @@ +/******************************************************************************* + * Copyright (c) 2010 Oracle. All rights reserved. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License v1.0, which accompanies this distribution + * and is available at http://www.eclipse.org/legal/epl-v10.html. + * + * Contributors: + * Oracle - initial API and implementation + ******************************************************************************/ +package org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1; + +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 'Batch Fetch Type 21', + * 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.3 + * @since 2.3 + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getBatchFetchType_2_1() + * @model + * @generated + */ +public enum BatchFetchType_2_1 implements Enumerator +{ + /** + * The 'JOIN' literal object. + * + * + * @see #JOIN_VALUE + * @generated + * @ordered + */ + JOIN(0, "JOIN", "JOIN"), + + /** + * The 'EXISTS' literal object. + * + * + * @see #EXISTS_VALUE + * @generated + * @ordered + */ + EXISTS(1, "EXISTS", "EXISTS"), + + /** + * The 'IN' literal object. + * + * + * @see #IN_VALUE + * @generated + * @ordered + */ + IN(2, "IN", "IN"); + + /** + * The 'JOIN' literal value. + * + *

+ * If the meaning of 'JOIN' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #JOIN + * @model + * @generated + * @ordered + */ + public static final int JOIN_VALUE = 0; + + /** + * The 'EXISTS' literal value. + * + *

+ * If the meaning of 'EXISTS' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #EXISTS + * @model + * @generated + * @ordered + */ + public static final int EXISTS_VALUE = 1; + + /** + * 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 = 2; + + /** + * An array of all the 'Batch Fetch Type 21' enumerators. + * + * + * @generated + */ + private static final BatchFetchType_2_1[] VALUES_ARRAY = + new BatchFetchType_2_1[] + { + JOIN, + EXISTS, + IN, + }; + + /** + * A public read-only list of all the 'Batch Fetch Type 21' enumerators. + * + * + * @generated + */ + public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the 'Batch Fetch Type 21' literal with the specified literal value. + * + * + * @generated + */ + public static BatchFetchType_2_1 get(String literal) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + BatchFetchType_2_1 result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Batch Fetch Type 21' literal with the specified name. + * + * + * @generated + */ + public static BatchFetchType_2_1 getByName(String name) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + BatchFetchType_2_1 result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Batch Fetch Type 21' literal with the specified integer value. + * + * + * @generated + */ + public static BatchFetchType_2_1 get(int value) + { + switch (value) + { + case JOIN_VALUE: return JOIN; + case EXISTS_VALUE: return EXISTS; + case IN_VALUE: return IN; + } + return null; + } + + /** + * + * + * @generated + */ + private final int value; + + /** + * + * + * @generated + */ + private final String name; + + /** + * + * + * @generated + */ + private final String literal; + + /** + * Only this class can construct instances. + * + * + * @generated + */ + private BatchFetchType_2_1(int value, String name, String literal) + { + this.value = value; + this.name = name; + this.literal = literal; + } + + /** + * + * + * @generated + */ + public int getValue() + { + return value; + } + + /** + * + * + * @generated + */ + public String getName() + { + return name; + } + + /** + * + * + * @generated + */ + public String getLiteral() + { + return literal; + } + + /** + * Returns the literal value of the enumerator, which is its string representation. + * + * + * @generated + */ + @Override + public String toString() + { + return literal; + } + +} //BatchFetchType_2_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/CacheKeyType_2_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/CacheKeyType_2_1.java new file mode 100644 index 0000000000..6d36604765 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/CacheKeyType_2_1.java @@ -0,0 +1,258 @@ +/******************************************************************************* + * 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.v2_1; + +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 'Cache Key Type 21', + * and utility methods for working with them. + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getCacheKeyType_2_1() + * @model + * @generated + */ +public enum CacheKeyType_2_1 implements Enumerator +{ + /** + * The 'ID VALUE' literal object. + * + * + * @see #ID_VALUE_VALUE + * @generated + * @ordered + */ + ID_VALUE(0, "ID_VALUE", "ID_VALUE"), + + /** + * The 'CACHE KEY' literal object. + * + * + * @see #CACHE_KEY_VALUE + * @generated + * @ordered + */ + CACHE_KEY(1, "CACHE_KEY", "CACHE_KEY"), + + /** + * The 'AUTO' literal object. + * + * + * @see #AUTO_VALUE + * @generated + * @ordered + */ + AUTO(2, "AUTO", "AUTO"); + + /** + * The 'ID VALUE' literal value. + * + *

+ * If the meaning of 'ID VALUE' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #ID_VALUE + * @model + * @generated + * @ordered + */ + public static final int ID_VALUE_VALUE = 0; + + /** + * The 'CACHE KEY' literal value. + * + *

+ * If the meaning of 'CACHE KEY' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #CACHE_KEY + * @model + * @generated + * @ordered + */ + public static final int CACHE_KEY_VALUE = 1; + + /** + * 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 = 2; + + /** + * An array of all the 'Cache Key Type 21' enumerators. + * + * + * @generated + */ + private static final CacheKeyType_2_1[] VALUES_ARRAY = + new CacheKeyType_2_1[] + { + ID_VALUE, + CACHE_KEY, + AUTO, + }; + + /** + * A public read-only list of all the 'Cache Key Type 21' enumerators. + * + * + * @generated + */ + public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the 'Cache Key Type 21' literal with the specified literal value. + * + * + * @generated + */ + public static CacheKeyType_2_1 get(String literal) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + CacheKeyType_2_1 result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Cache Key Type 21' literal with the specified name. + * + * + * @generated + */ + public static CacheKeyType_2_1 getByName(String name) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + CacheKeyType_2_1 result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Cache Key Type 21' literal with the specified integer value. + * + * + * @generated + */ + public static CacheKeyType_2_1 get(int value) + { + switch (value) + { + case ID_VALUE_VALUE: return ID_VALUE; + case CACHE_KEY_VALUE: return CACHE_KEY; + case AUTO_VALUE: return AUTO; + } + return null; + } + + /** + * + * + * @generated + */ + private final int value; + + /** + * + * + * @generated + */ + private final String name; + + /** + * + * + * @generated + */ + private final String literal; + + /** + * Only this class can construct instances. + * + * + * @generated + */ + private CacheKeyType_2_1(int value, String name, String literal) + { + this.value = value; + this.name = name; + this.literal = literal; + } + + /** + * + * + * @generated + */ + public int getValue() + { + return value; + } + + /** + * + * + * @generated + */ + public String getName() + { + return name; + } + + /** + * + * + * @generated + */ + public String getLiteral() + { + return literal; + } + + /** + * Returns the literal value of the enumerator, which is its string representation. + * + * + * @generated + */ + @Override + public String toString() + { + return literal; + } + +} //CacheKeyType_2_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/EclipseLink2_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/EclipseLink2_1.java new file mode 100644 index 0000000000..5bd544a267 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/EclipseLink2_1.java @@ -0,0 +1,39 @@ +/******************************************************************************* + * 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.v2_1; + +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLink; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLink2_0; + +@SuppressWarnings("nls") +public interface EclipseLink2_1 + extends EclipseLink2_0 +{ + String SCHEMA_NAMESPACE = EclipseLink.SCHEMA_NAMESPACE; + String SCHEMA_LOCATION = "http://www.eclipse.org/eclipselink/xsds/eclipselink_orm_2_1.xsd"; + String SCHEMA_VERSION = "2.1"; + + + // EclipseLink 2.1 specific nodes + + String ATTRIBUTE = "attribute"; + String ATTRIBUTE_TYPE = "attribute-type"; + String BATCH_FETCH = "batch-fetch"; + String BATCH_FETCH__SIZE = "size"; + String BATCH_FETCH__TYPE = "type"; + String CACHE_KEY_TYPE = "cache-key-type"; + String CLASS_EXTRACTOR = "class-extractor"; + String FETCH_GROUP = "fetch-group"; + String FETCH_GROUP__LOAD = "load"; + String PARENT_CLASS = "parent-class"; + String RETURN_INSERT = "return-insert"; + String RETURN_ONLY = "return-only"; + String RETURN_UPDATE = "return-update"; +} diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/EclipseLinkOrmV2_1Factory.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/EclipseLinkOrmV2_1Factory.java new file mode 100644 index 0000000000..b3d74cbfef --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/EclipseLinkOrmV2_1Factory.java @@ -0,0 +1,192 @@ +/******************************************************************************* + * 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.v2_1; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.impl.EFactoryImpl; +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +/** + * + * The Factory for the model. + * It provides a create method for each non-abstract class of the model. + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package + * @generated + */ +public class EclipseLinkOrmV2_1Factory extends EFactoryImpl +{ + /** + * The singleton instance of the factory. + * + * + * @generated + */ + public static final EclipseLinkOrmV2_1Factory eINSTANCE = init(); + + /** + * Creates the default factory implementation. + * + * + * @generated + */ + public static EclipseLinkOrmV2_1Factory init() + { + try + { + EclipseLinkOrmV2_1Factory theEclipseLinkOrmV2_1Factory = (EclipseLinkOrmV2_1Factory)EPackage.Registry.INSTANCE.getEFactory("jpt.eclipselink.orm.v2_1.xmi"); + if (theEclipseLinkOrmV2_1Factory != null) + { + return theEclipseLinkOrmV2_1Factory; + } + } + catch (Exception exception) + { + EcorePlugin.INSTANCE.log(exception); + } + return new EclipseLinkOrmV2_1Factory(); + } + + /** + * Creates an instance of the factory. + * + * + * @generated + */ + public EclipseLinkOrmV2_1Factory() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + public EObject create(EClass eClass) + { + switch (eClass.getClassifierID()) + { + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + @Override + public Object createFromString(EDataType eDataType, String initialValue) + { + switch (eDataType.getClassifierID()) + { + case EclipseLinkOrmV2_1Package.CACHE_KEY_TYPE_21: + return createCacheKeyType_2_1FromString(eDataType, initialValue); + case EclipseLinkOrmV2_1Package.BATCH_FETCH_TYPE_21: + return createBatchFetchType_2_1FromString(eDataType, initialValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + @Override + public String convertToString(EDataType eDataType, Object instanceValue) + { + switch (eDataType.getClassifierID()) + { + case EclipseLinkOrmV2_1Package.CACHE_KEY_TYPE_21: + return convertCacheKeyType_2_1ToString(eDataType, instanceValue); + case EclipseLinkOrmV2_1Package.BATCH_FETCH_TYPE_21: + return convertBatchFetchType_2_1ToString(eDataType, instanceValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + public CacheKeyType_2_1 createCacheKeyType_2_1FromString(EDataType eDataType, String initialValue) + { + CacheKeyType_2_1 result = CacheKeyType_2_1.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * + * + * @generated + */ + public String convertCacheKeyType_2_1ToString(EDataType eDataType, Object instanceValue) + { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * + * + * @generated + */ + public BatchFetchType_2_1 createBatchFetchType_2_1FromString(EDataType eDataType, String initialValue) + { + BatchFetchType_2_1 result = BatchFetchType_2_1.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * + * + * @generated + */ + public String convertBatchFetchType_2_1ToString(EDataType eDataType, Object instanceValue) + { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * + * + * @generated + */ + public EclipseLinkOrmV2_1Package getEclipseLinkOrmV2_1Package() + { + return (EclipseLinkOrmV2_1Package)getEPackage(); + } + + /** + * + * + * @deprecated + * @generated + */ + @Deprecated + public static EclipseLinkOrmV2_1Package getPackage() + { + return EclipseLinkOrmV2_1Package.eINSTANCE; + } + +} //EclipseLinkOrmV2_1Factory diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/EclipseLinkOrmV2_1Package.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/EclipseLinkOrmV2_1Package.java new file mode 100644 index 0000000000..6fda69f9a7 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/EclipseLinkOrmV2_1Package.java @@ -0,0 +1,1973 @@ +/******************************************************************************* + * Copyright (c) 2010, 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.v2_1; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EEnum; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; +import org.eclipse.emf.ecore.impl.EPackageImpl; +import org.eclipse.emf.ecore.xml.type.XMLTypePackage; +import org.eclipse.jpt.jpa.core.resource.orm.OrmPackage; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package; + +/** + * + * The Package for the model. + * It contains accessors for the meta objects to represent + *
    + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • + *
+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Factory + * @model kind="package" + * @generated + */ +public class EclipseLinkOrmV2_1Package extends EPackageImpl +{ + /** + * The package name. + * + * + * @generated + */ + public static final String eNAME = "v2_1"; + + /** + * The package namespace URI. + * + * + * @generated + */ + public static final String eNS_URI = "jpt.eclipselink.orm.v2_1.xmi"; + + /** + * The package namespace name. + * + * + * @generated + */ + public static final String eNS_PREFIX = "org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1"; + + /** + * The singleton instance of the package. + * + * + * @generated + */ + public static final EclipseLinkOrmV2_1Package eINSTANCE = org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package.init(); + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBasic_2_1 Xml Basic 21}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBasic_2_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlBasic_2_1() + * @generated + */ + public static final int XML_BASIC_21 = 0; + + /** + * The feature id for the 'Return Insert' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC_21__RETURN_INSERT = 0; + + /** + * The feature id for the 'Return Update' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC_21__RETURN_UPDATE = 1; + + /** + * The number of structural features of the 'Xml Basic 21' class. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC_21_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBatchFetch_2_1 Xml Batch Fetch 21}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBatchFetch_2_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlBatchFetch_2_1() + * @generated + */ + public static final int XML_BATCH_FETCH_21 = 1; + + /** + * The feature id for the 'Size' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_BATCH_FETCH_21__SIZE = 0; + + /** + * The feature id for the 'Batch Fetch Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_BATCH_FETCH_21__BATCH_FETCH_TYPE = 1; + + /** + * The number of structural features of the 'Xml Batch Fetch 21' class. + * + * + * @generated + * @ordered + */ + public static final int XML_BATCH_FETCH_21_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlElementCollection_2_1 Xml Element Collection 21}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlElementCollection_2_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlElementCollection_2_1() + * @generated + */ + public static final int XML_ELEMENT_COLLECTION_21 = 2; + + /** + * The feature id for the 'Join Fetch' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION_21__JOIN_FETCH = EclipseLinkOrmPackage.XML_JOIN_FETCH__JOIN_FETCH; + + /** + * The feature id for the 'Batch Fetch' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION_21__BATCH_FETCH = EclipseLinkOrmPackage.XML_JOIN_FETCH_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Xml Element Collection 21' class. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION_21_FEATURE_COUNT = EclipseLinkOrmPackage.XML_JOIN_FETCH_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlTypeMapping_2_1 Xml Type Mapping 21}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlTypeMapping_2_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlTypeMapping_2_1() + * @generated + */ + public static final int XML_TYPE_MAPPING_21 = 16; + + /** + * The feature id for the 'Access Methods' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_TYPE_MAPPING_21__ACCESS_METHODS = EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS; + + /** + * The feature id for the 'Parent Class' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TYPE_MAPPING_21__PARENT_CLASS = EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Xml Type Mapping 21' class. + * + * + * @generated + * @ordered + */ + public static final int XML_TYPE_MAPPING_21_FEATURE_COUNT = EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroupContainer_2_1 Xml Fetch Group Container 21}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroupContainer_2_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlFetchGroupContainer_2_1() + * @generated + */ + public static final int XML_FETCH_GROUP_CONTAINER_21 = 7; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlEntity_2_1 Xml Entity 21}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlEntity_2_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlEntity_2_1() + * @generated + */ + public static final int XML_ENTITY_21 = 3; + + /** + * The feature id for the 'Access Methods' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_21__ACCESS_METHODS = XML_TYPE_MAPPING_21__ACCESS_METHODS; + + /** + * The feature id for the 'Parent Class' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_21__PARENT_CLASS = XML_TYPE_MAPPING_21__PARENT_CLASS; + + /** + * The feature id for the 'Fetch Groups' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_21__FETCH_GROUPS = XML_TYPE_MAPPING_21_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Class Extractor' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_21__CLASS_EXTRACTOR = XML_TYPE_MAPPING_21_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Xml Entity 21' class. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_21_FEATURE_COUNT = XML_TYPE_MAPPING_21_FEATURE_COUNT + 2; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlEntityMappings_2_1 Xml Entity Mappings 21}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlEntityMappings_2_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlEntityMappings_2_1() + * @generated + */ + public static final int XML_ENTITY_MAPPINGS_21 = 4; + + /** + * The feature id for the 'Access Methods' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS_21__ACCESS_METHODS = EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS; + + /** + * The number of structural features of the 'Xml Entity Mappings 21' class. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS_21_FEATURE_COUNT = EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchAttribute_2_1 Xml Fetch Attribute 21}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchAttribute_2_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlFetchAttribute_2_1() + * @generated + */ + public static final int XML_FETCH_ATTRIBUTE_21 = 5; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_FETCH_ATTRIBUTE_21__NAME = 0; + + /** + * The number of structural features of the 'Xml Fetch Attribute 21' class. + * + * + * @generated + * @ordered + */ + public static final int XML_FETCH_ATTRIBUTE_21_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroup_2_1 Xml Fetch Group 21}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroup_2_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlFetchGroup_2_1() + * @generated + */ + public static final int XML_FETCH_GROUP_21 = 6; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_FETCH_GROUP_21__NAME = 0; + + /** + * The feature id for the 'Load' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_FETCH_GROUP_21__LOAD = 1; + + /** + * The feature id for the 'Attributes' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_FETCH_GROUP_21__ATTRIBUTES = 2; + + /** + * The number of structural features of the 'Xml Fetch Group 21' class. + * + * + * @generated + * @ordered + */ + public static final int XML_FETCH_GROUP_21_FEATURE_COUNT = 3; + + /** + * The feature id for the 'Fetch Groups' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_FETCH_GROUP_CONTAINER_21__FETCH_GROUPS = 0; + + /** + * The number of structural features of the 'Xml Fetch Group Container 21' class. + * + * + * @generated + * @ordered + */ + public static final int XML_FETCH_GROUP_CONTAINER_21_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlManyToMany_2_1 Xml Many To Many 21}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlManyToMany_2_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlManyToMany_2_1() + * @generated + */ + public static final int XML_MANY_TO_MANY_21 = 8; + + /** + * The feature id for the 'Batch Fetch' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY_21__BATCH_FETCH = EclipseLinkOrmPackage.XML_BATCH_FETCH_HOLDER__BATCH_FETCH; + + /** + * The number of structural features of the 'Xml Many To Many 21' class. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY_21_FEATURE_COUNT = EclipseLinkOrmPackage.XML_BATCH_FETCH_HOLDER_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlManyToOne_2_1 Xml Many To One 21}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlManyToOne_2_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlManyToOne_2_1() + * @generated + */ + public static final int XML_MANY_TO_ONE_21 = 9; + + /** + * The feature id for the 'Batch Fetch' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_ONE_21__BATCH_FETCH = EclipseLinkOrmPackage.XML_BATCH_FETCH_HOLDER__BATCH_FETCH; + + /** + * The number of structural features of the 'Xml Many To One 21' class. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_ONE_21_FEATURE_COUNT = EclipseLinkOrmPackage.XML_BATCH_FETCH_HOLDER_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlMappedSuperclass_2_1 Xml Mapped Superclass 21}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlMappedSuperclass_2_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlMappedSuperclass_2_1() + * @generated + */ + public static final int XML_MAPPED_SUPERCLASS_21 = 10; + + /** + * The feature id for the 'Association Overrides' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS_21__ASSOCIATION_OVERRIDES = OrmPackage.XML_ASSOCIATION_OVERRIDE_CONTAINER__ASSOCIATION_OVERRIDES; + + /** + * The feature id for the 'Attribute Overrides' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS_21__ATTRIBUTE_OVERRIDES = OrmPackage.XML_ASSOCIATION_OVERRIDE_CONTAINER_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Fetch Groups' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS_21__FETCH_GROUPS = OrmPackage.XML_ASSOCIATION_OVERRIDE_CONTAINER_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Sequence Generator' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS_21__SEQUENCE_GENERATOR = OrmPackage.XML_ASSOCIATION_OVERRIDE_CONTAINER_FEATURE_COUNT + 2; + + /** + * The feature id for the 'Table Generator' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS_21__TABLE_GENERATOR = OrmPackage.XML_ASSOCIATION_OVERRIDE_CONTAINER_FEATURE_COUNT + 3; + + /** + * The feature id for the 'Named Queries' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS_21__NAMED_QUERIES = OrmPackage.XML_ASSOCIATION_OVERRIDE_CONTAINER_FEATURE_COUNT + 4; + + /** + * The feature id for the 'Named Native Queries' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS_21__NAMED_NATIVE_QUERIES = OrmPackage.XML_ASSOCIATION_OVERRIDE_CONTAINER_FEATURE_COUNT + 5; + + /** + * The feature id for the 'Named Stored Procedure Queries' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS_21__NAMED_STORED_PROCEDURE_QUERIES = OrmPackage.XML_ASSOCIATION_OVERRIDE_CONTAINER_FEATURE_COUNT + 6; + + /** + * The feature id for the 'Access Methods' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS_21__ACCESS_METHODS = OrmPackage.XML_ASSOCIATION_OVERRIDE_CONTAINER_FEATURE_COUNT + 7; + + /** + * The feature id for the 'Parent Class' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS_21__PARENT_CLASS = OrmPackage.XML_ASSOCIATION_OVERRIDE_CONTAINER_FEATURE_COUNT + 8; + + /** + * The feature id for the 'Sql Result Set Mappings' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS_21__SQL_RESULT_SET_MAPPINGS = OrmPackage.XML_ASSOCIATION_OVERRIDE_CONTAINER_FEATURE_COUNT + 9; + + /** + * The feature id for the 'Query Redirectors' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS_21__QUERY_REDIRECTORS = OrmPackage.XML_ASSOCIATION_OVERRIDE_CONTAINER_FEATURE_COUNT + 10; + + /** + * The number of structural features of the 'Xml Mapped Superclass 21' class. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS_21_FEATURE_COUNT = OrmPackage.XML_ASSOCIATION_OVERRIDE_CONTAINER_FEATURE_COUNT + 11; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlOneToMany_2_1 Xml One To Many 21}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlOneToMany_2_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlOneToMany_2_1() + * @generated + */ + public static final int XML_ONE_TO_MANY_21 = 11; + + /** + * The feature id for the 'Batch Fetch' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY_21__BATCH_FETCH = EclipseLinkOrmPackage.XML_BATCH_FETCH_HOLDER__BATCH_FETCH; + + /** + * The number of structural features of the 'Xml One To Many 21' class. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY_21_FEATURE_COUNT = EclipseLinkOrmPackage.XML_BATCH_FETCH_HOLDER_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlOneToOne_2_1 Xml One To One 21}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlOneToOne_2_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlOneToOne_2_1() + * @generated + */ + public static final int XML_ONE_TO_ONE_21 = 12; + + /** + * The feature id for the 'Batch Fetch' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE_21__BATCH_FETCH = EclipseLinkOrmPackage.XML_BATCH_FETCH_HOLDER__BATCH_FETCH; + + /** + * The number of structural features of the 'Xml One To One 21' class. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE_21_FEATURE_COUNT = EclipseLinkOrmPackage.XML_BATCH_FETCH_HOLDER_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlPersistenceUnitDefaults_2_1 Xml Persistence Unit Defaults 21}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlPersistenceUnitDefaults_2_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlPersistenceUnitDefaults_2_1() + * @generated + */ + public static final int XML_PERSISTENCE_UNIT_DEFAULTS_21 = 13; + + /** + * The feature id for the 'Access Methods' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_PERSISTENCE_UNIT_DEFAULTS_21__ACCESS_METHODS = EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS; + + /** + * The number of structural features of the 'Xml Persistence Unit Defaults 21' class. + * + * + * @generated + * @ordered + */ + public static final int XML_PERSISTENCE_UNIT_DEFAULTS_21_FEATURE_COUNT = EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlReturnInsert_2_1 Xml Return Insert 21}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlReturnInsert_2_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlReturnInsert_2_1() + * @generated + */ + public static final int XML_RETURN_INSERT_21 = 15; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlPrimaryKey_2_1 Xml Primary Key 21}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlPrimaryKey_2_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlPrimaryKey_2_1() + * @generated + */ + public static final int XML_PRIMARY_KEY_21 = 14; + + /** + * The feature id for the 'Cache Key Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_PRIMARY_KEY_21__CACHE_KEY_TYPE = 0; + + /** + * The number of structural features of the 'Xml Primary Key 21' class. + * + * + * @generated + * @ordered + */ + public static final int XML_PRIMARY_KEY_21_FEATURE_COUNT = 1; + + /** + * The feature id for the 'Return Only' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_RETURN_INSERT_21__RETURN_ONLY = 0; + + /** + * The number of structural features of the 'Xml Return Insert 21' class. + * + * + * @generated + * @ordered + */ + public static final int XML_RETURN_INSERT_21_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.CacheKeyType_2_1 Cache Key Type 21}' enum. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.CacheKeyType_2_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getCacheKeyType_2_1() + * @generated + */ + public static final int CACHE_KEY_TYPE_21 = 17; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.BatchFetchType_2_1 Batch Fetch Type 21}' enum. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.BatchFetchType_2_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getBatchFetchType_2_1() + * @generated + */ + public static final int BATCH_FETCH_TYPE_21 = 18; + + /** + * + * + * @generated + */ + private EClass xmlBasic_2_1EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlBatchFetch_2_1EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlElementCollection_2_1EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlEntity_2_1EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlEntityMappings_2_1EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlFetchAttribute_2_1EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlFetchGroup_2_1EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlFetchGroupContainer_2_1EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlManyToMany_2_1EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlManyToOne_2_1EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlMappedSuperclass_2_1EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlOneToMany_2_1EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlOneToOne_2_1EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlPersistenceUnitDefaults_2_1EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlReturnInsert_2_1EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlTypeMapping_2_1EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlPrimaryKey_2_1EClass = null; + + /** + * + * + * @generated + */ + private EEnum cacheKeyType_2_1EEnum = null; + + /** + * + * + * @generated + */ + private EEnum batchFetchType_2_1EEnum = null; + + /** + * Creates an instance of the model Package, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + *

Note: 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.v2_1.EclipseLinkOrmV2_1Package#eNS_URI + * @see #init() + * @generated + */ + private EclipseLinkOrmV2_1Package() + { + super(eNS_URI, EclipseLinkOrmV2_1Factory.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 EclipseLinkOrmV2_1Package#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 EclipseLinkOrmV2_1Package init() + { + if (isInited) return (EclipseLinkOrmV2_1Package)EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmV2_1Package.eNS_URI); + + // Obtain or create and register package + EclipseLinkOrmV2_1Package theEclipseLinkOrmV2_1Package = (EclipseLinkOrmV2_1Package)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof EclipseLinkOrmV2_1Package ? EPackage.Registry.INSTANCE.get(eNS_URI) : new EclipseLinkOrmV2_1Package()); + + isInited = true; + + // Initialize simple dependencies + OrmPackage.eINSTANCE.eClass(); + XMLTypePackage.eINSTANCE.eClass(); + + // Obtain or create and register interdependencies + EclipseLinkOrmPackage theEclipseLinkOrmPackage = (EclipseLinkOrmPackage)(EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmPackage.eNS_URI) instanceof EclipseLinkOrmPackage ? EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmPackage.eNS_URI) : EclipseLinkOrmPackage.eINSTANCE); + 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_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 + theEclipseLinkOrmV2_1Package.createPackageContents(); + theEclipseLinkOrmPackage.createPackageContents(); + theEclipseLinkOrmV1_1Package.createPackageContents(); + theEclipseLinkOrmV2_0Package.createPackageContents(); + theEclipseLinkOrmV2_2Package.createPackageContents(); + theEclipseLinkOrmV2_3Package.createPackageContents(); + theEclipseLinkOrmV2_4Package.createPackageContents(); + + // Initialize created meta-data + theEclipseLinkOrmV2_1Package.initializePackageContents(); + theEclipseLinkOrmPackage.initializePackageContents(); + theEclipseLinkOrmV1_1Package.initializePackageContents(); + theEclipseLinkOrmV2_0Package.initializePackageContents(); + theEclipseLinkOrmV2_2Package.initializePackageContents(); + theEclipseLinkOrmV2_3Package.initializePackageContents(); + theEclipseLinkOrmV2_4Package.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theEclipseLinkOrmV2_1Package.freeze(); + + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(EclipseLinkOrmV2_1Package.eNS_URI, theEclipseLinkOrmV2_1Package); + return theEclipseLinkOrmV2_1Package; + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBasic_2_1 Xml Basic 21}'. + * + * + * @return the meta object for class 'Xml Basic 21'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBasic_2_1 + * @generated + */ + public EClass getXmlBasic_2_1() + { + return xmlBasic_2_1EClass; + } + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBasic_2_1#getReturnInsert Return Insert}'. + * + * + * @return the meta object for the containment reference 'Return Insert'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBasic_2_1#getReturnInsert() + * @see #getXmlBasic_2_1() + * @generated + */ + public EReference getXmlBasic_2_1_ReturnInsert() + { + return (EReference)xmlBasic_2_1EClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBasic_2_1#getReturnUpdate Return Update}'. + * + * + * @return the meta object for the attribute 'Return Update'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBasic_2_1#getReturnUpdate() + * @see #getXmlBasic_2_1() + * @generated + */ + public EAttribute getXmlBasic_2_1_ReturnUpdate() + { + return (EAttribute)xmlBasic_2_1EClass.getEStructuralFeatures().get(1); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBatchFetch_2_1 Xml Batch Fetch 21}'. + * + * + * @return the meta object for class 'Xml Batch Fetch 21'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBatchFetch_2_1 + * @generated + */ + public EClass getXmlBatchFetch_2_1() + { + return xmlBatchFetch_2_1EClass; + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBatchFetch_2_1#getSize Size}'. + * + * + * @return the meta object for the attribute 'Size'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBatchFetch_2_1#getSize() + * @see #getXmlBatchFetch_2_1() + * @generated + */ + public EAttribute getXmlBatchFetch_2_1_Size() + { + return (EAttribute)xmlBatchFetch_2_1EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBatchFetch_2_1#getBatchFetchType Batch Fetch Type}'. + * + * + * @return the meta object for the attribute 'Batch Fetch Type'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBatchFetch_2_1#getBatchFetchType() + * @see #getXmlBatchFetch_2_1() + * @generated + */ + public EAttribute getXmlBatchFetch_2_1_BatchFetchType() + { + return (EAttribute)xmlBatchFetch_2_1EClass.getEStructuralFeatures().get(1); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlElementCollection_2_1 Xml Element Collection 21}'. + * + * + * @return the meta object for class 'Xml Element Collection 21'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlElementCollection_2_1 + * @generated + */ + public EClass getXmlElementCollection_2_1() + { + return xmlElementCollection_2_1EClass; + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlEntity_2_1 Xml Entity 21}'. + * + * + * @return the meta object for class 'Xml Entity 21'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlEntity_2_1 + * @generated + */ + public EClass getXmlEntity_2_1() + { + return xmlEntity_2_1EClass; + } + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlEntity_2_1#getClassExtractor Class Extractor}'. + * + * + * @return the meta object for the containment reference 'Class Extractor'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlEntity_2_1#getClassExtractor() + * @see #getXmlEntity_2_1() + * @generated + */ + public EReference getXmlEntity_2_1_ClassExtractor() + { + return (EReference)xmlEntity_2_1EClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlEntityMappings_2_1 Xml Entity Mappings 21}'. + * + * + * @return the meta object for class 'Xml Entity Mappings 21'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlEntityMappings_2_1 + * @generated + */ + public EClass getXmlEntityMappings_2_1() + { + return xmlEntityMappings_2_1EClass; + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchAttribute_2_1 Xml Fetch Attribute 21}'. + * + * + * @return the meta object for class 'Xml Fetch Attribute 21'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchAttribute_2_1 + * @generated + */ + public EClass getXmlFetchAttribute_2_1() + { + return xmlFetchAttribute_2_1EClass; + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchAttribute_2_1#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchAttribute_2_1#getName() + * @see #getXmlFetchAttribute_2_1() + * @generated + */ + public EAttribute getXmlFetchAttribute_2_1_Name() + { + return (EAttribute)xmlFetchAttribute_2_1EClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroup_2_1 Xml Fetch Group 21}'. + * + * + * @return the meta object for class 'Xml Fetch Group 21'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroup_2_1 + * @generated + */ + public EClass getXmlFetchGroup_2_1() + { + return xmlFetchGroup_2_1EClass; + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroup_2_1#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroup_2_1#getName() + * @see #getXmlFetchGroup_2_1() + * @generated + */ + public EAttribute getXmlFetchGroup_2_1_Name() + { + return (EAttribute)xmlFetchGroup_2_1EClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroup_2_1#getAttributes Attributes}'. + * + * + * @return the meta object for the containment reference list 'Attributes'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroup_2_1#getAttributes() + * @see #getXmlFetchGroup_2_1() + * @generated + */ + public EReference getXmlFetchGroup_2_1_Attributes() + { + return (EReference)xmlFetchGroup_2_1EClass.getEStructuralFeatures().get(2); + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroup_2_1#getLoad Load}'. + * + * + * @return the meta object for the attribute 'Load'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroup_2_1#getLoad() + * @see #getXmlFetchGroup_2_1() + * @generated + */ + public EAttribute getXmlFetchGroup_2_1_Load() + { + return (EAttribute)xmlFetchGroup_2_1EClass.getEStructuralFeatures().get(1); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroupContainer_2_1 Xml Fetch Group Container 21}'. + * + * + * @return the meta object for class 'Xml Fetch Group Container 21'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroupContainer_2_1 + * @generated + */ + public EClass getXmlFetchGroupContainer_2_1() + { + return xmlFetchGroupContainer_2_1EClass; + } + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroupContainer_2_1#getFetchGroups Fetch Groups}'. + * + * + * @return the meta object for the containment reference list 'Fetch Groups'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroupContainer_2_1#getFetchGroups() + * @see #getXmlFetchGroupContainer_2_1() + * @generated + */ + public EReference getXmlFetchGroupContainer_2_1_FetchGroups() + { + return (EReference)xmlFetchGroupContainer_2_1EClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlManyToMany_2_1 Xml Many To Many 21}'. + * + * + * @return the meta object for class 'Xml Many To Many 21'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlManyToMany_2_1 + * @generated + */ + public EClass getXmlManyToMany_2_1() + { + return xmlManyToMany_2_1EClass; + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlManyToOne_2_1 Xml Many To One 21}'. + * + * + * @return the meta object for class 'Xml Many To One 21'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlManyToOne_2_1 + * @generated + */ + public EClass getXmlManyToOne_2_1() + { + return xmlManyToOne_2_1EClass; + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlMappedSuperclass_2_1 Xml Mapped Superclass 21}'. + * + * + * @return the meta object for class 'Xml Mapped Superclass 21'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlMappedSuperclass_2_1 + * @generated + */ + public EClass getXmlMappedSuperclass_2_1() + { + return xmlMappedSuperclass_2_1EClass; + } + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlMappedSuperclass_2_1#getSqlResultSetMappings Sql Result Set Mappings}'. + * + * + * @return the meta object for the containment reference list 'Sql Result Set Mappings'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlMappedSuperclass_2_1#getSqlResultSetMappings() + * @see #getXmlMappedSuperclass_2_1() + * @generated + */ + public EReference getXmlMappedSuperclass_2_1_SqlResultSetMappings() + { + return (EReference)xmlMappedSuperclass_2_1EClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlMappedSuperclass_2_1#getQueryRedirectors Query Redirectors}'. + * + * + * @return the meta object for the containment reference 'Query Redirectors'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlMappedSuperclass_2_1#getQueryRedirectors() + * @see #getXmlMappedSuperclass_2_1() + * @generated + */ + public EReference getXmlMappedSuperclass_2_1_QueryRedirectors() + { + return (EReference)xmlMappedSuperclass_2_1EClass.getEStructuralFeatures().get(1); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlOneToMany_2_1 Xml One To Many 21}'. + * + * + * @return the meta object for class 'Xml One To Many 21'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlOneToMany_2_1 + * @generated + */ + public EClass getXmlOneToMany_2_1() + { + return xmlOneToMany_2_1EClass; + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlOneToOne_2_1 Xml One To One 21}'. + * + * + * @return the meta object for class 'Xml One To One 21'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlOneToOne_2_1 + * @generated + */ + public EClass getXmlOneToOne_2_1() + { + return xmlOneToOne_2_1EClass; + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlPersistenceUnitDefaults_2_1 Xml Persistence Unit Defaults 21}'. + * + * + * @return the meta object for class 'Xml Persistence Unit Defaults 21'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlPersistenceUnitDefaults_2_1 + * @generated + */ + public EClass getXmlPersistenceUnitDefaults_2_1() + { + return xmlPersistenceUnitDefaults_2_1EClass; + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlReturnInsert_2_1 Xml Return Insert 21}'. + * + * + * @return the meta object for class 'Xml Return Insert 21'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlReturnInsert_2_1 + * @generated + */ + public EClass getXmlReturnInsert_2_1() + { + return xmlReturnInsert_2_1EClass; + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlReturnInsert_2_1#getReturnOnly Return Only}'. + * + * + * @return the meta object for the attribute 'Return Only'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlReturnInsert_2_1#getReturnOnly() + * @see #getXmlReturnInsert_2_1() + * @generated + */ + public EAttribute getXmlReturnInsert_2_1_ReturnOnly() + { + return (EAttribute)xmlReturnInsert_2_1EClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlTypeMapping_2_1 Xml Type Mapping 21}'. + * + * + * @return the meta object for class 'Xml Type Mapping 21'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlTypeMapping_2_1 + * @generated + */ + public EClass getXmlTypeMapping_2_1() + { + return xmlTypeMapping_2_1EClass; + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlTypeMapping_2_1#getParentClass Parent Class}'. + * + * + * @return the meta object for the attribute 'Parent Class'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlTypeMapping_2_1#getParentClass() + * @see #getXmlTypeMapping_2_1() + * @generated + */ + public EAttribute getXmlTypeMapping_2_1_ParentClass() + { + return (EAttribute)xmlTypeMapping_2_1EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlPrimaryKey_2_1 Xml Primary Key 21}'. + * + * + * @return the meta object for class 'Xml Primary Key 21'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlPrimaryKey_2_1 + * @generated + */ + public EClass getXmlPrimaryKey_2_1() + { + return xmlPrimaryKey_2_1EClass; + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlPrimaryKey_2_1#getCacheKeyType Cache Key Type}'. + * + * + * @return the meta object for the attribute 'Cache Key Type'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlPrimaryKey_2_1#getCacheKeyType() + * @see #getXmlPrimaryKey_2_1() + * @generated + */ + public EAttribute getXmlPrimaryKey_2_1_CacheKeyType() + { + return (EAttribute)xmlPrimaryKey_2_1EClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for enum '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.CacheKeyType_2_1 Cache Key Type 21}'. + * + * + * @return the meta object for enum 'Cache Key Type 21'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.CacheKeyType_2_1 + * @generated + */ + public EEnum getCacheKeyType_2_1() + { + return cacheKeyType_2_1EEnum; + } + + /** + * Returns the meta object for enum '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.BatchFetchType_2_1 Batch Fetch Type 21}'. + * + * + * @return the meta object for enum 'Batch Fetch Type 21'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.BatchFetchType_2_1 + * @generated + */ + public EEnum getBatchFetchType_2_1() + { + return batchFetchType_2_1EEnum; + } + + + /** + * Returns the factory that creates the instances of the model. + * + * + * @return the factory that creates the instances of the model. + * @generated + */ + public EclipseLinkOrmV2_1Factory getEclipseLinkOrmV2_1Factory() + { + return (EclipseLinkOrmV2_1Factory)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 + xmlBasic_2_1EClass = createEClass(XML_BASIC_21); + createEReference(xmlBasic_2_1EClass, XML_BASIC_21__RETURN_INSERT); + createEAttribute(xmlBasic_2_1EClass, XML_BASIC_21__RETURN_UPDATE); + + xmlBatchFetch_2_1EClass = createEClass(XML_BATCH_FETCH_21); + createEAttribute(xmlBatchFetch_2_1EClass, XML_BATCH_FETCH_21__SIZE); + createEAttribute(xmlBatchFetch_2_1EClass, XML_BATCH_FETCH_21__BATCH_FETCH_TYPE); + + xmlElementCollection_2_1EClass = createEClass(XML_ELEMENT_COLLECTION_21); + + xmlEntity_2_1EClass = createEClass(XML_ENTITY_21); + createEReference(xmlEntity_2_1EClass, XML_ENTITY_21__CLASS_EXTRACTOR); + + xmlEntityMappings_2_1EClass = createEClass(XML_ENTITY_MAPPINGS_21); + + xmlFetchAttribute_2_1EClass = createEClass(XML_FETCH_ATTRIBUTE_21); + createEAttribute(xmlFetchAttribute_2_1EClass, XML_FETCH_ATTRIBUTE_21__NAME); + + xmlFetchGroup_2_1EClass = createEClass(XML_FETCH_GROUP_21); + createEAttribute(xmlFetchGroup_2_1EClass, XML_FETCH_GROUP_21__NAME); + createEAttribute(xmlFetchGroup_2_1EClass, XML_FETCH_GROUP_21__LOAD); + createEReference(xmlFetchGroup_2_1EClass, XML_FETCH_GROUP_21__ATTRIBUTES); + + xmlFetchGroupContainer_2_1EClass = createEClass(XML_FETCH_GROUP_CONTAINER_21); + createEReference(xmlFetchGroupContainer_2_1EClass, XML_FETCH_GROUP_CONTAINER_21__FETCH_GROUPS); + + xmlManyToMany_2_1EClass = createEClass(XML_MANY_TO_MANY_21); + + xmlManyToOne_2_1EClass = createEClass(XML_MANY_TO_ONE_21); + + xmlMappedSuperclass_2_1EClass = createEClass(XML_MAPPED_SUPERCLASS_21); + createEReference(xmlMappedSuperclass_2_1EClass, XML_MAPPED_SUPERCLASS_21__SQL_RESULT_SET_MAPPINGS); + createEReference(xmlMappedSuperclass_2_1EClass, XML_MAPPED_SUPERCLASS_21__QUERY_REDIRECTORS); + + xmlOneToMany_2_1EClass = createEClass(XML_ONE_TO_MANY_21); + + xmlOneToOne_2_1EClass = createEClass(XML_ONE_TO_ONE_21); + + xmlPersistenceUnitDefaults_2_1EClass = createEClass(XML_PERSISTENCE_UNIT_DEFAULTS_21); + + xmlPrimaryKey_2_1EClass = createEClass(XML_PRIMARY_KEY_21); + createEAttribute(xmlPrimaryKey_2_1EClass, XML_PRIMARY_KEY_21__CACHE_KEY_TYPE); + + xmlReturnInsert_2_1EClass = createEClass(XML_RETURN_INSERT_21); + createEAttribute(xmlReturnInsert_2_1EClass, XML_RETURN_INSERT_21__RETURN_ONLY); + + xmlTypeMapping_2_1EClass = createEClass(XML_TYPE_MAPPING_21); + createEAttribute(xmlTypeMapping_2_1EClass, XML_TYPE_MAPPING_21__PARENT_CLASS); + + // Create enums + cacheKeyType_2_1EEnum = createEEnum(CACHE_KEY_TYPE_21); + batchFetchType_2_1EEnum = createEEnum(BATCH_FETCH_TYPE_21); + } + + /** + * + * + * @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 + EclipseLinkOrmPackage theEclipseLinkOrmPackage = (EclipseLinkOrmPackage)EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmPackage.eNS_URI); + XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI); + OrmPackage theOrmPackage = (OrmPackage)EPackage.Registry.INSTANCE.getEPackage(OrmPackage.eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + xmlElementCollection_2_1EClass.getESuperTypes().add(theEclipseLinkOrmPackage.getXmlJoinFetch()); + xmlElementCollection_2_1EClass.getESuperTypes().add(theEclipseLinkOrmPackage.getXmlBatchFetchHolder()); + xmlEntity_2_1EClass.getESuperTypes().add(this.getXmlTypeMapping_2_1()); + xmlEntity_2_1EClass.getESuperTypes().add(this.getXmlFetchGroupContainer_2_1()); + xmlEntityMappings_2_1EClass.getESuperTypes().add(theEclipseLinkOrmPackage.getXmlAccessMethodsHolder()); + xmlManyToMany_2_1EClass.getESuperTypes().add(theEclipseLinkOrmPackage.getXmlBatchFetchHolder()); + xmlManyToOne_2_1EClass.getESuperTypes().add(theEclipseLinkOrmPackage.getXmlBatchFetchHolder()); + xmlMappedSuperclass_2_1EClass.getESuperTypes().add(theOrmPackage.getXmlAssociationOverrideContainer()); + xmlMappedSuperclass_2_1EClass.getESuperTypes().add(theOrmPackage.getXmlAttributeOverrideContainer()); + xmlMappedSuperclass_2_1EClass.getESuperTypes().add(this.getXmlFetchGroupContainer_2_1()); + xmlMappedSuperclass_2_1EClass.getESuperTypes().add(theOrmPackage.getXmlGeneratorContainer()); + xmlMappedSuperclass_2_1EClass.getESuperTypes().add(theOrmPackage.getXmlQueryContainer()); + xmlMappedSuperclass_2_1EClass.getESuperTypes().add(theEclipseLinkOrmPackage.getXmlQueryContainer()); + xmlMappedSuperclass_2_1EClass.getESuperTypes().add(this.getXmlTypeMapping_2_1()); + xmlOneToMany_2_1EClass.getESuperTypes().add(theEclipseLinkOrmPackage.getXmlBatchFetchHolder()); + xmlOneToOne_2_1EClass.getESuperTypes().add(theEclipseLinkOrmPackage.getXmlBatchFetchHolder()); + xmlPersistenceUnitDefaults_2_1EClass.getESuperTypes().add(theEclipseLinkOrmPackage.getXmlAccessMethodsHolder()); + xmlTypeMapping_2_1EClass.getESuperTypes().add(theEclipseLinkOrmPackage.getXmlAccessMethodsHolder()); + + // Initialize classes and features; add operations and parameters + initEClass(xmlBasic_2_1EClass, XmlBasic_2_1.class, "XmlBasic_2_1", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlBasic_2_1_ReturnInsert(), theEclipseLinkOrmPackage.getXmlReturnInsert(), null, "returnInsert", null, 0, 1, XmlBasic_2_1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlBasic_2_1_ReturnUpdate(), theXMLTypePackage.getBooleanObject(), "returnUpdate", null, 0, 1, XmlBasic_2_1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlBatchFetch_2_1EClass, XmlBatchFetch_2_1.class, "XmlBatchFetch_2_1", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlBatchFetch_2_1_Size(), theXMLTypePackage.getIntObject(), "size", null, 0, 1, XmlBatchFetch_2_1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlBatchFetch_2_1_BatchFetchType(), this.getBatchFetchType_2_1(), "batchFetchType", null, 0, 1, XmlBatchFetch_2_1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlElementCollection_2_1EClass, XmlElementCollection_2_1.class, "XmlElementCollection_2_1", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(xmlEntity_2_1EClass, XmlEntity_2_1.class, "XmlEntity_2_1", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlEntity_2_1_ClassExtractor(), theOrmPackage.getXmlClassReference(), null, "classExtractor", null, 0, 1, XmlEntity_2_1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlEntityMappings_2_1EClass, XmlEntityMappings_2_1.class, "XmlEntityMappings_2_1", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(xmlFetchAttribute_2_1EClass, XmlFetchAttribute_2_1.class, "XmlFetchAttribute_2_1", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlFetchAttribute_2_1_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, XmlFetchAttribute_2_1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlFetchGroup_2_1EClass, XmlFetchGroup_2_1.class, "XmlFetchGroup_2_1", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlFetchGroup_2_1_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, XmlFetchGroup_2_1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlFetchGroup_2_1_Load(), theXMLTypePackage.getBooleanObject(), "load", null, 0, 1, XmlFetchGroup_2_1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlFetchGroup_2_1_Attributes(), theEclipseLinkOrmPackage.getXmlFetchAttribute(), null, "attributes", null, 0, -1, XmlFetchGroup_2_1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlFetchGroupContainer_2_1EClass, XmlFetchGroupContainer_2_1.class, "XmlFetchGroupContainer_2_1", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlFetchGroupContainer_2_1_FetchGroups(), theEclipseLinkOrmPackage.getXmlFetchGroup(), null, "fetchGroups", null, 0, -1, XmlFetchGroupContainer_2_1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlManyToMany_2_1EClass, XmlManyToMany_2_1.class, "XmlManyToMany_2_1", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(xmlManyToOne_2_1EClass, XmlManyToOne_2_1.class, "XmlManyToOne_2_1", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(xmlMappedSuperclass_2_1EClass, XmlMappedSuperclass_2_1.class, "XmlMappedSuperclass_2_1", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlMappedSuperclass_2_1_SqlResultSetMappings(), theOrmPackage.getSqlResultSetMapping(), null, "sqlResultSetMappings", null, 0, -1, XmlMappedSuperclass_2_1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlMappedSuperclass_2_1_QueryRedirectors(), theEclipseLinkOrmPackage.getXmlQueryRedirectors(), null, "queryRedirectors", null, 0, 1, XmlMappedSuperclass_2_1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlOneToMany_2_1EClass, XmlOneToMany_2_1.class, "XmlOneToMany_2_1", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(xmlOneToOne_2_1EClass, XmlOneToOne_2_1.class, "XmlOneToOne_2_1", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(xmlPersistenceUnitDefaults_2_1EClass, XmlPersistenceUnitDefaults_2_1.class, "XmlPersistenceUnitDefaults_2_1", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(xmlPrimaryKey_2_1EClass, XmlPrimaryKey_2_1.class, "XmlPrimaryKey_2_1", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlPrimaryKey_2_1_CacheKeyType(), this.getCacheKeyType_2_1(), "cacheKeyType", null, 0, 1, XmlPrimaryKey_2_1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlReturnInsert_2_1EClass, XmlReturnInsert_2_1.class, "XmlReturnInsert_2_1", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlReturnInsert_2_1_ReturnOnly(), theXMLTypePackage.getBooleanObject(), "returnOnly", null, 0, 1, XmlReturnInsert_2_1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlTypeMapping_2_1EClass, XmlTypeMapping_2_1.class, "XmlTypeMapping_2_1", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlTypeMapping_2_1_ParentClass(), theXMLTypePackage.getString(), "parentClass", null, 0, 1, XmlTypeMapping_2_1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + // Initialize enums and add enum literals + initEEnum(cacheKeyType_2_1EEnum, CacheKeyType_2_1.class, "CacheKeyType_2_1"); + addEEnumLiteral(cacheKeyType_2_1EEnum, CacheKeyType_2_1.ID_VALUE); + addEEnumLiteral(cacheKeyType_2_1EEnum, CacheKeyType_2_1.CACHE_KEY); + addEEnumLiteral(cacheKeyType_2_1EEnum, CacheKeyType_2_1.AUTO); + + initEEnum(batchFetchType_2_1EEnum, BatchFetchType_2_1.class, "BatchFetchType_2_1"); + addEEnumLiteral(batchFetchType_2_1EEnum, BatchFetchType_2_1.JOIN); + addEEnumLiteral(batchFetchType_2_1EEnum, BatchFetchType_2_1.EXISTS); + addEEnumLiteral(batchFetchType_2_1EEnum, BatchFetchType_2_1.IN); + } + + /** + * + * Defines literals for the meta objects that represent + *

    + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • + *
+ * + * @generated + */ + public interface Literals + { + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBasic_2_1 Xml Basic 21}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBasic_2_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlBasic_2_1() + * @generated + */ + public static final EClass XML_BASIC_21 = eINSTANCE.getXmlBasic_2_1(); + + /** + * The meta object literal for the 'Return Insert' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_BASIC_21__RETURN_INSERT = eINSTANCE.getXmlBasic_2_1_ReturnInsert(); + + /** + * The meta object literal for the 'Return Update' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_BASIC_21__RETURN_UPDATE = eINSTANCE.getXmlBasic_2_1_ReturnUpdate(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBatchFetch_2_1 Xml Batch Fetch 21}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBatchFetch_2_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlBatchFetch_2_1() + * @generated + */ + public static final EClass XML_BATCH_FETCH_21 = eINSTANCE.getXmlBatchFetch_2_1(); + + /** + * The meta object literal for the 'Size' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_BATCH_FETCH_21__SIZE = eINSTANCE.getXmlBatchFetch_2_1_Size(); + + /** + * The meta object literal for the 'Batch Fetch Type' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_BATCH_FETCH_21__BATCH_FETCH_TYPE = eINSTANCE.getXmlBatchFetch_2_1_BatchFetchType(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlElementCollection_2_1 Xml Element Collection 21}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlElementCollection_2_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlElementCollection_2_1() + * @generated + */ + public static final EClass XML_ELEMENT_COLLECTION_21 = eINSTANCE.getXmlElementCollection_2_1(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlEntity_2_1 Xml Entity 21}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlEntity_2_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlEntity_2_1() + * @generated + */ + public static final EClass XML_ENTITY_21 = eINSTANCE.getXmlEntity_2_1(); + + /** + * The meta object literal for the 'Class Extractor' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_ENTITY_21__CLASS_EXTRACTOR = eINSTANCE.getXmlEntity_2_1_ClassExtractor(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlEntityMappings_2_1 Xml Entity Mappings 21}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlEntityMappings_2_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlEntityMappings_2_1() + * @generated + */ + public static final EClass XML_ENTITY_MAPPINGS_21 = eINSTANCE.getXmlEntityMappings_2_1(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchAttribute_2_1 Xml Fetch Attribute 21}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchAttribute_2_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlFetchAttribute_2_1() + * @generated + */ + public static final EClass XML_FETCH_ATTRIBUTE_21 = eINSTANCE.getXmlFetchAttribute_2_1(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_FETCH_ATTRIBUTE_21__NAME = eINSTANCE.getXmlFetchAttribute_2_1_Name(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroup_2_1 Xml Fetch Group 21}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroup_2_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlFetchGroup_2_1() + * @generated + */ + public static final EClass XML_FETCH_GROUP_21 = eINSTANCE.getXmlFetchGroup_2_1(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_FETCH_GROUP_21__NAME = eINSTANCE.getXmlFetchGroup_2_1_Name(); + + /** + * The meta object literal for the 'Attributes' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_FETCH_GROUP_21__ATTRIBUTES = eINSTANCE.getXmlFetchGroup_2_1_Attributes(); + + /** + * The meta object literal for the 'Load' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_FETCH_GROUP_21__LOAD = eINSTANCE.getXmlFetchGroup_2_1_Load(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroupContainer_2_1 Xml Fetch Group Container 21}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroupContainer_2_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlFetchGroupContainer_2_1() + * @generated + */ + public static final EClass XML_FETCH_GROUP_CONTAINER_21 = eINSTANCE.getXmlFetchGroupContainer_2_1(); + + /** + * The meta object literal for the 'Fetch Groups' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_FETCH_GROUP_CONTAINER_21__FETCH_GROUPS = eINSTANCE.getXmlFetchGroupContainer_2_1_FetchGroups(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlManyToMany_2_1 Xml Many To Many 21}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlManyToMany_2_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlManyToMany_2_1() + * @generated + */ + public static final EClass XML_MANY_TO_MANY_21 = eINSTANCE.getXmlManyToMany_2_1(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlManyToOne_2_1 Xml Many To One 21}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlManyToOne_2_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlManyToOne_2_1() + * @generated + */ + public static final EClass XML_MANY_TO_ONE_21 = eINSTANCE.getXmlManyToOne_2_1(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlMappedSuperclass_2_1 Xml Mapped Superclass 21}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlMappedSuperclass_2_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlMappedSuperclass_2_1() + * @generated + */ + public static final EClass XML_MAPPED_SUPERCLASS_21 = eINSTANCE.getXmlMappedSuperclass_2_1(); + + /** + * The meta object literal for the 'Sql Result Set Mappings' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_MAPPED_SUPERCLASS_21__SQL_RESULT_SET_MAPPINGS = eINSTANCE.getXmlMappedSuperclass_2_1_SqlResultSetMappings(); + + /** + * The meta object literal for the 'Query Redirectors' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_MAPPED_SUPERCLASS_21__QUERY_REDIRECTORS = eINSTANCE.getXmlMappedSuperclass_2_1_QueryRedirectors(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlOneToMany_2_1 Xml One To Many 21}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlOneToMany_2_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlOneToMany_2_1() + * @generated + */ + public static final EClass XML_ONE_TO_MANY_21 = eINSTANCE.getXmlOneToMany_2_1(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlOneToOne_2_1 Xml One To One 21}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlOneToOne_2_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlOneToOne_2_1() + * @generated + */ + public static final EClass XML_ONE_TO_ONE_21 = eINSTANCE.getXmlOneToOne_2_1(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlPersistenceUnitDefaults_2_1 Xml Persistence Unit Defaults 21}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlPersistenceUnitDefaults_2_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlPersistenceUnitDefaults_2_1() + * @generated + */ + public static final EClass XML_PERSISTENCE_UNIT_DEFAULTS_21 = eINSTANCE.getXmlPersistenceUnitDefaults_2_1(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlReturnInsert_2_1 Xml Return Insert 21}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlReturnInsert_2_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlReturnInsert_2_1() + * @generated + */ + public static final EClass XML_RETURN_INSERT_21 = eINSTANCE.getXmlReturnInsert_2_1(); + + /** + * The meta object literal for the 'Return Only' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_RETURN_INSERT_21__RETURN_ONLY = eINSTANCE.getXmlReturnInsert_2_1_ReturnOnly(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlTypeMapping_2_1 Xml Type Mapping 21}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlTypeMapping_2_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlTypeMapping_2_1() + * @generated + */ + public static final EClass XML_TYPE_MAPPING_21 = eINSTANCE.getXmlTypeMapping_2_1(); + + /** + * The meta object literal for the 'Parent Class' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_TYPE_MAPPING_21__PARENT_CLASS = eINSTANCE.getXmlTypeMapping_2_1_ParentClass(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlPrimaryKey_2_1 Xml Primary Key 21}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlPrimaryKey_2_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlPrimaryKey_2_1() + * @generated + */ + public static final EClass XML_PRIMARY_KEY_21 = eINSTANCE.getXmlPrimaryKey_2_1(); + + /** + * The meta object literal for the 'Cache Key Type' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_PRIMARY_KEY_21__CACHE_KEY_TYPE = eINSTANCE.getXmlPrimaryKey_2_1_CacheKeyType(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.CacheKeyType_2_1 Cache Key Type 21}' enum. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.CacheKeyType_2_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getCacheKeyType_2_1() + * @generated + */ + public static final EEnum CACHE_KEY_TYPE_21 = eINSTANCE.getCacheKeyType_2_1(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.BatchFetchType_2_1 Batch Fetch Type 21}' enum. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.BatchFetchType_2_1 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getBatchFetchType_2_1() + * @generated + */ + public static final EEnum BATCH_FETCH_TYPE_21 = eINSTANCE.getBatchFetchType_2_1(); + + } + +} //EclipseLinkOrmV2_1Package diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlBasic_2_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlBasic_2_1.java new file mode 100644 index 0000000000..4237dbce41 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlBasic_2_1.java @@ -0,0 +1,97 @@ +/******************************************************************************* + * Copyright (c) 2010, 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.v2_1; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlReturnInsert; + +/** + * + * A representation of the model object 'Xml Basic 21'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBasic_2_1#getReturnInsert Return Insert}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBasic_2_1#getReturnUpdate Return Update}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlBasic_2_1() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlBasic_2_1 extends EBaseObject +{ + /** + * 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.v2_1.EclipseLinkOrmV2_1Package#getXmlBasic_2_1_ReturnInsert() + * @model containment="true" + * @generated + */ + XmlReturnInsert getReturnInsert(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBasic_2_1#getReturnInsert Return Insert}' containment reference. + * + * + * @param value the new value of the 'Return Insert' containment reference. + * @see #getReturnInsert() + * @generated + */ + void setReturnInsert(XmlReturnInsert value); + + /** + * 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.v2_1.EclipseLinkOrmV2_1Package#getXmlBasic_2_1_ReturnUpdate() + * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" + * @generated + */ + Boolean getReturnUpdate(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBasic_2_1#getReturnUpdate Return Update}' attribute. + * + * + * @param value the new value of the 'Return Update' attribute. + * @see #getReturnUpdate() + * @generated + */ + void setReturnUpdate(Boolean value); +} // XmlBasic_2_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlBatchFetch_2_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlBatchFetch_2_1.java new file mode 100644 index 0000000000..473c2b3db2 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlBatchFetch_2_1.java @@ -0,0 +1,98 @@ +/******************************************************************************* + * 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.v2_1; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Batch Fetch 21'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBatchFetch_2_1#getSize Size}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBatchFetch_2_1#getBatchFetchType Batch Fetch Type}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlBatchFetch_2_1() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlBatchFetch_2_1 extends EBaseObject +{ + /** + * 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.v2_1.EclipseLinkOrmV2_1Package#getXmlBatchFetch_2_1_Size() + * @model dataType="org.eclipse.emf.ecore.xml.type.IntObject" + * @generated + */ + Integer getSize(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBatchFetch_2_1#getSize Size}' attribute. + * + * + * @param value the new value of the 'Size' attribute. + * @see #getSize() + * @generated + */ + void setSize(Integer value); + + /** + * 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.v2_1.EclipseLinkOrmV2_1Package#getXmlBatchFetch_2_1_BatchFetchType() + * @model + * @generated + */ + BatchFetchType_2_1 getBatchFetchType(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBatchFetch_2_1#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 + */ + void setBatchFetchType(BatchFetchType_2_1 value); + +} // XmlBatchFetch_2_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlElementCollection_2_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlElementCollection_2_1.java new file mode 100644 index 0000000000..b894cf2422 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlElementCollection_2_1.java @@ -0,0 +1,37 @@ +/******************************************************************************* + * Copyright (c) 2010, 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.v2_1; + +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBatchFetchHolder; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinFetch; + +/** + * + * A representation of the model object 'Xml Element Collection 21'. + * + * 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.v2_1.EclipseLinkOrmV2_1Package#getXmlElementCollection_2_1() + * @model kind="class" interface="true" abstract="true" + * @generated + */ +public interface XmlElementCollection_2_1 extends XmlJoinFetch, XmlBatchFetchHolder +{ + +} // XmlElementCollection_2_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlEntityMappings_2_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlEntityMappings_2_1.java new file mode 100644 index 0000000000..50d417e5e6 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlEntityMappings_2_1.java @@ -0,0 +1,35 @@ +/******************************************************************************* + * 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.v2_1; + +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAccessMethodsHolder; + +/** + * + * A representation of the model object 'Xml Entity Mappings 21'. + * + * 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.v2_1.EclipseLinkOrmV2_1Package#getXmlEntityMappings_2_1() + * @model kind="class" interface="true" abstract="true" + * @generated + */ +public interface XmlEntityMappings_2_1 extends XmlAccessMethodsHolder +{ +} // XmlEntityMappings_2_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlEntity_2_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlEntity_2_1.java new file mode 100644 index 0000000000..327b151912 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlEntity_2_1.java @@ -0,0 +1,69 @@ +/******************************************************************************* + * Copyright (c) 2010, 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.v2_1; + +import org.eclipse.jpt.jpa.core.resource.orm.XmlClassReference; + +/** + * + * A representation of the model object 'Xml Entity 21'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlEntity_2_1#getClassExtractor Class Extractor}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlEntity_2_1() + * @model kind="class" interface="true" abstract="true" + * @generated + */ +public interface XmlEntity_2_1 extends XmlTypeMapping_2_1, XmlFetchGroupContainer_2_1 +{ + /** + * Returns the value of the 'Class Extractor' containment reference. + * + *

+ * 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.v2_1.EclipseLinkOrmV2_1Package#getXmlEntity_2_1_ClassExtractor() + * @model containment="true" + * @generated + */ + XmlClassReference getClassExtractor(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlEntity_2_1#getClassExtractor Class Extractor}' containment reference. + * + * + * @param value the new value of the 'Class Extractor' containment reference. + * @see #getClassExtractor() + * @generated + */ + void setClassExtractor(XmlClassReference value); + +} // XmlEntity_2_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlFetchAttribute_2_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlFetchAttribute_2_1.java new file mode 100644 index 0000000000..47b38a6cf6 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlFetchAttribute_2_1.java @@ -0,0 +1,61 @@ +/******************************************************************************* + * 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.v2_1; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Fetch Attribute 21'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchAttribute_2_1#getName Name}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlFetchAttribute_2_1() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlFetchAttribute_2_1 extends EBaseObject +{ + /** + * 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.v2_1.EclipseLinkOrmV2_1Package#getXmlFetchAttribute_2_1_Name() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchAttribute_2_1#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + +} // XmlFetchAttribute_2_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlFetchGroupContainer_2_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlFetchGroupContainer_2_1.java new file mode 100644 index 0000000000..95c064b15d --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlFetchGroupContainer_2_1.java @@ -0,0 +1,53 @@ +/******************************************************************************* + * 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.v2_1; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlFetchGroup; + +/** + * + * A representation of the model object 'Xml Fetch Group Container 21'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroupContainer_2_1#getFetchGroups Fetch Groups}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlFetchGroupContainer_2_1() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlFetchGroupContainer_2_1 extends EBaseObject +{ + /** + * 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.v2_1.EclipseLinkOrmV2_1Package#getXmlFetchGroupContainer_2_1_FetchGroups() + * @model containment="true" + * @generated + */ + EList getFetchGroups(); + +} // XmlFetchGroupContainer_2_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlFetchGroup_2_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlFetchGroup_2_1.java new file mode 100644 index 0000000000..087c94e5bb --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlFetchGroup_2_1.java @@ -0,0 +1,107 @@ +/******************************************************************************* + * 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.v2_1; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlFetchAttribute; + +/** + * + * A representation of the model object 'Xml Fetch Group 21'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroup_2_1#getName Name}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroup_2_1#getLoad Load}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroup_2_1#getAttributes Attributes}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlFetchGroup_2_1() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlFetchGroup_2_1 extends EBaseObject +{ + /** + * 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.v2_1.EclipseLinkOrmV2_1Package#getXmlFetchGroup_2_1_Name() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroup_2_1#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + + /** + * 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.v2_1.EclipseLinkOrmV2_1Package#getXmlFetchGroup_2_1_Attributes() + * @model containment="true" + * @generated + */ + EList getAttributes(); + + /** + * Returns the value of the 'Load' attribute. + * + *

+ * 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.v2_1.EclipseLinkOrmV2_1Package#getXmlFetchGroup_2_1_Load() + * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" + * @generated + */ + Boolean getLoad(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroup_2_1#getLoad Load}' attribute. + * + * + * @param value the new value of the 'Load' attribute. + * @see #getLoad() + * @generated + */ + void setLoad(Boolean value); + +} // XmlFetchGroup_2_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlManyToMany_2_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlManyToMany_2_1.java new file mode 100644 index 0000000000..737924fb13 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlManyToMany_2_1.java @@ -0,0 +1,36 @@ +/******************************************************************************* + * Copyright (c) 2010, 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.v2_1; + +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBatchFetchHolder; + +/** + * + * A representation of the model object 'Xml Many To Many 21'. + * + * 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.v2_1.EclipseLinkOrmV2_1Package#getXmlManyToMany_2_1() + * @model kind="class" interface="true" abstract="true" + * @generated + */ +public interface XmlManyToMany_2_1 extends XmlBatchFetchHolder +{ + +} // XmlManyToMany_2_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlManyToOne_2_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlManyToOne_2_1.java new file mode 100644 index 0000000000..38619f5aa9 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlManyToOne_2_1.java @@ -0,0 +1,35 @@ +/******************************************************************************* + * 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.v2_1; + +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBatchFetchHolder; + +/** + * + * A representation of the model object 'Xml Many To One 21'. + * + * 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.v2_1.EclipseLinkOrmV2_1Package#getXmlManyToOne_2_1() + * @model kind="class" interface="true" abstract="true" + * @generated + */ +public interface XmlManyToOne_2_1 extends XmlBatchFetchHolder +{ +} // XmlManyToOne_2_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlMappedSuperclass_2_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlMappedSuperclass_2_1.java new file mode 100644 index 0000000000..51569a5617 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlMappedSuperclass_2_1.java @@ -0,0 +1,92 @@ +/******************************************************************************* + * Copyright (c) 2010, 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.v2_1; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.jpt.jpa.core.resource.orm.SqlResultSetMapping; +import org.eclipse.jpt.jpa.core.resource.orm.XmlAssociationOverrideContainer; +import org.eclipse.jpt.jpa.core.resource.orm.XmlAttributeOverrideContainer; +import org.eclipse.jpt.jpa.core.resource.orm.XmlGeneratorContainer; +import org.eclipse.jpt.jpa.core.resource.orm.XmlQueryContainer; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryRedirectors; + +/** + * + * A representation of the model object 'Xml Mapped Superclass 21'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlMappedSuperclass_2_1#getSqlResultSetMappings Sql Result Set Mappings}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlMappedSuperclass_2_1#getQueryRedirectors Query Redirectors}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlMappedSuperclass_2_1() + * @model kind="class" interface="true" abstract="true" + * @generated + */ +public interface XmlMappedSuperclass_2_1 extends XmlAssociationOverrideContainer, XmlAttributeOverrideContainer, XmlFetchGroupContainer_2_1, XmlGeneratorContainer, XmlQueryContainer, org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryContainer, XmlTypeMapping_2_1 +{ + /** + * Returns the value of the 'Sql Result Set Mappings' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.core.resource.orm.SqlResultSetMapping}. + * + *

+ * If the meaning of the 'Sql Result Set Mappings' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Sql Result Set Mappings' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlMappedSuperclass_2_1_SqlResultSetMappings() + * @model containment="true" + * @generated + */ + EList getSqlResultSetMappings(); + + /** + * 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.v2_1.EclipseLinkOrmV2_1Package#getXmlMappedSuperclass_2_1_QueryRedirectors() + * @model containment="true" + * @generated + */ + XmlQueryRedirectors getQueryRedirectors(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlMappedSuperclass_2_1#getQueryRedirectors Query Redirectors}' containment reference. + * + * + * @param value the new value of the 'Query Redirectors' containment reference. + * @see #getQueryRedirectors() + * @generated + */ + void setQueryRedirectors(XmlQueryRedirectors value); + +} // XmlMappedSuperclass_2_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlOneToMany_2_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlOneToMany_2_1.java new file mode 100644 index 0000000000..b597c3a375 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlOneToMany_2_1.java @@ -0,0 +1,36 @@ +/******************************************************************************* + * Copyright (c) 2010, 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.v2_1; + +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBatchFetchHolder; + +/** + * + * A representation of the model object 'Xml One To Many 21'. + * + * 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.v2_1.EclipseLinkOrmV2_1Package#getXmlOneToMany_2_1() + * @model kind="class" interface="true" abstract="true" + * @generated + */ +public interface XmlOneToMany_2_1 extends XmlBatchFetchHolder +{ + +} // XmlOneToMany_2_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlOneToOne_2_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlOneToOne_2_1.java new file mode 100644 index 0000000000..38cc74ba5f --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlOneToOne_2_1.java @@ -0,0 +1,35 @@ +/******************************************************************************* + * 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.v2_1; + +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBatchFetchHolder; + +/** + * + * A representation of the model object 'Xml One To One 21'. + * + * 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.v2_1.EclipseLinkOrmV2_1Package#getXmlOneToOne_2_1() + * @model kind="class" interface="true" abstract="true" + * @generated + */ +public interface XmlOneToOne_2_1 extends XmlBatchFetchHolder +{ +} // XmlOneToOne_2_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlPersistenceUnitDefaults_2_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlPersistenceUnitDefaults_2_1.java new file mode 100644 index 0000000000..f7e8e87111 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlPersistenceUnitDefaults_2_1.java @@ -0,0 +1,35 @@ +/******************************************************************************* + * 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.v2_1; + +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAccessMethodsHolder; + +/** + * + * A representation of the model object 'Xml Persistence Unit Defaults 21'. + * + * 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.v2_1.EclipseLinkOrmV2_1Package#getXmlPersistenceUnitDefaults_2_1() + * @model kind="class" interface="true" abstract="true" + * @generated + */ +public interface XmlPersistenceUnitDefaults_2_1 extends XmlAccessMethodsHolder +{ +} // XmlPersistenceUnitDefaults_2_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlPrimaryKey_2_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlPrimaryKey_2_1.java new file mode 100644 index 0000000000..bb22ca63d9 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlPrimaryKey_2_1.java @@ -0,0 +1,64 @@ +/******************************************************************************* + * 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.v2_1; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Primary Key 21'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlPrimaryKey_2_1#getCacheKeyType Cache Key Type}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlPrimaryKey_2_1() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlPrimaryKey_2_1 extends EBaseObject +{ + /** + * Returns the value of the 'Cache Key Type' attribute. + * The literals are from the enumeration {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.CacheKeyType_2_1}. + * + *

+ * If the meaning of the 'Cache Key Type' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Cache Key Type' attribute. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.CacheKeyType_2_1 + * @see #setCacheKeyType(CacheKeyType_2_1) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlPrimaryKey_2_1_CacheKeyType() + * @model + * @generated + */ + CacheKeyType_2_1 getCacheKeyType(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlPrimaryKey_2_1#getCacheKeyType Cache Key Type}' attribute. + * + * + * @param value the new value of the 'Cache Key Type' attribute. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.CacheKeyType_2_1 + * @see #getCacheKeyType() + * @generated + */ + void setCacheKeyType(CacheKeyType_2_1 value); + +} // XmlPrimaryKey_2_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlReturnInsert_2_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlReturnInsert_2_1.java new file mode 100644 index 0000000000..0f9bab794e --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlReturnInsert_2_1.java @@ -0,0 +1,61 @@ +/******************************************************************************* + * 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.v2_1; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Return Insert 21'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlReturnInsert_2_1#getReturnOnly Return Only}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlReturnInsert_2_1() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlReturnInsert_2_1 extends EBaseObject +{ + /** + * Returns the value of the 'Return Only' attribute. + * + *

+ * If the meaning of the 'Return Only' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Return Only' attribute. + * @see #setReturnOnly(Boolean) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlReturnInsert_2_1_ReturnOnly() + * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" + * @generated + */ + Boolean getReturnOnly(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlReturnInsert_2_1#getReturnOnly Return Only}' attribute. + * + * + * @param value the new value of the 'Return Only' attribute. + * @see #getReturnOnly() + * @generated + */ + void setReturnOnly(Boolean value); + +} // XmlReturnInsert_2_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlTypeMapping_2_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlTypeMapping_2_1.java new file mode 100644 index 0000000000..3ec86112f6 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlTypeMapping_2_1.java @@ -0,0 +1,61 @@ +/******************************************************************************* + * 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.v2_1; + +import org.eclipse.jpt.common.core.utility.TextRange; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAccessMethodsHolder; + +/** + * + * A representation of the model object 'Xml Type Mapping 21'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlTypeMapping_2_1#getParentClass Parent Class}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlTypeMapping_2_1() + * @model kind="class" interface="true" abstract="true" + * @generated + */ +public interface XmlTypeMapping_2_1 extends XmlAccessMethodsHolder +{ + + /** + * 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.v2_1.EclipseLinkOrmV2_1Package#getXmlTypeMapping_2_1_ParentClass() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getParentClass(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlTypeMapping_2_1#getParentClass Parent Class}' attribute. + * + * + * @param value the new value of the 'Parent Class' attribute. + * @see #getParentClass() + * @generated + */ + void setParentClass(String value); + + TextRange getParentClassTextRange(); +} // XmlTypeMapping_2_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/CacheIsolationType.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/CacheIsolationType.java new file mode 100644 index 0000000000..f5bd112b31 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/CacheIsolationType.java @@ -0,0 +1,256 @@ +/******************************************************************************* + * 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.v2_2; + +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 'Cache Isolation Type', + * and utility methods for working with them. + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getCacheIsolationType() + * @model + * @generated + */ +public enum CacheIsolationType implements Enumerator +{ + /** + * The 'SHARED' literal object. + * + * + * @see #SHARED_VALUE + * @generated + * @ordered + */ + SHARED(0, "SHARED", "SHARED"), + + /** + * The 'PROTECTED' literal object. + * + * + * @see #PROTECTED_VALUE + * @generated + * @ordered + */ + PROTECTED(1, "PROTECTED", "PROTECTED"), + + /** + * The 'ISOLATED' literal object. + * + * + * @see #ISOLATED_VALUE + * @generated + * @ordered + */ + ISOLATED(2, "ISOLATED", "ISOLATED"); + + /** + * The 'SHARED' literal value. + * + *

+ * If the meaning of 'SHARED' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #SHARED + * @model + * @generated + * @ordered + */ + public static final int SHARED_VALUE = 0; + + /** + * The 'PROTECTED' literal value. + * + *

+ * If the meaning of 'PROTECTED' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #PROTECTED + * @model + * @generated + * @ordered + */ + public static final int PROTECTED_VALUE = 1; + + /** + * The 'ISOLATED' literal value. + * + *

+ * If the meaning of 'ISOLATED' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #ISOLATED + * @model + * @generated + * @ordered + */ + public static final int ISOLATED_VALUE = 2; + + /** + * An array of all the 'Cache Isolation Type' enumerators. + * + * + * @generated + */ + private static final CacheIsolationType[] VALUES_ARRAY = + new CacheIsolationType[] + { + SHARED, + PROTECTED, + ISOLATED, + }; + + /** + * A public read-only list of all the 'Cache Isolation Type' enumerators. + * + * + * @generated + */ + public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the 'Cache Isolation Type' literal with the specified literal value. + * + * + * @generated + */ + public static CacheIsolationType get(String literal) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + CacheIsolationType result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Cache Isolation Type' literal with the specified name. + * + * + * @generated + */ + public static CacheIsolationType getByName(String name) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + CacheIsolationType result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Cache Isolation Type' literal with the specified integer value. + * + * + * @generated + */ + public static CacheIsolationType get(int value) + { + switch (value) + { + case SHARED_VALUE: return SHARED; + case PROTECTED_VALUE: return PROTECTED; + case ISOLATED_VALUE: return ISOLATED; + } + return null; + } + + /** + * + * + * @generated + */ + private final int value; + + /** + * + * + * @generated + */ + private final String name; + + /** + * + * + * @generated + */ + private final String literal; + + /** + * Only this class can construct instances. + * + * + * @generated + */ + private CacheIsolationType(int value, String name, String literal) + { + this.value = value; + this.name = name; + this.literal = literal; + } + + /** + * + * + * @generated + */ + public int getValue() + { + return value; + } + + /** + * + * + * @generated + */ + public String getName() + { + return name; + } + + /** + * + * + * @generated + */ + public String getLiteral() + { + return literal; + } + + /** + * Returns the literal value of the enumerator, which is its string representation. + * + * + * @generated + */ + @Override + public String toString() + { + return literal; + } + +} //CacheIsolationType diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/EclipseLinkOrmV2_2Factory.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/EclipseLinkOrmV2_2Factory.java new file mode 100644 index 0000000000..ceb547f4bf --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/EclipseLinkOrmV2_2Factory.java @@ -0,0 +1,170 @@ +/******************************************************************************* + * Copyright (c) 2010, 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.v2_2; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.impl.EFactoryImpl; +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +/** + * + * The Factory for the model. + * It provides a create method for each non-abstract class of the model. + * + * 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.v2_2.EclipseLinkOrmV2_2Package + * @generated + */ +public class EclipseLinkOrmV2_2Factory extends EFactoryImpl +{ + /** + * The singleton instance of the factory. + * + * + * @generated + */ + public static final EclipseLinkOrmV2_2Factory eINSTANCE = init(); + + /** + * Creates the default factory implementation. + * + * + * @generated + */ + public static EclipseLinkOrmV2_2Factory init() + { + try + { + EclipseLinkOrmV2_2Factory theEclipseLinkOrmV2_2Factory = (EclipseLinkOrmV2_2Factory)EPackage.Registry.INSTANCE.getEFactory("jpt.eclipselink.orm.v2_2.xmi"); + if (theEclipseLinkOrmV2_2Factory != null) + { + return theEclipseLinkOrmV2_2Factory; + } + } + catch (Exception exception) + { + EcorePlugin.INSTANCE.log(exception); + } + return new EclipseLinkOrmV2_2Factory(); + } + + /** + * Creates an instance of the factory. + * + * + * @generated + */ + public EclipseLinkOrmV2_2Factory() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + public EObject create(EClass eClass) + { + switch (eClass.getClassifierID()) + { + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + @Override + public Object createFromString(EDataType eDataType, String initialValue) + { + switch (eDataType.getClassifierID()) + { + case EclipseLinkOrmV2_2Package.CACHE_ISOLATION_TYPE: + return createCacheIsolationTypeFromString(eDataType, initialValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + @Override + public String convertToString(EDataType eDataType, Object instanceValue) + { + switch (eDataType.getClassifierID()) + { + case EclipseLinkOrmV2_2Package.CACHE_ISOLATION_TYPE: + return convertCacheIsolationTypeToString(eDataType, instanceValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + public CacheIsolationType createCacheIsolationTypeFromString(EDataType eDataType, String initialValue) + { + CacheIsolationType result = CacheIsolationType.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * + * + * @generated + */ + public String convertCacheIsolationTypeToString(EDataType eDataType, Object instanceValue) + { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * + * + * @generated + */ + public EclipseLinkOrmV2_2Package getEclipseLinkOrmV2_2Package() + { + return (EclipseLinkOrmV2_2Package)getEPackage(); + } + + /** + * + * + * @deprecated + * @generated + */ + @Deprecated + public static EclipseLinkOrmV2_2Package getPackage() + { + return EclipseLinkOrmV2_2Package.eINSTANCE; + } + +} //EclipseLinkOrmV2_2Factory diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/EclipseLinkOrmV2_2Package.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/EclipseLinkOrmV2_2Package.java new file mode 100644 index 0000000000..a4f3406524 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/EclipseLinkOrmV2_2Package.java @@ -0,0 +1,4614 @@ +/******************************************************************************* + * Copyright (c) 2010, 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.v2_2; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EEnum; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; +import org.eclipse.emf.ecore.impl.EPackageImpl; +import org.eclipse.emf.ecore.xml.type.XMLTypePackage; +import org.eclipse.jpt.jpa.core.resource.orm.OrmPackage; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package; + +/** + * + * The Package for the model. + * It contains accessors for the meta objects to represent + *
    + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • + *
+ * + * 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.v2_2.EclipseLinkOrmV2_2Factory + * @model kind="package" + * @generated + */ +public class EclipseLinkOrmV2_2Package extends EPackageImpl +{ + /** + * The package name. + * + * + * @generated + */ + public static final String eNAME = "v2_2"; + + /** + * The package namespace URI. + * + * + * @generated + */ + public static final String eNS_URI = "jpt.eclipselink.orm.v2_2.xmi"; + + /** + * The package namespace name. + * + * + * @generated + */ + public static final String eNS_PREFIX = "org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2"; + + /** + * The singleton instance of the package. + * + * + * @generated + */ + public static final EclipseLinkOrmV2_2Package eINSTANCE = org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package.init(); + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlAdditionalCriteria_2_2 Xml Additional Criteria 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlAdditionalCriteria_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlAdditionalCriteria_2_2() + * @generated + */ + public static final int XML_ADDITIONAL_CRITERIA_22 = 0; + + /** + * The feature id for the 'Criteria' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ADDITIONAL_CRITERIA_22__CRITERIA = 0; + + /** + * The number of structural features of the 'Xml Additional Criteria 22' class. + * + * + * @generated + * @ordered + */ + public static final int XML_ADDITIONAL_CRITERIA_22_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasic_2_2 Xml Basic 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasic_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlBasic_2_2() + * @generated + */ + public static final int XML_BASIC_22 = 1; + + /** + * The feature id for the 'Index' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC_22__INDEX = 0; + + /** + * The number of structural features of the 'Xml Basic 22' class. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC_22_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasicCollection_2_2 Xml Basic Collection 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasicCollection_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlBasicCollection_2_2() + * @generated + */ + public static final int XML_BASIC_COLLECTION_22 = 2; + + /** + * The feature id for the 'Cascade On Delete' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC_COLLECTION_22__CASCADE_ON_DELETE = 0; + + /** + * The number of structural features of the 'Xml Basic Collection 22' class. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC_COLLECTION_22_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasicMap_2_2 Xml Basic Map 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasicMap_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlBasicMap_2_2() + * @generated + */ + public static final int XML_BASIC_MAP_22 = 3; + + /** + * The feature id for the 'Cascade On Delete' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC_MAP_22__CASCADE_ON_DELETE = 0; + + /** + * The number of structural features of the 'Xml Basic Map 22' class. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC_MAP_22_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlCache_2_2 Xml Cache 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlCache_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlCache_2_2() + * @generated + */ + public static final int XML_CACHE_22 = 4; + + /** + * The feature id for the 'Isolation' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_CACHE_22__ISOLATION = 0; + + /** + * The number of structural features of the 'Xml Cache 22' class. + * + * + * @generated + * @ordered + */ + public static final int XML_CACHE_22_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlCollectionTable_2_2 Xml Collection Table 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlCollectionTable_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlCollectionTable_2_2() + * @generated + */ + public static final int XML_COLLECTION_TABLE_22 = 5; + + /** + * The feature id for the 'Creation Suffix' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_COLLECTION_TABLE_22__CREATION_SUFFIX = 0; + + /** + * The number of structural features of the 'Xml Collection Table 22' class. + * + * + * @generated + * @ordered + */ + public static final int XML_COLLECTION_TABLE_22_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2 Xml Partitioning Group 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlPartitioningGroup_2_2() + * @generated + */ + public static final int XML_PARTITIONING_GROUP_22 = 20; + + /** + * The feature id for the 'Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_PARTITIONING_GROUP_22__PARTITIONING = 0; + + /** + * The feature id for the 'Replication Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING = 1; + + /** + * The feature id for the 'Round Robin Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING = 2; + + /** + * The feature id for the 'Pinned Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING = 3; + + /** + * The feature id for the 'Range Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING = 4; + + /** + * The feature id for the 'Value Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING = 5; + + /** + * The feature id for the 'Hash Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_PARTITIONING_GROUP_22__HASH_PARTITIONING = 6; + + /** + * The feature id for the 'Union Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_PARTITIONING_GROUP_22__UNION_PARTITIONING = 7; + + /** + * The feature id for the 'Partitioned' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_PARTITIONING_GROUP_22__PARTITIONED = 8; + + /** + * The number of structural features of the 'Xml Partitioning Group 22' class. + * + * + * @generated + * @ordered + */ + public static final int XML_PARTITIONING_GROUP_22_FEATURE_COUNT = 9; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlElementCollection_2_2 Xml Element Collection 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlElementCollection_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlElementCollection_2_2() + * @generated + */ + public static final int XML_ELEMENT_COLLECTION_22 = 6; + + /** + * The feature id for the 'Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION_22__PARTITIONING = XML_PARTITIONING_GROUP_22__PARTITIONING; + + /** + * The feature id for the 'Replication Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION_22__REPLICATION_PARTITIONING = XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING; + + /** + * The feature id for the 'Round Robin Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION_22__ROUND_ROBIN_PARTITIONING = XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING; + + /** + * The feature id for the 'Pinned Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION_22__PINNED_PARTITIONING = XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING; + + /** + * The feature id for the 'Range Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION_22__RANGE_PARTITIONING = XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING; + + /** + * The feature id for the 'Value Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION_22__VALUE_PARTITIONING = XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING; + + /** + * The feature id for the 'Hash Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION_22__HASH_PARTITIONING = XML_PARTITIONING_GROUP_22__HASH_PARTITIONING; + + /** + * The feature id for the 'Union Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION_22__UNION_PARTITIONING = XML_PARTITIONING_GROUP_22__UNION_PARTITIONING; + + /** + * The feature id for the 'Partitioned' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION_22__PARTITIONED = XML_PARTITIONING_GROUP_22__PARTITIONED; + + /** + * The feature id for the 'Cascade On Delete' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION_22__CASCADE_ON_DELETE = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Noncacheable' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION_22__NONCACHEABLE = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Xml Element Collection 22' class. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION_22_FEATURE_COUNT = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 2; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntity_2_2 Xml Entity 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntity_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlEntity_2_2() + * @generated + */ + public static final int XML_ENTITY_22 = 8; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2 Xml Entity Mappings 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlEntityMappings_2_2() + * @generated + */ + public static final int XML_ENTITY_MAPPINGS_22 = 9; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlHashPartitioning_2_2 Xml Hash Partitioning 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlHashPartitioning_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlHashPartitioning_2_2() + * @generated + */ + public static final int XML_HASH_PARTITIONING_22 = 10; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToMany_2_2 Xml Many To Many 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToMany_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlManyToMany_2_2() + * @generated + */ + public static final int XML_MANY_TO_MANY_22 = 14; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToOne_2_2 Xml Many To One 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToOne_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlManyToOne_2_2() + * @generated + */ + public static final int XML_MANY_TO_ONE_22 = 15; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToOne_2_2 Xml One To One 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToOne_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlOneToOne_2_2() + * @generated + */ + public static final int XML_ONE_TO_ONE_22 = 17; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToMany_2_2 Xml One To Many 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToMany_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlOneToMany_2_2() + * @generated + */ + public static final int XML_ONE_TO_MANY_22 = 18; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioning_2_2 Xml Partitioning 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioning_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlPartitioning_2_2() + * @generated + */ + public static final int XML_PARTITIONING_22 = 19; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPinnedPartitioning_2_2 Xml Pinned Partitioning 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPinnedPartitioning_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlPinnedPartitioning_2_2() + * @generated + */ + public static final int XML_PINNED_PARTITIONING_22 = 21; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRangePartitioning_2_2 Xml Range Partitioning 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRangePartitioning_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlRangePartitioning_2_2() + * @generated + */ + public static final int XML_RANGE_PARTITIONING_22 = 22; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlReplicationPartitioning_2_2 Xml Replication Partitioning 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlReplicationPartitioning_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlReplicationPartitioning_2_2() + * @generated + */ + public static final int XML_REPLICATION_PARTITIONING_22 = 23; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRoundRobinPartitioning_2_2 Xml Round Robin Partitioning 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRoundRobinPartitioning_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlRoundRobinPartitioning_2_2() + * @generated + */ + public static final int XML_ROUND_ROBIN_PARTITIONING_22 = 24; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEmbeddable_2_2 Xml Embeddable 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEmbeddable_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlEmbeddable_2_2() + * @generated + */ + public static final int XML_EMBEDDABLE_22 = 7; + + /** + * The feature id for the 'Attribute Overrides' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDABLE_22__ATTRIBUTE_OVERRIDES = OrmPackage.XML_ATTRIBUTE_OVERRIDE_CONTAINER__ATTRIBUTE_OVERRIDES; + + /** + * The feature id for the 'Association Overrides' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDABLE_22__ASSOCIATION_OVERRIDES = OrmPackage.XML_ATTRIBUTE_OVERRIDE_CONTAINER_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Xml Embeddable 22' class. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDABLE_22_FEATURE_COUNT = OrmPackage.XML_ATTRIBUTE_OVERRIDE_CONTAINER_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_22__PARTITIONING = XML_PARTITIONING_GROUP_22__PARTITIONING; + + /** + * The feature id for the 'Replication Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_22__REPLICATION_PARTITIONING = XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING; + + /** + * The feature id for the 'Round Robin Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_22__ROUND_ROBIN_PARTITIONING = XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING; + + /** + * The feature id for the 'Pinned Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_22__PINNED_PARTITIONING = XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING; + + /** + * The feature id for the 'Range Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_22__RANGE_PARTITIONING = XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING; + + /** + * The feature id for the 'Value Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_22__VALUE_PARTITIONING = XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING; + + /** + * The feature id for the 'Hash Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_22__HASH_PARTITIONING = XML_PARTITIONING_GROUP_22__HASH_PARTITIONING; + + /** + * The feature id for the 'Union Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_22__UNION_PARTITIONING = XML_PARTITIONING_GROUP_22__UNION_PARTITIONING; + + /** + * The feature id for the 'Partitioned' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_22__PARTITIONED = XML_PARTITIONING_GROUP_22__PARTITIONED; + + /** + * The feature id for the 'Additional Criteria' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_22__ADDITIONAL_CRITERIA = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Cascade On Delete' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_22__CASCADE_ON_DELETE = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Index' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_22__INDEX = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 2; + + /** + * The number of structural features of the 'Xml Entity 22' class. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_22_FEATURE_COUNT = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 3; + + /** + * The feature id for the 'Partitioning' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS_22__PARTITIONING = 0; + + /** + * The feature id for the 'Replication Partitioning' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS_22__REPLICATION_PARTITIONING = 1; + + /** + * The feature id for the 'Round Robin Partitioning' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS_22__ROUND_ROBIN_PARTITIONING = 2; + + /** + * The feature id for the 'Pinned Partitioning' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS_22__PINNED_PARTITIONING = 3; + + /** + * The feature id for the 'Range Partitioning' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS_22__RANGE_PARTITIONING = 4; + + /** + * The feature id for the 'Value Partitioning' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS_22__VALUE_PARTITIONING = 5; + + /** + * The feature id for the 'Hash Partitioning' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS_22__HASH_PARTITIONING = 6; + + /** + * The feature id for the 'Union Partitioning' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS_22__UNION_PARTITIONING = 7; + + /** + * The number of structural features of the 'Xml Entity Mappings 22' class. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS_22_FEATURE_COUNT = 8; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_HASH_PARTITIONING_22__NAME = 0; + + /** + * The number of structural features of the 'Xml Hash Partitioning 22' class. + * + * + * @generated + * @ordered + */ + public static final int XML_HASH_PARTITIONING_22_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlId_2_2 Xml Id 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlId_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlId_2_2() + * @generated + */ + public static final int XML_ID_22 = 11; + + /** + * The feature id for the 'Index' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ID_22__INDEX = 0; + + /** + * The number of structural features of the 'Xml Id 22' class. + * + * + * @generated + * @ordered + */ + public static final int XML_ID_22_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2 Xml Index 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlIndex_2_2() + * @generated + */ + public static final int XML_INDEX_22 = 12; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_INDEX_22__NAME = 0; + + /** + * The feature id for the 'Schema' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_INDEX_22__SCHEMA = 1; + + /** + * The feature id for the 'Catalog' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_INDEX_22__CATALOG = 2; + + /** + * The feature id for the 'Table' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_INDEX_22__TABLE = 3; + + /** + * The feature id for the 'Unique' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_INDEX_22__UNIQUE = 4; + + /** + * The feature id for the 'Column Names' attribute list. + * + * + * @generated + * @ordered + */ + public static final int XML_INDEX_22__COLUMN_NAMES = 5; + + /** + * The number of structural features of the 'Xml Index 22' class. + * + * + * @generated + * @ordered + */ + public static final int XML_INDEX_22_FEATURE_COUNT = 6; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlJoinTable_2_2 Xml Join Table 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlJoinTable_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlJoinTable_2_2() + * @generated + */ + public static final int XML_JOIN_TABLE_22 = 13; + + /** + * The feature id for the 'Creation Suffix' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_JOIN_TABLE_22__CREATION_SUFFIX = 0; + + /** + * The number of structural features of the 'Xml Join Table 22' class. + * + * + * @generated + * @ordered + */ + public static final int XML_JOIN_TABLE_22_FEATURE_COUNT = 1; + + /** + * The feature id for the 'Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY_22__PARTITIONING = XML_PARTITIONING_GROUP_22__PARTITIONING; + + /** + * The feature id for the 'Replication Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY_22__REPLICATION_PARTITIONING = XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING; + + /** + * The feature id for the 'Round Robin Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY_22__ROUND_ROBIN_PARTITIONING = XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING; + + /** + * The feature id for the 'Pinned Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY_22__PINNED_PARTITIONING = XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING; + + /** + * The feature id for the 'Range Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY_22__RANGE_PARTITIONING = XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING; + + /** + * The feature id for the 'Value Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY_22__VALUE_PARTITIONING = XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING; + + /** + * The feature id for the 'Hash Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY_22__HASH_PARTITIONING = XML_PARTITIONING_GROUP_22__HASH_PARTITIONING; + + /** + * The feature id for the 'Union Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY_22__UNION_PARTITIONING = XML_PARTITIONING_GROUP_22__UNION_PARTITIONING; + + /** + * The feature id for the 'Partitioned' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY_22__PARTITIONED = XML_PARTITIONING_GROUP_22__PARTITIONED; + + /** + * The feature id for the 'Cascade On Delete' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY_22__CASCADE_ON_DELETE = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Non Cacheable' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY_22__NON_CACHEABLE = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Xml Many To Many 22' class. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY_22_FEATURE_COUNT = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 2; + + /** + * The feature id for the 'Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_ONE_22__PARTITIONING = XML_PARTITIONING_GROUP_22__PARTITIONING; + + /** + * The feature id for the 'Replication Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_ONE_22__REPLICATION_PARTITIONING = XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING; + + /** + * The feature id for the 'Round Robin Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_ONE_22__ROUND_ROBIN_PARTITIONING = XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING; + + /** + * The feature id for the 'Pinned Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_ONE_22__PINNED_PARTITIONING = XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING; + + /** + * The feature id for the 'Range Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_ONE_22__RANGE_PARTITIONING = XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING; + + /** + * The feature id for the 'Value Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_ONE_22__VALUE_PARTITIONING = XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING; + + /** + * The feature id for the 'Hash Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_ONE_22__HASH_PARTITIONING = XML_PARTITIONING_GROUP_22__HASH_PARTITIONING; + + /** + * The feature id for the 'Union Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_ONE_22__UNION_PARTITIONING = XML_PARTITIONING_GROUP_22__UNION_PARTITIONING; + + /** + * The feature id for the 'Partitioned' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_ONE_22__PARTITIONED = XML_PARTITIONING_GROUP_22__PARTITIONED; + + /** + * The feature id for the 'Non Cacheable' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_ONE_22__NON_CACHEABLE = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Xml Many To One 22' class. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_ONE_22_FEATURE_COUNT = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlMappedSuperclass_2_2 Xml Mapped Superclass 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlMappedSuperclass_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlMappedSuperclass_2_2() + * @generated + */ + public static final int XML_MAPPED_SUPERCLASS_22 = 16; + + /** + * The feature id for the 'Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS_22__PARTITIONING = XML_PARTITIONING_GROUP_22__PARTITIONING; + + /** + * The feature id for the 'Replication Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS_22__REPLICATION_PARTITIONING = XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING; + + /** + * The feature id for the 'Round Robin Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS_22__ROUND_ROBIN_PARTITIONING = XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING; + + /** + * The feature id for the 'Pinned Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS_22__PINNED_PARTITIONING = XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING; + + /** + * The feature id for the 'Range Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS_22__RANGE_PARTITIONING = XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING; + + /** + * The feature id for the 'Value Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS_22__VALUE_PARTITIONING = XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING; + + /** + * The feature id for the 'Hash Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS_22__HASH_PARTITIONING = XML_PARTITIONING_GROUP_22__HASH_PARTITIONING; + + /** + * The feature id for the 'Union Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS_22__UNION_PARTITIONING = XML_PARTITIONING_GROUP_22__UNION_PARTITIONING; + + /** + * The feature id for the 'Partitioned' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS_22__PARTITIONED = XML_PARTITIONING_GROUP_22__PARTITIONED; + + /** + * The feature id for the 'Additional Criteria' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS_22__ADDITIONAL_CRITERIA = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Xml Mapped Superclass 22' class. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS_22_FEATURE_COUNT = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE_22__PARTITIONING = XML_PARTITIONING_GROUP_22__PARTITIONING; + + /** + * The feature id for the 'Replication Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE_22__REPLICATION_PARTITIONING = XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING; + + /** + * The feature id for the 'Round Robin Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE_22__ROUND_ROBIN_PARTITIONING = XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING; + + /** + * The feature id for the 'Pinned Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE_22__PINNED_PARTITIONING = XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING; + + /** + * The feature id for the 'Range Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE_22__RANGE_PARTITIONING = XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING; + + /** + * The feature id for the 'Value Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE_22__VALUE_PARTITIONING = XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING; + + /** + * The feature id for the 'Hash Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE_22__HASH_PARTITIONING = XML_PARTITIONING_GROUP_22__HASH_PARTITIONING; + + /** + * The feature id for the 'Union Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE_22__UNION_PARTITIONING = XML_PARTITIONING_GROUP_22__UNION_PARTITIONING; + + /** + * The feature id for the 'Partitioned' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE_22__PARTITIONED = XML_PARTITIONING_GROUP_22__PARTITIONED; + + /** + * The feature id for the 'Cascade On Delete' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE_22__CASCADE_ON_DELETE = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Non Cacheable' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE_22__NON_CACHEABLE = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Xml One To One 22' class. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE_22_FEATURE_COUNT = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 2; + + /** + * The feature id for the 'Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY_22__PARTITIONING = XML_PARTITIONING_GROUP_22__PARTITIONING; + + /** + * The feature id for the 'Replication Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY_22__REPLICATION_PARTITIONING = XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING; + + /** + * The feature id for the 'Round Robin Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY_22__ROUND_ROBIN_PARTITIONING = XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING; + + /** + * The feature id for the 'Pinned Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY_22__PINNED_PARTITIONING = XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING; + + /** + * The feature id for the 'Range Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY_22__RANGE_PARTITIONING = XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING; + + /** + * The feature id for the 'Value Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY_22__VALUE_PARTITIONING = XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING; + + /** + * The feature id for the 'Hash Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY_22__HASH_PARTITIONING = XML_PARTITIONING_GROUP_22__HASH_PARTITIONING; + + /** + * The feature id for the 'Union Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY_22__UNION_PARTITIONING = XML_PARTITIONING_GROUP_22__UNION_PARTITIONING; + + /** + * The feature id for the 'Partitioned' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY_22__PARTITIONED = XML_PARTITIONING_GROUP_22__PARTITIONED; + + /** + * The feature id for the 'Cascade On Delete' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY_22__CASCADE_ON_DELETE = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Noncacheable' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY_22__NONCACHEABLE = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Xml One To Many 22' class. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY_22_FEATURE_COUNT = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 2; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_PARTITIONING_22__NAME = 0; + + /** + * The number of structural features of the 'Xml Partitioning 22' class. + * + * + * @generated + * @ordered + */ + public static final int XML_PARTITIONING_22_FEATURE_COUNT = 1; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_PINNED_PARTITIONING_22__NAME = 0; + + /** + * The number of structural features of the 'Xml Pinned Partitioning 22' class. + * + * + * @generated + * @ordered + */ + public static final int XML_PINNED_PARTITIONING_22_FEATURE_COUNT = 1; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_RANGE_PARTITIONING_22__NAME = 0; + + /** + * The number of structural features of the 'Xml Range Partitioning 22' class. + * + * + * @generated + * @ordered + */ + public static final int XML_RANGE_PARTITIONING_22_FEATURE_COUNT = 1; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_REPLICATION_PARTITIONING_22__NAME = 0; + + /** + * The number of structural features of the 'Xml Replication Partitioning 22' class. + * + * + * @generated + * @ordered + */ + public static final int XML_REPLICATION_PARTITIONING_22_FEATURE_COUNT = 1; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ROUND_ROBIN_PARTITIONING_22__NAME = 0; + + /** + * The number of structural features of the 'Xml Round Robin Partitioning 22' class. + * + * + * @generated + * @ordered + */ + public static final int XML_ROUND_ROBIN_PARTITIONING_22_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlSecondaryTable_2_2 Xml Secondary Table 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlSecondaryTable_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlSecondaryTable_2_2() + * @generated + */ + public static final int XML_SECONDARY_TABLE_22 = 25; + + /** + * The feature id for the 'Creation Suffix' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_SECONDARY_TABLE_22__CREATION_SUFFIX = 0; + + /** + * The number of structural features of the 'Xml Secondary Table 22' class. + * + * + * @generated + * @ordered + */ + public static final int XML_SECONDARY_TABLE_22_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlTable_2_2 Xml Table 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlTable_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlTable_2_2() + * @generated + */ + public static final int XML_TABLE_22 = 26; + + /** + * The feature id for the 'Creation Suffix' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TABLE_22__CREATION_SUFFIX = 0; + + /** + * The number of structural features of the 'Xml Table 22' class. + * + * + * @generated + * @ordered + */ + public static final int XML_TABLE_22_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlTableGenerator_2_2 Xml Table Generator 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlTableGenerator_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlTableGenerator_2_2() + * @generated + */ + public static final int XML_TABLE_GENERATOR_22 = 27; + + /** + * The feature id for the 'Creation Suffix' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TABLE_GENERATOR_22__CREATION_SUFFIX = 0; + + /** + * The number of structural features of the 'Xml Table Generator 22' class. + * + * + * @generated + * @ordered + */ + public static final int XML_TABLE_GENERATOR_22_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlUnionPartitioning_2_2 Xml Union Partitioning 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlUnionPartitioning_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlUnionPartitioning_2_2() + * @generated + */ + public static final int XML_UNION_PARTITIONING_22 = 28; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_UNION_PARTITIONING_22__NAME = 0; + + /** + * The number of structural features of the 'Xml Union Partitioning 22' class. + * + * + * @generated + * @ordered + */ + public static final int XML_UNION_PARTITIONING_22_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlValuePartitioning_2_2 Xml Value Partitioning 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlValuePartitioning_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlValuePartitioning_2_2() + * @generated + */ + public static final int XML_VALUE_PARTITIONING_22 = 29; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_VALUE_PARTITIONING_22__NAME = 0; + + /** + * The number of structural features of the 'Xml Value Partitioning 22' class. + * + * + * @generated + * @ordered + */ + public static final int XML_VALUE_PARTITIONING_22_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlVariableOneToOne_2_2 Xml Variable One To One 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlVariableOneToOne_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlVariableOneToOne_2_2() + * @generated + */ + public static final int XML_VARIABLE_ONE_TO_ONE_22 = 30; + + /** + * The feature id for the 'Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_VARIABLE_ONE_TO_ONE_22__PARTITIONING = XML_PARTITIONING_GROUP_22__PARTITIONING; + + /** + * The feature id for the 'Replication Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_VARIABLE_ONE_TO_ONE_22__REPLICATION_PARTITIONING = XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING; + + /** + * The feature id for the 'Round Robin Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_VARIABLE_ONE_TO_ONE_22__ROUND_ROBIN_PARTITIONING = XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING; + + /** + * The feature id for the 'Pinned Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_VARIABLE_ONE_TO_ONE_22__PINNED_PARTITIONING = XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING; + + /** + * The feature id for the 'Range Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_VARIABLE_ONE_TO_ONE_22__RANGE_PARTITIONING = XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING; + + /** + * The feature id for the 'Value Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_VARIABLE_ONE_TO_ONE_22__VALUE_PARTITIONING = XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING; + + /** + * The feature id for the 'Hash Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_VARIABLE_ONE_TO_ONE_22__HASH_PARTITIONING = XML_PARTITIONING_GROUP_22__HASH_PARTITIONING; + + /** + * The feature id for the 'Union Partitioning' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_VARIABLE_ONE_TO_ONE_22__UNION_PARTITIONING = XML_PARTITIONING_GROUP_22__UNION_PARTITIONING; + + /** + * The feature id for the 'Partitioned' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_VARIABLE_ONE_TO_ONE_22__PARTITIONED = XML_PARTITIONING_GROUP_22__PARTITIONED; + + /** + * The feature id for the 'Non Cacheable' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_VARIABLE_ONE_TO_ONE_22__NON_CACHEABLE = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Xml Variable One To One 22' class. + * + * + * @generated + * @ordered + */ + public static final int XML_VARIABLE_ONE_TO_ONE_22_FEATURE_COUNT = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlVersion_2_2 Xml Version 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlVersion_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlVersion_2_2() + * @generated + */ + public static final int XML_VERSION_22 = 31; + + /** + * The feature id for the 'Index' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_VERSION_22__INDEX = 0; + + /** + * The number of structural features of the 'Xml Version 22' class. + * + * + * @generated + * @ordered + */ + public static final int XML_VERSION_22_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.CacheIsolationType Cache Isolation Type}' enum. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.CacheIsolationType + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getCacheIsolationType() + * @generated + */ + public static final int CACHE_ISOLATION_TYPE = 32; + + /** + * + * + * @generated + */ + private EClass xmlAdditionalCriteria_2_2EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlBasic_2_2EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlBasicCollection_2_2EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlBasicMap_2_2EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlCache_2_2EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlCollectionTable_2_2EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlElementCollection_2_2EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlEntity_2_2EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlEntityMappings_2_2EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlHashPartitioning_2_2EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlManyToMany_2_2EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlManyToOne_2_2EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlOneToOne_2_2EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlOneToMany_2_2EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlPartitioning_2_2EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlPartitioningGroup_2_2EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlPinnedPartitioning_2_2EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlRangePartitioning_2_2EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlReplicationPartitioning_2_2EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlRoundRobinPartitioning_2_2EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlEmbeddable_2_2EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlId_2_2EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlIndex_2_2EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlJoinTable_2_2EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlMappedSuperclass_2_2EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlSecondaryTable_2_2EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlTable_2_2EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlTableGenerator_2_2EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlUnionPartitioning_2_2EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlValuePartitioning_2_2EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlVariableOneToOne_2_2EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlVersion_2_2EClass = null; + + /** + * + * + * @generated + */ + private EEnum cacheIsolationTypeEEnum = null; + + /** + * Creates an instance of the model Package, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + *

Note: 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.v2_2.EclipseLinkOrmV2_2Package#eNS_URI + * @see #init() + * @generated + */ + private EclipseLinkOrmV2_2Package() + { + super(eNS_URI, EclipseLinkOrmV2_2Factory.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 EclipseLinkOrmV2_2Package#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 EclipseLinkOrmV2_2Package init() + { + if (isInited) return (EclipseLinkOrmV2_2Package)EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmV2_2Package.eNS_URI); + + // Obtain or create and register package + EclipseLinkOrmV2_2Package theEclipseLinkOrmV2_2Package = (EclipseLinkOrmV2_2Package)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof EclipseLinkOrmV2_2Package ? EPackage.Registry.INSTANCE.get(eNS_URI) : new EclipseLinkOrmV2_2Package()); + + isInited = true; + + // Initialize simple dependencies + OrmPackage.eINSTANCE.eClass(); + XMLTypePackage.eINSTANCE.eClass(); + + // Obtain or create and register interdependencies + EclipseLinkOrmPackage theEclipseLinkOrmPackage = (EclipseLinkOrmPackage)(EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmPackage.eNS_URI) instanceof EclipseLinkOrmPackage ? EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmPackage.eNS_URI) : EclipseLinkOrmPackage.eINSTANCE); + 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_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 + theEclipseLinkOrmV2_2Package.createPackageContents(); + theEclipseLinkOrmPackage.createPackageContents(); + theEclipseLinkOrmV1_1Package.createPackageContents(); + theEclipseLinkOrmV2_0Package.createPackageContents(); + theEclipseLinkOrmV2_1Package.createPackageContents(); + theEclipseLinkOrmV2_3Package.createPackageContents(); + theEclipseLinkOrmV2_4Package.createPackageContents(); + + // Initialize created meta-data + theEclipseLinkOrmV2_2Package.initializePackageContents(); + theEclipseLinkOrmPackage.initializePackageContents(); + theEclipseLinkOrmV1_1Package.initializePackageContents(); + theEclipseLinkOrmV2_0Package.initializePackageContents(); + theEclipseLinkOrmV2_1Package.initializePackageContents(); + theEclipseLinkOrmV2_3Package.initializePackageContents(); + theEclipseLinkOrmV2_4Package.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theEclipseLinkOrmV2_2Package.freeze(); + + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(EclipseLinkOrmV2_2Package.eNS_URI, theEclipseLinkOrmV2_2Package); + return theEclipseLinkOrmV2_2Package; + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlAdditionalCriteria_2_2 Xml Additional Criteria 22}'. + * + * + * @return the meta object for class 'Xml Additional Criteria 22'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlAdditionalCriteria_2_2 + * @generated + */ + public EClass getXmlAdditionalCriteria_2_2() + { + return xmlAdditionalCriteria_2_2EClass; + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlAdditionalCriteria_2_2#getCriteria Criteria}'. + * + * + * @return the meta object for the attribute 'Criteria'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlAdditionalCriteria_2_2#getCriteria() + * @see #getXmlAdditionalCriteria_2_2() + * @generated + */ + public EAttribute getXmlAdditionalCriteria_2_2_Criteria() + { + return (EAttribute)xmlAdditionalCriteria_2_2EClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasic_2_2 Xml Basic 22}'. + * + * + * @return the meta object for class 'Xml Basic 22'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasic_2_2 + * @generated + */ + public EClass getXmlBasic_2_2() + { + return xmlBasic_2_2EClass; + } + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasic_2_2#getIndex Index}'. + * + * + * @return the meta object for the containment reference 'Index'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasic_2_2#getIndex() + * @see #getXmlBasic_2_2() + * @generated + */ + public EReference getXmlBasic_2_2_Index() + { + return (EReference)xmlBasic_2_2EClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasicCollection_2_2 Xml Basic Collection 22}'. + * + * + * @return the meta object for class 'Xml Basic Collection 22'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasicCollection_2_2 + * @generated + */ + public EClass getXmlBasicCollection_2_2() + { + return xmlBasicCollection_2_2EClass; + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasicCollection_2_2#getCascadeOnDelete Cascade On Delete}'. + * + * + * @return the meta object for the attribute 'Cascade On Delete'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasicCollection_2_2#getCascadeOnDelete() + * @see #getXmlBasicCollection_2_2() + * @generated + */ + public EAttribute getXmlBasicCollection_2_2_CascadeOnDelete() + { + return (EAttribute)xmlBasicCollection_2_2EClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasicMap_2_2 Xml Basic Map 22}'. + * + * + * @return the meta object for class 'Xml Basic Map 22'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasicMap_2_2 + * @generated + */ + public EClass getXmlBasicMap_2_2() + { + return xmlBasicMap_2_2EClass; + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasicMap_2_2#getCascadeOnDelete Cascade On Delete}'. + * + * + * @return the meta object for the attribute 'Cascade On Delete'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasicMap_2_2#getCascadeOnDelete() + * @see #getXmlBasicMap_2_2() + * @generated + */ + public EAttribute getXmlBasicMap_2_2_CascadeOnDelete() + { + return (EAttribute)xmlBasicMap_2_2EClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlCache_2_2 Xml Cache 22}'. + * + * + * @return the meta object for class 'Xml Cache 22'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlCache_2_2 + * @generated + */ + public EClass getXmlCache_2_2() + { + return xmlCache_2_2EClass; + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlCache_2_2#getIsolation Isolation}'. + * + * + * @return the meta object for the attribute 'Isolation'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlCache_2_2#getIsolation() + * @see #getXmlCache_2_2() + * @generated + */ + public EAttribute getXmlCache_2_2_Isolation() + { + return (EAttribute)xmlCache_2_2EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlCollectionTable_2_2 Xml Collection Table 22}'. + * + * + * @return the meta object for class 'Xml Collection Table 22'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlCollectionTable_2_2 + * @generated + */ + public EClass getXmlCollectionTable_2_2() + { + return xmlCollectionTable_2_2EClass; + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlCollectionTable_2_2#getCreationSuffix Creation Suffix}'. + * + * + * @return the meta object for the attribute 'Creation Suffix'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlCollectionTable_2_2#getCreationSuffix() + * @see #getXmlCollectionTable_2_2() + * @generated + */ + public EAttribute getXmlCollectionTable_2_2_CreationSuffix() + { + return (EAttribute)xmlCollectionTable_2_2EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlElementCollection_2_2 Xml Element Collection 22}'. + * + * + * @return the meta object for class 'Xml Element Collection 22'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlElementCollection_2_2 + * @generated + */ + public EClass getXmlElementCollection_2_2() + { + return xmlElementCollection_2_2EClass; + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlElementCollection_2_2#getCascadeOnDelete Cascade On Delete}'. + * + * + * @return the meta object for the attribute 'Cascade On Delete'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlElementCollection_2_2#getCascadeOnDelete() + * @see #getXmlElementCollection_2_2() + * @generated + */ + public EAttribute getXmlElementCollection_2_2_CascadeOnDelete() + { + return (EAttribute)xmlElementCollection_2_2EClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlElementCollection_2_2#isNoncacheable Noncacheable}'. + * + * + * @return the meta object for the attribute 'Noncacheable'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlElementCollection_2_2#isNoncacheable() + * @see #getXmlElementCollection_2_2() + * @generated + */ + public EAttribute getXmlElementCollection_2_2_Noncacheable() + { + return (EAttribute)xmlElementCollection_2_2EClass.getEStructuralFeatures().get(1); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntity_2_2 Xml Entity 22}'. + * + * + * @return the meta object for class 'Xml Entity 22'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntity_2_2 + * @generated + */ + public EClass getXmlEntity_2_2() + { + return xmlEntity_2_2EClass; + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntity_2_2#getCascadeOnDelete Cascade On Delete}'. + * + * + * @return the meta object for the attribute 'Cascade On Delete'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntity_2_2#getCascadeOnDelete() + * @see #getXmlEntity_2_2() + * @generated + */ + public EAttribute getXmlEntity_2_2_CascadeOnDelete() + { + return (EAttribute)xmlEntity_2_2EClass.getEStructuralFeatures().get(1); + } + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntity_2_2#getIndex Index}'. + * + * + * @return the meta object for the containment reference 'Index'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntity_2_2#getIndex() + * @see #getXmlEntity_2_2() + * @generated + */ + public EReference getXmlEntity_2_2_Index() + { + return (EReference)xmlEntity_2_2EClass.getEStructuralFeatures().get(2); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2 Xml Entity Mappings 22}'. + * + * + * @return the meta object for class 'Xml Entity Mappings 22'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2 + * @generated + */ + public EClass getXmlEntityMappings_2_2() + { + return xmlEntityMappings_2_2EClass; + } + + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getPartitioning Partitioning}'. + * + * + * @return the meta object for the containment reference list 'Partitioning'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getPartitioning() + * @see #getXmlEntityMappings_2_2() + * @generated + */ + public EReference getXmlEntityMappings_2_2_Partitioning() + { + return (EReference)xmlEntityMappings_2_2EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getReplicationPartitioning Replication Partitioning}'. + * + * + * @return the meta object for the containment reference list 'Replication Partitioning'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getReplicationPartitioning() + * @see #getXmlEntityMappings_2_2() + * @generated + */ + public EReference getXmlEntityMappings_2_2_ReplicationPartitioning() + { + return (EReference)xmlEntityMappings_2_2EClass.getEStructuralFeatures().get(1); + } + + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getRoundRobinPartitioning Round Robin Partitioning}'. + * + * + * @return the meta object for the containment reference list 'Round Robin Partitioning'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getRoundRobinPartitioning() + * @see #getXmlEntityMappings_2_2() + * @generated + */ + public EReference getXmlEntityMappings_2_2_RoundRobinPartitioning() + { + return (EReference)xmlEntityMappings_2_2EClass.getEStructuralFeatures().get(2); + } + + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getPinnedPartitioning Pinned Partitioning}'. + * + * + * @return the meta object for the containment reference list 'Pinned Partitioning'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getPinnedPartitioning() + * @see #getXmlEntityMappings_2_2() + * @generated + */ + public EReference getXmlEntityMappings_2_2_PinnedPartitioning() + { + return (EReference)xmlEntityMappings_2_2EClass.getEStructuralFeatures().get(3); + } + + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getRangePartitioning Range Partitioning}'. + * + * + * @return the meta object for the containment reference list 'Range Partitioning'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getRangePartitioning() + * @see #getXmlEntityMappings_2_2() + * @generated + */ + public EReference getXmlEntityMappings_2_2_RangePartitioning() + { + return (EReference)xmlEntityMappings_2_2EClass.getEStructuralFeatures().get(4); + } + + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getValuePartitioning Value Partitioning}'. + * + * + * @return the meta object for the containment reference list 'Value Partitioning'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getValuePartitioning() + * @see #getXmlEntityMappings_2_2() + * @generated + */ + public EReference getXmlEntityMappings_2_2_ValuePartitioning() + { + return (EReference)xmlEntityMappings_2_2EClass.getEStructuralFeatures().get(5); + } + + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getHashPartitioning Hash Partitioning}'. + * + * + * @return the meta object for the containment reference list 'Hash Partitioning'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getHashPartitioning() + * @see #getXmlEntityMappings_2_2() + * @generated + */ + public EReference getXmlEntityMappings_2_2_HashPartitioning() + { + return (EReference)xmlEntityMappings_2_2EClass.getEStructuralFeatures().get(6); + } + + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getUnionPartitioning Union Partitioning}'. + * + * + * @return the meta object for the containment reference list 'Union Partitioning'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getUnionPartitioning() + * @see #getXmlEntityMappings_2_2() + * @generated + */ + public EReference getXmlEntityMappings_2_2_UnionPartitioning() + { + return (EReference)xmlEntityMappings_2_2EClass.getEStructuralFeatures().get(7); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlHashPartitioning_2_2 Xml Hash Partitioning 22}'. + * + * + * @return the meta object for class 'Xml Hash Partitioning 22'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlHashPartitioning_2_2 + * @generated + */ + public EClass getXmlHashPartitioning_2_2() + { + return xmlHashPartitioning_2_2EClass; + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlHashPartitioning_2_2#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlHashPartitioning_2_2#getName() + * @see #getXmlHashPartitioning_2_2() + * @generated + */ + public EAttribute getXmlHashPartitioning_2_2_Name() + { + return (EAttribute)xmlHashPartitioning_2_2EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntity_2_2#getAdditionalCriteria Additional Criteria}'. + * + * + * @return the meta object for the containment reference 'Additional Criteria'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntity_2_2#getAdditionalCriteria() + * @see #getXmlEntity_2_2() + * @generated + */ + public EReference getXmlEntity_2_2_AdditionalCriteria() + { + return (EReference)xmlEntity_2_2EClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToMany_2_2 Xml Many To Many 22}'. + * + * + * @return the meta object for class 'Xml Many To Many 22'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToMany_2_2 + * @generated + */ + public EClass getXmlManyToMany_2_2() + { + return xmlManyToMany_2_2EClass; + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToMany_2_2#getCascadeOnDelete Cascade On Delete}'. + * + * + * @return the meta object for the attribute 'Cascade On Delete'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToMany_2_2#getCascadeOnDelete() + * @see #getXmlManyToMany_2_2() + * @generated + */ + public EAttribute getXmlManyToMany_2_2_CascadeOnDelete() + { + return (EAttribute)xmlManyToMany_2_2EClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToMany_2_2#isNonCacheable Non Cacheable}'. + * + * + * @return the meta object for the attribute 'Non Cacheable'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToMany_2_2#isNonCacheable() + * @see #getXmlManyToMany_2_2() + * @generated + */ + public EAttribute getXmlManyToMany_2_2_NonCacheable() + { + return (EAttribute)xmlManyToMany_2_2EClass.getEStructuralFeatures().get(1); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToOne_2_2 Xml Many To One 22}'. + * + * + * @return the meta object for class 'Xml Many To One 22'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToOne_2_2 + * @generated + */ + public EClass getXmlManyToOne_2_2() + { + return xmlManyToOne_2_2EClass; + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToOne_2_2#isNonCacheable Non Cacheable}'. + * + * + * @return the meta object for the attribute 'Non Cacheable'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToOne_2_2#isNonCacheable() + * @see #getXmlManyToOne_2_2() + * @generated + */ + public EAttribute getXmlManyToOne_2_2_NonCacheable() + { + return (EAttribute)xmlManyToOne_2_2EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToOne_2_2 Xml One To One 22}'. + * + * + * @return the meta object for class 'Xml One To One 22'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToOne_2_2 + * @generated + */ + public EClass getXmlOneToOne_2_2() + { + return xmlOneToOne_2_2EClass; + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToOne_2_2#getCascadeOnDelete Cascade On Delete}'. + * + * + * @return the meta object for the attribute 'Cascade On Delete'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToOne_2_2#getCascadeOnDelete() + * @see #getXmlOneToOne_2_2() + * @generated + */ + public EAttribute getXmlOneToOne_2_2_CascadeOnDelete() + { + return (EAttribute)xmlOneToOne_2_2EClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToOne_2_2#isNonCacheable Non Cacheable}'. + * + * + * @return the meta object for the attribute 'Non Cacheable'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToOne_2_2#isNonCacheable() + * @see #getXmlOneToOne_2_2() + * @generated + */ + public EAttribute getXmlOneToOne_2_2_NonCacheable() + { + return (EAttribute)xmlOneToOne_2_2EClass.getEStructuralFeatures().get(1); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToMany_2_2 Xml One To Many 22}'. + * + * + * @return the meta object for class 'Xml One To Many 22'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToMany_2_2 + * @generated + */ + public EClass getXmlOneToMany_2_2() + { + return xmlOneToMany_2_2EClass; + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToMany_2_2#getCascadeOnDelete Cascade On Delete}'. + * + * + * @return the meta object for the attribute 'Cascade On Delete'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToMany_2_2#getCascadeOnDelete() + * @see #getXmlOneToMany_2_2() + * @generated + */ + public EAttribute getXmlOneToMany_2_2_CascadeOnDelete() + { + return (EAttribute)xmlOneToMany_2_2EClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToMany_2_2#isNoncacheable Noncacheable}'. + * + * + * @return the meta object for the attribute 'Noncacheable'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToMany_2_2#isNoncacheable() + * @see #getXmlOneToMany_2_2() + * @generated + */ + public EAttribute getXmlOneToMany_2_2_Noncacheable() + { + return (EAttribute)xmlOneToMany_2_2EClass.getEStructuralFeatures().get(1); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioning_2_2 Xml Partitioning 22}'. + * + * + * @return the meta object for class 'Xml Partitioning 22'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioning_2_2 + * @generated + */ + public EClass getXmlPartitioning_2_2() + { + return xmlPartitioning_2_2EClass; + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioning_2_2#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioning_2_2#getName() + * @see #getXmlPartitioning_2_2() + * @generated + */ + public EAttribute getXmlPartitioning_2_2_Name() + { + return (EAttribute)xmlPartitioning_2_2EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2 Xml Partitioning Group 22}'. + * + * + * @return the meta object for class 'Xml Partitioning Group 22'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2 + * @generated + */ + public EClass getXmlPartitioningGroup_2_2() + { + return xmlPartitioningGroup_2_2EClass; + } + + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getPartitioning Partitioning}'. + * + * + * @return the meta object for the containment reference 'Partitioning'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getPartitioning() + * @see #getXmlPartitioningGroup_2_2() + * @generated + */ + public EReference getXmlPartitioningGroup_2_2_Partitioning() + { + return (EReference)xmlPartitioningGroup_2_2EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getReplicationPartitioning Replication Partitioning}'. + * + * + * @return the meta object for the containment reference 'Replication Partitioning'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getReplicationPartitioning() + * @see #getXmlPartitioningGroup_2_2() + * @generated + */ + public EReference getXmlPartitioningGroup_2_2_ReplicationPartitioning() + { + return (EReference)xmlPartitioningGroup_2_2EClass.getEStructuralFeatures().get(1); + } + + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getRoundRobinPartitioning Round Robin Partitioning}'. + * + * + * @return the meta object for the containment reference 'Round Robin Partitioning'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getRoundRobinPartitioning() + * @see #getXmlPartitioningGroup_2_2() + * @generated + */ + public EReference getXmlPartitioningGroup_2_2_RoundRobinPartitioning() + { + return (EReference)xmlPartitioningGroup_2_2EClass.getEStructuralFeatures().get(2); + } + + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getPinnedPartitioning Pinned Partitioning}'. + * + * + * @return the meta object for the containment reference 'Pinned Partitioning'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getPinnedPartitioning() + * @see #getXmlPartitioningGroup_2_2() + * @generated + */ + public EReference getXmlPartitioningGroup_2_2_PinnedPartitioning() + { + return (EReference)xmlPartitioningGroup_2_2EClass.getEStructuralFeatures().get(3); + } + + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getRangePartitioning Range Partitioning}'. + * + * + * @return the meta object for the containment reference 'Range Partitioning'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getRangePartitioning() + * @see #getXmlPartitioningGroup_2_2() + * @generated + */ + public EReference getXmlPartitioningGroup_2_2_RangePartitioning() + { + return (EReference)xmlPartitioningGroup_2_2EClass.getEStructuralFeatures().get(4); + } + + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getValuePartitioning Value Partitioning}'. + * + * + * @return the meta object for the containment reference 'Value Partitioning'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getValuePartitioning() + * @see #getXmlPartitioningGroup_2_2() + * @generated + */ + public EReference getXmlPartitioningGroup_2_2_ValuePartitioning() + { + return (EReference)xmlPartitioningGroup_2_2EClass.getEStructuralFeatures().get(5); + } + + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getHashPartitioning Hash Partitioning}'. + * + * + * @return the meta object for the containment reference 'Hash Partitioning'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getHashPartitioning() + * @see #getXmlPartitioningGroup_2_2() + * @generated + */ + public EReference getXmlPartitioningGroup_2_2_HashPartitioning() + { + return (EReference)xmlPartitioningGroup_2_2EClass.getEStructuralFeatures().get(6); + } + + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getUnionPartitioning Union Partitioning}'. + * + * + * @return the meta object for the containment reference 'Union Partitioning'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getUnionPartitioning() + * @see #getXmlPartitioningGroup_2_2() + * @generated + */ + public EReference getXmlPartitioningGroup_2_2_UnionPartitioning() + { + return (EReference)xmlPartitioningGroup_2_2EClass.getEStructuralFeatures().get(7); + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getPartitioned Partitioned}'. + * + * + * @return the meta object for the attribute 'Partitioned'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getPartitioned() + * @see #getXmlPartitioningGroup_2_2() + * @generated + */ + public EAttribute getXmlPartitioningGroup_2_2_Partitioned() + { + return (EAttribute)xmlPartitioningGroup_2_2EClass.getEStructuralFeatures().get(8); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPinnedPartitioning_2_2 Xml Pinned Partitioning 22}'. + * + * + * @return the meta object for class 'Xml Pinned Partitioning 22'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPinnedPartitioning_2_2 + * @generated + */ + public EClass getXmlPinnedPartitioning_2_2() + { + return xmlPinnedPartitioning_2_2EClass; + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPinnedPartitioning_2_2#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPinnedPartitioning_2_2#getName() + * @see #getXmlPinnedPartitioning_2_2() + * @generated + */ + public EAttribute getXmlPinnedPartitioning_2_2_Name() + { + return (EAttribute)xmlPinnedPartitioning_2_2EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRangePartitioning_2_2 Xml Range Partitioning 22}'. + * + * + * @return the meta object for class 'Xml Range Partitioning 22'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRangePartitioning_2_2 + * @generated + */ + public EClass getXmlRangePartitioning_2_2() + { + return xmlRangePartitioning_2_2EClass; + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRangePartitioning_2_2#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRangePartitioning_2_2#getName() + * @see #getXmlRangePartitioning_2_2() + * @generated + */ + public EAttribute getXmlRangePartitioning_2_2_Name() + { + return (EAttribute)xmlRangePartitioning_2_2EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlReplicationPartitioning_2_2 Xml Replication Partitioning 22}'. + * + * + * @return the meta object for class 'Xml Replication Partitioning 22'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlReplicationPartitioning_2_2 + * @generated + */ + public EClass getXmlReplicationPartitioning_2_2() + { + return xmlReplicationPartitioning_2_2EClass; + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlReplicationPartitioning_2_2#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlReplicationPartitioning_2_2#getName() + * @see #getXmlReplicationPartitioning_2_2() + * @generated + */ + public EAttribute getXmlReplicationPartitioning_2_2_Name() + { + return (EAttribute)xmlReplicationPartitioning_2_2EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRoundRobinPartitioning_2_2 Xml Round Robin Partitioning 22}'. + * + * + * @return the meta object for class 'Xml Round Robin Partitioning 22'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRoundRobinPartitioning_2_2 + * @generated + */ + public EClass getXmlRoundRobinPartitioning_2_2() + { + return xmlRoundRobinPartitioning_2_2EClass; + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRoundRobinPartitioning_2_2#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRoundRobinPartitioning_2_2#getName() + * @see #getXmlRoundRobinPartitioning_2_2() + * @generated + */ + public EAttribute getXmlRoundRobinPartitioning_2_2_Name() + { + return (EAttribute)xmlRoundRobinPartitioning_2_2EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEmbeddable_2_2 Xml Embeddable 22}'. + * + * + * @return the meta object for class 'Xml Embeddable 22'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEmbeddable_2_2 + * @generated + */ + public EClass getXmlEmbeddable_2_2() + { + return xmlEmbeddable_2_2EClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlId_2_2 Xml Id 22}'. + * + * + * @return the meta object for class 'Xml Id 22'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlId_2_2 + * @generated + */ + public EClass getXmlId_2_2() + { + return xmlId_2_2EClass; + } + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlId_2_2#getIndex Index}'. + * + * + * @return the meta object for the containment reference 'Index'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlId_2_2#getIndex() + * @see #getXmlId_2_2() + * @generated + */ + public EReference getXmlId_2_2_Index() + { + return (EReference)xmlId_2_2EClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2 Xml Index 22}'. + * + * + * @return the meta object for class 'Xml Index 22'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2 + * @generated + */ + public EClass getXmlIndex_2_2() + { + return xmlIndex_2_2EClass; + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2#getName() + * @see #getXmlIndex_2_2() + * @generated + */ + public EAttribute getXmlIndex_2_2_Name() + { + return (EAttribute)xmlIndex_2_2EClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2#getSchema Schema}'. + * + * + * @return the meta object for the attribute 'Schema'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2#getSchema() + * @see #getXmlIndex_2_2() + * @generated + */ + public EAttribute getXmlIndex_2_2_Schema() + { + return (EAttribute)xmlIndex_2_2EClass.getEStructuralFeatures().get(1); + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2#getCatalog Catalog}'. + * + * + * @return the meta object for the attribute 'Catalog'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2#getCatalog() + * @see #getXmlIndex_2_2() + * @generated + */ + public EAttribute getXmlIndex_2_2_Catalog() + { + return (EAttribute)xmlIndex_2_2EClass.getEStructuralFeatures().get(2); + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2#getTable Table}'. + * + * + * @return the meta object for the attribute 'Table'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2#getTable() + * @see #getXmlIndex_2_2() + * @generated + */ + public EAttribute getXmlIndex_2_2_Table() + { + return (EAttribute)xmlIndex_2_2EClass.getEStructuralFeatures().get(3); + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2#getUnique Unique}'. + * + * + * @return the meta object for the attribute 'Unique'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2#getUnique() + * @see #getXmlIndex_2_2() + * @generated + */ + public EAttribute getXmlIndex_2_2_Unique() + { + return (EAttribute)xmlIndex_2_2EClass.getEStructuralFeatures().get(4); + } + + /** + * Returns the meta object for the attribute list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2#getColumnNames Column Names}'. + * + * + * @return the meta object for the attribute list 'Column Names'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2#getColumnNames() + * @see #getXmlIndex_2_2() + * @generated + */ + public EAttribute getXmlIndex_2_2_ColumnNames() + { + return (EAttribute)xmlIndex_2_2EClass.getEStructuralFeatures().get(5); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlJoinTable_2_2 Xml Join Table 22}'. + * + * + * @return the meta object for class 'Xml Join Table 22'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlJoinTable_2_2 + * @generated + */ + public EClass getXmlJoinTable_2_2() + { + return xmlJoinTable_2_2EClass; + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlJoinTable_2_2#getCreationSuffix Creation Suffix}'. + * + * + * @return the meta object for the attribute 'Creation Suffix'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlJoinTable_2_2#getCreationSuffix() + * @see #getXmlJoinTable_2_2() + * @generated + */ + public EAttribute getXmlJoinTable_2_2_CreationSuffix() + { + return (EAttribute)xmlJoinTable_2_2EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlMappedSuperclass_2_2 Xml Mapped Superclass 22}'. + * + * + * @return the meta object for class 'Xml Mapped Superclass 22'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlMappedSuperclass_2_2 + * @generated + */ + public EClass getXmlMappedSuperclass_2_2() + { + return xmlMappedSuperclass_2_2EClass; + } + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlMappedSuperclass_2_2#getAdditionalCriteria Additional Criteria}'. + * + * + * @return the meta object for the containment reference 'Additional Criteria'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlMappedSuperclass_2_2#getAdditionalCriteria() + * @see #getXmlMappedSuperclass_2_2() + * @generated + */ + public EReference getXmlMappedSuperclass_2_2_AdditionalCriteria() + { + return (EReference)xmlMappedSuperclass_2_2EClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlSecondaryTable_2_2 Xml Secondary Table 22}'. + * + * + * @return the meta object for class 'Xml Secondary Table 22'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlSecondaryTable_2_2 + * @generated + */ + public EClass getXmlSecondaryTable_2_2() + { + return xmlSecondaryTable_2_2EClass; + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlSecondaryTable_2_2#getCreationSuffix Creation Suffix}'. + * + * + * @return the meta object for the attribute 'Creation Suffix'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlSecondaryTable_2_2#getCreationSuffix() + * @see #getXmlSecondaryTable_2_2() + * @generated + */ + public EAttribute getXmlSecondaryTable_2_2_CreationSuffix() + { + return (EAttribute)xmlSecondaryTable_2_2EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlTable_2_2 Xml Table 22}'. + * + * + * @return the meta object for class 'Xml Table 22'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlTable_2_2 + * @generated + */ + public EClass getXmlTable_2_2() + { + return xmlTable_2_2EClass; + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlTable_2_2#getCreationSuffix Creation Suffix}'. + * + * + * @return the meta object for the attribute 'Creation Suffix'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlTable_2_2#getCreationSuffix() + * @see #getXmlTable_2_2() + * @generated + */ + public EAttribute getXmlTable_2_2_CreationSuffix() + { + return (EAttribute)xmlTable_2_2EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlTableGenerator_2_2 Xml Table Generator 22}'. + * + * + * @return the meta object for class 'Xml Table Generator 22'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlTableGenerator_2_2 + * @generated + */ + public EClass getXmlTableGenerator_2_2() + { + return xmlTableGenerator_2_2EClass; + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlTableGenerator_2_2#getCreationSuffix Creation Suffix}'. + * + * + * @return the meta object for the attribute 'Creation Suffix'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlTableGenerator_2_2#getCreationSuffix() + * @see #getXmlTableGenerator_2_2() + * @generated + */ + public EAttribute getXmlTableGenerator_2_2_CreationSuffix() + { + return (EAttribute)xmlTableGenerator_2_2EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlUnionPartitioning_2_2 Xml Union Partitioning 22}'. + * + * + * @return the meta object for class 'Xml Union Partitioning 22'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlUnionPartitioning_2_2 + * @generated + */ + public EClass getXmlUnionPartitioning_2_2() + { + return xmlUnionPartitioning_2_2EClass; + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlUnionPartitioning_2_2#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlUnionPartitioning_2_2#getName() + * @see #getXmlUnionPartitioning_2_2() + * @generated + */ + public EAttribute getXmlUnionPartitioning_2_2_Name() + { + return (EAttribute)xmlUnionPartitioning_2_2EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlValuePartitioning_2_2 Xml Value Partitioning 22}'. + * + * + * @return the meta object for class 'Xml Value Partitioning 22'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlValuePartitioning_2_2 + * @generated + */ + public EClass getXmlValuePartitioning_2_2() + { + return xmlValuePartitioning_2_2EClass; + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlValuePartitioning_2_2#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlValuePartitioning_2_2#getName() + * @see #getXmlValuePartitioning_2_2() + * @generated + */ + public EAttribute getXmlValuePartitioning_2_2_Name() + { + return (EAttribute)xmlValuePartitioning_2_2EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlVariableOneToOne_2_2 Xml Variable One To One 22}'. + * + * + * @return the meta object for class 'Xml Variable One To One 22'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlVariableOneToOne_2_2 + * @generated + */ + public EClass getXmlVariableOneToOne_2_2() + { + return xmlVariableOneToOne_2_2EClass; + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlVariableOneToOne_2_2#isNonCacheable Non Cacheable}'. + * + * + * @return the meta object for the attribute 'Non Cacheable'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlVariableOneToOne_2_2#isNonCacheable() + * @see #getXmlVariableOneToOne_2_2() + * @generated + */ + public EAttribute getXmlVariableOneToOne_2_2_NonCacheable() + { + return (EAttribute)xmlVariableOneToOne_2_2EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlVersion_2_2 Xml Version 22}'. + * + * + * @return the meta object for class 'Xml Version 22'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlVersion_2_2 + * @generated + */ + public EClass getXmlVersion_2_2() + { + return xmlVersion_2_2EClass; + } + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlVersion_2_2#getIndex Index}'. + * + * + * @return the meta object for the containment reference 'Index'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlVersion_2_2#getIndex() + * @see #getXmlVersion_2_2() + * @generated + */ + public EReference getXmlVersion_2_2_Index() + { + return (EReference)xmlVersion_2_2EClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for enum '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.CacheIsolationType Cache Isolation Type}'. + * + * + * @return the meta object for enum 'Cache Isolation Type'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.CacheIsolationType + * @generated + */ + public EEnum getCacheIsolationType() + { + return cacheIsolationTypeEEnum; + } + + + /** + * Returns the factory that creates the instances of the model. + * + * + * @return the factory that creates the instances of the model. + * @generated + */ + public EclipseLinkOrmV2_2Factory getEclipseLinkOrmV2_2Factory() + { + return (EclipseLinkOrmV2_2Factory)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 + xmlAdditionalCriteria_2_2EClass = createEClass(XML_ADDITIONAL_CRITERIA_22); + createEAttribute(xmlAdditionalCriteria_2_2EClass, XML_ADDITIONAL_CRITERIA_22__CRITERIA); + + xmlBasic_2_2EClass = createEClass(XML_BASIC_22); + createEReference(xmlBasic_2_2EClass, XML_BASIC_22__INDEX); + + xmlBasicCollection_2_2EClass = createEClass(XML_BASIC_COLLECTION_22); + createEAttribute(xmlBasicCollection_2_2EClass, XML_BASIC_COLLECTION_22__CASCADE_ON_DELETE); + + xmlBasicMap_2_2EClass = createEClass(XML_BASIC_MAP_22); + createEAttribute(xmlBasicMap_2_2EClass, XML_BASIC_MAP_22__CASCADE_ON_DELETE); + + xmlCache_2_2EClass = createEClass(XML_CACHE_22); + createEAttribute(xmlCache_2_2EClass, XML_CACHE_22__ISOLATION); + + xmlCollectionTable_2_2EClass = createEClass(XML_COLLECTION_TABLE_22); + createEAttribute(xmlCollectionTable_2_2EClass, XML_COLLECTION_TABLE_22__CREATION_SUFFIX); + + xmlElementCollection_2_2EClass = createEClass(XML_ELEMENT_COLLECTION_22); + createEAttribute(xmlElementCollection_2_2EClass, XML_ELEMENT_COLLECTION_22__CASCADE_ON_DELETE); + createEAttribute(xmlElementCollection_2_2EClass, XML_ELEMENT_COLLECTION_22__NONCACHEABLE); + + xmlEmbeddable_2_2EClass = createEClass(XML_EMBEDDABLE_22); + + xmlEntity_2_2EClass = createEClass(XML_ENTITY_22); + createEReference(xmlEntity_2_2EClass, XML_ENTITY_22__ADDITIONAL_CRITERIA); + createEAttribute(xmlEntity_2_2EClass, XML_ENTITY_22__CASCADE_ON_DELETE); + createEReference(xmlEntity_2_2EClass, XML_ENTITY_22__INDEX); + + xmlEntityMappings_2_2EClass = createEClass(XML_ENTITY_MAPPINGS_22); + createEReference(xmlEntityMappings_2_2EClass, XML_ENTITY_MAPPINGS_22__PARTITIONING); + createEReference(xmlEntityMappings_2_2EClass, XML_ENTITY_MAPPINGS_22__REPLICATION_PARTITIONING); + createEReference(xmlEntityMappings_2_2EClass, XML_ENTITY_MAPPINGS_22__ROUND_ROBIN_PARTITIONING); + createEReference(xmlEntityMappings_2_2EClass, XML_ENTITY_MAPPINGS_22__PINNED_PARTITIONING); + createEReference(xmlEntityMappings_2_2EClass, XML_ENTITY_MAPPINGS_22__RANGE_PARTITIONING); + createEReference(xmlEntityMappings_2_2EClass, XML_ENTITY_MAPPINGS_22__VALUE_PARTITIONING); + createEReference(xmlEntityMappings_2_2EClass, XML_ENTITY_MAPPINGS_22__HASH_PARTITIONING); + createEReference(xmlEntityMappings_2_2EClass, XML_ENTITY_MAPPINGS_22__UNION_PARTITIONING); + + xmlHashPartitioning_2_2EClass = createEClass(XML_HASH_PARTITIONING_22); + createEAttribute(xmlHashPartitioning_2_2EClass, XML_HASH_PARTITIONING_22__NAME); + + xmlId_2_2EClass = createEClass(XML_ID_22); + createEReference(xmlId_2_2EClass, XML_ID_22__INDEX); + + xmlIndex_2_2EClass = createEClass(XML_INDEX_22); + createEAttribute(xmlIndex_2_2EClass, XML_INDEX_22__NAME); + createEAttribute(xmlIndex_2_2EClass, XML_INDEX_22__SCHEMA); + createEAttribute(xmlIndex_2_2EClass, XML_INDEX_22__CATALOG); + createEAttribute(xmlIndex_2_2EClass, XML_INDEX_22__TABLE); + createEAttribute(xmlIndex_2_2EClass, XML_INDEX_22__UNIQUE); + createEAttribute(xmlIndex_2_2EClass, XML_INDEX_22__COLUMN_NAMES); + + xmlJoinTable_2_2EClass = createEClass(XML_JOIN_TABLE_22); + createEAttribute(xmlJoinTable_2_2EClass, XML_JOIN_TABLE_22__CREATION_SUFFIX); + + xmlManyToMany_2_2EClass = createEClass(XML_MANY_TO_MANY_22); + createEAttribute(xmlManyToMany_2_2EClass, XML_MANY_TO_MANY_22__CASCADE_ON_DELETE); + createEAttribute(xmlManyToMany_2_2EClass, XML_MANY_TO_MANY_22__NON_CACHEABLE); + + xmlManyToOne_2_2EClass = createEClass(XML_MANY_TO_ONE_22); + createEAttribute(xmlManyToOne_2_2EClass, XML_MANY_TO_ONE_22__NON_CACHEABLE); + + xmlMappedSuperclass_2_2EClass = createEClass(XML_MAPPED_SUPERCLASS_22); + createEReference(xmlMappedSuperclass_2_2EClass, XML_MAPPED_SUPERCLASS_22__ADDITIONAL_CRITERIA); + + xmlOneToOne_2_2EClass = createEClass(XML_ONE_TO_ONE_22); + createEAttribute(xmlOneToOne_2_2EClass, XML_ONE_TO_ONE_22__CASCADE_ON_DELETE); + createEAttribute(xmlOneToOne_2_2EClass, XML_ONE_TO_ONE_22__NON_CACHEABLE); + + xmlOneToMany_2_2EClass = createEClass(XML_ONE_TO_MANY_22); + createEAttribute(xmlOneToMany_2_2EClass, XML_ONE_TO_MANY_22__CASCADE_ON_DELETE); + createEAttribute(xmlOneToMany_2_2EClass, XML_ONE_TO_MANY_22__NONCACHEABLE); + + xmlPartitioning_2_2EClass = createEClass(XML_PARTITIONING_22); + createEAttribute(xmlPartitioning_2_2EClass, XML_PARTITIONING_22__NAME); + + xmlPartitioningGroup_2_2EClass = createEClass(XML_PARTITIONING_GROUP_22); + createEReference(xmlPartitioningGroup_2_2EClass, XML_PARTITIONING_GROUP_22__PARTITIONING); + createEReference(xmlPartitioningGroup_2_2EClass, XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING); + createEReference(xmlPartitioningGroup_2_2EClass, XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING); + createEReference(xmlPartitioningGroup_2_2EClass, XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING); + createEReference(xmlPartitioningGroup_2_2EClass, XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING); + createEReference(xmlPartitioningGroup_2_2EClass, XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING); + createEReference(xmlPartitioningGroup_2_2EClass, XML_PARTITIONING_GROUP_22__HASH_PARTITIONING); + createEReference(xmlPartitioningGroup_2_2EClass, XML_PARTITIONING_GROUP_22__UNION_PARTITIONING); + createEAttribute(xmlPartitioningGroup_2_2EClass, XML_PARTITIONING_GROUP_22__PARTITIONED); + + xmlPinnedPartitioning_2_2EClass = createEClass(XML_PINNED_PARTITIONING_22); + createEAttribute(xmlPinnedPartitioning_2_2EClass, XML_PINNED_PARTITIONING_22__NAME); + + xmlRangePartitioning_2_2EClass = createEClass(XML_RANGE_PARTITIONING_22); + createEAttribute(xmlRangePartitioning_2_2EClass, XML_RANGE_PARTITIONING_22__NAME); + + xmlReplicationPartitioning_2_2EClass = createEClass(XML_REPLICATION_PARTITIONING_22); + createEAttribute(xmlReplicationPartitioning_2_2EClass, XML_REPLICATION_PARTITIONING_22__NAME); + + xmlRoundRobinPartitioning_2_2EClass = createEClass(XML_ROUND_ROBIN_PARTITIONING_22); + createEAttribute(xmlRoundRobinPartitioning_2_2EClass, XML_ROUND_ROBIN_PARTITIONING_22__NAME); + + xmlSecondaryTable_2_2EClass = createEClass(XML_SECONDARY_TABLE_22); + createEAttribute(xmlSecondaryTable_2_2EClass, XML_SECONDARY_TABLE_22__CREATION_SUFFIX); + + xmlTable_2_2EClass = createEClass(XML_TABLE_22); + createEAttribute(xmlTable_2_2EClass, XML_TABLE_22__CREATION_SUFFIX); + + xmlTableGenerator_2_2EClass = createEClass(XML_TABLE_GENERATOR_22); + createEAttribute(xmlTableGenerator_2_2EClass, XML_TABLE_GENERATOR_22__CREATION_SUFFIX); + + xmlUnionPartitioning_2_2EClass = createEClass(XML_UNION_PARTITIONING_22); + createEAttribute(xmlUnionPartitioning_2_2EClass, XML_UNION_PARTITIONING_22__NAME); + + xmlValuePartitioning_2_2EClass = createEClass(XML_VALUE_PARTITIONING_22); + createEAttribute(xmlValuePartitioning_2_2EClass, XML_VALUE_PARTITIONING_22__NAME); + + xmlVariableOneToOne_2_2EClass = createEClass(XML_VARIABLE_ONE_TO_ONE_22); + createEAttribute(xmlVariableOneToOne_2_2EClass, XML_VARIABLE_ONE_TO_ONE_22__NON_CACHEABLE); + + xmlVersion_2_2EClass = createEClass(XML_VERSION_22); + createEReference(xmlVersion_2_2EClass, XML_VERSION_22__INDEX); + + // Create enums + cacheIsolationTypeEEnum = createEEnum(CACHE_ISOLATION_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 + XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI); + OrmPackage theOrmPackage = (OrmPackage)EPackage.Registry.INSTANCE.getEPackage(OrmPackage.eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + xmlElementCollection_2_2EClass.getESuperTypes().add(this.getXmlPartitioningGroup_2_2()); + xmlEmbeddable_2_2EClass.getESuperTypes().add(theOrmPackage.getXmlAttributeOverrideContainer()); + xmlEmbeddable_2_2EClass.getESuperTypes().add(theOrmPackage.getXmlAssociationOverrideContainer()); + xmlEntity_2_2EClass.getESuperTypes().add(this.getXmlPartitioningGroup_2_2()); + xmlManyToMany_2_2EClass.getESuperTypes().add(this.getXmlPartitioningGroup_2_2()); + xmlManyToOne_2_2EClass.getESuperTypes().add(this.getXmlPartitioningGroup_2_2()); + xmlMappedSuperclass_2_2EClass.getESuperTypes().add(this.getXmlPartitioningGroup_2_2()); + xmlOneToOne_2_2EClass.getESuperTypes().add(this.getXmlPartitioningGroup_2_2()); + xmlOneToMany_2_2EClass.getESuperTypes().add(this.getXmlPartitioningGroup_2_2()); + xmlVariableOneToOne_2_2EClass.getESuperTypes().add(this.getXmlPartitioningGroup_2_2()); + + // Initialize classes and features; add operations and parameters + initEClass(xmlAdditionalCriteria_2_2EClass, XmlAdditionalCriteria_2_2.class, "XmlAdditionalCriteria_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlAdditionalCriteria_2_2_Criteria(), theXMLTypePackage.getString(), "criteria", null, 0, 1, XmlAdditionalCriteria_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlBasic_2_2EClass, XmlBasic_2_2.class, "XmlBasic_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlBasic_2_2_Index(), this.getXmlIndex_2_2(), null, "index", null, 0, 1, XmlBasic_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlBasicCollection_2_2EClass, XmlBasicCollection_2_2.class, "XmlBasicCollection_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlBasicCollection_2_2_CascadeOnDelete(), theXMLTypePackage.getBooleanObject(), "cascadeOnDelete", null, 0, 1, XmlBasicCollection_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlBasicMap_2_2EClass, XmlBasicMap_2_2.class, "XmlBasicMap_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlBasicMap_2_2_CascadeOnDelete(), theXMLTypePackage.getBooleanObject(), "cascadeOnDelete", null, 0, 1, XmlBasicMap_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlCache_2_2EClass, XmlCache_2_2.class, "XmlCache_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlCache_2_2_Isolation(), this.getCacheIsolationType(), "isolation", "", 0, 1, XmlCache_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlCollectionTable_2_2EClass, XmlCollectionTable_2_2.class, "XmlCollectionTable_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlCollectionTable_2_2_CreationSuffix(), theXMLTypePackage.getString(), "creationSuffix", null, 0, 1, XmlCollectionTable_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlElementCollection_2_2EClass, XmlElementCollection_2_2.class, "XmlElementCollection_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlElementCollection_2_2_CascadeOnDelete(), theXMLTypePackage.getBooleanObject(), "cascadeOnDelete", null, 0, 1, XmlElementCollection_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlElementCollection_2_2_Noncacheable(), theXMLTypePackage.getBoolean(), "noncacheable", null, 0, 1, XmlElementCollection_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlEmbeddable_2_2EClass, XmlEmbeddable_2_2.class, "XmlEmbeddable_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(xmlEntity_2_2EClass, XmlEntity_2_2.class, "XmlEntity_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlEntity_2_2_AdditionalCriteria(), this.getXmlAdditionalCriteria_2_2(), null, "additionalCriteria", null, 0, 1, XmlEntity_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlEntity_2_2_CascadeOnDelete(), theXMLTypePackage.getBooleanObject(), "cascadeOnDelete", null, 0, 1, XmlEntity_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlEntity_2_2_Index(), this.getXmlIndex_2_2(), null, "index", null, 0, 1, XmlEntity_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlEntityMappings_2_2EClass, XmlEntityMappings_2_2.class, "XmlEntityMappings_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlEntityMappings_2_2_Partitioning(), this.getXmlPartitioning_2_2(), null, "partitioning", null, 0, -1, XmlEntityMappings_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlEntityMappings_2_2_ReplicationPartitioning(), this.getXmlReplicationPartitioning_2_2(), null, "replicationPartitioning", null, 0, -1, XmlEntityMappings_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlEntityMappings_2_2_RoundRobinPartitioning(), this.getXmlRoundRobinPartitioning_2_2(), null, "roundRobinPartitioning", null, 0, -1, XmlEntityMappings_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlEntityMappings_2_2_PinnedPartitioning(), this.getXmlPinnedPartitioning_2_2(), null, "pinnedPartitioning", null, 0, -1, XmlEntityMappings_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlEntityMappings_2_2_RangePartitioning(), this.getXmlRangePartitioning_2_2(), null, "rangePartitioning", null, 0, -1, XmlEntityMappings_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlEntityMappings_2_2_ValuePartitioning(), this.getXmlValuePartitioning_2_2(), null, "valuePartitioning", null, 0, -1, XmlEntityMappings_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlEntityMappings_2_2_HashPartitioning(), this.getXmlHashPartitioning_2_2(), null, "hashPartitioning", null, 0, -1, XmlEntityMappings_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlEntityMappings_2_2_UnionPartitioning(), this.getXmlUnionPartitioning_2_2(), null, "unionPartitioning", null, 0, -1, XmlEntityMappings_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlHashPartitioning_2_2EClass, XmlHashPartitioning_2_2.class, "XmlHashPartitioning_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlHashPartitioning_2_2_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, XmlHashPartitioning_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlId_2_2EClass, XmlId_2_2.class, "XmlId_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlId_2_2_Index(), this.getXmlIndex_2_2(), null, "index", null, 0, 1, XmlId_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlIndex_2_2EClass, XmlIndex_2_2.class, "XmlIndex_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlIndex_2_2_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, XmlIndex_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlIndex_2_2_Schema(), theXMLTypePackage.getString(), "schema", null, 0, 1, XmlIndex_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlIndex_2_2_Catalog(), theXMLTypePackage.getString(), "catalog", null, 0, 1, XmlIndex_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlIndex_2_2_Table(), theXMLTypePackage.getString(), "table", null, 0, 1, XmlIndex_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlIndex_2_2_Unique(), theXMLTypePackage.getBooleanObject(), "unique", null, 0, 1, XmlIndex_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlIndex_2_2_ColumnNames(), theXMLTypePackage.getString(), "columnNames", null, 0, -1, XmlIndex_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlJoinTable_2_2EClass, XmlJoinTable_2_2.class, "XmlJoinTable_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlJoinTable_2_2_CreationSuffix(), theXMLTypePackage.getString(), "creationSuffix", null, 0, 1, XmlJoinTable_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlManyToMany_2_2EClass, XmlManyToMany_2_2.class, "XmlManyToMany_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlManyToMany_2_2_CascadeOnDelete(), theXMLTypePackage.getBooleanObject(), "cascadeOnDelete", null, 0, 1, XmlManyToMany_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlManyToMany_2_2_NonCacheable(), theXMLTypePackage.getBoolean(), "nonCacheable", null, 0, 1, XmlManyToMany_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlManyToOne_2_2EClass, XmlManyToOne_2_2.class, "XmlManyToOne_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlManyToOne_2_2_NonCacheable(), theXMLTypePackage.getBoolean(), "nonCacheable", null, 0, 1, XmlManyToOne_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlMappedSuperclass_2_2EClass, XmlMappedSuperclass_2_2.class, "XmlMappedSuperclass_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlMappedSuperclass_2_2_AdditionalCriteria(), this.getXmlAdditionalCriteria_2_2(), null, "additionalCriteria", null, 0, 1, XmlMappedSuperclass_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlOneToOne_2_2EClass, XmlOneToOne_2_2.class, "XmlOneToOne_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlOneToOne_2_2_CascadeOnDelete(), theXMLTypePackage.getBooleanObject(), "cascadeOnDelete", null, 0, 1, XmlOneToOne_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlOneToOne_2_2_NonCacheable(), theXMLTypePackage.getBoolean(), "nonCacheable", null, 0, 1, XmlOneToOne_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlOneToMany_2_2EClass, XmlOneToMany_2_2.class, "XmlOneToMany_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlOneToMany_2_2_CascadeOnDelete(), theXMLTypePackage.getBooleanObject(), "cascadeOnDelete", null, 0, 1, XmlOneToMany_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlOneToMany_2_2_Noncacheable(), theXMLTypePackage.getBoolean(), "noncacheable", null, 0, 1, XmlOneToMany_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlPartitioning_2_2EClass, XmlPartitioning_2_2.class, "XmlPartitioning_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlPartitioning_2_2_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, XmlPartitioning_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlPartitioningGroup_2_2EClass, XmlPartitioningGroup_2_2.class, "XmlPartitioningGroup_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlPartitioningGroup_2_2_Partitioning(), this.getXmlPartitioning_2_2(), null, "partitioning", null, 0, 1, XmlPartitioningGroup_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlPartitioningGroup_2_2_ReplicationPartitioning(), this.getXmlReplicationPartitioning_2_2(), null, "replicationPartitioning", null, 0, 1, XmlPartitioningGroup_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlPartitioningGroup_2_2_RoundRobinPartitioning(), this.getXmlRoundRobinPartitioning_2_2(), null, "roundRobinPartitioning", null, 0, 1, XmlPartitioningGroup_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlPartitioningGroup_2_2_PinnedPartitioning(), this.getXmlPinnedPartitioning_2_2(), null, "pinnedPartitioning", null, 0, 1, XmlPartitioningGroup_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlPartitioningGroup_2_2_RangePartitioning(), this.getXmlRangePartitioning_2_2(), null, "rangePartitioning", null, 0, 1, XmlPartitioningGroup_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlPartitioningGroup_2_2_ValuePartitioning(), this.getXmlValuePartitioning_2_2(), null, "valuePartitioning", null, 0, 1, XmlPartitioningGroup_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlPartitioningGroup_2_2_HashPartitioning(), this.getXmlHashPartitioning_2_2(), null, "hashPartitioning", null, 0, 1, XmlPartitioningGroup_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlPartitioningGroup_2_2_UnionPartitioning(), this.getXmlUnionPartitioning_2_2(), null, "unionPartitioning", null, 0, 1, XmlPartitioningGroup_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlPartitioningGroup_2_2_Partitioned(), theXMLTypePackage.getString(), "partitioned", null, 0, 1, XmlPartitioningGroup_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlPinnedPartitioning_2_2EClass, XmlPinnedPartitioning_2_2.class, "XmlPinnedPartitioning_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlPinnedPartitioning_2_2_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, XmlPinnedPartitioning_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlRangePartitioning_2_2EClass, XmlRangePartitioning_2_2.class, "XmlRangePartitioning_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlRangePartitioning_2_2_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, XmlRangePartitioning_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlReplicationPartitioning_2_2EClass, XmlReplicationPartitioning_2_2.class, "XmlReplicationPartitioning_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlReplicationPartitioning_2_2_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, XmlReplicationPartitioning_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlRoundRobinPartitioning_2_2EClass, XmlRoundRobinPartitioning_2_2.class, "XmlRoundRobinPartitioning_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlRoundRobinPartitioning_2_2_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, XmlRoundRobinPartitioning_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlSecondaryTable_2_2EClass, XmlSecondaryTable_2_2.class, "XmlSecondaryTable_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlSecondaryTable_2_2_CreationSuffix(), theXMLTypePackage.getString(), "creationSuffix", null, 0, 1, XmlSecondaryTable_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlTable_2_2EClass, XmlTable_2_2.class, "XmlTable_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlTable_2_2_CreationSuffix(), theXMLTypePackage.getString(), "creationSuffix", null, 0, 1, XmlTable_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlTableGenerator_2_2EClass, XmlTableGenerator_2_2.class, "XmlTableGenerator_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlTableGenerator_2_2_CreationSuffix(), theXMLTypePackage.getString(), "creationSuffix", null, 0, 1, XmlTableGenerator_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlUnionPartitioning_2_2EClass, XmlUnionPartitioning_2_2.class, "XmlUnionPartitioning_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlUnionPartitioning_2_2_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, XmlUnionPartitioning_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlValuePartitioning_2_2EClass, XmlValuePartitioning_2_2.class, "XmlValuePartitioning_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlValuePartitioning_2_2_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, XmlValuePartitioning_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlVariableOneToOne_2_2EClass, XmlVariableOneToOne_2_2.class, "XmlVariableOneToOne_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlVariableOneToOne_2_2_NonCacheable(), theXMLTypePackage.getBoolean(), "nonCacheable", null, 0, 1, XmlVariableOneToOne_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlVersion_2_2EClass, XmlVersion_2_2.class, "XmlVersion_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlVersion_2_2_Index(), this.getXmlIndex_2_2(), null, "index", null, 0, 1, XmlVersion_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + // Initialize enums and add enum literals + initEEnum(cacheIsolationTypeEEnum, CacheIsolationType.class, "CacheIsolationType"); + addEEnumLiteral(cacheIsolationTypeEEnum, CacheIsolationType.SHARED); + addEEnumLiteral(cacheIsolationTypeEEnum, CacheIsolationType.PROTECTED); + addEEnumLiteral(cacheIsolationTypeEEnum, CacheIsolationType.ISOLATED); + } + + /** + * + * Defines literals for the meta objects that represent + *

    + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • + *
+ * + * @generated + */ + public interface Literals + { + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlAdditionalCriteria_2_2 Xml Additional Criteria 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlAdditionalCriteria_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlAdditionalCriteria_2_2() + * @generated + */ + public static final EClass XML_ADDITIONAL_CRITERIA_22 = eINSTANCE.getXmlAdditionalCriteria_2_2(); + + /** + * The meta object literal for the 'Criteria' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_ADDITIONAL_CRITERIA_22__CRITERIA = eINSTANCE.getXmlAdditionalCriteria_2_2_Criteria(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasic_2_2 Xml Basic 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasic_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlBasic_2_2() + * @generated + */ + public static final EClass XML_BASIC_22 = eINSTANCE.getXmlBasic_2_2(); + + /** + * The meta object literal for the 'Index' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_BASIC_22__INDEX = eINSTANCE.getXmlBasic_2_2_Index(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasicCollection_2_2 Xml Basic Collection 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasicCollection_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlBasicCollection_2_2() + * @generated + */ + public static final EClass XML_BASIC_COLLECTION_22 = eINSTANCE.getXmlBasicCollection_2_2(); + + /** + * The meta object literal for the 'Cascade On Delete' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_BASIC_COLLECTION_22__CASCADE_ON_DELETE = eINSTANCE.getXmlBasicCollection_2_2_CascadeOnDelete(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasicMap_2_2 Xml Basic Map 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasicMap_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlBasicMap_2_2() + * @generated + */ + public static final EClass XML_BASIC_MAP_22 = eINSTANCE.getXmlBasicMap_2_2(); + + /** + * The meta object literal for the 'Cascade On Delete' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_BASIC_MAP_22__CASCADE_ON_DELETE = eINSTANCE.getXmlBasicMap_2_2_CascadeOnDelete(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlCache_2_2 Xml Cache 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlCache_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlCache_2_2() + * @generated + */ + public static final EClass XML_CACHE_22 = eINSTANCE.getXmlCache_2_2(); + + /** + * The meta object literal for the 'Isolation' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_CACHE_22__ISOLATION = eINSTANCE.getXmlCache_2_2_Isolation(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlCollectionTable_2_2 Xml Collection Table 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlCollectionTable_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlCollectionTable_2_2() + * @generated + */ + public static final EClass XML_COLLECTION_TABLE_22 = eINSTANCE.getXmlCollectionTable_2_2(); + + /** + * The meta object literal for the 'Creation Suffix' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_COLLECTION_TABLE_22__CREATION_SUFFIX = eINSTANCE.getXmlCollectionTable_2_2_CreationSuffix(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlElementCollection_2_2 Xml Element Collection 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlElementCollection_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlElementCollection_2_2() + * @generated + */ + public static final EClass XML_ELEMENT_COLLECTION_22 = eINSTANCE.getXmlElementCollection_2_2(); + + /** + * The meta object literal for the 'Cascade On Delete' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_ELEMENT_COLLECTION_22__CASCADE_ON_DELETE = eINSTANCE.getXmlElementCollection_2_2_CascadeOnDelete(); + + /** + * The meta object literal for the 'Noncacheable' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_ELEMENT_COLLECTION_22__NONCACHEABLE = eINSTANCE.getXmlElementCollection_2_2_Noncacheable(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntity_2_2 Xml Entity 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntity_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlEntity_2_2() + * @generated + */ + public static final EClass XML_ENTITY_22 = eINSTANCE.getXmlEntity_2_2(); + + /** + * The meta object literal for the 'Cascade On Delete' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_ENTITY_22__CASCADE_ON_DELETE = eINSTANCE.getXmlEntity_2_2_CascadeOnDelete(); + + /** + * The meta object literal for the 'Index' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_ENTITY_22__INDEX = eINSTANCE.getXmlEntity_2_2_Index(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2 Xml Entity Mappings 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlEntityMappings_2_2() + * @generated + */ + public static final EClass XML_ENTITY_MAPPINGS_22 = eINSTANCE.getXmlEntityMappings_2_2(); + + /** + * The meta object literal for the 'Partitioning' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_ENTITY_MAPPINGS_22__PARTITIONING = eINSTANCE.getXmlEntityMappings_2_2_Partitioning(); + + /** + * The meta object literal for the 'Replication Partitioning' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_ENTITY_MAPPINGS_22__REPLICATION_PARTITIONING = eINSTANCE.getXmlEntityMappings_2_2_ReplicationPartitioning(); + + /** + * The meta object literal for the 'Round Robin Partitioning' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_ENTITY_MAPPINGS_22__ROUND_ROBIN_PARTITIONING = eINSTANCE.getXmlEntityMappings_2_2_RoundRobinPartitioning(); + + /** + * The meta object literal for the 'Pinned Partitioning' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_ENTITY_MAPPINGS_22__PINNED_PARTITIONING = eINSTANCE.getXmlEntityMappings_2_2_PinnedPartitioning(); + + /** + * The meta object literal for the 'Range Partitioning' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_ENTITY_MAPPINGS_22__RANGE_PARTITIONING = eINSTANCE.getXmlEntityMappings_2_2_RangePartitioning(); + + /** + * The meta object literal for the 'Value Partitioning' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_ENTITY_MAPPINGS_22__VALUE_PARTITIONING = eINSTANCE.getXmlEntityMappings_2_2_ValuePartitioning(); + + /** + * The meta object literal for the 'Hash Partitioning' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_ENTITY_MAPPINGS_22__HASH_PARTITIONING = eINSTANCE.getXmlEntityMappings_2_2_HashPartitioning(); + + /** + * The meta object literal for the 'Union Partitioning' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_ENTITY_MAPPINGS_22__UNION_PARTITIONING = eINSTANCE.getXmlEntityMappings_2_2_UnionPartitioning(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlHashPartitioning_2_2 Xml Hash Partitioning 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlHashPartitioning_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlHashPartitioning_2_2() + * @generated + */ + public static final EClass XML_HASH_PARTITIONING_22 = eINSTANCE.getXmlHashPartitioning_2_2(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_HASH_PARTITIONING_22__NAME = eINSTANCE.getXmlHashPartitioning_2_2_Name(); + + /** + * The meta object literal for the 'Additional Criteria' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_ENTITY_22__ADDITIONAL_CRITERIA = eINSTANCE.getXmlEntity_2_2_AdditionalCriteria(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToMany_2_2 Xml Many To Many 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToMany_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlManyToMany_2_2() + * @generated + */ + public static final EClass XML_MANY_TO_MANY_22 = eINSTANCE.getXmlManyToMany_2_2(); + + /** + * The meta object literal for the 'Cascade On Delete' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_MANY_TO_MANY_22__CASCADE_ON_DELETE = eINSTANCE.getXmlManyToMany_2_2_CascadeOnDelete(); + + /** + * The meta object literal for the 'Non Cacheable' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_MANY_TO_MANY_22__NON_CACHEABLE = eINSTANCE.getXmlManyToMany_2_2_NonCacheable(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToOne_2_2 Xml Many To One 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToOne_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlManyToOne_2_2() + * @generated + */ + public static final EClass XML_MANY_TO_ONE_22 = eINSTANCE.getXmlManyToOne_2_2(); + + /** + * The meta object literal for the 'Non Cacheable' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_MANY_TO_ONE_22__NON_CACHEABLE = eINSTANCE.getXmlManyToOne_2_2_NonCacheable(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToOne_2_2 Xml One To One 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToOne_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlOneToOne_2_2() + * @generated + */ + public static final EClass XML_ONE_TO_ONE_22 = eINSTANCE.getXmlOneToOne_2_2(); + + /** + * The meta object literal for the 'Cascade On Delete' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_ONE_TO_ONE_22__CASCADE_ON_DELETE = eINSTANCE.getXmlOneToOne_2_2_CascadeOnDelete(); + + /** + * The meta object literal for the 'Non Cacheable' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_ONE_TO_ONE_22__NON_CACHEABLE = eINSTANCE.getXmlOneToOne_2_2_NonCacheable(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToMany_2_2 Xml One To Many 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToMany_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlOneToMany_2_2() + * @generated + */ + public static final EClass XML_ONE_TO_MANY_22 = eINSTANCE.getXmlOneToMany_2_2(); + + /** + * The meta object literal for the 'Cascade On Delete' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_ONE_TO_MANY_22__CASCADE_ON_DELETE = eINSTANCE.getXmlOneToMany_2_2_CascadeOnDelete(); + + /** + * The meta object literal for the 'Noncacheable' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_ONE_TO_MANY_22__NONCACHEABLE = eINSTANCE.getXmlOneToMany_2_2_Noncacheable(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioning_2_2 Xml Partitioning 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioning_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlPartitioning_2_2() + * @generated + */ + public static final EClass XML_PARTITIONING_22 = eINSTANCE.getXmlPartitioning_2_2(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_PARTITIONING_22__NAME = eINSTANCE.getXmlPartitioning_2_2_Name(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2 Xml Partitioning Group 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlPartitioningGroup_2_2() + * @generated + */ + public static final EClass XML_PARTITIONING_GROUP_22 = eINSTANCE.getXmlPartitioningGroup_2_2(); + + /** + * The meta object literal for the 'Partitioning' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_PARTITIONING_GROUP_22__PARTITIONING = eINSTANCE.getXmlPartitioningGroup_2_2_Partitioning(); + + /** + * The meta object literal for the 'Replication Partitioning' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING = eINSTANCE.getXmlPartitioningGroup_2_2_ReplicationPartitioning(); + + /** + * The meta object literal for the 'Round Robin Partitioning' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING = eINSTANCE.getXmlPartitioningGroup_2_2_RoundRobinPartitioning(); + + /** + * The meta object literal for the 'Pinned Partitioning' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING = eINSTANCE.getXmlPartitioningGroup_2_2_PinnedPartitioning(); + + /** + * The meta object literal for the 'Range Partitioning' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING = eINSTANCE.getXmlPartitioningGroup_2_2_RangePartitioning(); + + /** + * The meta object literal for the 'Value Partitioning' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING = eINSTANCE.getXmlPartitioningGroup_2_2_ValuePartitioning(); + + /** + * The meta object literal for the 'Hash Partitioning' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_PARTITIONING_GROUP_22__HASH_PARTITIONING = eINSTANCE.getXmlPartitioningGroup_2_2_HashPartitioning(); + + /** + * The meta object literal for the 'Union Partitioning' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_PARTITIONING_GROUP_22__UNION_PARTITIONING = eINSTANCE.getXmlPartitioningGroup_2_2_UnionPartitioning(); + + /** + * The meta object literal for the 'Partitioned' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_PARTITIONING_GROUP_22__PARTITIONED = eINSTANCE.getXmlPartitioningGroup_2_2_Partitioned(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPinnedPartitioning_2_2 Xml Pinned Partitioning 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPinnedPartitioning_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlPinnedPartitioning_2_2() + * @generated + */ + public static final EClass XML_PINNED_PARTITIONING_22 = eINSTANCE.getXmlPinnedPartitioning_2_2(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_PINNED_PARTITIONING_22__NAME = eINSTANCE.getXmlPinnedPartitioning_2_2_Name(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRangePartitioning_2_2 Xml Range Partitioning 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRangePartitioning_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlRangePartitioning_2_2() + * @generated + */ + public static final EClass XML_RANGE_PARTITIONING_22 = eINSTANCE.getXmlRangePartitioning_2_2(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_RANGE_PARTITIONING_22__NAME = eINSTANCE.getXmlRangePartitioning_2_2_Name(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlReplicationPartitioning_2_2 Xml Replication Partitioning 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlReplicationPartitioning_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlReplicationPartitioning_2_2() + * @generated + */ + public static final EClass XML_REPLICATION_PARTITIONING_22 = eINSTANCE.getXmlReplicationPartitioning_2_2(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_REPLICATION_PARTITIONING_22__NAME = eINSTANCE.getXmlReplicationPartitioning_2_2_Name(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRoundRobinPartitioning_2_2 Xml Round Robin Partitioning 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRoundRobinPartitioning_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlRoundRobinPartitioning_2_2() + * @generated + */ + public static final EClass XML_ROUND_ROBIN_PARTITIONING_22 = eINSTANCE.getXmlRoundRobinPartitioning_2_2(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_ROUND_ROBIN_PARTITIONING_22__NAME = eINSTANCE.getXmlRoundRobinPartitioning_2_2_Name(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEmbeddable_2_2 Xml Embeddable 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEmbeddable_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlEmbeddable_2_2() + * @generated + */ + public static final EClass XML_EMBEDDABLE_22 = eINSTANCE.getXmlEmbeddable_2_2(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlId_2_2 Xml Id 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlId_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlId_2_2() + * @generated + */ + public static final EClass XML_ID_22 = eINSTANCE.getXmlId_2_2(); + + /** + * The meta object literal for the 'Index' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_ID_22__INDEX = eINSTANCE.getXmlId_2_2_Index(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2 Xml Index 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlIndex_2_2() + * @generated + */ + public static final EClass XML_INDEX_22 = eINSTANCE.getXmlIndex_2_2(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_INDEX_22__NAME = eINSTANCE.getXmlIndex_2_2_Name(); + + /** + * The meta object literal for the 'Schema' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_INDEX_22__SCHEMA = eINSTANCE.getXmlIndex_2_2_Schema(); + + /** + * The meta object literal for the 'Catalog' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_INDEX_22__CATALOG = eINSTANCE.getXmlIndex_2_2_Catalog(); + + /** + * The meta object literal for the 'Table' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_INDEX_22__TABLE = eINSTANCE.getXmlIndex_2_2_Table(); + + /** + * The meta object literal for the 'Unique' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_INDEX_22__UNIQUE = eINSTANCE.getXmlIndex_2_2_Unique(); + + /** + * The meta object literal for the 'Column Names' attribute list feature. + * + * + * @generated + */ + public static final EAttribute XML_INDEX_22__COLUMN_NAMES = eINSTANCE.getXmlIndex_2_2_ColumnNames(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlJoinTable_2_2 Xml Join Table 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlJoinTable_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlJoinTable_2_2() + * @generated + */ + public static final EClass XML_JOIN_TABLE_22 = eINSTANCE.getXmlJoinTable_2_2(); + + /** + * The meta object literal for the 'Creation Suffix' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_JOIN_TABLE_22__CREATION_SUFFIX = eINSTANCE.getXmlJoinTable_2_2_CreationSuffix(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlMappedSuperclass_2_2 Xml Mapped Superclass 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlMappedSuperclass_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlMappedSuperclass_2_2() + * @generated + */ + public static final EClass XML_MAPPED_SUPERCLASS_22 = eINSTANCE.getXmlMappedSuperclass_2_2(); + + /** + * The meta object literal for the 'Additional Criteria' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_MAPPED_SUPERCLASS_22__ADDITIONAL_CRITERIA = eINSTANCE.getXmlMappedSuperclass_2_2_AdditionalCriteria(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlSecondaryTable_2_2 Xml Secondary Table 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlSecondaryTable_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlSecondaryTable_2_2() + * @generated + */ + public static final EClass XML_SECONDARY_TABLE_22 = eINSTANCE.getXmlSecondaryTable_2_2(); + + /** + * The meta object literal for the 'Creation Suffix' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_SECONDARY_TABLE_22__CREATION_SUFFIX = eINSTANCE.getXmlSecondaryTable_2_2_CreationSuffix(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlTable_2_2 Xml Table 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlTable_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlTable_2_2() + * @generated + */ + public static final EClass XML_TABLE_22 = eINSTANCE.getXmlTable_2_2(); + + /** + * The meta object literal for the 'Creation Suffix' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_TABLE_22__CREATION_SUFFIX = eINSTANCE.getXmlTable_2_2_CreationSuffix(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlTableGenerator_2_2 Xml Table Generator 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlTableGenerator_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlTableGenerator_2_2() + * @generated + */ + public static final EClass XML_TABLE_GENERATOR_22 = eINSTANCE.getXmlTableGenerator_2_2(); + + /** + * The meta object literal for the 'Creation Suffix' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_TABLE_GENERATOR_22__CREATION_SUFFIX = eINSTANCE.getXmlTableGenerator_2_2_CreationSuffix(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlUnionPartitioning_2_2 Xml Union Partitioning 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlUnionPartitioning_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlUnionPartitioning_2_2() + * @generated + */ + public static final EClass XML_UNION_PARTITIONING_22 = eINSTANCE.getXmlUnionPartitioning_2_2(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_UNION_PARTITIONING_22__NAME = eINSTANCE.getXmlUnionPartitioning_2_2_Name(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlValuePartitioning_2_2 Xml Value Partitioning 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlValuePartitioning_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlValuePartitioning_2_2() + * @generated + */ + public static final EClass XML_VALUE_PARTITIONING_22 = eINSTANCE.getXmlValuePartitioning_2_2(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_VALUE_PARTITIONING_22__NAME = eINSTANCE.getXmlValuePartitioning_2_2_Name(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlVariableOneToOne_2_2 Xml Variable One To One 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlVariableOneToOne_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlVariableOneToOne_2_2() + * @generated + */ + public static final EClass XML_VARIABLE_ONE_TO_ONE_22 = eINSTANCE.getXmlVariableOneToOne_2_2(); + + /** + * The meta object literal for the 'Non Cacheable' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_VARIABLE_ONE_TO_ONE_22__NON_CACHEABLE = eINSTANCE.getXmlVariableOneToOne_2_2_NonCacheable(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlVersion_2_2 Xml Version 22}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlVersion_2_2 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlVersion_2_2() + * @generated + */ + public static final EClass XML_VERSION_22 = eINSTANCE.getXmlVersion_2_2(); + + /** + * The meta object literal for the 'Index' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_VERSION_22__INDEX = eINSTANCE.getXmlVersion_2_2_Index(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.CacheIsolationType Cache Isolation Type}' enum. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.CacheIsolationType + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getCacheIsolationType() + * @generated + */ + public static final EEnum CACHE_ISOLATION_TYPE = eINSTANCE.getCacheIsolationType(); + + } + +} //EclipseLinkOrmV2_2Package diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlAdditionalCriteria_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlAdditionalCriteria_2_2.java new file mode 100644 index 0000000000..de597db897 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlAdditionalCriteria_2_2.java @@ -0,0 +1,65 @@ +/******************************************************************************* + * 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.v2_2; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Additional Criteria 22'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlAdditionalCriteria_2_2#getCriteria Criteria}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlAdditionalCriteria_2_2() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlAdditionalCriteria_2_2 extends EBaseObject +{ + /** + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlAdditionalCriteria_2_2_Criteria() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getCriteria(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlAdditionalCriteria_2_2#getCriteria Criteria}' attribute. + * + * + * @param value the new value of the 'Criteria' attribute. + * @see #getCriteria() + * @generated + */ + void setCriteria(String value); + +} // XmlAdditionalCriteria_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlBasicCollection_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlBasicCollection_2_2.java new file mode 100644 index 0000000000..20feb48696 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlBasicCollection_2_2.java @@ -0,0 +1,65 @@ +/******************************************************************************* + * 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.v2_2; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Basic Collection 22'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasicCollection_2_2#getCascadeOnDelete Cascade On Delete}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlBasicCollection_2_2() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlBasicCollection_2_2 extends EBaseObject +{ + /** + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlBasicCollection_2_2_CascadeOnDelete() + * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" + * @generated + */ + Boolean getCascadeOnDelete(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasicCollection_2_2#getCascadeOnDelete Cascade On Delete}' attribute. + * + * + * @param value the new value of the 'Cascade On Delete' attribute. + * @see #getCascadeOnDelete() + * @generated + */ + void setCascadeOnDelete(Boolean value); + +} // XmlBasicCollection_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlBasicMap_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlBasicMap_2_2.java new file mode 100644 index 0000000000..73a06d367a --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlBasicMap_2_2.java @@ -0,0 +1,65 @@ +/******************************************************************************* + * 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.v2_2; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Basic Map 22'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasicMap_2_2#getCascadeOnDelete Cascade On Delete}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlBasicMap_2_2() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlBasicMap_2_2 extends EBaseObject +{ + /** + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlBasicMap_2_2_CascadeOnDelete() + * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" + * @generated + */ + Boolean getCascadeOnDelete(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasicMap_2_2#getCascadeOnDelete Cascade On Delete}' attribute. + * + * + * @param value the new value of the 'Cascade On Delete' attribute. + * @see #getCascadeOnDelete() + * @generated + */ + void setCascadeOnDelete(Boolean value); + +} // XmlBasicMap_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlBasic_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlBasic_2_2.java new file mode 100644 index 0000000000..feace3b390 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlBasic_2_2.java @@ -0,0 +1,65 @@ +/******************************************************************************* + * 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.v2_2; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Basic 22'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasic_2_2#getIndex Index}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlBasic_2_2() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlBasic_2_2 extends EBaseObject +{ + /** + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlBasic_2_2_Index() + * @model containment="true" + * @generated + */ + XmlIndex_2_2 getIndex(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasic_2_2#getIndex Index}' containment reference. + * + * + * @param value the new value of the 'Index' containment reference. + * @see #getIndex() + * @generated + */ + void setIndex(XmlIndex_2_2 value); + +} // XmlBasic_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlCache_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlCache_2_2.java new file mode 100644 index 0000000000..28d4920f16 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlCache_2_2.java @@ -0,0 +1,63 @@ +/******************************************************************************* + * 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.v2_2; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Cache2 2'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlCache_2_2#getIsolation Isolation}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlCache_2_2() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlCache_2_2 extends EBaseObject +{ + /** + * Returns the value of the 'Isolation' attribute. + * The default value is "". + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlCache_2_2_Isolation() + * @model default="" + * @generated + */ + CacheIsolationType getIsolation(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlCache_2_2#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 + */ + void setIsolation(CacheIsolationType value); + +} // XmlCache2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlCollectionTable_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlCollectionTable_2_2.java new file mode 100644 index 0000000000..eab08a3c20 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlCollectionTable_2_2.java @@ -0,0 +1,65 @@ +/******************************************************************************* + * 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.v2_2; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Collection Table 22'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlCollectionTable_2_2#getCreationSuffix Creation Suffix}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlCollectionTable_2_2() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlCollectionTable_2_2 extends EBaseObject +{ + /** + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlCollectionTable_2_2_CreationSuffix() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getCreationSuffix(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlCollectionTable_2_2#getCreationSuffix Creation Suffix}' attribute. + * + * + * @param value the new value of the 'Creation Suffix' attribute. + * @see #getCreationSuffix() + * @generated + */ + void setCreationSuffix(String value); + +} // XmlCollectionTable_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlElementCollection_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlElementCollection_2_2.java new file mode 100644 index 0000000000..ebed8e887e --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlElementCollection_2_2.java @@ -0,0 +1,90 @@ +/******************************************************************************* + * Copyright (c) 2010, 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.v2_2; + + +/** + * + * A representation of the model object 'Xml Element Collection 22'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlElementCollection_2_2#getCascadeOnDelete Cascade On Delete}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlElementCollection_2_2#isNoncacheable Noncacheable}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlElementCollection_2_2() + * @model kind="class" interface="true" abstract="true" + * @generated + */ +public interface XmlElementCollection_2_2 extends XmlPartitioningGroup_2_2 +{ + /** + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlElementCollection_2_2_CascadeOnDelete() + * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" + * @generated + */ + Boolean getCascadeOnDelete(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlElementCollection_2_2#getCascadeOnDelete Cascade On Delete}' attribute. + * + * + * @param value the new value of the 'Cascade On Delete' attribute. + * @see #getCascadeOnDelete() + * @generated + */ + void setCascadeOnDelete(Boolean value); + + /** + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlElementCollection_2_2_Noncacheable() + * @model dataType="org.eclipse.emf.ecore.xml.type.Boolean" + * @generated + */ + boolean isNoncacheable(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlElementCollection_2_2#isNoncacheable Noncacheable}' attribute. + * + * + * @param value the new value of the 'Noncacheable' attribute. + * @see #isNoncacheable() + * @generated + */ + void setNoncacheable(boolean value); + +} // XmlElementCollection_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlEmbeddable_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlEmbeddable_2_2.java new file mode 100644 index 0000000000..883653bcca --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlEmbeddable_2_2.java @@ -0,0 +1,34 @@ +/******************************************************************************* + * Copyright (c) 2010, 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.v2_2; + +import org.eclipse.jpt.jpa.core.resource.orm.XmlAssociationOverrideContainer; +import org.eclipse.jpt.jpa.core.resource.orm.XmlAttributeOverrideContainer; + +/** + * + * A representation of the model object 'Xml Embeddable 22'. + * + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlEmbeddable_2_2() + * @model kind="class" interface="true" abstract="true" + * @generated + */ +public interface XmlEmbeddable_2_2 extends XmlAttributeOverrideContainer, XmlAssociationOverrideContainer +{ + +} // XmlEmbeddable_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlEntityMappings_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlEntityMappings_2_2.java new file mode 100644 index 0000000000..045a1f641e --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlEntityMappings_2_2.java @@ -0,0 +1,175 @@ +/******************************************************************************* + * 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.v2_2; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Entity Mappings 22'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getPartitioning Partitioning}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getReplicationPartitioning Replication Partitioning}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getRoundRobinPartitioning Round Robin Partitioning}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getPinnedPartitioning Pinned Partitioning}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getRangePartitioning Range Partitioning}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getValuePartitioning Value Partitioning}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getHashPartitioning Hash Partitioning}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getUnionPartitioning Union Partitioning}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlEntityMappings_2_2() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlEntityMappings_2_2 extends EBaseObject +{ + /** + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlEntityMappings_2_2_Partitioning() + * @model containment="true" + * @generated + */ + EList getPartitioning(); + + /** + * Returns the value of the 'Replication Partitioning' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlReplicationPartitioning_2_2}. + * + *

+ * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlEntityMappings_2_2_ReplicationPartitioning() + * @model containment="true" + * @generated + */ + EList getReplicationPartitioning(); + + /** + * Returns the value of the 'Round Robin Partitioning' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRoundRobinPartitioning_2_2}. + * + *

+ * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlEntityMappings_2_2_RoundRobinPartitioning() + * @model containment="true" + * @generated + */ + EList getRoundRobinPartitioning(); + + /** + * Returns the value of the 'Pinned Partitioning' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPinnedPartitioning_2_2}. + * + *

+ * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlEntityMappings_2_2_PinnedPartitioning() + * @model containment="true" + * @generated + */ + EList getPinnedPartitioning(); + + /** + * Returns the value of the 'Range Partitioning' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRangePartitioning_2_2}. + * + *

+ * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlEntityMappings_2_2_RangePartitioning() + * @model containment="true" + * @generated + */ + EList getRangePartitioning(); + + /** + * Returns the value of the 'Value Partitioning' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlValuePartitioning_2_2}. + * + *

+ * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlEntityMappings_2_2_ValuePartitioning() + * @model containment="true" + * @generated + */ + EList getValuePartitioning(); + + /** + * Returns the value of the 'Hash Partitioning' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlHashPartitioning_2_2}. + * + *

+ * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlEntityMappings_2_2_HashPartitioning() + * @model containment="true" + * @generated + */ + EList getHashPartitioning(); + + /** + * Returns the value of the 'Union Partitioning' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlUnionPartitioning_2_2}. + * + *

+ * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlEntityMappings_2_2_UnionPartitioning() + * @model containment="true" + * @generated + */ + EList getUnionPartitioning(); + +} // XmlEntityMappings_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlEntity_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlEntity_2_2.java new file mode 100644 index 0000000000..cd27063979 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlEntity_2_2.java @@ -0,0 +1,117 @@ +/******************************************************************************* + * 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.v2_2; + + +/** + * + * A representation of the model object 'Xml Entity 22'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntity_2_2#getAdditionalCriteria Additional Criteria}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntity_2_2#getCascadeOnDelete Cascade On Delete}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntity_2_2#getIndex Index}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlEntity_2_2() + * @model kind="class" interface="true" abstract="true" + * @generated + */ +public interface XmlEntity_2_2 extends XmlPartitioningGroup_2_2 +{ + /** + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlEntity_2_2_CascadeOnDelete() + * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" + * @generated + */ + Boolean getCascadeOnDelete(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntity_2_2#getCascadeOnDelete Cascade On Delete}' attribute. + * + * + * @param value the new value of the 'Cascade On Delete' attribute. + * @see #getCascadeOnDelete() + * @generated + */ + void setCascadeOnDelete(Boolean value); + + /** + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlEntity_2_2_Index() + * @model containment="true" + * @generated + */ + XmlIndex_2_2 getIndex(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntity_2_2#getIndex Index}' containment reference. + * + * + * @param value the new value of the 'Index' containment reference. + * @see #getIndex() + * @generated + */ + void setIndex(XmlIndex_2_2 value); + + /** + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlEntity_2_2_AdditionalCriteria() + * @model containment="true" + * @generated + */ + XmlAdditionalCriteria_2_2 getAdditionalCriteria(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntity_2_2#getAdditionalCriteria Additional Criteria}' containment reference. + * + * + * @param value the new value of the 'Additional Criteria' containment reference. + * @see #getAdditionalCriteria() + * @generated + */ + void setAdditionalCriteria(XmlAdditionalCriteria_2_2 value); + +} // XmlEntity_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlHashPartitioning_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlHashPartitioning_2_2.java new file mode 100644 index 0000000000..cd47030e39 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlHashPartitioning_2_2.java @@ -0,0 +1,65 @@ +/******************************************************************************* + * 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.v2_2; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Hash Partitioning 22'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlHashPartitioning_2_2#getName Name}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlHashPartitioning_2_2() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlHashPartitioning_2_2 extends EBaseObject +{ + /** + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlHashPartitioning_2_2_Name() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlHashPartitioning_2_2#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + +} // XmlHashPartitioning_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlId_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlId_2_2.java new file mode 100644 index 0000000000..a050ed4f88 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlId_2_2.java @@ -0,0 +1,56 @@ +/** + * + * + * + * $Id: XmlId_2_2.java,v 1.1 2011/02/06 02:13:00 kmoore Exp $ + */ +package org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Id 22'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlId_2_2#getIndex Index}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlId_2_2() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlId_2_2 extends EBaseObject +{ + /** + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlId_2_2_Index() + * @model containment="true" + * @generated + */ + XmlIndex_2_2 getIndex(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlId_2_2#getIndex Index}' containment reference. + * + * + * @param value the new value of the 'Index' containment reference. + * @see #getIndex() + * @generated + */ + void setIndex(XmlIndex_2_2 value); + +} // XmlId_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlIndex_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlIndex_2_2.java new file mode 100644 index 0000000000..e5655267cd --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlIndex_2_2.java @@ -0,0 +1,191 @@ +/******************************************************************************* + * 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.v2_2; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Index 22'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2#getName Name}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2#getSchema Schema}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2#getCatalog Catalog}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2#getTable Table}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2#getUnique Unique}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2#getColumnNames Column Names}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlIndex_2_2() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlIndex_2_2 extends EBaseObject +{ + /** + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlIndex_2_2_Name() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + + /** + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlIndex_2_2_Schema() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getSchema(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2#getSchema Schema}' attribute. + * + * + * @param value the new value of the 'Schema' attribute. + * @see #getSchema() + * @generated + */ + void setSchema(String value); + + /** + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlIndex_2_2_Catalog() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getCatalog(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2#getCatalog Catalog}' attribute. + * + * + * @param value the new value of the 'Catalog' attribute. + * @see #getCatalog() + * @generated + */ + void setCatalog(String value); + + /** + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlIndex_2_2_Table() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getTable(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2#getTable Table}' attribute. + * + * + * @param value the new value of the 'Table' attribute. + * @see #getTable() + * @generated + */ + void setTable(String value); + + /** + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlIndex_2_2_Unique() + * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" + * @generated + */ + Boolean getUnique(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2#getUnique Unique}' attribute. + * + * + * @param value the new value of the 'Unique' attribute. + * @see #getUnique() + * @generated + */ + void setUnique(Boolean value); + + /** + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlIndex_2_2_ColumnNames() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + EList getColumnNames(); + +} // XmlIndex_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlJoinTable_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlJoinTable_2_2.java new file mode 100644 index 0000000000..ebbe99588d --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlJoinTable_2_2.java @@ -0,0 +1,65 @@ +/******************************************************************************* + * 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.v2_2; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Join Table 22'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlJoinTable_2_2#getCreationSuffix Creation Suffix}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlJoinTable_2_2() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlJoinTable_2_2 extends EBaseObject +{ + /** + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlJoinTable_2_2_CreationSuffix() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getCreationSuffix(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlJoinTable_2_2#getCreationSuffix Creation Suffix}' attribute. + * + * + * @param value the new value of the 'Creation Suffix' attribute. + * @see #getCreationSuffix() + * @generated + */ + void setCreationSuffix(String value); + +} // XmlJoinTable_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlManyToMany_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlManyToMany_2_2.java new file mode 100644 index 0000000000..328c0dc19d --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlManyToMany_2_2.java @@ -0,0 +1,90 @@ +/******************************************************************************* + * 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.v2_2; + + +/** + * + * A representation of the model object 'Xml Many To Many 22'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToMany_2_2#getCascadeOnDelete Cascade On Delete}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToMany_2_2#isNonCacheable Non Cacheable}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlManyToMany_2_2() + * @model kind="class" interface="true" abstract="true" + * @generated + */ +public interface XmlManyToMany_2_2 extends XmlPartitioningGroup_2_2 +{ + /** + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlManyToMany_2_2_CascadeOnDelete() + * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" + * @generated + */ + Boolean getCascadeOnDelete(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToMany_2_2#getCascadeOnDelete Cascade On Delete}' attribute. + * + * + * @param value the new value of the 'Cascade On Delete' attribute. + * @see #getCascadeOnDelete() + * @generated + */ + void setCascadeOnDelete(Boolean value); + + /** + * Returns the value of the 'Non Cacheable' attribute. + * + *

+ * If the meaning of the 'Non Cacheable' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Non Cacheable' attribute. + * @see #setNonCacheable(boolean) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlManyToMany_2_2_NonCacheable() + * @model dataType="org.eclipse.emf.ecore.xml.type.Boolean" + * @generated + */ + boolean isNonCacheable(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToMany_2_2#isNonCacheable Non Cacheable}' attribute. + * + * + * @param value the new value of the 'Non Cacheable' attribute. + * @see #isNonCacheable() + * @generated + */ + void setNonCacheable(boolean value); + +} // XmlManyToMany_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlManyToOne_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlManyToOne_2_2.java new file mode 100644 index 0000000000..f9ed6b9270 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlManyToOne_2_2.java @@ -0,0 +1,63 @@ +/******************************************************************************* + * 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.v2_2; + + +/** + * + * A representation of the model object 'Xml Many To One 22'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToOne_2_2#isNonCacheable Non Cacheable}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlManyToOne_2_2() + * @model kind="class" interface="true" abstract="true" + * @generated + */ +public interface XmlManyToOne_2_2 extends XmlPartitioningGroup_2_2 +{ + /** + * Returns the value of the 'Non Cacheable' attribute. + * + *

+ * If the meaning of the 'Non Cacheable' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Non Cacheable' attribute. + * @see #setNonCacheable(boolean) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlManyToOne_2_2_NonCacheable() + * @model dataType="org.eclipse.emf.ecore.xml.type.Boolean" + * @generated + */ + boolean isNonCacheable(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToOne_2_2#isNonCacheable Non Cacheable}' attribute. + * + * + * @param value the new value of the 'Non Cacheable' attribute. + * @see #isNonCacheable() + * @generated + */ + void setNonCacheable(boolean value); + +} // XmlManyToOne_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlMappedSuperclass_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlMappedSuperclass_2_2.java new file mode 100644 index 0000000000..f949aa8c74 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlMappedSuperclass_2_2.java @@ -0,0 +1,63 @@ +/******************************************************************************* + * 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.v2_2; + + +/** + * + * A representation of the model object 'Xml Mapped Superclass 22'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlMappedSuperclass_2_2#getAdditionalCriteria Additional Criteria}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlMappedSuperclass_2_2() + * @model kind="class" interface="true" abstract="true" + * @generated + */ +public interface XmlMappedSuperclass_2_2 extends XmlPartitioningGroup_2_2 +{ + /** + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlMappedSuperclass_2_2_AdditionalCriteria() + * @model containment="true" + * @generated + */ + XmlAdditionalCriteria_2_2 getAdditionalCriteria(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlMappedSuperclass_2_2#getAdditionalCriteria Additional Criteria}' containment reference. + * + * + * @param value the new value of the 'Additional Criteria' containment reference. + * @see #getAdditionalCriteria() + * @generated + */ + void setAdditionalCriteria(XmlAdditionalCriteria_2_2 value); + +} // XmlMappedSuperclass_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlOneToMany_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlOneToMany_2_2.java new file mode 100644 index 0000000000..6807ef6f1b --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlOneToMany_2_2.java @@ -0,0 +1,90 @@ +/******************************************************************************* + * Copyright (c) 2010, 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.v2_2; + + +/** + * + * A representation of the model object 'Xml One To Many 22'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToMany_2_2#getCascadeOnDelete Cascade On Delete}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToMany_2_2#isNoncacheable Noncacheable}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlOneToMany_2_2() + * @model kind="class" interface="true" abstract="true" + * @generated + */ +public interface XmlOneToMany_2_2 extends XmlPartitioningGroup_2_2 +{ + /** + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlOneToMany_2_2_CascadeOnDelete() + * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" + * @generated + */ + Boolean getCascadeOnDelete(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToMany_2_2#getCascadeOnDelete Cascade On Delete}' attribute. + * + * + * @param value the new value of the 'Cascade On Delete' attribute. + * @see #getCascadeOnDelete() + * @generated + */ + void setCascadeOnDelete(Boolean value); + + /** + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlOneToMany_2_2_Noncacheable() + * @model dataType="org.eclipse.emf.ecore.xml.type.Boolean" + * @generated + */ + boolean isNoncacheable(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToMany_2_2#isNoncacheable Noncacheable}' attribute. + * + * + * @param value the new value of the 'Noncacheable' attribute. + * @see #isNoncacheable() + * @generated + */ + void setNoncacheable(boolean value); + +} // XmlOneToMany_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlOneToOne_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlOneToOne_2_2.java new file mode 100644 index 0000000000..cc745a9b5f --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlOneToOne_2_2.java @@ -0,0 +1,90 @@ +/******************************************************************************* + * 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.v2_2; + + +/** + * + * A representation of the model object 'Xml One To One 22'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToOne_2_2#getCascadeOnDelete Cascade On Delete}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToOne_2_2#isNonCacheable Non Cacheable}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlOneToOne_2_2() + * @model kind="class" interface="true" abstract="true" + * @generated + */ +public interface XmlOneToOne_2_2 extends XmlPartitioningGroup_2_2 +{ + /** + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlOneToOne_2_2_CascadeOnDelete() + * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" + * @generated + */ + Boolean getCascadeOnDelete(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToOne_2_2#getCascadeOnDelete Cascade On Delete}' attribute. + * + * + * @param value the new value of the 'Cascade On Delete' attribute. + * @see #getCascadeOnDelete() + * @generated + */ + void setCascadeOnDelete(Boolean value); + + /** + * Returns the value of the 'Non Cacheable' attribute. + * + *

+ * If the meaning of the 'Non Cacheable' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Non Cacheable' attribute. + * @see #setNonCacheable(boolean) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlOneToOne_2_2_NonCacheable() + * @model dataType="org.eclipse.emf.ecore.xml.type.Boolean" + * @generated + */ + boolean isNonCacheable(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToOne_2_2#isNonCacheable Non Cacheable}' attribute. + * + * + * @param value the new value of the 'Non Cacheable' attribute. + * @see #isNonCacheable() + * @generated + */ + void setNonCacheable(boolean value); + +} // XmlOneToOne_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlPartitioningGroup_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlPartitioningGroup_2_2.java new file mode 100644 index 0000000000..7ea0d3b99d --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlPartitioningGroup_2_2.java @@ -0,0 +1,281 @@ +/******************************************************************************* + * 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.v2_2; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Partitioning Group2 2'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getPartitioning Partitioning}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getReplicationPartitioning Replication Partitioning}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getRoundRobinPartitioning Round Robin Partitioning}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getPinnedPartitioning Pinned Partitioning}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getRangePartitioning Range Partitioning}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getValuePartitioning Value Partitioning}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getHashPartitioning Hash Partitioning}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getUnionPartitioning Union Partitioning}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getPartitioned Partitioned}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlPartitioningGroup_2_2() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlPartitioningGroup_2_2 extends EBaseObject +{ + /** + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlPartitioningGroup_2_2_Partitioning() + * @model containment="true" + * @generated + */ + XmlPartitioning_2_2 getPartitioning(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getPartitioning Partitioning}' containment reference. + * + * + * @param value the new value of the 'Partitioning' containment reference. + * @see #getPartitioning() + * @generated + */ + void setPartitioning(XmlPartitioning_2_2 value); + + /** + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlPartitioningGroup_2_2_ReplicationPartitioning() + * @model containment="true" + * @generated + */ + XmlReplicationPartitioning_2_2 getReplicationPartitioning(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getReplicationPartitioning Replication Partitioning}' containment reference. + * + * + * @param value the new value of the 'Replication Partitioning' containment reference. + * @see #getReplicationPartitioning() + * @generated + */ + void setReplicationPartitioning(XmlReplicationPartitioning_2_2 value); + + /** + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlPartitioningGroup_2_2_RoundRobinPartitioning() + * @model containment="true" + * @generated + */ + XmlRoundRobinPartitioning_2_2 getRoundRobinPartitioning(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getRoundRobinPartitioning Round Robin Partitioning}' containment reference. + * + * + * @param value the new value of the 'Round Robin Partitioning' containment reference. + * @see #getRoundRobinPartitioning() + * @generated + */ + void setRoundRobinPartitioning(XmlRoundRobinPartitioning_2_2 value); + + /** + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlPartitioningGroup_2_2_PinnedPartitioning() + * @model containment="true" + * @generated + */ + XmlPinnedPartitioning_2_2 getPinnedPartitioning(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getPinnedPartitioning Pinned Partitioning}' containment reference. + * + * + * @param value the new value of the 'Pinned Partitioning' containment reference. + * @see #getPinnedPartitioning() + * @generated + */ + void setPinnedPartitioning(XmlPinnedPartitioning_2_2 value); + + /** + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlPartitioningGroup_2_2_RangePartitioning() + * @model containment="true" + * @generated + */ + XmlRangePartitioning_2_2 getRangePartitioning(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getRangePartitioning Range Partitioning}' containment reference. + * + * + * @param value the new value of the 'Range Partitioning' containment reference. + * @see #getRangePartitioning() + * @generated + */ + void setRangePartitioning(XmlRangePartitioning_2_2 value); + + /** + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlPartitioningGroup_2_2_ValuePartitioning() + * @model containment="true" + * @generated + */ + XmlValuePartitioning_2_2 getValuePartitioning(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getValuePartitioning Value Partitioning}' containment reference. + * + * + * @param value the new value of the 'Value Partitioning' containment reference. + * @see #getValuePartitioning() + * @generated + */ + void setValuePartitioning(XmlValuePartitioning_2_2 value); + + /** + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlPartitioningGroup_2_2_HashPartitioning() + * @model containment="true" + * @generated + */ + XmlHashPartitioning_2_2 getHashPartitioning(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getHashPartitioning Hash Partitioning}' containment reference. + * + * + * @param value the new value of the 'Hash Partitioning' containment reference. + * @see #getHashPartitioning() + * @generated + */ + void setHashPartitioning(XmlHashPartitioning_2_2 value); + + /** + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlPartitioningGroup_2_2_UnionPartitioning() + * @model containment="true" + * @generated + */ + XmlUnionPartitioning_2_2 getUnionPartitioning(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getUnionPartitioning Union Partitioning}' containment reference. + * + * + * @param value the new value of the 'Union Partitioning' containment reference. + * @see #getUnionPartitioning() + * @generated + */ + void setUnionPartitioning(XmlUnionPartitioning_2_2 value); + + /** + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlPartitioningGroup_2_2_Partitioned() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getPartitioned(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getPartitioned Partitioned}' attribute. + * + * + * @param value the new value of the 'Partitioned' attribute. + * @see #getPartitioned() + * @generated + */ + void setPartitioned(String value); + +} // XmlPartitioningGroup2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlPartitioning_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlPartitioning_2_2.java new file mode 100644 index 0000000000..6d19a4c8c8 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlPartitioning_2_2.java @@ -0,0 +1,65 @@ +/******************************************************************************* + * 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.v2_2; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Partitioning 22'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioning_2_2#getName Name}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlPartitioning_2_2() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlPartitioning_2_2 extends EBaseObject +{ + /** + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlPartitioning_2_2_Name() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioning_2_2#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + +} // XmlPartitioning_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlPinnedPartitioning_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlPinnedPartitioning_2_2.java new file mode 100644 index 0000000000..c0fccc9307 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlPinnedPartitioning_2_2.java @@ -0,0 +1,65 @@ +/******************************************************************************* + * 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.v2_2; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Pinned Partitioning 22'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPinnedPartitioning_2_2#getName Name}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlPinnedPartitioning_2_2() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlPinnedPartitioning_2_2 extends EBaseObject +{ + /** + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlPinnedPartitioning_2_2_Name() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPinnedPartitioning_2_2#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + +} // XmlPinnedPartitioning_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlRangePartitioning_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlRangePartitioning_2_2.java new file mode 100644 index 0000000000..f49202986f --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlRangePartitioning_2_2.java @@ -0,0 +1,65 @@ +/******************************************************************************* + * 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.v2_2; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Range Partitioning 22'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRangePartitioning_2_2#getName Name}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlRangePartitioning_2_2() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlRangePartitioning_2_2 extends EBaseObject +{ + /** + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlRangePartitioning_2_2_Name() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRangePartitioning_2_2#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + +} // XmlRangePartitioning_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlReplicationPartitioning_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlReplicationPartitioning_2_2.java new file mode 100644 index 0000000000..f370f84296 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlReplicationPartitioning_2_2.java @@ -0,0 +1,65 @@ +/******************************************************************************* + * 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.v2_2; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Replication Partitioning 22'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlReplicationPartitioning_2_2#getName Name}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlReplicationPartitioning_2_2() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlReplicationPartitioning_2_2 extends EBaseObject +{ + /** + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlReplicationPartitioning_2_2_Name() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlReplicationPartitioning_2_2#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + +} // XmlReplicationPartitioning_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlRoundRobinPartitioning_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlRoundRobinPartitioning_2_2.java new file mode 100644 index 0000000000..b05a6c08cc --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlRoundRobinPartitioning_2_2.java @@ -0,0 +1,65 @@ +/******************************************************************************* + * 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.v2_2; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Round Robin Partitioning 22'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRoundRobinPartitioning_2_2#getName Name}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlRoundRobinPartitioning_2_2() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlRoundRobinPartitioning_2_2 extends EBaseObject +{ + /** + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlRoundRobinPartitioning_2_2_Name() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRoundRobinPartitioning_2_2#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + +} // XmlRoundRobinPartitioning_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlSecondaryTable_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlSecondaryTable_2_2.java new file mode 100644 index 0000000000..55c987bdcf --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlSecondaryTable_2_2.java @@ -0,0 +1,65 @@ +/******************************************************************************* + * 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.v2_2; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Secondary Table 22'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlSecondaryTable_2_2#getCreationSuffix Creation Suffix}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlSecondaryTable_2_2() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlSecondaryTable_2_2 extends EBaseObject +{ + /** + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlSecondaryTable_2_2_CreationSuffix() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getCreationSuffix(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlSecondaryTable_2_2#getCreationSuffix Creation Suffix}' attribute. + * + * + * @param value the new value of the 'Creation Suffix' attribute. + * @see #getCreationSuffix() + * @generated + */ + void setCreationSuffix(String value); + +} // XmlSecondaryTable_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlTableGenerator_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlTableGenerator_2_2.java new file mode 100644 index 0000000000..f46b30bc5c --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlTableGenerator_2_2.java @@ -0,0 +1,65 @@ +/******************************************************************************* + * 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.v2_2; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Table Generator 22'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlTableGenerator_2_2#getCreationSuffix Creation Suffix}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlTableGenerator_2_2() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlTableGenerator_2_2 extends EBaseObject +{ + /** + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlTableGenerator_2_2_CreationSuffix() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getCreationSuffix(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlTableGenerator_2_2#getCreationSuffix Creation Suffix}' attribute. + * + * + * @param value the new value of the 'Creation Suffix' attribute. + * @see #getCreationSuffix() + * @generated + */ + void setCreationSuffix(String value); + +} // XmlTableGenerator_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlTable_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlTable_2_2.java new file mode 100644 index 0000000000..b7dcac9582 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlTable_2_2.java @@ -0,0 +1,65 @@ +/******************************************************************************* + * 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.v2_2; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Table 22'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlTable_2_2#getCreationSuffix Creation Suffix}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlTable_2_2() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlTable_2_2 extends EBaseObject +{ + /** + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlTable_2_2_CreationSuffix() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getCreationSuffix(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlTable_2_2#getCreationSuffix Creation Suffix}' attribute. + * + * + * @param value the new value of the 'Creation Suffix' attribute. + * @see #getCreationSuffix() + * @generated + */ + void setCreationSuffix(String value); + +} // XmlTable_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlUnionPartitioning_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlUnionPartitioning_2_2.java new file mode 100644 index 0000000000..a691c7e9a6 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlUnionPartitioning_2_2.java @@ -0,0 +1,65 @@ +/******************************************************************************* + * 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.v2_2; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Union Partitioning 22'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlUnionPartitioning_2_2#getName Name}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlUnionPartitioning_2_2() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlUnionPartitioning_2_2 extends EBaseObject +{ + /** + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlUnionPartitioning_2_2_Name() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlUnionPartitioning_2_2#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + +} // XmlUnionPartitioning_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlValuePartitioning_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlValuePartitioning_2_2.java new file mode 100644 index 0000000000..706f813f40 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlValuePartitioning_2_2.java @@ -0,0 +1,65 @@ +/******************************************************************************* + * 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.v2_2; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Value Partitioning 22'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlValuePartitioning_2_2#getName Name}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlValuePartitioning_2_2() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlValuePartitioning_2_2 extends EBaseObject +{ + /** + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlValuePartitioning_2_2_Name() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlValuePartitioning_2_2#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + +} // XmlValuePartitioning_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlVariableOneToOne_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlVariableOneToOne_2_2.java new file mode 100644 index 0000000000..ee10991c84 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlVariableOneToOne_2_2.java @@ -0,0 +1,63 @@ +/******************************************************************************* + * 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.v2_2; + + +/** + * + * A representation of the model object 'Xml Variable One To One 22'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlVariableOneToOne_2_2#isNonCacheable Non Cacheable}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlVariableOneToOne_2_2() + * @model kind="class" interface="true" abstract="true" + * @generated + */ +public interface XmlVariableOneToOne_2_2 extends XmlPartitioningGroup_2_2 +{ + /** + * Returns the value of the 'Non Cacheable' attribute. + * + *

+ * If the meaning of the 'Non Cacheable' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Non Cacheable' attribute. + * @see #setNonCacheable(boolean) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlVariableOneToOne_2_2_NonCacheable() + * @model dataType="org.eclipse.emf.ecore.xml.type.Boolean" + * @generated + */ + boolean isNonCacheable(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlVariableOneToOne_2_2#isNonCacheable Non Cacheable}' attribute. + * + * + * @param value the new value of the 'Non Cacheable' attribute. + * @see #isNonCacheable() + * @generated + */ + void setNonCacheable(boolean value); + +} // XmlVariableOneToOne_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlVersion_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlVersion_2_2.java new file mode 100644 index 0000000000..405c5cd841 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlVersion_2_2.java @@ -0,0 +1,65 @@ +/******************************************************************************* + * 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.v2_2; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Version 22'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlVersion_2_2#getIndex Index}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlVersion_2_2() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlVersion_2_2 extends EBaseObject +{ + /** + * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlVersion_2_2_Index() + * @model containment="true" + * @generated + */ + XmlIndex_2_2 getIndex(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlVersion_2_2#getIndex Index}' containment reference. + * + * + * @param value the new value of the 'Index' containment reference. + * @see #getIndex() + * @generated + */ + void setIndex(XmlIndex_2_2 value); + +} // XmlVersion_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/EclipseLinkOrmV2_3Factory.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/EclipseLinkOrmV2_3Factory.java new file mode 100644 index 0000000000..2196e070c1 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/EclipseLinkOrmV2_3Factory.java @@ -0,0 +1,164 @@ +/******************************************************************************* + * 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.v2_3; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.impl.EFactoryImpl; +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +/** + * + * The Factory for the model. + * It provides a create method for each non-abstract class of the model. + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package + * @generated + */ +public class EclipseLinkOrmV2_3Factory extends EFactoryImpl +{ + /** + * The singleton instance of the factory. + * + * + * @generated + */ + public static final EclipseLinkOrmV2_3Factory eINSTANCE = init(); + + /** + * Creates the default factory implementation. + * + * + * @generated + */ + public static EclipseLinkOrmV2_3Factory init() + { + try + { + EclipseLinkOrmV2_3Factory theEclipseLinkOrmV2_3Factory = (EclipseLinkOrmV2_3Factory)EPackage.Registry.INSTANCE.getEFactory("jpt.eclipselink.orm.v2_3.xmi"); + if (theEclipseLinkOrmV2_3Factory != null) + { + return theEclipseLinkOrmV2_3Factory; + } + } + catch (Exception exception) + { + EcorePlugin.INSTANCE.log(exception); + } + return new EclipseLinkOrmV2_3Factory(); + } + + /** + * Creates an instance of the factory. + * + * + * @generated + */ + public EclipseLinkOrmV2_3Factory() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + public EObject create(EClass eClass) + { + switch (eClass.getClassifierID()) + { + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + @Override + public Object createFromString(EDataType eDataType, String initialValue) + { + switch (eDataType.getClassifierID()) + { + case EclipseLinkOrmV2_3Package.MULTITENANT_TYPE: + return createMultitenantTypeFromString(eDataType, initialValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + @Override + public String convertToString(EDataType eDataType, Object instanceValue) + { + switch (eDataType.getClassifierID()) + { + case EclipseLinkOrmV2_3Package.MULTITENANT_TYPE: + return convertMultitenantTypeToString(eDataType, instanceValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + public MultitenantType createMultitenantTypeFromString(EDataType eDataType, String initialValue) + { + MultitenantType result = MultitenantType.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * + * + * @generated + */ + public String convertMultitenantTypeToString(EDataType eDataType, Object instanceValue) + { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * + * + * @generated + */ + public EclipseLinkOrmV2_3Package getEclipseLinkOrmV2_3Package() + { + return (EclipseLinkOrmV2_3Package)getEPackage(); + } + + /** + * + * + * @deprecated + * @generated + */ + @Deprecated + public static EclipseLinkOrmV2_3Package getPackage() + { + return EclipseLinkOrmV2_3Package.eINSTANCE; + } + +} //EclipseLinkOrmV2_3Factory diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/EclipseLinkOrmV2_3Package.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/EclipseLinkOrmV2_3Package.java new file mode 100644 index 0000000000..a881ca63c1 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/EclipseLinkOrmV2_3Package.java @@ -0,0 +1,2605 @@ +/******************************************************************************* + * 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.v2_3; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EEnum; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; +import org.eclipse.emf.ecore.impl.EPackageImpl; +import org.eclipse.emf.ecore.xml.type.XMLTypePackage; +import org.eclipse.jpt.jpa.core.resource.orm.OrmPackage; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package; + +/** + * + * The Package for the model. + * It contains accessors for the meta objects to represent + *
    + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • + *
+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Factory + * @model kind="package" + * @generated + */ +public class EclipseLinkOrmV2_3Package extends EPackageImpl +{ + /** + * The package name. + * + * + * @generated + */ + public static final String eNAME = "v2_3"; + + /** + * The package namespace URI. + * + * + * @generated + */ + public static final String eNS_URI = "jpt.eclipselink.orm.v2_3.xmi"; + + /** + * The package namespace name. + * + * + * @generated + */ + public static final String eNS_PREFIX = "org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3"; + + /** + * The singleton instance of the package. + * + * + * @generated + */ + public static final EclipseLinkOrmV2_3Package eINSTANCE = org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package.init(); + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEmbeddable_2_3 Xml Embeddable 23}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEmbeddable_2_3 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlEmbeddable_2_3() + * @generated + */ + public static final int XML_EMBEDDABLE_23 = 3; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMultitenant_2_3 Xml Multitenant 23}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMultitenant_2_3 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlMultitenant_2_3() + * @generated + */ + public static final int XML_MULTITENANT_23 = 7; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3 Xml Entity 23}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlEntity_2_3() + * @generated + */ + public static final int XML_ENTITY_23 = 4; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMappedSuperclass_2_3 Xml Mapped Superclass 23}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMappedSuperclass_2_3 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlMappedSuperclass_2_3() + * @generated + */ + public static final int XML_MAPPED_SUPERCLASS_23 = 6; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3 Xml Entity Mappings 23}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlEntityMappings_2_3() + * @generated + */ + public static final int XML_ENTITY_MAPPINGS_23 = 5; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredFunctionQuery_2_3 Xml Named Plsql Stored Function Query 23}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredFunctionQuery_2_3 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlNamedPlsqlStoredFunctionQuery_2_3() + * @generated + */ + public static final int XML_NAMED_PLSQL_STORED_FUNCTION_QUERY_23 = 8; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredProcedureQuery_2_3 Xml Named Plsql Stored Procedure Query 23}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredProcedureQuery_2_3 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlNamedPlsqlStoredProcedureQuery_2_3() + * @generated + */ + public static final int XML_NAMED_PLSQL_STORED_PROCEDURE_QUERY_23 = 9; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedStoredFunctionQuery_2_3 Xml Named Stored Function Query 23}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedStoredFunctionQuery_2_3 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlNamedStoredFunctionQuery_2_3() + * @generated + */ + public static final int XML_NAMED_STORED_FUNCTION_QUERY_23 = 10; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPersistenceUnitDefaults_2_3 Xml Persistence Unit Defaults 23}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPersistenceUnitDefaults_2_3 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlPersistenceUnitDefaults_2_3() + * @generated + */ + public static final int XML_PERSISTENCE_UNIT_DEFAULTS_23 = 11; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPlsqlRecord_2_3 Xml Plsql Record 23}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPlsqlRecord_2_3 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlPlsqlRecord_2_3() + * @generated + */ + public static final int XML_PLSQL_RECORD_23 = 12; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPlsqlTable_2_3 Xml Plsql Table 23}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPlsqlTable_2_3 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlPlsqlTable_2_3() + * @generated + */ + public static final int XML_PLSQL_TABLE_23 = 13; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlStruct_2_3 Xml Struct 23}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlStruct_2_3 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlStruct_2_3() + * @generated + */ + public static final int XML_STRUCT_23 = 14; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlAttributes_2_3 Xml Attributes 23}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlAttributes_2_3 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlAttributes_2_3() + * @generated + */ + public static final int XML_ATTRIBUTES_23 = 1; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlStructure_2_3 Xml Structure 23}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlStructure_2_3 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlStructure_2_3() + * @generated + */ + public static final int XML_STRUCTURE_23 = 16; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlArray_2_3 Xml Array 23}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlArray_2_3 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlArray_2_3() + * @generated + */ + public static final int XML_ARRAY_23 = 0; + + /** + * The feature id for the 'Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ARRAY_23__CONVERTERS = EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__CONVERTERS; + + /** + * The feature id for the 'Type Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ARRAY_23__TYPE_CONVERTERS = EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__TYPE_CONVERTERS; + + /** + * The feature id for the 'Object Type Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ARRAY_23__OBJECT_TYPE_CONVERTERS = EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS; + + /** + * The feature id for the 'Struct Converters' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ARRAY_23__STRUCT_CONVERTERS = EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS; + + /** + * The feature id for the 'Lob' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ARRAY_23__LOB = EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Temporal' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ARRAY_23__TEMPORAL = EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Enumerated' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ARRAY_23__ENUMERATED = EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER_FEATURE_COUNT + 2; + + /** + * The feature id for the 'Column' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ARRAY_23__COLUMN = EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER_FEATURE_COUNT + 3; + + /** + * The feature id for the 'Database Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ARRAY_23__DATABASE_TYPE = EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER_FEATURE_COUNT + 4; + + /** + * The feature id for the 'Target Class' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ARRAY_23__TARGET_CLASS = EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER_FEATURE_COUNT + 5; + + /** + * The number of structural features of the 'Xml Array 23' class. + * + * + * @generated + * @ordered + */ + public static final int XML_ARRAY_23_FEATURE_COUNT = EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER_FEATURE_COUNT + 6; + + /** + * The feature id for the 'Structures' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ATTRIBUTES_23__STRUCTURES = 0; + + /** + * The feature id for the 'Arrays' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ATTRIBUTES_23__ARRAYS = 1; + + /** + * The number of structural features of the 'Xml Attributes 23' class. + * + * + * @generated + * @ordered + */ + public static final int XML_ATTRIBUTES_23_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3 Xml Tenant Discriminator Column 23}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlTenantDiscriminatorColumn_2_3() + * @generated + */ + public static final int XML_TENANT_DISCRIMINATOR_COLUMN_23 = 15; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlElementCollection_2_3 Xml Element Collection 23}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlElementCollection_2_3 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlElementCollection_2_3() + * @generated + */ + public static final int XML_ELEMENT_COLLECTION_23 = 2; + + /** + * The feature id for the 'Composite Member' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION_23__COMPOSITE_MEMBER = 0; + + /** + * The number of structural features of the 'Xml Element Collection 23' class. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION_23_FEATURE_COUNT = 1; + + /** + * The feature id for the 'Plsql Records' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDABLE_23__PLSQL_RECORDS = 0; + + /** + * The feature id for the 'Plsql Tables' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDABLE_23__PLSQL_TABLES = 1; + + /** + * The feature id for the 'Struct' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDABLE_23__STRUCT = 2; + + /** + * The number of structural features of the 'Xml Embeddable 23' class. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDABLE_23_FEATURE_COUNT = 3; + + /** + * The feature id for the 'Multitenant' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_23__MULTITENANT = EclipseLinkOrmPackage.XML_MULTITENANT_HOLDER__MULTITENANT; + + /** + * The feature id for the 'Named Stored Function Queries' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_23__NAMED_STORED_FUNCTION_QUERIES = EclipseLinkOrmPackage.XML_MULTITENANT_HOLDER_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Named Plsql Stored Function Queries' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_23__NAMED_PLSQL_STORED_FUNCTION_QUERIES = EclipseLinkOrmPackage.XML_MULTITENANT_HOLDER_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Named Plsql Stored Procedure Queries' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_23__NAMED_PLSQL_STORED_PROCEDURE_QUERIES = EclipseLinkOrmPackage.XML_MULTITENANT_HOLDER_FEATURE_COUNT + 2; + + /** + * The feature id for the 'Plsql Records' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_23__PLSQL_RECORDS = EclipseLinkOrmPackage.XML_MULTITENANT_HOLDER_FEATURE_COUNT + 3; + + /** + * The feature id for the 'Plsql Tables' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_23__PLSQL_TABLES = EclipseLinkOrmPackage.XML_MULTITENANT_HOLDER_FEATURE_COUNT + 4; + + /** + * The feature id for the 'Struct' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_23__STRUCT = EclipseLinkOrmPackage.XML_MULTITENANT_HOLDER_FEATURE_COUNT + 5; + + /** + * The number of structural features of the 'Xml Entity 23' class. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_23_FEATURE_COUNT = EclipseLinkOrmPackage.XML_MULTITENANT_HOLDER_FEATURE_COUNT + 6; + + /** + * The feature id for the 'Tenant Discriminator Columns' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS_23__TENANT_DISCRIMINATOR_COLUMNS = 0; + + /** + * The feature id for the 'Named Stored Function Queries' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS_23__NAMED_STORED_FUNCTION_QUERIES = 1; + + /** + * The feature id for the 'Named Plsql Stored Function Queries' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS_23__NAMED_PLSQL_STORED_FUNCTION_QUERIES = 2; + + /** + * The feature id for the 'Named Plsql Stored Procedure Queries' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS_23__NAMED_PLSQL_STORED_PROCEDURE_QUERIES = 3; + + /** + * The feature id for the 'Plsql Records' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS_23__PLSQL_RECORDS = 4; + + /** + * The feature id for the 'Plsql Tables' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS_23__PLSQL_TABLES = 5; + + /** + * The number of structural features of the 'Xml Entity Mappings 23' class. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS_23_FEATURE_COUNT = 6; + + /** + * The feature id for the 'Multitenant' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS_23__MULTITENANT = EclipseLinkOrmPackage.XML_MULTITENANT_HOLDER__MULTITENANT; + + /** + * The feature id for the 'Named Stored Function Queries' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS_23__NAMED_STORED_FUNCTION_QUERIES = EclipseLinkOrmPackage.XML_MULTITENANT_HOLDER_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Named Plsql Stored Function Queries' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS_23__NAMED_PLSQL_STORED_FUNCTION_QUERIES = EclipseLinkOrmPackage.XML_MULTITENANT_HOLDER_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Named Plsql Stored Procedure Queries' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS_23__NAMED_PLSQL_STORED_PROCEDURE_QUERIES = EclipseLinkOrmPackage.XML_MULTITENANT_HOLDER_FEATURE_COUNT + 2; + + /** + * The feature id for the 'Plsql Records' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS_23__PLSQL_RECORDS = EclipseLinkOrmPackage.XML_MULTITENANT_HOLDER_FEATURE_COUNT + 3; + + /** + * The feature id for the 'Plsql Tables' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS_23__PLSQL_TABLES = EclipseLinkOrmPackage.XML_MULTITENANT_HOLDER_FEATURE_COUNT + 4; + + /** + * The number of structural features of the 'Xml Mapped Superclass 23' class. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS_23_FEATURE_COUNT = EclipseLinkOrmPackage.XML_MULTITENANT_HOLDER_FEATURE_COUNT + 5; + + /** + * The feature id for the 'Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MULTITENANT_23__TYPE = 0; + + /** + * The feature id for the 'Tenant Discriminator Columns' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MULTITENANT_23__TENANT_DISCRIMINATOR_COLUMNS = 1; + + /** + * The number of structural features of the 'Xml Multitenant 23' class. + * + * + * @generated + * @ordered + */ + public static final int XML_MULTITENANT_23_FEATURE_COUNT = 2; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_NAMED_PLSQL_STORED_FUNCTION_QUERY_23__NAME = 0; + + /** + * The number of structural features of the 'Xml Named Plsql Stored Function Query 23' class. + * + * + * @generated + * @ordered + */ + public static final int XML_NAMED_PLSQL_STORED_FUNCTION_QUERY_23_FEATURE_COUNT = 1; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_NAMED_PLSQL_STORED_PROCEDURE_QUERY_23__NAME = 0; + + /** + * The number of structural features of the 'Xml Named Plsql Stored Procedure Query 23' class. + * + * + * @generated + * @ordered + */ + public static final int XML_NAMED_PLSQL_STORED_PROCEDURE_QUERY_23_FEATURE_COUNT = 1; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_NAMED_STORED_FUNCTION_QUERY_23__NAME = 0; + + /** + * The number of structural features of the 'Xml Named Stored Function Query 23' class. + * + * + * @generated + * @ordered + */ + public static final int XML_NAMED_STORED_FUNCTION_QUERY_23_FEATURE_COUNT = 1; + + /** + * The feature id for the 'Tenant Discriminator Columns' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_PERSISTENCE_UNIT_DEFAULTS_23__TENANT_DISCRIMINATOR_COLUMNS = 0; + + /** + * The number of structural features of the 'Xml Persistence Unit Defaults 23' class. + * + * + * @generated + * @ordered + */ + public static final int XML_PERSISTENCE_UNIT_DEFAULTS_23_FEATURE_COUNT = 1; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_PLSQL_RECORD_23__NAME = 0; + + /** + * The number of structural features of the 'Xml Plsql Record 23' class. + * + * + * @generated + * @ordered + */ + public static final int XML_PLSQL_RECORD_23_FEATURE_COUNT = 1; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_PLSQL_TABLE_23__NAME = 0; + + /** + * The number of structural features of the 'Xml Plsql Table 23' class. + * + * + * @generated + * @ordered + */ + public static final int XML_PLSQL_TABLE_23_FEATURE_COUNT = 1; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_STRUCT_23__NAME = 0; + + /** + * The number of structural features of the 'Xml Struct 23' class. + * + * + * @generated + * @ordered + */ + public static final int XML_STRUCT_23_FEATURE_COUNT = 1; + + /** + * The feature id for the 'Column Definition' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TENANT_DISCRIMINATOR_COLUMN_23__COLUMN_DEFINITION = OrmPackage.XML_BASE_DISCRIMINATOR_COLUMN__COLUMN_DEFINITION; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TENANT_DISCRIMINATOR_COLUMN_23__NAME = OrmPackage.XML_BASE_DISCRIMINATOR_COLUMN__NAME; + + /** + * The feature id for the 'Discriminator Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TENANT_DISCRIMINATOR_COLUMN_23__DISCRIMINATOR_TYPE = OrmPackage.XML_BASE_DISCRIMINATOR_COLUMN__DISCRIMINATOR_TYPE; + + /** + * The feature id for the 'Length' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TENANT_DISCRIMINATOR_COLUMN_23__LENGTH = OrmPackage.XML_BASE_DISCRIMINATOR_COLUMN__LENGTH; + + /** + * The feature id for the 'Context Property' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TENANT_DISCRIMINATOR_COLUMN_23__CONTEXT_PROPERTY = OrmPackage.XML_BASE_DISCRIMINATOR_COLUMN_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Table' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TENANT_DISCRIMINATOR_COLUMN_23__TABLE = OrmPackage.XML_BASE_DISCRIMINATOR_COLUMN_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Primary Key' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TENANT_DISCRIMINATOR_COLUMN_23__PRIMARY_KEY = OrmPackage.XML_BASE_DISCRIMINATOR_COLUMN_FEATURE_COUNT + 2; + + /** + * The number of structural features of the 'Xml Tenant Discriminator Column 23' class. + * + * + * @generated + * @ordered + */ + public static final int XML_TENANT_DISCRIMINATOR_COLUMN_23_FEATURE_COUNT = OrmPackage.XML_BASE_DISCRIMINATOR_COLUMN_FEATURE_COUNT + 3; + + /** + * The number of structural features of the 'Xml Structure 23' class. + * + * + * @generated + * @ordered + */ + public static final int XML_STRUCTURE_23_FEATURE_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.MultitenantType Multitenant Type}' enum. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.MultitenantType + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getMultitenantType() + * @generated + */ + public static final int MULTITENANT_TYPE = 17; + + /** + * + * + * @generated + */ + private EClass xmlEmbeddable_2_3EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlMultitenant_2_3EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlNamedPlsqlStoredFunctionQuery_2_3EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlNamedPlsqlStoredProcedureQuery_2_3EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlNamedStoredFunctionQuery_2_3EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlEntity_2_3EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlMappedSuperclass_2_3EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlEntityMappings_2_3EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlPersistenceUnitDefaults_2_3EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlPlsqlRecord_2_3EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlPlsqlTable_2_3EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlStruct_2_3EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlTenantDiscriminatorColumn_2_3EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlAttributes_2_3EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlStructure_2_3EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlArray_2_3EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlElementCollection_2_3EClass = null; + + /** + * + * + * @generated + */ + private EEnum multitenantTypeEEnum = null; + + /** + * Creates an instance of the model Package, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + *

Note: 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.v2_3.EclipseLinkOrmV2_3Package#eNS_URI + * @see #init() + * @generated + */ + private EclipseLinkOrmV2_3Package() + { + super(eNS_URI, EclipseLinkOrmV2_3Factory.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 EclipseLinkOrmV2_3Package#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 EclipseLinkOrmV2_3Package init() + { + if (isInited) return (EclipseLinkOrmV2_3Package)EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmV2_3Package.eNS_URI); + + // Obtain or create and register package + EclipseLinkOrmV2_3Package theEclipseLinkOrmV2_3Package = (EclipseLinkOrmV2_3Package)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof EclipseLinkOrmV2_3Package ? EPackage.Registry.INSTANCE.get(eNS_URI) : new EclipseLinkOrmV2_3Package()); + + isInited = true; + + // Initialize simple dependencies + OrmPackage.eINSTANCE.eClass(); + XMLTypePackage.eINSTANCE.eClass(); + + // Obtain or create and register interdependencies + EclipseLinkOrmPackage theEclipseLinkOrmPackage = (EclipseLinkOrmPackage)(EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmPackage.eNS_URI) instanceof EclipseLinkOrmPackage ? EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmPackage.eNS_URI) : EclipseLinkOrmPackage.eINSTANCE); + 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_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 + theEclipseLinkOrmV2_3Package.createPackageContents(); + theEclipseLinkOrmPackage.createPackageContents(); + theEclipseLinkOrmV1_1Package.createPackageContents(); + theEclipseLinkOrmV2_0Package.createPackageContents(); + theEclipseLinkOrmV2_1Package.createPackageContents(); + theEclipseLinkOrmV2_2Package.createPackageContents(); + theEclipseLinkOrmV2_4Package.createPackageContents(); + + // Initialize created meta-data + theEclipseLinkOrmV2_3Package.initializePackageContents(); + theEclipseLinkOrmPackage.initializePackageContents(); + theEclipseLinkOrmV1_1Package.initializePackageContents(); + theEclipseLinkOrmV2_0Package.initializePackageContents(); + theEclipseLinkOrmV2_1Package.initializePackageContents(); + theEclipseLinkOrmV2_2Package.initializePackageContents(); + theEclipseLinkOrmV2_4Package.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theEclipseLinkOrmV2_3Package.freeze(); + + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(EclipseLinkOrmV2_3Package.eNS_URI, theEclipseLinkOrmV2_3Package); + return theEclipseLinkOrmV2_3Package; + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEmbeddable_2_3 Xml Embeddable 23}'. + * + * + * @return the meta object for class 'Xml Embeddable 23'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEmbeddable_2_3 + * @generated + */ + public EClass getXmlEmbeddable_2_3() + { + return xmlEmbeddable_2_3EClass; + } + + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEmbeddable_2_3#getPlsqlRecords Plsql Records}'. + * + * + * @return the meta object for the containment reference list 'Plsql Records'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEmbeddable_2_3#getPlsqlRecords() + * @see #getXmlEmbeddable_2_3() + * @generated + */ + public EReference getXmlEmbeddable_2_3_PlsqlRecords() + { + return (EReference)xmlEmbeddable_2_3EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEmbeddable_2_3#getPlsqlTables Plsql Tables}'. + * + * + * @return the meta object for the containment reference list 'Plsql Tables'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEmbeddable_2_3#getPlsqlTables() + * @see #getXmlEmbeddable_2_3() + * @generated + */ + public EReference getXmlEmbeddable_2_3_PlsqlTables() + { + return (EReference)xmlEmbeddable_2_3EClass.getEStructuralFeatures().get(1); + } + + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEmbeddable_2_3#getStruct Struct}'. + * + * + * @return the meta object for the containment reference 'Struct'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEmbeddable_2_3#getStruct() + * @see #getXmlEmbeddable_2_3() + * @generated + */ + public EReference getXmlEmbeddable_2_3_Struct() + { + return (EReference)xmlEmbeddable_2_3EClass.getEStructuralFeatures().get(2); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMultitenant_2_3 Xml Multitenant 23}'. + * + * + * @return the meta object for class 'Xml Multitenant 23'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMultitenant_2_3 + * @generated + */ + public EClass getXmlMultitenant_2_3() + { + return xmlMultitenant_2_3EClass; + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMultitenant_2_3#getType Type}'. + * + * + * @return the meta object for the attribute 'Type'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMultitenant_2_3#getType() + * @see #getXmlMultitenant_2_3() + * @generated + */ + public EAttribute getXmlMultitenant_2_3_Type() + { + return (EAttribute)xmlMultitenant_2_3EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMultitenant_2_3#getTenantDiscriminatorColumns Tenant Discriminator Columns}'. + * + * + * @return the meta object for the containment reference list 'Tenant Discriminator Columns'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMultitenant_2_3#getTenantDiscriminatorColumns() + * @see #getXmlMultitenant_2_3() + * @generated + */ + public EReference getXmlMultitenant_2_3_TenantDiscriminatorColumns() + { + return (EReference)xmlMultitenant_2_3EClass.getEStructuralFeatures().get(1); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredFunctionQuery_2_3 Xml Named Plsql Stored Function Query 23}'. + * + * + * @return the meta object for class 'Xml Named Plsql Stored Function Query 23'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredFunctionQuery_2_3 + * @generated + */ + public EClass getXmlNamedPlsqlStoredFunctionQuery_2_3() + { + return xmlNamedPlsqlStoredFunctionQuery_2_3EClass; + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredFunctionQuery_2_3#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredFunctionQuery_2_3#getName() + * @see #getXmlNamedPlsqlStoredFunctionQuery_2_3() + * @generated + */ + public EAttribute getXmlNamedPlsqlStoredFunctionQuery_2_3_Name() + { + return (EAttribute)xmlNamedPlsqlStoredFunctionQuery_2_3EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredProcedureQuery_2_3 Xml Named Plsql Stored Procedure Query 23}'. + * + * + * @return the meta object for class 'Xml Named Plsql Stored Procedure Query 23'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredProcedureQuery_2_3 + * @generated + */ + public EClass getXmlNamedPlsqlStoredProcedureQuery_2_3() + { + return xmlNamedPlsqlStoredProcedureQuery_2_3EClass; + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredProcedureQuery_2_3#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredProcedureQuery_2_3#getName() + * @see #getXmlNamedPlsqlStoredProcedureQuery_2_3() + * @generated + */ + public EAttribute getXmlNamedPlsqlStoredProcedureQuery_2_3_Name() + { + return (EAttribute)xmlNamedPlsqlStoredProcedureQuery_2_3EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedStoredFunctionQuery_2_3 Xml Named Stored Function Query 23}'. + * + * + * @return the meta object for class 'Xml Named Stored Function Query 23'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedStoredFunctionQuery_2_3 + * @generated + */ + public EClass getXmlNamedStoredFunctionQuery_2_3() + { + return xmlNamedStoredFunctionQuery_2_3EClass; + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedStoredFunctionQuery_2_3#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedStoredFunctionQuery_2_3#getName() + * @see #getXmlNamedStoredFunctionQuery_2_3() + * @generated + */ + public EAttribute getXmlNamedStoredFunctionQuery_2_3_Name() + { + return (EAttribute)xmlNamedStoredFunctionQuery_2_3EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3 Xml Entity 23}'. + * + * + * @return the meta object for class 'Xml Entity 23'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3 + * @generated + */ + public EClass getXmlEntity_2_3() + { + return xmlEntity_2_3EClass; + } + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3#getNamedStoredFunctionQueries Named Stored Function Queries}'. + * + * + * @return the meta object for the containment reference list 'Named Stored Function Queries'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3#getNamedStoredFunctionQueries() + * @see #getXmlEntity_2_3() + * @generated + */ + public EReference getXmlEntity_2_3_NamedStoredFunctionQueries() + { + return (EReference)xmlEntity_2_3EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3#getNamedPlsqlStoredFunctionQueries Named Plsql Stored Function Queries}'. + * + * + * @return the meta object for the containment reference list 'Named Plsql Stored Function Queries'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3#getNamedPlsqlStoredFunctionQueries() + * @see #getXmlEntity_2_3() + * @generated + */ + public EReference getXmlEntity_2_3_NamedPlsqlStoredFunctionQueries() + { + return (EReference)xmlEntity_2_3EClass.getEStructuralFeatures().get(1); + } + + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3#getNamedPlsqlStoredProcedureQueries Named Plsql Stored Procedure Queries}'. + * + * + * @return the meta object for the containment reference list 'Named Plsql Stored Procedure Queries'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3#getNamedPlsqlStoredProcedureQueries() + * @see #getXmlEntity_2_3() + * @generated + */ + public EReference getXmlEntity_2_3_NamedPlsqlStoredProcedureQueries() + { + return (EReference)xmlEntity_2_3EClass.getEStructuralFeatures().get(2); + } + + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3#getPlsqlRecords Plsql Records}'. + * + * + * @return the meta object for the containment reference list 'Plsql Records'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3#getPlsqlRecords() + * @see #getXmlEntity_2_3() + * @generated + */ + public EReference getXmlEntity_2_3_PlsqlRecords() + { + return (EReference)xmlEntity_2_3EClass.getEStructuralFeatures().get(3); + } + + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3#getPlsqlTables Plsql Tables}'. + * + * + * @return the meta object for the containment reference list 'Plsql Tables'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3#getPlsqlTables() + * @see #getXmlEntity_2_3() + * @generated + */ + public EReference getXmlEntity_2_3_PlsqlTables() + { + return (EReference)xmlEntity_2_3EClass.getEStructuralFeatures().get(4); + } + + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3#getStruct Struct}'. + * + * + * @return the meta object for the containment reference 'Struct'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3#getStruct() + * @see #getXmlEntity_2_3() + * @generated + */ + public EReference getXmlEntity_2_3_Struct() + { + return (EReference)xmlEntity_2_3EClass.getEStructuralFeatures().get(5); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMappedSuperclass_2_3 Xml Mapped Superclass 23}'. + * + * + * @return the meta object for class 'Xml Mapped Superclass 23'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMappedSuperclass_2_3 + * @generated + */ + public EClass getXmlMappedSuperclass_2_3() + { + return xmlMappedSuperclass_2_3EClass; + } + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMappedSuperclass_2_3#getNamedStoredFunctionQueries Named Stored Function Queries}'. + * + * + * @return the meta object for the containment reference list 'Named Stored Function Queries'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMappedSuperclass_2_3#getNamedStoredFunctionQueries() + * @see #getXmlMappedSuperclass_2_3() + * @generated + */ + public EReference getXmlMappedSuperclass_2_3_NamedStoredFunctionQueries() + { + return (EReference)xmlMappedSuperclass_2_3EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMappedSuperclass_2_3#getNamedPlsqlStoredFunctionQueries Named Plsql Stored Function Queries}'. + * + * + * @return the meta object for the containment reference list 'Named Plsql Stored Function Queries'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMappedSuperclass_2_3#getNamedPlsqlStoredFunctionQueries() + * @see #getXmlMappedSuperclass_2_3() + * @generated + */ + public EReference getXmlMappedSuperclass_2_3_NamedPlsqlStoredFunctionQueries() + { + return (EReference)xmlMappedSuperclass_2_3EClass.getEStructuralFeatures().get(1); + } + + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMappedSuperclass_2_3#getNamedPlsqlStoredProcedureQueries Named Plsql Stored Procedure Queries}'. + * + * + * @return the meta object for the containment reference list 'Named Plsql Stored Procedure Queries'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMappedSuperclass_2_3#getNamedPlsqlStoredProcedureQueries() + * @see #getXmlMappedSuperclass_2_3() + * @generated + */ + public EReference getXmlMappedSuperclass_2_3_NamedPlsqlStoredProcedureQueries() + { + return (EReference)xmlMappedSuperclass_2_3EClass.getEStructuralFeatures().get(2); + } + + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMappedSuperclass_2_3#getPlsqlRecords Plsql Records}'. + * + * + * @return the meta object for the containment reference list 'Plsql Records'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMappedSuperclass_2_3#getPlsqlRecords() + * @see #getXmlMappedSuperclass_2_3() + * @generated + */ + public EReference getXmlMappedSuperclass_2_3_PlsqlRecords() + { + return (EReference)xmlMappedSuperclass_2_3EClass.getEStructuralFeatures().get(3); + } + + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMappedSuperclass_2_3#getPlsqlTables Plsql Tables}'. + * + * + * @return the meta object for the containment reference list 'Plsql Tables'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMappedSuperclass_2_3#getPlsqlTables() + * @see #getXmlMappedSuperclass_2_3() + * @generated + */ + public EReference getXmlMappedSuperclass_2_3_PlsqlTables() + { + return (EReference)xmlMappedSuperclass_2_3EClass.getEStructuralFeatures().get(4); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3 Xml Entity Mappings 23}'. + * + * + * @return the meta object for class 'Xml Entity Mappings 23'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3 + * @generated + */ + public EClass getXmlEntityMappings_2_3() + { + return xmlEntityMappings_2_3EClass; + } + + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3#getTenantDiscriminatorColumns Tenant Discriminator Columns}'. + * + * + * @return the meta object for the containment reference list 'Tenant Discriminator Columns'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3#getTenantDiscriminatorColumns() + * @see #getXmlEntityMappings_2_3() + * @generated + */ + public EReference getXmlEntityMappings_2_3_TenantDiscriminatorColumns() + { + return (EReference)xmlEntityMappings_2_3EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3#getNamedStoredFunctionQueries Named Stored Function Queries}'. + * + * + * @return the meta object for the containment reference list 'Named Stored Function Queries'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3#getNamedStoredFunctionQueries() + * @see #getXmlEntityMappings_2_3() + * @generated + */ + public EReference getXmlEntityMappings_2_3_NamedStoredFunctionQueries() + { + return (EReference)xmlEntityMappings_2_3EClass.getEStructuralFeatures().get(1); + } + + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3#getNamedPlsqlStoredFunctionQueries Named Plsql Stored Function Queries}'. + * + * + * @return the meta object for the containment reference list 'Named Plsql Stored Function Queries'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3#getNamedPlsqlStoredFunctionQueries() + * @see #getXmlEntityMappings_2_3() + * @generated + */ + public EReference getXmlEntityMappings_2_3_NamedPlsqlStoredFunctionQueries() + { + return (EReference)xmlEntityMappings_2_3EClass.getEStructuralFeatures().get(2); + } + + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3#getNamedPlsqlStoredProcedureQueries Named Plsql Stored Procedure Queries}'. + * + * + * @return the meta object for the containment reference list 'Named Plsql Stored Procedure Queries'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3#getNamedPlsqlStoredProcedureQueries() + * @see #getXmlEntityMappings_2_3() + * @generated + */ + public EReference getXmlEntityMappings_2_3_NamedPlsqlStoredProcedureQueries() + { + return (EReference)xmlEntityMappings_2_3EClass.getEStructuralFeatures().get(3); + } + + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3#getPlsqlRecords Plsql Records}'. + * + * + * @return the meta object for the containment reference list 'Plsql Records'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3#getPlsqlRecords() + * @see #getXmlEntityMappings_2_3() + * @generated + */ + public EReference getXmlEntityMappings_2_3_PlsqlRecords() + { + return (EReference)xmlEntityMappings_2_3EClass.getEStructuralFeatures().get(4); + } + + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3#getPlsqlTables Plsql Tables}'. + * + * + * @return the meta object for the containment reference list 'Plsql Tables'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3#getPlsqlTables() + * @see #getXmlEntityMappings_2_3() + * @generated + */ + public EReference getXmlEntityMappings_2_3_PlsqlTables() + { + return (EReference)xmlEntityMappings_2_3EClass.getEStructuralFeatures().get(5); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPersistenceUnitDefaults_2_3 Xml Persistence Unit Defaults 23}'. + * + * + * @return the meta object for class 'Xml Persistence Unit Defaults 23'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPersistenceUnitDefaults_2_3 + * @generated + */ + public EClass getXmlPersistenceUnitDefaults_2_3() + { + return xmlPersistenceUnitDefaults_2_3EClass; + } + + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPersistenceUnitDefaults_2_3#getTenantDiscriminatorColumns Tenant Discriminator Columns}'. + * + * + * @return the meta object for the containment reference list 'Tenant Discriminator Columns'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPersistenceUnitDefaults_2_3#getTenantDiscriminatorColumns() + * @see #getXmlPersistenceUnitDefaults_2_3() + * @generated + */ + public EReference getXmlPersistenceUnitDefaults_2_3_TenantDiscriminatorColumns() + { + return (EReference)xmlPersistenceUnitDefaults_2_3EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPlsqlRecord_2_3 Xml Plsql Record 23}'. + * + * + * @return the meta object for class 'Xml Plsql Record 23'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPlsqlRecord_2_3 + * @generated + */ + public EClass getXmlPlsqlRecord_2_3() + { + return xmlPlsqlRecord_2_3EClass; + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPlsqlRecord_2_3#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPlsqlRecord_2_3#getName() + * @see #getXmlPlsqlRecord_2_3() + * @generated + */ + public EAttribute getXmlPlsqlRecord_2_3_Name() + { + return (EAttribute)xmlPlsqlRecord_2_3EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPlsqlTable_2_3 Xml Plsql Table 23}'. + * + * + * @return the meta object for class 'Xml Plsql Table 23'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPlsqlTable_2_3 + * @generated + */ + public EClass getXmlPlsqlTable_2_3() + { + return xmlPlsqlTable_2_3EClass; + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPlsqlTable_2_3#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPlsqlTable_2_3#getName() + * @see #getXmlPlsqlTable_2_3() + * @generated + */ + public EAttribute getXmlPlsqlTable_2_3_Name() + { + return (EAttribute)xmlPlsqlTable_2_3EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlStruct_2_3 Xml Struct 23}'. + * + * + * @return the meta object for class 'Xml Struct 23'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlStruct_2_3 + * @generated + */ + public EClass getXmlStruct_2_3() + { + return xmlStruct_2_3EClass; + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlStruct_2_3#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlStruct_2_3#getName() + * @see #getXmlStruct_2_3() + * @generated + */ + public EAttribute getXmlStruct_2_3_Name() + { + return (EAttribute)xmlStruct_2_3EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3 Xml Tenant Discriminator Column 23}'. + * + * + * @return the meta object for class 'Xml Tenant Discriminator Column 23'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3 + * @generated + */ + public EClass getXmlTenantDiscriminatorColumn_2_3() + { + return xmlTenantDiscriminatorColumn_2_3EClass; + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3#getContextProperty Context Property}'. + * + * + * @return the meta object for the attribute 'Context Property'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3#getContextProperty() + * @see #getXmlTenantDiscriminatorColumn_2_3() + * @generated + */ + public EAttribute getXmlTenantDiscriminatorColumn_2_3_ContextProperty() + { + return (EAttribute)xmlTenantDiscriminatorColumn_2_3EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3#getTable Table}'. + * + * + * @return the meta object for the attribute 'Table'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3#getTable() + * @see #getXmlTenantDiscriminatorColumn_2_3() + * @generated + */ + public EAttribute getXmlTenantDiscriminatorColumn_2_3_Table() + { + return (EAttribute)xmlTenantDiscriminatorColumn_2_3EClass.getEStructuralFeatures().get(1); + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3#getPrimaryKey Primary Key}'. + * + * + * @return the meta object for the attribute 'Primary Key'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3#getPrimaryKey() + * @see #getXmlTenantDiscriminatorColumn_2_3() + * @generated + */ + public EAttribute getXmlTenantDiscriminatorColumn_2_3_PrimaryKey() + { + return (EAttribute)xmlTenantDiscriminatorColumn_2_3EClass.getEStructuralFeatures().get(2); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlAttributes_2_3 Xml Attributes 23}'. + * + * + * @return the meta object for class 'Xml Attributes 23'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlAttributes_2_3 + * @generated + */ + public EClass getXmlAttributes_2_3() + { + return xmlAttributes_2_3EClass; + } + + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlAttributes_2_3#getStructures Structures}'. + * + * + * @return the meta object for the containment reference list 'Structures'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlAttributes_2_3#getStructures() + * @see #getXmlAttributes_2_3() + * @generated + */ + public EReference getXmlAttributes_2_3_Structures() + { + return (EReference)xmlAttributes_2_3EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlAttributes_2_3#getArrays Arrays}'. + * + * + * @return the meta object for the containment reference list 'Arrays'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlAttributes_2_3#getArrays() + * @see #getXmlAttributes_2_3() + * @generated + */ + public EReference getXmlAttributes_2_3_Arrays() + { + return (EReference)xmlAttributes_2_3EClass.getEStructuralFeatures().get(1); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlStructure_2_3 Xml Structure 23}'. + * + * + * @return the meta object for class 'Xml Structure 23'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlStructure_2_3 + * @generated + */ + public EClass getXmlStructure_2_3() + { + return xmlStructure_2_3EClass; + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlArray_2_3 Xml Array 23}'. + * + * + * @return the meta object for class 'Xml Array 23'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlArray_2_3 + * @generated + */ + public EClass getXmlArray_2_3() + { + return xmlArray_2_3EClass; + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlArray_2_3#getDatabaseType Database Type}'. + * + * + * @return the meta object for the attribute 'Database Type'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlArray_2_3#getDatabaseType() + * @see #getXmlArray_2_3() + * @generated + */ + public EAttribute getXmlArray_2_3_DatabaseType() + { + return (EAttribute)xmlArray_2_3EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlArray_2_3#getTargetClass Target Class}'. + * + * + * @return the meta object for the attribute 'Target Class'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlArray_2_3#getTargetClass() + * @see #getXmlArray_2_3() + * @generated + */ + public EAttribute getXmlArray_2_3_TargetClass() + { + return (EAttribute)xmlArray_2_3EClass.getEStructuralFeatures().get(1); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlElementCollection_2_3 Xml Element Collection 23}'. + * + * + * @return the meta object for class 'Xml Element Collection 23'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlElementCollection_2_3 + * @generated + */ + public EClass getXmlElementCollection_2_3() + { + return xmlElementCollection_2_3EClass; + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlElementCollection_2_3#getCompositeMember Composite Member}'. + * + * + * @return the meta object for the attribute 'Composite Member'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlElementCollection_2_3#getCompositeMember() + * @see #getXmlElementCollection_2_3() + * @generated + */ + public EAttribute getXmlElementCollection_2_3_CompositeMember() + { + return (EAttribute)xmlElementCollection_2_3EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for enum '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.MultitenantType Multitenant Type}'. + * + * + * @return the meta object for enum 'Multitenant Type'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.MultitenantType + * @generated + */ + public EEnum getMultitenantType() + { + return multitenantTypeEEnum; + } + + + /** + * Returns the factory that creates the instances of the model. + * + * + * @return the factory that creates the instances of the model. + * @generated + */ + public EclipseLinkOrmV2_3Factory getEclipseLinkOrmV2_3Factory() + { + return (EclipseLinkOrmV2_3Factory)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 + xmlArray_2_3EClass = createEClass(XML_ARRAY_23); + createEAttribute(xmlArray_2_3EClass, XML_ARRAY_23__DATABASE_TYPE); + createEAttribute(xmlArray_2_3EClass, XML_ARRAY_23__TARGET_CLASS); + + xmlAttributes_2_3EClass = createEClass(XML_ATTRIBUTES_23); + createEReference(xmlAttributes_2_3EClass, XML_ATTRIBUTES_23__STRUCTURES); + createEReference(xmlAttributes_2_3EClass, XML_ATTRIBUTES_23__ARRAYS); + + xmlElementCollection_2_3EClass = createEClass(XML_ELEMENT_COLLECTION_23); + createEAttribute(xmlElementCollection_2_3EClass, XML_ELEMENT_COLLECTION_23__COMPOSITE_MEMBER); + + xmlEmbeddable_2_3EClass = createEClass(XML_EMBEDDABLE_23); + createEReference(xmlEmbeddable_2_3EClass, XML_EMBEDDABLE_23__PLSQL_RECORDS); + createEReference(xmlEmbeddable_2_3EClass, XML_EMBEDDABLE_23__PLSQL_TABLES); + createEReference(xmlEmbeddable_2_3EClass, XML_EMBEDDABLE_23__STRUCT); + + xmlEntity_2_3EClass = createEClass(XML_ENTITY_23); + createEReference(xmlEntity_2_3EClass, XML_ENTITY_23__NAMED_STORED_FUNCTION_QUERIES); + createEReference(xmlEntity_2_3EClass, XML_ENTITY_23__NAMED_PLSQL_STORED_FUNCTION_QUERIES); + createEReference(xmlEntity_2_3EClass, XML_ENTITY_23__NAMED_PLSQL_STORED_PROCEDURE_QUERIES); + createEReference(xmlEntity_2_3EClass, XML_ENTITY_23__PLSQL_RECORDS); + createEReference(xmlEntity_2_3EClass, XML_ENTITY_23__PLSQL_TABLES); + createEReference(xmlEntity_2_3EClass, XML_ENTITY_23__STRUCT); + + xmlEntityMappings_2_3EClass = createEClass(XML_ENTITY_MAPPINGS_23); + createEReference(xmlEntityMappings_2_3EClass, XML_ENTITY_MAPPINGS_23__TENANT_DISCRIMINATOR_COLUMNS); + createEReference(xmlEntityMappings_2_3EClass, XML_ENTITY_MAPPINGS_23__NAMED_STORED_FUNCTION_QUERIES); + createEReference(xmlEntityMappings_2_3EClass, XML_ENTITY_MAPPINGS_23__NAMED_PLSQL_STORED_FUNCTION_QUERIES); + createEReference(xmlEntityMappings_2_3EClass, XML_ENTITY_MAPPINGS_23__NAMED_PLSQL_STORED_PROCEDURE_QUERIES); + createEReference(xmlEntityMappings_2_3EClass, XML_ENTITY_MAPPINGS_23__PLSQL_RECORDS); + createEReference(xmlEntityMappings_2_3EClass, XML_ENTITY_MAPPINGS_23__PLSQL_TABLES); + + xmlMappedSuperclass_2_3EClass = createEClass(XML_MAPPED_SUPERCLASS_23); + createEReference(xmlMappedSuperclass_2_3EClass, XML_MAPPED_SUPERCLASS_23__NAMED_STORED_FUNCTION_QUERIES); + createEReference(xmlMappedSuperclass_2_3EClass, XML_MAPPED_SUPERCLASS_23__NAMED_PLSQL_STORED_FUNCTION_QUERIES); + createEReference(xmlMappedSuperclass_2_3EClass, XML_MAPPED_SUPERCLASS_23__NAMED_PLSQL_STORED_PROCEDURE_QUERIES); + createEReference(xmlMappedSuperclass_2_3EClass, XML_MAPPED_SUPERCLASS_23__PLSQL_RECORDS); + createEReference(xmlMappedSuperclass_2_3EClass, XML_MAPPED_SUPERCLASS_23__PLSQL_TABLES); + + xmlMultitenant_2_3EClass = createEClass(XML_MULTITENANT_23); + createEAttribute(xmlMultitenant_2_3EClass, XML_MULTITENANT_23__TYPE); + createEReference(xmlMultitenant_2_3EClass, XML_MULTITENANT_23__TENANT_DISCRIMINATOR_COLUMNS); + + xmlNamedPlsqlStoredFunctionQuery_2_3EClass = createEClass(XML_NAMED_PLSQL_STORED_FUNCTION_QUERY_23); + createEAttribute(xmlNamedPlsqlStoredFunctionQuery_2_3EClass, XML_NAMED_PLSQL_STORED_FUNCTION_QUERY_23__NAME); + + xmlNamedPlsqlStoredProcedureQuery_2_3EClass = createEClass(XML_NAMED_PLSQL_STORED_PROCEDURE_QUERY_23); + createEAttribute(xmlNamedPlsqlStoredProcedureQuery_2_3EClass, XML_NAMED_PLSQL_STORED_PROCEDURE_QUERY_23__NAME); + + xmlNamedStoredFunctionQuery_2_3EClass = createEClass(XML_NAMED_STORED_FUNCTION_QUERY_23); + createEAttribute(xmlNamedStoredFunctionQuery_2_3EClass, XML_NAMED_STORED_FUNCTION_QUERY_23__NAME); + + xmlPersistenceUnitDefaults_2_3EClass = createEClass(XML_PERSISTENCE_UNIT_DEFAULTS_23); + createEReference(xmlPersistenceUnitDefaults_2_3EClass, XML_PERSISTENCE_UNIT_DEFAULTS_23__TENANT_DISCRIMINATOR_COLUMNS); + + xmlPlsqlRecord_2_3EClass = createEClass(XML_PLSQL_RECORD_23); + createEAttribute(xmlPlsqlRecord_2_3EClass, XML_PLSQL_RECORD_23__NAME); + + xmlPlsqlTable_2_3EClass = createEClass(XML_PLSQL_TABLE_23); + createEAttribute(xmlPlsqlTable_2_3EClass, XML_PLSQL_TABLE_23__NAME); + + xmlStruct_2_3EClass = createEClass(XML_STRUCT_23); + createEAttribute(xmlStruct_2_3EClass, XML_STRUCT_23__NAME); + + xmlTenantDiscriminatorColumn_2_3EClass = createEClass(XML_TENANT_DISCRIMINATOR_COLUMN_23); + createEAttribute(xmlTenantDiscriminatorColumn_2_3EClass, XML_TENANT_DISCRIMINATOR_COLUMN_23__CONTEXT_PROPERTY); + createEAttribute(xmlTenantDiscriminatorColumn_2_3EClass, XML_TENANT_DISCRIMINATOR_COLUMN_23__TABLE); + createEAttribute(xmlTenantDiscriminatorColumn_2_3EClass, XML_TENANT_DISCRIMINATOR_COLUMN_23__PRIMARY_KEY); + + xmlStructure_2_3EClass = createEClass(XML_STRUCTURE_23); + + // Create enums + multitenantTypeEEnum = createEEnum(MULTITENANT_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 + EclipseLinkOrmPackage theEclipseLinkOrmPackage = (EclipseLinkOrmPackage)EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmPackage.eNS_URI); + OrmPackage theOrmPackage = (OrmPackage)EPackage.Registry.INSTANCE.getEPackage(OrmPackage.eNS_URI); + XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + xmlArray_2_3EClass.getESuperTypes().add(theEclipseLinkOrmPackage.getXmlConverterContainer()); + xmlArray_2_3EClass.getESuperTypes().add(theOrmPackage.getXmlConvertibleMapping()); + xmlArray_2_3EClass.getESuperTypes().add(theOrmPackage.getColumnMapping()); + xmlEntity_2_3EClass.getESuperTypes().add(theEclipseLinkOrmPackage.getXmlMultitenantHolder()); + xmlMappedSuperclass_2_3EClass.getESuperTypes().add(theEclipseLinkOrmPackage.getXmlMultitenantHolder()); + xmlTenantDiscriminatorColumn_2_3EClass.getESuperTypes().add(theOrmPackage.getXmlBaseDiscriminatorColumn()); + + // Initialize classes and features; add operations and parameters + initEClass(xmlArray_2_3EClass, XmlArray_2_3.class, "XmlArray_2_3", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlArray_2_3_DatabaseType(), theXMLTypePackage.getString(), "databaseType", null, 0, 1, XmlArray_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlArray_2_3_TargetClass(), theXMLTypePackage.getString(), "targetClass", null, 0, 1, XmlArray_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlAttributes_2_3EClass, XmlAttributes_2_3.class, "XmlAttributes_2_3", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlAttributes_2_3_Structures(), this.getXmlStructure_2_3(), null, "structures", null, 0, -1, XmlAttributes_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlAttributes_2_3_Arrays(), this.getXmlArray_2_3(), null, "arrays", null, 0, -1, XmlAttributes_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlElementCollection_2_3EClass, XmlElementCollection_2_3.class, "XmlElementCollection_2_3", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlElementCollection_2_3_CompositeMember(), theXMLTypePackage.getString(), "compositeMember", null, 0, 1, XmlElementCollection_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlEmbeddable_2_3EClass, XmlEmbeddable_2_3.class, "XmlEmbeddable_2_3", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlEmbeddable_2_3_PlsqlRecords(), this.getXmlPlsqlRecord_2_3(), null, "plsqlRecords", null, 0, -1, XmlEmbeddable_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlEmbeddable_2_3_PlsqlTables(), theEclipseLinkOrmPackage.getXmlPlsqlTable(), null, "plsqlTables", null, 0, -1, XmlEmbeddable_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlEmbeddable_2_3_Struct(), this.getXmlStruct_2_3(), null, "struct", null, 0, 1, XmlEmbeddable_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlEntity_2_3EClass, XmlEntity_2_3.class, "XmlEntity_2_3", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlEntity_2_3_NamedStoredFunctionQueries(), this.getXmlNamedStoredFunctionQuery_2_3(), null, "namedStoredFunctionQueries", null, 0, -1, XmlEntity_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlEntity_2_3_NamedPlsqlStoredFunctionQueries(), this.getXmlNamedPlsqlStoredFunctionQuery_2_3(), null, "namedPlsqlStoredFunctionQueries", null, 0, -1, XmlEntity_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlEntity_2_3_NamedPlsqlStoredProcedureQueries(), this.getXmlNamedPlsqlStoredProcedureQuery_2_3(), null, "namedPlsqlStoredProcedureQueries", null, 0, -1, XmlEntity_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlEntity_2_3_PlsqlRecords(), this.getXmlPlsqlRecord_2_3(), null, "plsqlRecords", null, 0, -1, XmlEntity_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlEntity_2_3_PlsqlTables(), theEclipseLinkOrmPackage.getXmlPlsqlTable(), null, "plsqlTables", null, 0, -1, XmlEntity_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlEntity_2_3_Struct(), this.getXmlStruct_2_3(), null, "struct", null, 0, 1, XmlEntity_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlEntityMappings_2_3EClass, XmlEntityMappings_2_3.class, "XmlEntityMappings_2_3", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlEntityMappings_2_3_TenantDiscriminatorColumns(), this.getXmlTenantDiscriminatorColumn_2_3(), null, "tenantDiscriminatorColumns", null, 0, -1, XmlEntityMappings_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlEntityMappings_2_3_NamedStoredFunctionQueries(), this.getXmlNamedStoredFunctionQuery_2_3(), null, "namedStoredFunctionQueries", null, 0, -1, XmlEntityMappings_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlEntityMappings_2_3_NamedPlsqlStoredFunctionQueries(), this.getXmlNamedPlsqlStoredFunctionQuery_2_3(), null, "namedPlsqlStoredFunctionQueries", null, 0, -1, XmlEntityMappings_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlEntityMappings_2_3_NamedPlsqlStoredProcedureQueries(), this.getXmlNamedPlsqlStoredProcedureQuery_2_3(), null, "namedPlsqlStoredProcedureQueries", null, 0, -1, XmlEntityMappings_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlEntityMappings_2_3_PlsqlRecords(), this.getXmlPlsqlRecord_2_3(), null, "plsqlRecords", null, 0, -1, XmlEntityMappings_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlEntityMappings_2_3_PlsqlTables(), theEclipseLinkOrmPackage.getXmlPlsqlTable(), null, "plsqlTables", null, 0, -1, XmlEntityMappings_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlMappedSuperclass_2_3EClass, XmlMappedSuperclass_2_3.class, "XmlMappedSuperclass_2_3", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlMappedSuperclass_2_3_NamedStoredFunctionQueries(), this.getXmlNamedStoredFunctionQuery_2_3(), null, "namedStoredFunctionQueries", null, 0, -1, XmlMappedSuperclass_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlMappedSuperclass_2_3_NamedPlsqlStoredFunctionQueries(), this.getXmlNamedPlsqlStoredFunctionQuery_2_3(), null, "namedPlsqlStoredFunctionQueries", null, 0, -1, XmlMappedSuperclass_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlMappedSuperclass_2_3_NamedPlsqlStoredProcedureQueries(), this.getXmlNamedPlsqlStoredProcedureQuery_2_3(), null, "namedPlsqlStoredProcedureQueries", null, 0, -1, XmlMappedSuperclass_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlMappedSuperclass_2_3_PlsqlRecords(), this.getXmlPlsqlRecord_2_3(), null, "plsqlRecords", null, 0, -1, XmlMappedSuperclass_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlMappedSuperclass_2_3_PlsqlTables(), theEclipseLinkOrmPackage.getXmlPlsqlTable(), null, "plsqlTables", null, 0, -1, XmlMappedSuperclass_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlMultitenant_2_3EClass, XmlMultitenant_2_3.class, "XmlMultitenant_2_3", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlMultitenant_2_3_Type(), this.getMultitenantType(), "type", null, 0, 1, XmlMultitenant_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlMultitenant_2_3_TenantDiscriminatorColumns(), this.getXmlTenantDiscriminatorColumn_2_3(), null, "tenantDiscriminatorColumns", null, 0, -1, XmlMultitenant_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlNamedPlsqlStoredFunctionQuery_2_3EClass, XmlNamedPlsqlStoredFunctionQuery_2_3.class, "XmlNamedPlsqlStoredFunctionQuery_2_3", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlNamedPlsqlStoredFunctionQuery_2_3_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, XmlNamedPlsqlStoredFunctionQuery_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlNamedPlsqlStoredProcedureQuery_2_3EClass, XmlNamedPlsqlStoredProcedureQuery_2_3.class, "XmlNamedPlsqlStoredProcedureQuery_2_3", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlNamedPlsqlStoredProcedureQuery_2_3_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, XmlNamedPlsqlStoredProcedureQuery_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlNamedStoredFunctionQuery_2_3EClass, XmlNamedStoredFunctionQuery_2_3.class, "XmlNamedStoredFunctionQuery_2_3", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlNamedStoredFunctionQuery_2_3_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, XmlNamedStoredFunctionQuery_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlPersistenceUnitDefaults_2_3EClass, XmlPersistenceUnitDefaults_2_3.class, "XmlPersistenceUnitDefaults_2_3", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlPersistenceUnitDefaults_2_3_TenantDiscriminatorColumns(), this.getXmlTenantDiscriminatorColumn_2_3(), null, "tenantDiscriminatorColumns", null, 0, -1, XmlPersistenceUnitDefaults_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlPlsqlRecord_2_3EClass, XmlPlsqlRecord_2_3.class, "XmlPlsqlRecord_2_3", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlPlsqlRecord_2_3_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, XmlPlsqlRecord_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlPlsqlTable_2_3EClass, XmlPlsqlTable_2_3.class, "XmlPlsqlTable_2_3", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlPlsqlTable_2_3_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, XmlPlsqlTable_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlStruct_2_3EClass, XmlStruct_2_3.class, "XmlStruct_2_3", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlStruct_2_3_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, XmlStruct_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlTenantDiscriminatorColumn_2_3EClass, XmlTenantDiscriminatorColumn_2_3.class, "XmlTenantDiscriminatorColumn_2_3", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlTenantDiscriminatorColumn_2_3_ContextProperty(), theXMLTypePackage.getString(), "contextProperty", null, 0, 1, XmlTenantDiscriminatorColumn_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlTenantDiscriminatorColumn_2_3_Table(), theXMLTypePackage.getString(), "table", null, 0, 1, XmlTenantDiscriminatorColumn_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlTenantDiscriminatorColumn_2_3_PrimaryKey(), ecorePackage.getEBooleanObject(), "primaryKey", null, 0, 1, XmlTenantDiscriminatorColumn_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlStructure_2_3EClass, XmlStructure_2_3.class, "XmlStructure_2_3", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + // Initialize enums and add enum literals + initEEnum(multitenantTypeEEnum, MultitenantType.class, "MultitenantType"); + addEEnumLiteral(multitenantTypeEEnum, MultitenantType.SINGLE_TABLE); + addEEnumLiteral(multitenantTypeEEnum, MultitenantType.TABLE_PER_TENANT); + addEEnumLiteral(multitenantTypeEEnum, MultitenantType.VPD); + } + + /** + * + * Defines literals for the meta objects that represent + *

    + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • + *
+ * + * @generated + */ + public interface Literals + { + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEmbeddable_2_3 Xml Embeddable 23}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEmbeddable_2_3 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlEmbeddable_2_3() + * @generated + */ + public static final EClass XML_EMBEDDABLE_23 = eINSTANCE.getXmlEmbeddable_2_3(); + + /** + * The meta object literal for the 'Plsql Records' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_EMBEDDABLE_23__PLSQL_RECORDS = eINSTANCE.getXmlEmbeddable_2_3_PlsqlRecords(); + + /** + * The meta object literal for the 'Plsql Tables' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_EMBEDDABLE_23__PLSQL_TABLES = eINSTANCE.getXmlEmbeddable_2_3_PlsqlTables(); + + /** + * The meta object literal for the 'Struct' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_EMBEDDABLE_23__STRUCT = eINSTANCE.getXmlEmbeddable_2_3_Struct(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMultitenant_2_3 Xml Multitenant 23}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMultitenant_2_3 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlMultitenant_2_3() + * @generated + */ + public static final EClass XML_MULTITENANT_23 = eINSTANCE.getXmlMultitenant_2_3(); + + /** + * The meta object literal for the 'Type' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_MULTITENANT_23__TYPE = eINSTANCE.getXmlMultitenant_2_3_Type(); + + /** + * The meta object literal for the 'Tenant Discriminator Columns' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_MULTITENANT_23__TENANT_DISCRIMINATOR_COLUMNS = eINSTANCE.getXmlMultitenant_2_3_TenantDiscriminatorColumns(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredFunctionQuery_2_3 Xml Named Plsql Stored Function Query 23}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredFunctionQuery_2_3 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlNamedPlsqlStoredFunctionQuery_2_3() + * @generated + */ + public static final EClass XML_NAMED_PLSQL_STORED_FUNCTION_QUERY_23 = eINSTANCE.getXmlNamedPlsqlStoredFunctionQuery_2_3(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_NAMED_PLSQL_STORED_FUNCTION_QUERY_23__NAME = eINSTANCE.getXmlNamedPlsqlStoredFunctionQuery_2_3_Name(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredProcedureQuery_2_3 Xml Named Plsql Stored Procedure Query 23}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredProcedureQuery_2_3 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlNamedPlsqlStoredProcedureQuery_2_3() + * @generated + */ + public static final EClass XML_NAMED_PLSQL_STORED_PROCEDURE_QUERY_23 = eINSTANCE.getXmlNamedPlsqlStoredProcedureQuery_2_3(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_NAMED_PLSQL_STORED_PROCEDURE_QUERY_23__NAME = eINSTANCE.getXmlNamedPlsqlStoredProcedureQuery_2_3_Name(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedStoredFunctionQuery_2_3 Xml Named Stored Function Query 23}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedStoredFunctionQuery_2_3 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlNamedStoredFunctionQuery_2_3() + * @generated + */ + public static final EClass XML_NAMED_STORED_FUNCTION_QUERY_23 = eINSTANCE.getXmlNamedStoredFunctionQuery_2_3(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_NAMED_STORED_FUNCTION_QUERY_23__NAME = eINSTANCE.getXmlNamedStoredFunctionQuery_2_3_Name(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3 Xml Entity 23}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlEntity_2_3() + * @generated + */ + public static final EClass XML_ENTITY_23 = eINSTANCE.getXmlEntity_2_3(); + + /** + * The meta object literal for the 'Named Stored Function Queries' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_ENTITY_23__NAMED_STORED_FUNCTION_QUERIES = eINSTANCE.getXmlEntity_2_3_NamedStoredFunctionQueries(); + + /** + * The meta object literal for the 'Named Plsql Stored Function Queries' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_ENTITY_23__NAMED_PLSQL_STORED_FUNCTION_QUERIES = eINSTANCE.getXmlEntity_2_3_NamedPlsqlStoredFunctionQueries(); + + /** + * The meta object literal for the 'Named Plsql Stored Procedure Queries' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_ENTITY_23__NAMED_PLSQL_STORED_PROCEDURE_QUERIES = eINSTANCE.getXmlEntity_2_3_NamedPlsqlStoredProcedureQueries(); + + /** + * The meta object literal for the 'Plsql Records' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_ENTITY_23__PLSQL_RECORDS = eINSTANCE.getXmlEntity_2_3_PlsqlRecords(); + + /** + * The meta object literal for the 'Plsql Tables' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_ENTITY_23__PLSQL_TABLES = eINSTANCE.getXmlEntity_2_3_PlsqlTables(); + + /** + * The meta object literal for the 'Struct' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_ENTITY_23__STRUCT = eINSTANCE.getXmlEntity_2_3_Struct(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMappedSuperclass_2_3 Xml Mapped Superclass 23}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMappedSuperclass_2_3 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlMappedSuperclass_2_3() + * @generated + */ + public static final EClass XML_MAPPED_SUPERCLASS_23 = eINSTANCE.getXmlMappedSuperclass_2_3(); + + /** + * The meta object literal for the 'Named Stored Function Queries' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_MAPPED_SUPERCLASS_23__NAMED_STORED_FUNCTION_QUERIES = eINSTANCE.getXmlMappedSuperclass_2_3_NamedStoredFunctionQueries(); + + /** + * The meta object literal for the 'Named Plsql Stored Function Queries' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_MAPPED_SUPERCLASS_23__NAMED_PLSQL_STORED_FUNCTION_QUERIES = eINSTANCE.getXmlMappedSuperclass_2_3_NamedPlsqlStoredFunctionQueries(); + + /** + * The meta object literal for the 'Named Plsql Stored Procedure Queries' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_MAPPED_SUPERCLASS_23__NAMED_PLSQL_STORED_PROCEDURE_QUERIES = eINSTANCE.getXmlMappedSuperclass_2_3_NamedPlsqlStoredProcedureQueries(); + + /** + * The meta object literal for the 'Plsql Records' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_MAPPED_SUPERCLASS_23__PLSQL_RECORDS = eINSTANCE.getXmlMappedSuperclass_2_3_PlsqlRecords(); + + /** + * The meta object literal for the 'Plsql Tables' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_MAPPED_SUPERCLASS_23__PLSQL_TABLES = eINSTANCE.getXmlMappedSuperclass_2_3_PlsqlTables(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3 Xml Entity Mappings 23}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlEntityMappings_2_3() + * @generated + */ + public static final EClass XML_ENTITY_MAPPINGS_23 = eINSTANCE.getXmlEntityMappings_2_3(); + + /** + * The meta object literal for the 'Tenant Discriminator Columns' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_ENTITY_MAPPINGS_23__TENANT_DISCRIMINATOR_COLUMNS = eINSTANCE.getXmlEntityMappings_2_3_TenantDiscriminatorColumns(); + + /** + * The meta object literal for the 'Named Stored Function Queries' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_ENTITY_MAPPINGS_23__NAMED_STORED_FUNCTION_QUERIES = eINSTANCE.getXmlEntityMappings_2_3_NamedStoredFunctionQueries(); + + /** + * The meta object literal for the 'Named Plsql Stored Function Queries' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_ENTITY_MAPPINGS_23__NAMED_PLSQL_STORED_FUNCTION_QUERIES = eINSTANCE.getXmlEntityMappings_2_3_NamedPlsqlStoredFunctionQueries(); + + /** + * The meta object literal for the 'Named Plsql Stored Procedure Queries' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_ENTITY_MAPPINGS_23__NAMED_PLSQL_STORED_PROCEDURE_QUERIES = eINSTANCE.getXmlEntityMappings_2_3_NamedPlsqlStoredProcedureQueries(); + + /** + * The meta object literal for the 'Plsql Records' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_ENTITY_MAPPINGS_23__PLSQL_RECORDS = eINSTANCE.getXmlEntityMappings_2_3_PlsqlRecords(); + + /** + * The meta object literal for the 'Plsql Tables' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_ENTITY_MAPPINGS_23__PLSQL_TABLES = eINSTANCE.getXmlEntityMappings_2_3_PlsqlTables(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPersistenceUnitDefaults_2_3 Xml Persistence Unit Defaults 23}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPersistenceUnitDefaults_2_3 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlPersistenceUnitDefaults_2_3() + * @generated + */ + public static final EClass XML_PERSISTENCE_UNIT_DEFAULTS_23 = eINSTANCE.getXmlPersistenceUnitDefaults_2_3(); + + /** + * The meta object literal for the 'Tenant Discriminator Columns' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_PERSISTENCE_UNIT_DEFAULTS_23__TENANT_DISCRIMINATOR_COLUMNS = eINSTANCE.getXmlPersistenceUnitDefaults_2_3_TenantDiscriminatorColumns(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPlsqlRecord_2_3 Xml Plsql Record 23}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPlsqlRecord_2_3 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlPlsqlRecord_2_3() + * @generated + */ + public static final EClass XML_PLSQL_RECORD_23 = eINSTANCE.getXmlPlsqlRecord_2_3(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_PLSQL_RECORD_23__NAME = eINSTANCE.getXmlPlsqlRecord_2_3_Name(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPlsqlTable_2_3 Xml Plsql Table 23}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPlsqlTable_2_3 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlPlsqlTable_2_3() + * @generated + */ + public static final EClass XML_PLSQL_TABLE_23 = eINSTANCE.getXmlPlsqlTable_2_3(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_PLSQL_TABLE_23__NAME = eINSTANCE.getXmlPlsqlTable_2_3_Name(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlStruct_2_3 Xml Struct 23}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlStruct_2_3 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlStruct_2_3() + * @generated + */ + public static final EClass XML_STRUCT_23 = eINSTANCE.getXmlStruct_2_3(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_STRUCT_23__NAME = eINSTANCE.getXmlStruct_2_3_Name(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3 Xml Tenant Discriminator Column 23}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlTenantDiscriminatorColumn_2_3() + * @generated + */ + public static final EClass XML_TENANT_DISCRIMINATOR_COLUMN_23 = eINSTANCE.getXmlTenantDiscriminatorColumn_2_3(); + + /** + * The meta object literal for the 'Context Property' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_TENANT_DISCRIMINATOR_COLUMN_23__CONTEXT_PROPERTY = eINSTANCE.getXmlTenantDiscriminatorColumn_2_3_ContextProperty(); + + /** + * The meta object literal for the 'Table' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_TENANT_DISCRIMINATOR_COLUMN_23__TABLE = eINSTANCE.getXmlTenantDiscriminatorColumn_2_3_Table(); + + /** + * The meta object literal for the 'Primary Key' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_TENANT_DISCRIMINATOR_COLUMN_23__PRIMARY_KEY = eINSTANCE.getXmlTenantDiscriminatorColumn_2_3_PrimaryKey(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlAttributes_2_3 Xml Attributes 23}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlAttributes_2_3 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlAttributes_2_3() + * @generated + */ + public static final EClass XML_ATTRIBUTES_23 = eINSTANCE.getXmlAttributes_2_3(); + + /** + * The meta object literal for the 'Structures' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_ATTRIBUTES_23__STRUCTURES = eINSTANCE.getXmlAttributes_2_3_Structures(); + + /** + * The meta object literal for the 'Arrays' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_ATTRIBUTES_23__ARRAYS = eINSTANCE.getXmlAttributes_2_3_Arrays(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlStructure_2_3 Xml Structure 23}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlStructure_2_3 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlStructure_2_3() + * @generated + */ + public static final EClass XML_STRUCTURE_23 = eINSTANCE.getXmlStructure_2_3(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlArray_2_3 Xml Array 23}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlArray_2_3 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlArray_2_3() + * @generated + */ + public static final EClass XML_ARRAY_23 = eINSTANCE.getXmlArray_2_3(); + + /** + * The meta object literal for the 'Database Type' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_ARRAY_23__DATABASE_TYPE = eINSTANCE.getXmlArray_2_3_DatabaseType(); + + /** + * The meta object literal for the 'Target Class' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_ARRAY_23__TARGET_CLASS = eINSTANCE.getXmlArray_2_3_TargetClass(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlElementCollection_2_3 Xml Element Collection 23}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlElementCollection_2_3 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlElementCollection_2_3() + * @generated + */ + public static final EClass XML_ELEMENT_COLLECTION_23 = eINSTANCE.getXmlElementCollection_2_3(); + + /** + * The meta object literal for the 'Composite Member' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_ELEMENT_COLLECTION_23__COMPOSITE_MEMBER = eINSTANCE.getXmlElementCollection_2_3_CompositeMember(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.MultitenantType Multitenant Type}' enum. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.MultitenantType + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getMultitenantType() + * @generated + */ + public static final EEnum MULTITENANT_TYPE = eINSTANCE.getMultitenantType(); + + } + +} //EclipseLinkOrmV2_3Package diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/MultitenantType.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/MultitenantType.java new file mode 100644 index 0000000000..cfcf92e38e --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/MultitenantType.java @@ -0,0 +1,254 @@ +/******************************************************************************* + * 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.v2_3; + +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 'Multitenant Type', + * and utility methods for working with them. + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getMultitenantType() + * @model + * @generated + */ +public enum MultitenantType implements Enumerator +{ + /** + * The 'SINGLE TABLE' literal object. + * + * + * @see #SINGLE_TABLE_VALUE + * @generated + * @ordered + */ + SINGLE_TABLE(0, "SINGLE_TABLE", "SINGLE_TABLE"), + + /** + * The 'TABLE PER TENANT' literal object. + * + * + * @see #TABLE_PER_TENANT_VALUE + * @generated + * @ordered + */ + TABLE_PER_TENANT(1, "TABLE_PER_TENANT", "TABLE_PER_TENANT"), /** + * The 'VPD' literal object. + * + * + * @see #VPD_VALUE + * @generated + * @ordered + */ + VPD(2, "VPD", "VPD"); + + /** + * The 'SINGLE TABLE' literal value. + * + *

+ * If the meaning of 'SINGLE TABLE' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #SINGLE_TABLE + * @model + * @generated + * @ordered + */ + public static final int SINGLE_TABLE_VALUE = 0; + + /** + * The 'TABLE PER TENANT' literal value. + * + *

+ * If the meaning of 'TABLE PER TENANT' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #TABLE_PER_TENANT + * @model + * @generated + * @ordered + */ + public static final int TABLE_PER_TENANT_VALUE = 1; + + /** + * The 'VPD' literal value. + * + *

+ * If the meaning of 'VPD' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #VPD + * @model + * @generated + * @ordered + */ + public static final int VPD_VALUE = 2; + + /** + * An array of all the 'Multitenant Type' enumerators. + * + * + * @generated + */ + private static final MultitenantType[] VALUES_ARRAY = + new MultitenantType[] + { + SINGLE_TABLE, + TABLE_PER_TENANT, + VPD, + }; + + /** + * A public read-only list of all the 'Multitenant Type' enumerators. + * + * + * @generated + */ + public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the 'Multitenant Type' literal with the specified literal value. + * + * + * @generated + */ + public static MultitenantType get(String literal) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + MultitenantType result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Multitenant Type' literal with the specified name. + * + * + * @generated + */ + public static MultitenantType getByName(String name) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + MultitenantType result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Multitenant Type' literal with the specified integer value. + * + * + * @generated + */ + public static MultitenantType get(int value) + { + switch (value) + { + case SINGLE_TABLE_VALUE: return SINGLE_TABLE; + case TABLE_PER_TENANT_VALUE: return TABLE_PER_TENANT; + case VPD_VALUE: return VPD; + } + return null; + } + + /** + * + * + * @generated + */ + private final int value; + + /** + * + * + * @generated + */ + private final String name; + + /** + * + * + * @generated + */ + private final String literal; + + /** + * Only this class can construct instances. + * + * + * @generated + */ + private MultitenantType(int value, String name, String literal) + { + this.value = value; + this.name = name; + this.literal = literal; + } + + /** + * + * + * @generated + */ + public int getValue() + { + return value; + } + + /** + * + * + * @generated + */ + public String getName() + { + return name; + } + + /** + * + * + * @generated + */ + public String getLiteral() + { + return literal; + } + + /** + * Returns the literal value of the enumerator, which is its string representation. + * + * + * @generated + */ + @Override + public String toString() + { + return literal; + } + +} //XmlMultitenantType diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlArray_2_3.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlArray_2_3.java new file mode 100644 index 0000000000..6e8ae080a2 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlArray_2_3.java @@ -0,0 +1,87 @@ +/******************************************************************************* + * 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.v2_3; + +import org.eclipse.jpt.jpa.core.resource.orm.ColumnMapping; +import org.eclipse.jpt.jpa.core.resource.orm.XmlConvertibleMapping; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverterContainer; + +/** + * + * A representation of the model object 'Xml Array 23'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlArray_2_3#getDatabaseType Database Type}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlArray_2_3#getTargetClass Target Class}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlArray_2_3() + * @model kind="class" interface="true" abstract="true" + * @generated + */ +public interface XmlArray_2_3 extends XmlConverterContainer, XmlConvertibleMapping, ColumnMapping +{ + + /** + * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlArray_2_3_DatabaseType() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getDatabaseType(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlArray_2_3#getDatabaseType Database Type}' attribute. + * + * + * @param value the new value of the 'Database Type' attribute. + * @see #getDatabaseType() + * @generated + */ + void setDatabaseType(String value); + + /** + * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlArray_2_3_TargetClass() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getTargetClass(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlArray_2_3#getTargetClass Target Class}' attribute. + * + * + * @param value the new value of the 'Target Class' attribute. + * @see #getTargetClass() + * @generated + */ + void setTargetClass(String value); +} // XmlArray_2_3 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlAttributes_2_3.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlAttributes_2_3.java new file mode 100644 index 0000000000..0f09d7526c --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlAttributes_2_3.java @@ -0,0 +1,67 @@ +/******************************************************************************* + * 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.v2_3; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Attributes 23'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlAttributes_2_3#getStructures Structures}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlAttributes_2_3#getArrays Arrays}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlAttributes_2_3() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlAttributes_2_3 extends EBaseObject +{ + /** + * Returns the value of the 'Structures' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlStructure_2_3}. + * + *

+ * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlAttributes_2_3_Structures() + * @model containment="true" + * @generated + */ + EList getStructures(); + + /** + * Returns the value of the 'Arrays' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlArray_2_3}. + * + *

+ * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlAttributes_2_3_Arrays() + * @model containment="true" + * @generated + */ + EList getArrays(); + +} // XmlAttributes_2_3 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlElementCollection_2_3.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlElementCollection_2_3.java new file mode 100644 index 0000000000..1be52a1428 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlElementCollection_2_3.java @@ -0,0 +1,56 @@ +/** + * + * + * + * $Id: XmlElementCollection_2_3.java,v 1.1 2011/06/24 15:49:56 kmoore Exp $ + */ +package org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Element Collection 23'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlElementCollection_2_3#getCompositeMember Composite Member}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlElementCollection_2_3() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlElementCollection_2_3 extends EBaseObject +{ + /** + * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlElementCollection_2_3_CompositeMember() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getCompositeMember(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlElementCollection_2_3#getCompositeMember Composite Member}' attribute. + * + * + * @param value the new value of the 'Composite Member' attribute. + * @see #getCompositeMember() + * @generated + */ + void setCompositeMember(String value); + +} // XmlElementCollection_2_3 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlEmbeddable_2_3.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlEmbeddable_2_3.java new file mode 100644 index 0000000000..3e38e7b41a --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlEmbeddable_2_3.java @@ -0,0 +1,95 @@ +/******************************************************************************* + * 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.v2_3; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPlsqlTable; + +/** + * + * A representation of the model object 'Xml Embeddable 23'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEmbeddable_2_3#getPlsqlRecords Plsql Records}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEmbeddable_2_3#getPlsqlTables Plsql Tables}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEmbeddable_2_3#getStruct Struct}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlEmbeddable_2_3() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlEmbeddable_2_3 extends EBaseObject +{ + /** + * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlEmbeddable_2_3_PlsqlRecords() + * @model containment="true" + * @generated + */ + EList getPlsqlRecords(); + + /** + * Returns the value of the 'Plsql Tables' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPlsqlTable}. + * + *

+ * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlEmbeddable_2_3_PlsqlTables() + * @model containment="true" + * @generated + */ + EList getPlsqlTables(); + + /** + * Returns the value of the 'Struct' containment reference. + * + *

+ * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlEmbeddable_2_3_Struct() + * @model containment="true" + * @generated + */ + XmlStruct_2_3 getStruct(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEmbeddable_2_3#getStruct Struct}' containment reference. + * + * + * @param value the new value of the 'Struct' containment reference. + * @see #getStruct() + * @generated + */ + void setStruct(XmlStruct_2_3 value); + +} // XmlEmbeddable_2_3 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlEntityMappings_2_3.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlEntityMappings_2_3.java new file mode 100644 index 0000000000..68c1a8694e --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlEntityMappings_2_3.java @@ -0,0 +1,136 @@ +/******************************************************************************* + * 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.v2_3; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPlsqlTable; + +/** + * + * A representation of the model object 'Xml Entity Mappings 23'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3#getTenantDiscriminatorColumns Tenant Discriminator Columns}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3#getNamedStoredFunctionQueries Named Stored Function Queries}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3#getNamedPlsqlStoredFunctionQueries Named Plsql Stored Function Queries}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3#getNamedPlsqlStoredProcedureQueries Named Plsql Stored Procedure Queries}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3#getPlsqlRecords Plsql Records}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3#getPlsqlTables Plsql Tables}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlEntityMappings_2_3() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlEntityMappings_2_3 extends EBaseObject +{ + /** + * Returns the value of the 'Tenant Discriminator Columns' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3}. + * + *

+ * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlEntityMappings_2_3_TenantDiscriminatorColumns() + * @model containment="true" + * @generated + */ + EList getTenantDiscriminatorColumns(); + + /** + * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlEntityMappings_2_3_NamedStoredFunctionQueries() + * @model containment="true" + * @generated + */ + EList getNamedStoredFunctionQueries(); + + /** + * Returns the value of the 'Named Plsql Stored Function Queries' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredFunctionQuery_2_3}. + * + *

+ * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlEntityMappings_2_3_NamedPlsqlStoredFunctionQueries() + * @model containment="true" + * @generated + */ + EList getNamedPlsqlStoredFunctionQueries(); + + /** + * Returns the value of the 'Named Plsql Stored Procedure Queries' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredProcedureQuery_2_3}. + * + *

+ * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlEntityMappings_2_3_NamedPlsqlStoredProcedureQueries() + * @model containment="true" + * @generated + */ + EList getNamedPlsqlStoredProcedureQueries(); + + /** + * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlEntityMappings_2_3_PlsqlRecords() + * @model containment="true" + * @generated + */ + EList getPlsqlRecords(); + + /** + * Returns the value of the 'Plsql Tables' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPlsqlTable}. + * + *

+ * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlEntityMappings_2_3_PlsqlTables() + * @model containment="true" + * @generated + */ + EList getPlsqlTables(); + +} // XmlEntityMappings_2_3 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlEntity_2_3.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlEntity_2_3.java new file mode 100644 index 0000000000..dd27d915d5 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlEntity_2_3.java @@ -0,0 +1,145 @@ +/******************************************************************************* + * 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.v2_3; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMultitenantHolder; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPlsqlTable; + +/** + * + * A representation of the model object 'Xml Entity 23'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3#getNamedStoredFunctionQueries Named Stored Function Queries}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3#getNamedPlsqlStoredFunctionQueries Named Plsql Stored Function Queries}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3#getNamedPlsqlStoredProcedureQueries Named Plsql Stored Procedure Queries}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3#getPlsqlRecords Plsql Records}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3#getPlsqlTables Plsql Tables}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3#getStruct Struct}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlEntity_2_3() + * @model kind="class" interface="true" abstract="true" + * @generated + */ +public interface XmlEntity_2_3 extends XmlMultitenantHolder +{ + /** + * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlEntity_2_3_NamedStoredFunctionQueries() + * @model containment="true" + * @generated + */ + EList getNamedStoredFunctionQueries(); + + /** + * Returns the value of the 'Named Plsql Stored Function Queries' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredFunctionQuery_2_3}. + * + *

+ * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlEntity_2_3_NamedPlsqlStoredFunctionQueries() + * @model containment="true" + * @generated + */ + EList getNamedPlsqlStoredFunctionQueries(); + + /** + * Returns the value of the 'Named Plsql Stored Procedure Queries' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredProcedureQuery_2_3}. + * + *

+ * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlEntity_2_3_NamedPlsqlStoredProcedureQueries() + * @model containment="true" + * @generated + */ + EList getNamedPlsqlStoredProcedureQueries(); + + /** + * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlEntity_2_3_PlsqlRecords() + * @model containment="true" + * @generated + */ + EList getPlsqlRecords(); + + /** + * Returns the value of the 'Plsql Tables' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPlsqlTable}. + * + *

+ * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlEntity_2_3_PlsqlTables() + * @model containment="true" + * @generated + */ + EList getPlsqlTables(); + + /** + * Returns the value of the 'Struct' containment reference. + * + *

+ * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlEntity_2_3_Struct() + * @model containment="true" + * @generated + */ + XmlStruct_2_3 getStruct(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3#getStruct Struct}' containment reference. + * + * + * @param value the new value of the 'Struct' containment reference. + * @see #getStruct() + * @generated + */ + void setStruct(XmlStruct_2_3 value); + +} // XmlEntity_2_3 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlMappedSuperclass_2_3.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlMappedSuperclass_2_3.java new file mode 100644 index 0000000000..2868c3f44b --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlMappedSuperclass_2_3.java @@ -0,0 +1,118 @@ +/******************************************************************************* + * 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.v2_3; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMultitenantHolder; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPlsqlTable; + +/** + * + * A representation of the model object 'Xml Mapped Superclass 23'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMappedSuperclass_2_3#getNamedStoredFunctionQueries Named Stored Function Queries}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMappedSuperclass_2_3#getNamedPlsqlStoredFunctionQueries Named Plsql Stored Function Queries}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMappedSuperclass_2_3#getNamedPlsqlStoredProcedureQueries Named Plsql Stored Procedure Queries}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMappedSuperclass_2_3#getPlsqlRecords Plsql Records}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMappedSuperclass_2_3#getPlsqlTables Plsql Tables}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlMappedSuperclass_2_3() + * @model kind="class" interface="true" abstract="true" + * @generated + */ +public interface XmlMappedSuperclass_2_3 extends XmlMultitenantHolder +{ + /** + * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlMappedSuperclass_2_3_NamedStoredFunctionQueries() + * @model containment="true" + * @generated + */ + EList getNamedStoredFunctionQueries(); + + /** + * Returns the value of the 'Named Plsql Stored Function Queries' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredFunctionQuery_2_3}. + * + *

+ * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlMappedSuperclass_2_3_NamedPlsqlStoredFunctionQueries() + * @model containment="true" + * @generated + */ + EList getNamedPlsqlStoredFunctionQueries(); + + /** + * Returns the value of the 'Named Plsql Stored Procedure Queries' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredProcedureQuery_2_3}. + * + *

+ * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlMappedSuperclass_2_3_NamedPlsqlStoredProcedureQueries() + * @model containment="true" + * @generated + */ + EList getNamedPlsqlStoredProcedureQueries(); + + /** + * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlMappedSuperclass_2_3_PlsqlRecords() + * @model containment="true" + * @generated + */ + EList getPlsqlRecords(); + + /** + * Returns the value of the 'Plsql Tables' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPlsqlTable}. + * + *

+ * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlMappedSuperclass_2_3_PlsqlTables() + * @model containment="true" + * @generated + */ + EList getPlsqlTables(); + +} // XmlMappedSuperclass_2_3 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlMultitenant_2_3.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlMultitenant_2_3.java new file mode 100644 index 0000000000..ca297b7065 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlMultitenant_2_3.java @@ -0,0 +1,80 @@ +/******************************************************************************* + * 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.v2_3; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Multitenant 23'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMultitenant_2_3#getType Type}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMultitenant_2_3#getTenantDiscriminatorColumns Tenant Discriminator Columns}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlMultitenant_2_3() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlMultitenant_2_3 extends EBaseObject +{ + + /** + * Returns the value of the 'Type' attribute. + * The literals are from the enumeration {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.MultitenantType}. + * + *

+ * 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.v2_3.MultitenantType + * @see #setType(MultitenantType) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlMultitenant_2_3_Type() + * @model + * @generated + */ + MultitenantType getType(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMultitenant_2_3#getType Type}' attribute. + * + * + * @param value the new value of the 'Type' attribute. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.MultitenantType + * @see #getType() + * @generated + */ + void setType(MultitenantType value); + + /** + * Returns the value of the 'Tenant Discriminator Columns' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3}. + * + *

+ * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlMultitenant_2_3_TenantDiscriminatorColumns() + * @model containment="true" + * @generated + */ + EList getTenantDiscriminatorColumns(); +} // XmlMultitenant_2_3 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlNamedPlsqlStoredFunctionQuery_2_3.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlNamedPlsqlStoredFunctionQuery_2_3.java new file mode 100644 index 0000000000..96b6083049 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlNamedPlsqlStoredFunctionQuery_2_3.java @@ -0,0 +1,59 @@ +/******************************************************************************* + * 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.v2_3; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Named Plsql Stored Function Query2 3'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredFunctionQuery_2_3#getName Name}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlNamedPlsqlStoredFunctionQuery_2_3() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlNamedPlsqlStoredFunctionQuery_2_3 extends EBaseObject +{ + + /** + * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlNamedPlsqlStoredFunctionQuery_2_3_Name() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredFunctionQuery_2_3#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); +} // XmlNamedPlsqlStoredFunctionQuery2_3 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlNamedPlsqlStoredProcedureQuery_2_3.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlNamedPlsqlStoredProcedureQuery_2_3.java new file mode 100644 index 0000000000..c32a8622f2 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlNamedPlsqlStoredProcedureQuery_2_3.java @@ -0,0 +1,59 @@ +/******************************************************************************* + * 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.v2_3; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Named Plsql Stored Procedure Query2 3'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredProcedureQuery_2_3#getName Name}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlNamedPlsqlStoredProcedureQuery_2_3() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlNamedPlsqlStoredProcedureQuery_2_3 extends EBaseObject +{ + + /** + * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlNamedPlsqlStoredProcedureQuery_2_3_Name() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredProcedureQuery_2_3#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); +} // XmlNamedPlsqlStoredProcedureQuery2_3 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlNamedStoredFunctionQuery_2_3.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlNamedStoredFunctionQuery_2_3.java new file mode 100644 index 0000000000..cf016f7a05 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlNamedStoredFunctionQuery_2_3.java @@ -0,0 +1,59 @@ +/******************************************************************************* + * 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.v2_3; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Named Stored Function Query2 3'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedStoredFunctionQuery_2_3#getName Name}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlNamedStoredFunctionQuery_2_3() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlNamedStoredFunctionQuery_2_3 extends EBaseObject +{ + + /** + * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlNamedStoredFunctionQuery_2_3_Name() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedStoredFunctionQuery_2_3#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); +} // XmlNamedStoredFunctionQuery2_3 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlPersistenceUnitDefaults_2_3.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlPersistenceUnitDefaults_2_3.java new file mode 100644 index 0000000000..a133f3e816 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlPersistenceUnitDefaults_2_3.java @@ -0,0 +1,50 @@ +/******************************************************************************* + * 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.v2_3; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Persistence Unit Defaults 23'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPersistenceUnitDefaults_2_3#getTenantDiscriminatorColumns Tenant Discriminator Columns}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlPersistenceUnitDefaults_2_3() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlPersistenceUnitDefaults_2_3 extends EBaseObject +{ + /** + * Returns the value of the 'Tenant Discriminator Columns' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3}. + * + *

+ * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlPersistenceUnitDefaults_2_3_TenantDiscriminatorColumns() + * @model containment="true" + * @generated + */ + EList getTenantDiscriminatorColumns(); + +} // XmlPersistenceUnitDefaults_2_3 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlPlsqlRecord_2_3.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlPlsqlRecord_2_3.java new file mode 100644 index 0000000000..c05aa9b9e6 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlPlsqlRecord_2_3.java @@ -0,0 +1,59 @@ +/******************************************************************************* + * 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.v2_3; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Plsql Record2 3'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPlsqlRecord_2_3#getName Name}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlPlsqlRecord_2_3() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlPlsqlRecord_2_3 extends EBaseObject +{ + + /** + * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlPlsqlRecord_2_3_Name() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPlsqlRecord_2_3#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); +} // XmlPlsqlRecord2_3 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlPlsqlTable_2_3.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlPlsqlTable_2_3.java new file mode 100644 index 0000000000..12860f6ce7 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlPlsqlTable_2_3.java @@ -0,0 +1,59 @@ +/******************************************************************************* + * 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.v2_3; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Plsql Table2 3'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPlsqlTable_2_3#getName Name}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlPlsqlTable_2_3() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlPlsqlTable_2_3 extends EBaseObject +{ + + /** + * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlPlsqlTable_2_3_Name() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPlsqlTable_2_3#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); +} // XmlPlsqlTable2_3 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlStruct_2_3.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlStruct_2_3.java new file mode 100644 index 0000000000..30eb4757bd --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlStruct_2_3.java @@ -0,0 +1,59 @@ +/******************************************************************************* + * 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.v2_3; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Struct2 3'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlStruct_2_3#getName Name}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlStruct_2_3() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlStruct_2_3 extends EBaseObject +{ + + /** + * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlStruct_2_3_Name() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlStruct_2_3#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); +} // XmlStruct2_3 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlStructure_2_3.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlStructure_2_3.java new file mode 100644 index 0000000000..1399fa4294 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlStructure_2_3.java @@ -0,0 +1,27 @@ +/******************************************************************************* + * 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.v2_3; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Structure 23'. + * + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlStructure_2_3() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlStructure_2_3 extends EBaseObject +{ +} // XmlStructure_2_3 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlTenantDiscriminatorColumn_2_3.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlTenantDiscriminatorColumn_2_3.java new file mode 100644 index 0000000000..8de9ea123c --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlTenantDiscriminatorColumn_2_3.java @@ -0,0 +1,118 @@ +/******************************************************************************* + * 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.v2_3; + +import org.eclipse.jpt.common.core.utility.TextRange; +import org.eclipse.jpt.jpa.core.resource.orm.XmlBaseDiscriminatorColumn; + + +/** + * + * A representation of the model object 'Xml Tenant Discriminator2 3'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3#getContextProperty Context Property}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3#getTable Table}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3#getPrimaryKey Primary Key}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlTenantDiscriminatorColumn_2_3() + * @model kind="class" interface="true" abstract="true" + * @generated + */ +public interface XmlTenantDiscriminatorColumn_2_3 extends XmlBaseDiscriminatorColumn +{ + + /** + * Returns the value of the 'Context Property' attribute. + * + *

+ * If the meaning of the 'Context Property' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Context Property' attribute. + * @see #setContextProperty(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlTenantDiscriminatorColumn_2_3_ContextProperty() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getContextProperty(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3#getContextProperty Context Property}' attribute. + * + * + * @param value the new value of the 'Context Property' attribute. + * @see #getContextProperty() + * @generated + */ + void setContextProperty(String value); + + /** + * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlTenantDiscriminatorColumn_2_3_Table() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getTable(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3#getTable Table}' attribute. + * + * + * @param value the new value of the 'Table' attribute. + * @see #getTable() + * @generated + */ + void setTable(String value); + + /** + * Returns the value of the 'Primary Key' attribute. + * + *

+ * If the meaning of the 'Primary Key' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Primary Key' attribute. + * @see #setPrimaryKey(Boolean) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlTenantDiscriminatorColumn_2_3_PrimaryKey() + * @model + * @generated + */ + Boolean getPrimaryKey(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3#getPrimaryKey Primary Key}' attribute. + * + * + * @param value the new value of the 'Primary Key' attribute. + * @see #getPrimaryKey() + * @generated + */ + void setPrimaryKey(Boolean value); + + TextRange getTableTextRange(); + + boolean tableTouches(int pos); +} // XmlTenantDiscriminator2_3 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/DataFormatType.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/DataFormatType.java new file mode 100644 index 0000000000..a59c903805 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/DataFormatType.java @@ -0,0 +1,262 @@ +/******************************************************************************* + * 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.v2_4; + +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 'Data Format 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. + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getDataFormatType() + * @model + * @generated + */ +public enum DataFormatType implements Enumerator +{ + /** + * The 'XML' literal object. + * + * + * @see #XML_VALUE + * @generated + * @ordered + */ + XML(0, "XML", "XML"), + + /** + * The 'INDEXED' literal object. + * + * + * @see #INDEXED_VALUE + * @generated + * @ordered + */ + INDEXED(1, "INDEXED", "INDEXED"), + + /** + * The 'MAPPED' literal object. + * + * + * @see #MAPPED_VALUE + * @generated + * @ordered + */ + MAPPED(2, "MAPPED", "MAPPED"); + + /** + * The 'XML' literal value. + * + *

+ * If the meaning of 'XML' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #XML + * @model + * @generated + * @ordered + */ + public static final int XML_VALUE = 0; + + /** + * The 'INDEXED' literal value. + * + *

+ * If the meaning of 'INDEXED' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #INDEXED + * @model + * @generated + * @ordered + */ + public static final int INDEXED_VALUE = 1; + + /** + * The 'MAPPED' literal value. + * + *

+ * If the meaning of 'MAPPED' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #MAPPED + * @model + * @generated + * @ordered + */ + public static final int MAPPED_VALUE = 2; + + /** + * An array of all the 'Data Format Type' enumerators. + * + * + * @generated + */ + private static final DataFormatType[] VALUES_ARRAY = + new DataFormatType[] + { + XML, + INDEXED, + MAPPED, + }; + + /** + * A public read-only list of all the 'Data Format Type' enumerators. + * + * + * @generated + */ + public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the 'Data Format Type' literal with the specified literal value. + * + * + * @generated + */ + public static DataFormatType get(String literal) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + DataFormatType result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Data Format Type' literal with the specified name. + * + * + * @generated + */ + public static DataFormatType getByName(String name) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + DataFormatType result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Data Format Type' literal with the specified integer value. + * + * + * @generated + */ + public static DataFormatType get(int value) + { + switch (value) + { + case XML_VALUE: return XML; + case INDEXED_VALUE: return INDEXED; + case MAPPED_VALUE: return MAPPED; + } + return null; + } + + /** + * + * + * @generated + */ + private final int value; + + /** + * + * + * @generated + */ + private final String name; + + /** + * + * + * @generated + */ + private final String literal; + + /** + * Only this class can construct instances. + * + * + * @generated + */ + private DataFormatType(int value, String name, String literal) + { + this.value = value; + this.name = name; + this.literal = literal; + } + + /** + * + * + * @generated + */ + public int getValue() + { + return value; + } + + /** + * + * + * @generated + */ + public String getName() + { + return name; + } + + /** + * + * + * @generated + */ + public String getLiteral() + { + return literal; + } + + /** + * Returns the literal value of the enumerator, which is its string representation. + * + * + * @generated + */ + @Override + public String toString() + { + return literal; + } + +} //DataFormatType diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/DatabaseChangeNotificationType.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/DatabaseChangeNotificationType.java new file mode 100644 index 0000000000..a6ef71bc7e --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/DatabaseChangeNotificationType.java @@ -0,0 +1,229 @@ +/******************************************************************************* + * 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.v2_4; + +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 'Database Change Notification Type', + * and utility methods for working with them. + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getDatabaseChangeNotificationType() + * @model + * @generated + */ +public enum DatabaseChangeNotificationType implements Enumerator +{ + /** + * The 'NONE' literal object. + * + * + * @see #NONE_VALUE + * @generated + * @ordered + */ + NONE(0, "NONE", "NONE"), + + /** + * The 'INVALIDATION' literal object. + * + * + * @see #INVALIDATION_VALUE + * @generated + * @ordered + */ + INVALIDATION(1, "INVALIDATION", "INVALIDATION"); + + /** + * 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 = 0; + + /** + * The 'INVALIDATION' literal value. + * + *

+ * If the meaning of 'INVALIDATION' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #INVALIDATION + * @model + * @generated + * @ordered + */ + public static final int INVALIDATION_VALUE = 1; + + /** + * An array of all the 'Database Change Notification Type' enumerators. + * + * + * @generated + */ + private static final DatabaseChangeNotificationType[] VALUES_ARRAY = + new DatabaseChangeNotificationType[] + { + NONE, + INVALIDATION, + }; + + /** + * A public read-only list of all the 'Database Change Notification Type' enumerators. + * + * + * @generated + */ + public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the 'Database Change Notification Type' literal with the specified literal value. + * + * + * @generated + */ + public static DatabaseChangeNotificationType get(String literal) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + DatabaseChangeNotificationType result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Database Change Notification Type' literal with the specified name. + * + * + * @generated + */ + public static DatabaseChangeNotificationType getByName(String name) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + DatabaseChangeNotificationType result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Database Change Notification Type' literal with the specified integer value. + * + * + * @generated + */ + public static DatabaseChangeNotificationType get(int value) + { + switch (value) + { + case NONE_VALUE: return NONE; + case INVALIDATION_VALUE: return INVALIDATION; + } + return null; + } + + /** + * + * + * @generated + */ + private final int value; + + /** + * + * + * @generated + */ + private final String name; + + /** + * + * + * @generated + */ + private final String literal; + + /** + * Only this class can construct instances. + * + * + * @generated + */ + private DatabaseChangeNotificationType(int value, String name, String literal) + { + this.value = value; + this.name = name; + this.literal = literal; + } + + /** + * + * + * @generated + */ + public int getValue() + { + return value; + } + + /** + * + * + * @generated + */ + public String getName() + { + return name; + } + + /** + * + * + * @generated + */ + public String getLiteral() + { + return literal; + } + + /** + * Returns the literal value of the enumerator, which is its string representation. + * + * + * @generated + */ + @Override + public String toString() + { + return literal; + } + +} //DatabaseChangeNotificationType diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/EclipseLinkOrmV2_4Factory.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/EclipseLinkOrmV2_4Factory.java new file mode 100644 index 0000000000..0d0692a68b --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/EclipseLinkOrmV2_4Factory.java @@ -0,0 +1,216 @@ +/******************************************************************************* + * 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.v2_4; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.impl.EFactoryImpl; +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +/** + * + * The Factory for the model. + * It provides a create method for each non-abstract class of the model. + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package + * @generated + */ +public class EclipseLinkOrmV2_4Factory extends EFactoryImpl +{ + /** + * The singleton instance of the factory. + * + * + * @generated + */ + public static final EclipseLinkOrmV2_4Factory eINSTANCE = init(); + + /** + * Creates the default factory implementation. + * + * + * @generated + */ + public static EclipseLinkOrmV2_4Factory init() + { + try + { + EclipseLinkOrmV2_4Factory theEclipseLinkOrmV2_4Factory = (EclipseLinkOrmV2_4Factory)EPackage.Registry.INSTANCE.getEFactory("jpt.eclipselink.orm.v2_4.xmi"); + if (theEclipseLinkOrmV2_4Factory != null) + { + return theEclipseLinkOrmV2_4Factory; + } + } + catch (Exception exception) + { + EcorePlugin.INSTANCE.log(exception); + } + return new EclipseLinkOrmV2_4Factory(); + } + + /** + * Creates an instance of the factory. + * + * + * @generated + */ + public EclipseLinkOrmV2_4Factory() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + public EObject create(EClass eClass) + { + switch (eClass.getClassifierID()) + { + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + @Override + public Object createFromString(EDataType eDataType, String initialValue) + { + switch (eDataType.getClassifierID()) + { + case EclipseLinkOrmV2_4Package.DATABASE_CHANGE_NOTIFICATION_TYPE: + return createDatabaseChangeNotificationTypeFromString(eDataType, initialValue); + case EclipseLinkOrmV2_4Package.TENANT_TABLE_DISCRIMINATOR_TYPE: + return createTenantTableDiscriminatorTypeFromString(eDataType, initialValue); + case EclipseLinkOrmV2_4Package.DATA_FORMAT_TYPE: + return createDataFormatTypeFromString(eDataType, initialValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + @Override + public String convertToString(EDataType eDataType, Object instanceValue) + { + switch (eDataType.getClassifierID()) + { + case EclipseLinkOrmV2_4Package.DATABASE_CHANGE_NOTIFICATION_TYPE: + return convertDatabaseChangeNotificationTypeToString(eDataType, instanceValue); + case EclipseLinkOrmV2_4Package.TENANT_TABLE_DISCRIMINATOR_TYPE: + return convertTenantTableDiscriminatorTypeToString(eDataType, instanceValue); + case EclipseLinkOrmV2_4Package.DATA_FORMAT_TYPE: + return convertDataFormatTypeToString(eDataType, instanceValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + public DatabaseChangeNotificationType createDatabaseChangeNotificationTypeFromString(EDataType eDataType, String initialValue) + { + DatabaseChangeNotificationType result = DatabaseChangeNotificationType.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * + * + * @generated + */ + public String convertDatabaseChangeNotificationTypeToString(EDataType eDataType, Object instanceValue) + { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * + * + * @generated + */ + public TenantTableDiscriminatorType createTenantTableDiscriminatorTypeFromString(EDataType eDataType, String initialValue) + { + TenantTableDiscriminatorType result = TenantTableDiscriminatorType.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * + * + * @generated + */ + public String convertTenantTableDiscriminatorTypeToString(EDataType eDataType, Object instanceValue) + { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * + * + * @generated + */ + public DataFormatType createDataFormatTypeFromString(EDataType eDataType, String initialValue) + { + DataFormatType result = DataFormatType.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * + * + * @generated + */ + public String convertDataFormatTypeToString(EDataType eDataType, Object instanceValue) + { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * + * + * @generated + */ + public EclipseLinkOrmV2_4Package getEclipseLinkOrmV2_4Package() + { + return (EclipseLinkOrmV2_4Package)getEPackage(); + } + + /** + * + * + * @deprecated + * @generated + */ + @Deprecated + public static EclipseLinkOrmV2_4Package getPackage() + { + return EclipseLinkOrmV2_4Package.eINSTANCE; + } + +} //EclipseLinkOrmV2_4Factory diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/EclipseLinkOrmV2_4Package.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/EclipseLinkOrmV2_4Package.java new file mode 100644 index 0000000000..72c07a6d03 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/EclipseLinkOrmV2_4Package.java @@ -0,0 +1,2678 @@ +/******************************************************************************* + * 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.v2_4; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EEnum; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; +import org.eclipse.emf.ecore.impl.EPackageImpl; +import org.eclipse.emf.ecore.xml.type.XMLTypePackage; +import org.eclipse.jpt.jpa.core.resource.orm.OrmPackage; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package; + +/** + * + * The Package for the model. + * It contains accessors for the meta objects to represent + *
    + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • + *
+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Factory + * @model kind="package" + * @generated + */ +public class EclipseLinkOrmV2_4Package extends EPackageImpl +{ + /** + * The package name. + * + * + * @generated + */ + public static final String eNAME = "v2_4"; + + /** + * The package namespace URI. + * + * + * @generated + */ + public static final String eNS_URI = "jpt.eclipselink.orm.v2_4.xmi"; + + /** + * The package namespace name. + * + * + * @generated + */ + public static final String eNS_PREFIX = "org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4"; + + /** + * The singleton instance of the package. + * + * + * @generated + */ + public static final EclipseLinkOrmV2_4Package eINSTANCE = org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package.init(); + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlGeneratorContainer2_4 Xml Generator Container2 4}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlGeneratorContainer2_4 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlGeneratorContainer2_4() + * @generated + */ + public static final int XML_GENERATOR_CONTAINER2_4 = 3; + + /** + * The feature id for the 'Sequence Generator' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_GENERATOR_CONTAINER2_4__SEQUENCE_GENERATOR = OrmPackage.XML_GENERATOR_CONTAINER__SEQUENCE_GENERATOR; + + /** + * The feature id for the 'Table Generator' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_GENERATOR_CONTAINER2_4__TABLE_GENERATOR = OrmPackage.XML_GENERATOR_CONTAINER__TABLE_GENERATOR; + + /** + * The feature id for the 'Uuid Generator' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_GENERATOR_CONTAINER2_4__UUID_GENERATOR = OrmPackage.XML_GENERATOR_CONTAINER_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Xml Generator Container2 4' class. + * + * + * @generated + * @ordered + */ + public static final int XML_GENERATOR_CONTAINER2_4_FEATURE_COUNT = OrmPackage.XML_GENERATOR_CONTAINER_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMultitenant_2_4 Xml Multitenant 24}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMultitenant_2_4 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlMultitenant_2_4() + * @generated + */ + public static final int XML_MULTITENANT_24 = 15; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlElementCollection_2_4 Xml Element Collection 24}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlElementCollection_2_4 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlElementCollection_2_4() + * @generated + */ + public static final int XML_ELEMENT_COLLECTION_24 = 4; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToMany_2_4 Xml One To Many 24}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToMany_2_4 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlOneToMany_2_4() + * @generated + */ + public static final int XML_ONE_TO_MANY_24 = 17; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntity_2_4 Xml Entity 24}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntity_2_4 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlEntity_2_4() + * @generated + */ + public static final int XML_ENTITY_24 = 7; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlBasic_2_4 Xml Basic 24}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlBasic_2_4 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlBasic_2_4() + * @generated + */ + public static final int XML_BASIC_24 = 0; + + /** + * The feature id for the 'Sequence Generator' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC_24__SEQUENCE_GENERATOR = XML_GENERATOR_CONTAINER2_4__SEQUENCE_GENERATOR; + + /** + * The feature id for the 'Table Generator' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC_24__TABLE_GENERATOR = XML_GENERATOR_CONTAINER2_4__TABLE_GENERATOR; + + /** + * The feature id for the 'Uuid Generator' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC_24__UUID_GENERATOR = XML_GENERATOR_CONTAINER2_4__UUID_GENERATOR; + + /** + * The feature id for the 'Field' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC_24__FIELD = XML_GENERATOR_CONTAINER2_4_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Cache Index' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC_24__CACHE_INDEX = XML_GENERATOR_CONTAINER2_4_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Xml Basic 24' class. + * + * + * @generated + * @ordered + */ + public static final int XML_BASIC_24_FEATURE_COUNT = XML_GENERATOR_CONTAINER2_4_FEATURE_COUNT + 2; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlCache_2_4 Xml Cache 24}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlCache_2_4 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlCache_2_4() + * @generated + */ + public static final int XML_CACHE_24 = 1; + + /** + * The feature id for the 'Database Change Notification Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_CACHE_24__DATABASE_CHANGE_NOTIFICATION_TYPE = 0; + + /** + * The number of structural features of the 'Xml Cache 24' class. + * + * + * @generated + * @ordered + */ + public static final int XML_CACHE_24_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlCacheIndex_2_4 Xml Cache Index 24}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlCacheIndex_2_4 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlCacheIndex_2_4() + * @generated + */ + public static final int XML_CACHE_INDEX_24 = 2; + + /** + * The feature id for the 'Column Names' attribute list. + * + * + * @generated + * @ordered + */ + public static final int XML_CACHE_INDEX_24__COLUMN_NAMES = 0; + + /** + * The number of structural features of the 'Xml Cache Index 24' class. + * + * + * @generated + * @ordered + */ + public static final int XML_CACHE_INDEX_24_FEATURE_COUNT = 1; + + /** + * The feature id for the 'Field' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION_24__FIELD = 0; + + /** + * The feature id for the 'Delete All' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION_24__DELETE_ALL = 1; + + /** + * The number of structural features of the 'Xml Element Collection 24' class. + * + * + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION_24_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEmbeddable_2_4 Xml Embeddable 24}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEmbeddable_2_4 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlEmbeddable_2_4() + * @generated + */ + public static final int XML_EMBEDDABLE_24 = 5; + + /** + * The feature id for the 'No Sql' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDABLE_24__NO_SQL = 0; + + /** + * The number of structural features of the 'Xml Embeddable 24' class. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDABLE_24_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEmbedded_2_4 Xml Embedded 24}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEmbedded_2_4 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlEmbedded_2_4() + * @generated + */ + public static final int XML_EMBEDDED_24 = 6; + + /** + * The feature id for the 'Field' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDED_24__FIELD = 0; + + /** + * The number of structural features of the 'Xml Embedded 24' class. + * + * + * @generated + * @ordered + */ + public static final int XML_EMBEDDED_24_FEATURE_COUNT = 1; + + /** + * The feature id for the 'Sequence Generator' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_24__SEQUENCE_GENERATOR = XML_GENERATOR_CONTAINER2_4__SEQUENCE_GENERATOR; + + /** + * The feature id for the 'Table Generator' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_24__TABLE_GENERATOR = XML_GENERATOR_CONTAINER2_4__TABLE_GENERATOR; + + /** + * The feature id for the 'Uuid Generator' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_24__UUID_GENERATOR = XML_GENERATOR_CONTAINER2_4__UUID_GENERATOR; + + /** + * The feature id for the 'Cache Index' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_24__CACHE_INDEX = XML_GENERATOR_CONTAINER2_4_FEATURE_COUNT + 0; + + /** + * The feature id for the 'No Sql' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_24__NO_SQL = XML_GENERATOR_CONTAINER2_4_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Xml Entity 24' class. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_24_FEATURE_COUNT = XML_GENERATOR_CONTAINER2_4_FEATURE_COUNT + 2; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntityMappings_2_4 Xml Entity Mappings 24}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntityMappings_2_4 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlEntityMappings_2_4() + * @generated + */ + public static final int XML_ENTITY_MAPPINGS_24 = 8; + + /** + * The feature id for the 'Uuid Generators' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS_24__UUID_GENERATORS = 0; + + /** + * The number of structural features of the 'Xml Entity Mappings 24' class. + * + * + * @generated + * @ordered + */ + public static final int XML_ENTITY_MAPPINGS_24_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlField_2_4 Xml Field 24}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlField_2_4 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlField_2_4() + * @generated + */ + public static final int XML_FIELD_24 = 9; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_FIELD_24__NAME = 0; + + /** + * The number of structural features of the 'Xml Field 24' class. + * + * + * @generated + * @ordered + */ + public static final int XML_FIELD_24_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlId_2_4 Xml Id 24}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlId_2_4 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlId_2_4() + * @generated + */ + public static final int XML_ID_24 = 10; + + /** + * The feature id for the 'Sequence Generator' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ID_24__SEQUENCE_GENERATOR = XML_GENERATOR_CONTAINER2_4__SEQUENCE_GENERATOR; + + /** + * The feature id for the 'Table Generator' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ID_24__TABLE_GENERATOR = XML_GENERATOR_CONTAINER2_4__TABLE_GENERATOR; + + /** + * The feature id for the 'Uuid Generator' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ID_24__UUID_GENERATOR = XML_GENERATOR_CONTAINER2_4__UUID_GENERATOR; + + /** + * The feature id for the 'Field' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ID_24__FIELD = XML_GENERATOR_CONTAINER2_4_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Cache Index' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_ID_24__CACHE_INDEX = XML_GENERATOR_CONTAINER2_4_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Xml Id 24' class. + * + * + * @generated + * @ordered + */ + public static final int XML_ID_24_FEATURE_COUNT = XML_GENERATOR_CONTAINER2_4_FEATURE_COUNT + 2; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlJoinField_2_4 Xml Join Field 24}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlJoinField_2_4 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlJoinField_2_4() + * @generated + */ + public static final int XML_JOIN_FIELD_24 = 11; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_JOIN_FIELD_24__NAME = 0; + + /** + * The feature id for the 'Referenced Field Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_JOIN_FIELD_24__REFERENCED_FIELD_NAME = 1; + + /** + * The number of structural features of the 'Xml Join Field 24' class. + * + * + * @generated + * @ordered + */ + public static final int XML_JOIN_FIELD_24_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlManyToMany_2_4 Xml Many To Many 24}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlManyToMany_2_4 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlManyToMany_2_4() + * @generated + */ + public static final int XML_MANY_TO_MANY_24 = 12; + + /** + * The feature id for the 'Join Fields' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY_24__JOIN_FIELDS = 0; + + /** + * The number of structural features of the 'Xml Many To Many 24' class. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_MANY_24_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlManyToOne_2_4 Xml Many To One 24}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlManyToOne_2_4 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlManyToOne_2_4() + * @generated + */ + public static final int XML_MANY_TO_ONE_24 = 13; + + /** + * The feature id for the 'Join Fields' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_ONE_24__JOIN_FIELDS = 0; + + /** + * The number of structural features of the 'Xml Many To One 24' class. + * + * + * @generated + * @ordered + */ + public static final int XML_MANY_TO_ONE_24_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMappedSuperclass_2_4 Xml Mapped Superclass 24}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMappedSuperclass_2_4 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlMappedSuperclass_2_4() + * @generated + */ + public static final int XML_MAPPED_SUPERCLASS_24 = 14; + + /** + * The feature id for the 'Sequence Generator' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS_24__SEQUENCE_GENERATOR = XML_GENERATOR_CONTAINER2_4__SEQUENCE_GENERATOR; + + /** + * The feature id for the 'Table Generator' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS_24__TABLE_GENERATOR = XML_GENERATOR_CONTAINER2_4__TABLE_GENERATOR; + + /** + * The feature id for the 'Uuid Generator' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS_24__UUID_GENERATOR = XML_GENERATOR_CONTAINER2_4__UUID_GENERATOR; + + /** + * The feature id for the 'Cache Index' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS_24__CACHE_INDEX = XML_GENERATOR_CONTAINER2_4_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Xml Mapped Superclass 24' class. + * + * + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS_24_FEATURE_COUNT = XML_GENERATOR_CONTAINER2_4_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Include Criteria' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_MULTITENANT_24__INCLUDE_CRITERIA = 0; + + /** + * The feature id for the 'Tenant Table Discriminator' containment reference. + * + * + * @generated + * @ordered + */ + public static final int XML_MULTITENANT_24__TENANT_TABLE_DISCRIMINATOR = 1; + + /** + * The number of structural features of the 'Xml Multitenant 24' class. + * + * + * @generated + * @ordered + */ + public static final int XML_MULTITENANT_24_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlNoSql_2_4 Xml No Sql 24}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlNoSql_2_4 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlNoSql_2_4() + * @generated + */ + public static final int XML_NO_SQL_24 = 16; + + /** + * The feature id for the 'Data Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_NO_SQL_24__DATA_TYPE = 0; + + /** + * The feature id for the 'Data Format' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_NO_SQL_24__DATA_FORMAT = 1; + + /** + * The number of structural features of the 'Xml No Sql 24' class. + * + * + * @generated + * @ordered + */ + public static final int XML_NO_SQL_24_FEATURE_COUNT = 2; + + /** + * The feature id for the 'Join Fields' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY_24__JOIN_FIELDS = 0; + + /** + * The feature id for the 'Delete All' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY_24__DELETE_ALL = 1; + + /** + * The number of structural features of the 'Xml One To Many 24' class. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY_24_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToOne_2_4 Xml One To One 24}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToOne_2_4 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlOneToOne_2_4() + * @generated + */ + public static final int XML_ONE_TO_ONE_24 = 18; + + /** + * The feature id for the 'Join Fields' containment reference list. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE_24__JOIN_FIELDS = 0; + + /** + * The number of structural features of the 'Xml One To One 24' class. + * + * + * @generated + * @ordered + */ + public static final int XML_ONE_TO_ONE_24_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlTenantTableDiscriminator_2_4 Xml Tenant Table Discriminator 24}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlTenantTableDiscriminator_2_4 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlTenantTableDiscriminator_2_4() + * @generated + */ + public static final int XML_TENANT_TABLE_DISCRIMINATOR_24 = 19; + + /** + * The feature id for the 'Context Property' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TENANT_TABLE_DISCRIMINATOR_24__CONTEXT_PROPERTY = 0; + + /** + * The feature id for the 'Type' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_TENANT_TABLE_DISCRIMINATOR_24__TYPE = 1; + + /** + * The number of structural features of the 'Xml Tenant Table Discriminator 24' class. + * + * + * @generated + * @ordered + */ + public static final int XML_TENANT_TABLE_DISCRIMINATOR_24_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlUuidGenerator_2_4 Xml Uuid Generator 24}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlUuidGenerator_2_4 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlUuidGenerator_2_4() + * @generated + */ + public static final int XML_UUID_GENERATOR_24 = 20; + + /** + * The feature id for the 'Description' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_UUID_GENERATOR_24__DESCRIPTION = OrmPackage.XML_GENERATOR__DESCRIPTION; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_UUID_GENERATOR_24__NAME = OrmPackage.XML_GENERATOR__NAME; + + /** + * The feature id for the 'Initial Value' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_UUID_GENERATOR_24__INITIAL_VALUE = OrmPackage.XML_GENERATOR__INITIAL_VALUE; + + /** + * The feature id for the 'Allocation Size' attribute. + * + * + * @generated + * @ordered + */ + public static final int XML_UUID_GENERATOR_24__ALLOCATION_SIZE = OrmPackage.XML_GENERATOR__ALLOCATION_SIZE; + + /** + * The number of structural features of the 'Xml Uuid Generator 24' class. + * + * + * @generated + * @ordered + */ + public static final int XML_UUID_GENERATOR_24_FEATURE_COUNT = OrmPackage.XML_GENERATOR_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.DatabaseChangeNotificationType Database Change Notification Type}' enum. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.DatabaseChangeNotificationType + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getDatabaseChangeNotificationType() + * @generated + */ + public static final int DATABASE_CHANGE_NOTIFICATION_TYPE = 21; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.TenantTableDiscriminatorType Tenant Table Discriminator Type}' enum. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.TenantTableDiscriminatorType + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getTenantTableDiscriminatorType() + * @generated + */ + public static final int TENANT_TABLE_DISCRIMINATOR_TYPE = 22; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.DataFormatType Data Format Type}' enum. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.DataFormatType + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getDataFormatType() + * @generated + */ + public static final int DATA_FORMAT_TYPE = 23; + + /** + * + * + * @generated + */ + private EClass xmlMultitenant_2_4EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlNoSql_2_4EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlElementCollection_2_4EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlEmbeddable_2_4EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlEmbedded_2_4EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlOneToMany_2_4EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlOneToOne_2_4EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlTenantTableDiscriminator_2_4EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlUuidGenerator_2_4EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlEntity_2_4EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlEntityMappings_2_4EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlField_2_4EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlBasic_2_4EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlCache_2_4EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlCacheIndex_2_4EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlGeneratorContainer2_4EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlId_2_4EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlJoinField_2_4EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlManyToMany_2_4EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlManyToOne_2_4EClass = null; + + /** + * + * + * @generated + */ + private EClass xmlMappedSuperclass_2_4EClass = null; + + /** + * + * + * @generated + */ + private EEnum databaseChangeNotificationTypeEEnum = null; + + /** + * + * + * @generated + */ + private EEnum tenantTableDiscriminatorTypeEEnum = null; + + /** + * + * + * @generated + */ + private EEnum dataFormatTypeEEnum = null; + + /** + * Creates an instance of the model Package, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + *

Note: 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.v2_4.EclipseLinkOrmV2_4Package#eNS_URI + * @see #init() + * @generated + */ + private EclipseLinkOrmV2_4Package() + { + super(eNS_URI, EclipseLinkOrmV2_4Factory.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 EclipseLinkOrmV2_4Package#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 EclipseLinkOrmV2_4Package init() + { + if (isInited) return (EclipseLinkOrmV2_4Package)EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmV2_4Package.eNS_URI); + + // Obtain or create and register package + EclipseLinkOrmV2_4Package theEclipseLinkOrmV2_4Package = (EclipseLinkOrmV2_4Package)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof EclipseLinkOrmV2_4Package ? EPackage.Registry.INSTANCE.get(eNS_URI) : new EclipseLinkOrmV2_4Package()); + + isInited = true; + + // Initialize simple dependencies + OrmPackage.eINSTANCE.eClass(); + XMLTypePackage.eINSTANCE.eClass(); + + // Obtain or create and register interdependencies + EclipseLinkOrmPackage theEclipseLinkOrmPackage = (EclipseLinkOrmPackage)(EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmPackage.eNS_URI) instanceof EclipseLinkOrmPackage ? EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmPackage.eNS_URI) : EclipseLinkOrmPackage.eINSTANCE); + 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); + + // Create package meta-data objects + theEclipseLinkOrmV2_4Package.createPackageContents(); + theEclipseLinkOrmPackage.createPackageContents(); + theEclipseLinkOrmV1_1Package.createPackageContents(); + theEclipseLinkOrmV2_0Package.createPackageContents(); + theEclipseLinkOrmV2_1Package.createPackageContents(); + theEclipseLinkOrmV2_2Package.createPackageContents(); + theEclipseLinkOrmV2_3Package.createPackageContents(); + + // Initialize created meta-data + theEclipseLinkOrmV2_4Package.initializePackageContents(); + theEclipseLinkOrmPackage.initializePackageContents(); + theEclipseLinkOrmV1_1Package.initializePackageContents(); + theEclipseLinkOrmV2_0Package.initializePackageContents(); + theEclipseLinkOrmV2_1Package.initializePackageContents(); + theEclipseLinkOrmV2_2Package.initializePackageContents(); + theEclipseLinkOrmV2_3Package.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theEclipseLinkOrmV2_4Package.freeze(); + + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(EclipseLinkOrmV2_4Package.eNS_URI, theEclipseLinkOrmV2_4Package); + return theEclipseLinkOrmV2_4Package; + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMultitenant_2_4 Xml Multitenant 24}'. + * + * + * @return the meta object for class 'Xml Multitenant 24'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMultitenant_2_4 + * @generated + */ + public EClass getXmlMultitenant_2_4() + { + return xmlMultitenant_2_4EClass; + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMultitenant_2_4#getIncludeCriteria Include Criteria}'. + * + * + * @return the meta object for the attribute 'Include Criteria'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMultitenant_2_4#getIncludeCriteria() + * @see #getXmlMultitenant_2_4() + * @generated + */ + public EAttribute getXmlMultitenant_2_4_IncludeCriteria() + { + return (EAttribute)xmlMultitenant_2_4EClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMultitenant_2_4#getTenantTableDiscriminator Tenant Table Discriminator}'. + * + * + * @return the meta object for the containment reference 'Tenant Table Discriminator'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMultitenant_2_4#getTenantTableDiscriminator() + * @see #getXmlMultitenant_2_4() + * @generated + */ + public EReference getXmlMultitenant_2_4_TenantTableDiscriminator() + { + return (EReference)xmlMultitenant_2_4EClass.getEStructuralFeatures().get(1); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlNoSql_2_4 Xml No Sql 24}'. + * + * + * @return the meta object for class 'Xml No Sql 24'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlNoSql_2_4 + * @generated + */ + public EClass getXmlNoSql_2_4() + { + return xmlNoSql_2_4EClass; + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlNoSql_2_4#getDataType Data Type}'. + * + * + * @return the meta object for the attribute 'Data Type'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlNoSql_2_4#getDataType() + * @see #getXmlNoSql_2_4() + * @generated + */ + public EAttribute getXmlNoSql_2_4_DataType() + { + return (EAttribute)xmlNoSql_2_4EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlNoSql_2_4#getDataFormat Data Format}'. + * + * + * @return the meta object for the attribute 'Data Format'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlNoSql_2_4#getDataFormat() + * @see #getXmlNoSql_2_4() + * @generated + */ + public EAttribute getXmlNoSql_2_4_DataFormat() + { + return (EAttribute)xmlNoSql_2_4EClass.getEStructuralFeatures().get(1); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlElementCollection_2_4 Xml Element Collection 24}'. + * + * + * @return the meta object for class 'Xml Element Collection 24'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlElementCollection_2_4 + * @generated + */ + public EClass getXmlElementCollection_2_4() + { + return xmlElementCollection_2_4EClass; + } + + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlElementCollection_2_4#getField Field}'. + * + * + * @return the meta object for the containment reference 'Field'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlElementCollection_2_4#getField() + * @see #getXmlElementCollection_2_4() + * @generated + */ + public EReference getXmlElementCollection_2_4_Field() + { + return (EReference)xmlElementCollection_2_4EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlElementCollection_2_4#isDeleteAll Delete All}'. + * + * + * @return the meta object for the attribute 'Delete All'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlElementCollection_2_4#isDeleteAll() + * @see #getXmlElementCollection_2_4() + * @generated + */ + public EAttribute getXmlElementCollection_2_4_DeleteAll() + { + return (EAttribute)xmlElementCollection_2_4EClass.getEStructuralFeatures().get(1); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEmbeddable_2_4 Xml Embeddable 24}'. + * + * + * @return the meta object for class 'Xml Embeddable 24'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEmbeddable_2_4 + * @generated + */ + public EClass getXmlEmbeddable_2_4() + { + return xmlEmbeddable_2_4EClass; + } + + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEmbeddable_2_4#getNoSql No Sql}'. + * + * + * @return the meta object for the containment reference 'No Sql'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEmbeddable_2_4#getNoSql() + * @see #getXmlEmbeddable_2_4() + * @generated + */ + public EReference getXmlEmbeddable_2_4_NoSql() + { + return (EReference)xmlEmbeddable_2_4EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEmbedded_2_4 Xml Embedded 24}'. + * + * + * @return the meta object for class 'Xml Embedded 24'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEmbedded_2_4 + * @generated + */ + public EClass getXmlEmbedded_2_4() + { + return xmlEmbedded_2_4EClass; + } + + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEmbedded_2_4#getField Field}'. + * + * + * @return the meta object for the containment reference 'Field'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEmbedded_2_4#getField() + * @see #getXmlEmbedded_2_4() + * @generated + */ + public EReference getXmlEmbedded_2_4_Field() + { + return (EReference)xmlEmbedded_2_4EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToMany_2_4 Xml One To Many 24}'. + * + * + * @return the meta object for class 'Xml One To Many 24'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToMany_2_4 + * @generated + */ + public EClass getXmlOneToMany_2_4() + { + return xmlOneToMany_2_4EClass; + } + + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToMany_2_4#getJoinFields Join Fields}'. + * + * + * @return the meta object for the containment reference list 'Join Fields'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToMany_2_4#getJoinFields() + * @see #getXmlOneToMany_2_4() + * @generated + */ + public EReference getXmlOneToMany_2_4_JoinFields() + { + return (EReference)xmlOneToMany_2_4EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToMany_2_4#isDeleteAll Delete All}'. + * + * + * @return the meta object for the attribute 'Delete All'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToMany_2_4#isDeleteAll() + * @see #getXmlOneToMany_2_4() + * @generated + */ + public EAttribute getXmlOneToMany_2_4_DeleteAll() + { + return (EAttribute)xmlOneToMany_2_4EClass.getEStructuralFeatures().get(1); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToOne_2_4 Xml One To One 24}'. + * + * + * @return the meta object for class 'Xml One To One 24'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToOne_2_4 + * @generated + */ + public EClass getXmlOneToOne_2_4() + { + return xmlOneToOne_2_4EClass; + } + + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToOne_2_4#getJoinFields Join Fields}'. + * + * + * @return the meta object for the containment reference list 'Join Fields'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToOne_2_4#getJoinFields() + * @see #getXmlOneToOne_2_4() + * @generated + */ + public EReference getXmlOneToOne_2_4_JoinFields() + { + return (EReference)xmlOneToOne_2_4EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlTenantTableDiscriminator_2_4 Xml Tenant Table Discriminator 24}'. + * + * + * @return the meta object for class 'Xml Tenant Table Discriminator 24'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlTenantTableDiscriminator_2_4 + * @generated + */ + public EClass getXmlTenantTableDiscriminator_2_4() + { + return xmlTenantTableDiscriminator_2_4EClass; + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlTenantTableDiscriminator_2_4#getContextProperty Context Property}'. + * + * + * @return the meta object for the attribute 'Context Property'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlTenantTableDiscriminator_2_4#getContextProperty() + * @see #getXmlTenantTableDiscriminator_2_4() + * @generated + */ + public EAttribute getXmlTenantTableDiscriminator_2_4_ContextProperty() + { + return (EAttribute)xmlTenantTableDiscriminator_2_4EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlTenantTableDiscriminator_2_4#getType Type}'. + * + * + * @return the meta object for the attribute 'Type'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlTenantTableDiscriminator_2_4#getType() + * @see #getXmlTenantTableDiscriminator_2_4() + * @generated + */ + public EAttribute getXmlTenantTableDiscriminator_2_4_Type() + { + return (EAttribute)xmlTenantTableDiscriminator_2_4EClass.getEStructuralFeatures().get(1); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlUuidGenerator_2_4 Xml Uuid Generator 24}'. + * + * + * @return the meta object for class 'Xml Uuid Generator 24'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlUuidGenerator_2_4 + * @generated + */ + public EClass getXmlUuidGenerator_2_4() + { + return xmlUuidGenerator_2_4EClass; + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntity_2_4 Xml Entity 24}'. + * + * + * @return the meta object for class 'Xml Entity 24'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntity_2_4 + * @generated + */ + public EClass getXmlEntity_2_4() + { + return xmlEntity_2_4EClass; + } + + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntity_2_4#getCacheIndex Cache Index}'. + * + * + * @return the meta object for the containment reference 'Cache Index'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntity_2_4#getCacheIndex() + * @see #getXmlEntity_2_4() + * @generated + */ + public EReference getXmlEntity_2_4_CacheIndex() + { + return (EReference)xmlEntity_2_4EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntity_2_4#getNoSql No Sql}'. + * + * + * @return the meta object for the containment reference 'No Sql'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntity_2_4#getNoSql() + * @see #getXmlEntity_2_4() + * @generated + */ + public EReference getXmlEntity_2_4_NoSql() + { + return (EReference)xmlEntity_2_4EClass.getEStructuralFeatures().get(1); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntityMappings_2_4 Xml Entity Mappings 24}'. + * + * + * @return the meta object for class 'Xml Entity Mappings 24'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntityMappings_2_4 + * @generated + */ + public EClass getXmlEntityMappings_2_4() + { + return xmlEntityMappings_2_4EClass; + } + + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntityMappings_2_4#getUuidGenerators Uuid Generators}'. + * + * + * @return the meta object for the containment reference list 'Uuid Generators'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntityMappings_2_4#getUuidGenerators() + * @see #getXmlEntityMappings_2_4() + * @generated + */ + public EReference getXmlEntityMappings_2_4_UuidGenerators() + { + return (EReference)xmlEntityMappings_2_4EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlField_2_4 Xml Field 24}'. + * + * + * @return the meta object for class 'Xml Field 24'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlField_2_4 + * @generated + */ + public EClass getXmlField_2_4() + { + return xmlField_2_4EClass; + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlField_2_4#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlField_2_4#getName() + * @see #getXmlField_2_4() + * @generated + */ + public EAttribute getXmlField_2_4_Name() + { + return (EAttribute)xmlField_2_4EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlBasic_2_4 Xml Basic 24}'. + * + * + * @return the meta object for class 'Xml Basic 24'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlBasic_2_4 + * @generated + */ + public EClass getXmlBasic_2_4() + { + return xmlBasic_2_4EClass; + } + + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlBasic_2_4#getField Field}'. + * + * + * @return the meta object for the containment reference 'Field'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlBasic_2_4#getField() + * @see #getXmlBasic_2_4() + * @generated + */ + public EReference getXmlBasic_2_4_Field() + { + return (EReference)xmlBasic_2_4EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlBasic_2_4#getCacheIndex Cache Index}'. + * + * + * @return the meta object for the containment reference 'Cache Index'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlBasic_2_4#getCacheIndex() + * @see #getXmlBasic_2_4() + * @generated + */ + public EReference getXmlBasic_2_4_CacheIndex() + { + return (EReference)xmlBasic_2_4EClass.getEStructuralFeatures().get(1); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlCache_2_4 Xml Cache 24}'. + * + * + * @return the meta object for class 'Xml Cache 24'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlCache_2_4 + * @generated + */ + public EClass getXmlCache_2_4() + { + return xmlCache_2_4EClass; + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlCache_2_4#getDatabaseChangeNotificationType Database Change Notification Type}'. + * + * + * @return the meta object for the attribute 'Database Change Notification Type'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlCache_2_4#getDatabaseChangeNotificationType() + * @see #getXmlCache_2_4() + * @generated + */ + public EAttribute getXmlCache_2_4_DatabaseChangeNotificationType() + { + return (EAttribute)xmlCache_2_4EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlCacheIndex_2_4 Xml Cache Index 24}'. + * + * + * @return the meta object for class 'Xml Cache Index 24'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlCacheIndex_2_4 + * @generated + */ + public EClass getXmlCacheIndex_2_4() + { + return xmlCacheIndex_2_4EClass; + } + + + /** + * Returns the meta object for the attribute list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlCacheIndex_2_4#getColumnNames Column Names}'. + * + * + * @return the meta object for the attribute list 'Column Names'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlCacheIndex_2_4#getColumnNames() + * @see #getXmlCacheIndex_2_4() + * @generated + */ + public EAttribute getXmlCacheIndex_2_4_ColumnNames() + { + return (EAttribute)xmlCacheIndex_2_4EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlGeneratorContainer2_4 Xml Generator Container2 4}'. + * + * + * @return the meta object for class 'Xml Generator Container2 4'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlGeneratorContainer2_4 + * @generated + */ + public EClass getXmlGeneratorContainer2_4() + { + return xmlGeneratorContainer2_4EClass; + } + + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlGeneratorContainer2_4#getUuidGenerator Uuid Generator}'. + * + * + * @return the meta object for the containment reference 'Uuid Generator'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlGeneratorContainer2_4#getUuidGenerator() + * @see #getXmlGeneratorContainer2_4() + * @generated + */ + public EReference getXmlGeneratorContainer2_4_UuidGenerator() + { + return (EReference)xmlGeneratorContainer2_4EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlId_2_4 Xml Id 24}'. + * + * + * @return the meta object for class 'Xml Id 24'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlId_2_4 + * @generated + */ + public EClass getXmlId_2_4() + { + return xmlId_2_4EClass; + } + + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlId_2_4#getField Field}'. + * + * + * @return the meta object for the containment reference 'Field'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlId_2_4#getField() + * @see #getXmlId_2_4() + * @generated + */ + public EReference getXmlId_2_4_Field() + { + return (EReference)xmlId_2_4EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlId_2_4#getCacheIndex Cache Index}'. + * + * + * @return the meta object for the containment reference 'Cache Index'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlId_2_4#getCacheIndex() + * @see #getXmlId_2_4() + * @generated + */ + public EReference getXmlId_2_4_CacheIndex() + { + return (EReference)xmlId_2_4EClass.getEStructuralFeatures().get(1); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlJoinField_2_4 Xml Join Field 24}'. + * + * + * @return the meta object for class 'Xml Join Field 24'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlJoinField_2_4 + * @generated + */ + public EClass getXmlJoinField_2_4() + { + return xmlJoinField_2_4EClass; + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlJoinField_2_4#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlJoinField_2_4#getName() + * @see #getXmlJoinField_2_4() + * @generated + */ + public EAttribute getXmlJoinField_2_4_Name() + { + return (EAttribute)xmlJoinField_2_4EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlJoinField_2_4#getReferencedFieldName Referenced Field Name}'. + * + * + * @return the meta object for the attribute 'Referenced Field Name'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlJoinField_2_4#getReferencedFieldName() + * @see #getXmlJoinField_2_4() + * @generated + */ + public EAttribute getXmlJoinField_2_4_ReferencedFieldName() + { + return (EAttribute)xmlJoinField_2_4EClass.getEStructuralFeatures().get(1); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlManyToMany_2_4 Xml Many To Many 24}'. + * + * + * @return the meta object for class 'Xml Many To Many 24'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlManyToMany_2_4 + * @generated + */ + public EClass getXmlManyToMany_2_4() + { + return xmlManyToMany_2_4EClass; + } + + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlManyToMany_2_4#getJoinFields Join Fields}'. + * + * + * @return the meta object for the containment reference list 'Join Fields'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlManyToMany_2_4#getJoinFields() + * @see #getXmlManyToMany_2_4() + * @generated + */ + public EReference getXmlManyToMany_2_4_JoinFields() + { + return (EReference)xmlManyToMany_2_4EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlManyToOne_2_4 Xml Many To One 24}'. + * + * + * @return the meta object for class 'Xml Many To One 24'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlManyToOne_2_4 + * @generated + */ + public EClass getXmlManyToOne_2_4() + { + return xmlManyToOne_2_4EClass; + } + + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlManyToOne_2_4#getJoinFields Join Fields}'. + * + * + * @return the meta object for the containment reference list 'Join Fields'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlManyToOne_2_4#getJoinFields() + * @see #getXmlManyToOne_2_4() + * @generated + */ + public EReference getXmlManyToOne_2_4_JoinFields() + { + return (EReference)xmlManyToOne_2_4EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMappedSuperclass_2_4 Xml Mapped Superclass 24}'. + * + * + * @return the meta object for class 'Xml Mapped Superclass 24'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMappedSuperclass_2_4 + * @generated + */ + public EClass getXmlMappedSuperclass_2_4() + { + return xmlMappedSuperclass_2_4EClass; + } + + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMappedSuperclass_2_4#getCacheIndex Cache Index}'. + * + * + * @return the meta object for the containment reference 'Cache Index'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMappedSuperclass_2_4#getCacheIndex() + * @see #getXmlMappedSuperclass_2_4() + * @generated + */ + public EReference getXmlMappedSuperclass_2_4_CacheIndex() + { + return (EReference)xmlMappedSuperclass_2_4EClass.getEStructuralFeatures().get(0); + } + + + /** + * Returns the meta object for enum '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.DatabaseChangeNotificationType Database Change Notification Type}'. + * + * + * @return the meta object for enum 'Database Change Notification Type'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.DatabaseChangeNotificationType + * @generated + */ + public EEnum getDatabaseChangeNotificationType() + { + return databaseChangeNotificationTypeEEnum; + } + + + /** + * Returns the meta object for enum '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.TenantTableDiscriminatorType Tenant Table Discriminator Type}'. + * + * + * @return the meta object for enum 'Tenant Table Discriminator Type'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.TenantTableDiscriminatorType + * @generated + */ + public EEnum getTenantTableDiscriminatorType() + { + return tenantTableDiscriminatorTypeEEnum; + } + + + /** + * Returns the meta object for enum '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.DataFormatType Data Format Type}'. + * + * + * @return the meta object for enum 'Data Format Type'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.DataFormatType + * @generated + */ + public EEnum getDataFormatType() + { + return dataFormatTypeEEnum; + } + + + /** + * Returns the factory that creates the instances of the model. + * + * + * @return the factory that creates the instances of the model. + * @generated + */ + public EclipseLinkOrmV2_4Factory getEclipseLinkOrmV2_4Factory() + { + return (EclipseLinkOrmV2_4Factory)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 + xmlBasic_2_4EClass = createEClass(XML_BASIC_24); + createEReference(xmlBasic_2_4EClass, XML_BASIC_24__FIELD); + createEReference(xmlBasic_2_4EClass, XML_BASIC_24__CACHE_INDEX); + + xmlCache_2_4EClass = createEClass(XML_CACHE_24); + createEAttribute(xmlCache_2_4EClass, XML_CACHE_24__DATABASE_CHANGE_NOTIFICATION_TYPE); + + xmlCacheIndex_2_4EClass = createEClass(XML_CACHE_INDEX_24); + createEAttribute(xmlCacheIndex_2_4EClass, XML_CACHE_INDEX_24__COLUMN_NAMES); + + xmlGeneratorContainer2_4EClass = createEClass(XML_GENERATOR_CONTAINER2_4); + createEReference(xmlGeneratorContainer2_4EClass, XML_GENERATOR_CONTAINER2_4__UUID_GENERATOR); + + xmlElementCollection_2_4EClass = createEClass(XML_ELEMENT_COLLECTION_24); + createEReference(xmlElementCollection_2_4EClass, XML_ELEMENT_COLLECTION_24__FIELD); + createEAttribute(xmlElementCollection_2_4EClass, XML_ELEMENT_COLLECTION_24__DELETE_ALL); + + xmlEmbeddable_2_4EClass = createEClass(XML_EMBEDDABLE_24); + createEReference(xmlEmbeddable_2_4EClass, XML_EMBEDDABLE_24__NO_SQL); + + xmlEmbedded_2_4EClass = createEClass(XML_EMBEDDED_24); + createEReference(xmlEmbedded_2_4EClass, XML_EMBEDDED_24__FIELD); + + xmlEntity_2_4EClass = createEClass(XML_ENTITY_24); + createEReference(xmlEntity_2_4EClass, XML_ENTITY_24__CACHE_INDEX); + createEReference(xmlEntity_2_4EClass, XML_ENTITY_24__NO_SQL); + + xmlEntityMappings_2_4EClass = createEClass(XML_ENTITY_MAPPINGS_24); + createEReference(xmlEntityMappings_2_4EClass, XML_ENTITY_MAPPINGS_24__UUID_GENERATORS); + + xmlField_2_4EClass = createEClass(XML_FIELD_24); + createEAttribute(xmlField_2_4EClass, XML_FIELD_24__NAME); + + xmlId_2_4EClass = createEClass(XML_ID_24); + createEReference(xmlId_2_4EClass, XML_ID_24__FIELD); + createEReference(xmlId_2_4EClass, XML_ID_24__CACHE_INDEX); + + xmlJoinField_2_4EClass = createEClass(XML_JOIN_FIELD_24); + createEAttribute(xmlJoinField_2_4EClass, XML_JOIN_FIELD_24__NAME); + createEAttribute(xmlJoinField_2_4EClass, XML_JOIN_FIELD_24__REFERENCED_FIELD_NAME); + + xmlManyToMany_2_4EClass = createEClass(XML_MANY_TO_MANY_24); + createEReference(xmlManyToMany_2_4EClass, XML_MANY_TO_MANY_24__JOIN_FIELDS); + + xmlManyToOne_2_4EClass = createEClass(XML_MANY_TO_ONE_24); + createEReference(xmlManyToOne_2_4EClass, XML_MANY_TO_ONE_24__JOIN_FIELDS); + + xmlMappedSuperclass_2_4EClass = createEClass(XML_MAPPED_SUPERCLASS_24); + createEReference(xmlMappedSuperclass_2_4EClass, XML_MAPPED_SUPERCLASS_24__CACHE_INDEX); + + xmlMultitenant_2_4EClass = createEClass(XML_MULTITENANT_24); + createEAttribute(xmlMultitenant_2_4EClass, XML_MULTITENANT_24__INCLUDE_CRITERIA); + createEReference(xmlMultitenant_2_4EClass, XML_MULTITENANT_24__TENANT_TABLE_DISCRIMINATOR); + + xmlNoSql_2_4EClass = createEClass(XML_NO_SQL_24); + createEAttribute(xmlNoSql_2_4EClass, XML_NO_SQL_24__DATA_TYPE); + createEAttribute(xmlNoSql_2_4EClass, XML_NO_SQL_24__DATA_FORMAT); + + xmlOneToMany_2_4EClass = createEClass(XML_ONE_TO_MANY_24); + createEReference(xmlOneToMany_2_4EClass, XML_ONE_TO_MANY_24__JOIN_FIELDS); + createEAttribute(xmlOneToMany_2_4EClass, XML_ONE_TO_MANY_24__DELETE_ALL); + + xmlOneToOne_2_4EClass = createEClass(XML_ONE_TO_ONE_24); + createEReference(xmlOneToOne_2_4EClass, XML_ONE_TO_ONE_24__JOIN_FIELDS); + + xmlTenantTableDiscriminator_2_4EClass = createEClass(XML_TENANT_TABLE_DISCRIMINATOR_24); + createEAttribute(xmlTenantTableDiscriminator_2_4EClass, XML_TENANT_TABLE_DISCRIMINATOR_24__CONTEXT_PROPERTY); + createEAttribute(xmlTenantTableDiscriminator_2_4EClass, XML_TENANT_TABLE_DISCRIMINATOR_24__TYPE); + + xmlUuidGenerator_2_4EClass = createEClass(XML_UUID_GENERATOR_24); + + // Create enums + databaseChangeNotificationTypeEEnum = createEEnum(DATABASE_CHANGE_NOTIFICATION_TYPE); + tenantTableDiscriminatorTypeEEnum = createEEnum(TENANT_TABLE_DISCRIMINATOR_TYPE); + dataFormatTypeEEnum = createEEnum(DATA_FORMAT_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 + XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI); + OrmPackage theOrmPackage = (OrmPackage)EPackage.Registry.INSTANCE.getEPackage(OrmPackage.eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + xmlBasic_2_4EClass.getESuperTypes().add(this.getXmlGeneratorContainer2_4()); + xmlGeneratorContainer2_4EClass.getESuperTypes().add(theOrmPackage.getXmlGeneratorContainer()); + xmlEntity_2_4EClass.getESuperTypes().add(this.getXmlGeneratorContainer2_4()); + xmlId_2_4EClass.getESuperTypes().add(this.getXmlGeneratorContainer2_4()); + xmlMappedSuperclass_2_4EClass.getESuperTypes().add(this.getXmlGeneratorContainer2_4()); + xmlUuidGenerator_2_4EClass.getESuperTypes().add(theOrmPackage.getXmlGenerator()); + + // Initialize classes and features; add operations and parameters + initEClass(xmlBasic_2_4EClass, XmlBasic_2_4.class, "XmlBasic_2_4", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlBasic_2_4_Field(), this.getXmlField_2_4(), null, "field", null, 0, 1, XmlBasic_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlBasic_2_4_CacheIndex(), this.getXmlCacheIndex_2_4(), null, "cacheIndex", null, 0, 1, XmlBasic_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlCache_2_4EClass, XmlCache_2_4.class, "XmlCache_2_4", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlCache_2_4_DatabaseChangeNotificationType(), this.getDatabaseChangeNotificationType(), "databaseChangeNotificationType", "", 0, 1, XmlCache_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlCacheIndex_2_4EClass, XmlCacheIndex_2_4.class, "XmlCacheIndex_2_4", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlCacheIndex_2_4_ColumnNames(), theXMLTypePackage.getString(), "columnNames", null, 0, -1, XmlCacheIndex_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlGeneratorContainer2_4EClass, XmlGeneratorContainer2_4.class, "XmlGeneratorContainer2_4", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlGeneratorContainer2_4_UuidGenerator(), this.getXmlUuidGenerator_2_4(), null, "uuidGenerator", null, 0, 1, XmlGeneratorContainer2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlElementCollection_2_4EClass, XmlElementCollection_2_4.class, "XmlElementCollection_2_4", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlElementCollection_2_4_Field(), this.getXmlField_2_4(), null, "field", null, 0, 1, XmlElementCollection_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlElementCollection_2_4_DeleteAll(), theXMLTypePackage.getBoolean(), "deleteAll", null, 0, 1, XmlElementCollection_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlEmbeddable_2_4EClass, XmlEmbeddable_2_4.class, "XmlEmbeddable_2_4", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlEmbeddable_2_4_NoSql(), this.getXmlNoSql_2_4(), null, "noSql", null, 0, 1, XmlEmbeddable_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlEmbedded_2_4EClass, XmlEmbedded_2_4.class, "XmlEmbedded_2_4", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlEmbedded_2_4_Field(), this.getXmlField_2_4(), null, "field", null, 0, 1, XmlEmbedded_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlEntity_2_4EClass, XmlEntity_2_4.class, "XmlEntity_2_4", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlEntity_2_4_CacheIndex(), this.getXmlCacheIndex_2_4(), null, "cacheIndex", null, 0, 1, XmlEntity_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlEntity_2_4_NoSql(), this.getXmlNoSql_2_4(), null, "noSql", null, 0, 1, XmlEntity_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlEntityMappings_2_4EClass, XmlEntityMappings_2_4.class, "XmlEntityMappings_2_4", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlEntityMappings_2_4_UuidGenerators(), this.getXmlUuidGenerator_2_4(), null, "uuidGenerators", null, 0, -1, XmlEntityMappings_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlField_2_4EClass, XmlField_2_4.class, "XmlField_2_4", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlField_2_4_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, XmlField_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlId_2_4EClass, XmlId_2_4.class, "XmlId_2_4", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlId_2_4_Field(), this.getXmlField_2_4(), null, "field", null, 0, 1, XmlId_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlId_2_4_CacheIndex(), this.getXmlCacheIndex_2_4(), null, "cacheIndex", null, 0, 1, XmlId_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlJoinField_2_4EClass, XmlJoinField_2_4.class, "XmlJoinField_2_4", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlJoinField_2_4_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, XmlJoinField_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlJoinField_2_4_ReferencedFieldName(), theXMLTypePackage.getString(), "referencedFieldName", null, 0, 1, XmlJoinField_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlManyToMany_2_4EClass, XmlManyToMany_2_4.class, "XmlManyToMany_2_4", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlManyToMany_2_4_JoinFields(), this.getXmlJoinField_2_4(), null, "joinFields", null, 0, -1, XmlManyToMany_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlManyToOne_2_4EClass, XmlManyToOne_2_4.class, "XmlManyToOne_2_4", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlManyToOne_2_4_JoinFields(), this.getXmlJoinField_2_4(), null, "joinFields", null, 0, -1, XmlManyToOne_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlMappedSuperclass_2_4EClass, XmlMappedSuperclass_2_4.class, "XmlMappedSuperclass_2_4", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlMappedSuperclass_2_4_CacheIndex(), this.getXmlCacheIndex_2_4(), null, "cacheIndex", null, 0, 1, XmlMappedSuperclass_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlMultitenant_2_4EClass, XmlMultitenant_2_4.class, "XmlMultitenant_2_4", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlMultitenant_2_4_IncludeCriteria(), theXMLTypePackage.getBooleanObject(), "includeCriteria", null, 0, 1, XmlMultitenant_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlMultitenant_2_4_TenantTableDiscriminator(), this.getXmlTenantTableDiscriminator_2_4(), null, "tenantTableDiscriminator", null, 0, 1, XmlMultitenant_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlNoSql_2_4EClass, XmlNoSql_2_4.class, "XmlNoSql_2_4", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlNoSql_2_4_DataType(), theXMLTypePackage.getString(), "dataType", null, 0, 1, XmlNoSql_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlNoSql_2_4_DataFormat(), this.getDataFormatType(), "dataFormat", "", 0, 1, XmlNoSql_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlOneToMany_2_4EClass, XmlOneToMany_2_4.class, "XmlOneToMany_2_4", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlOneToMany_2_4_JoinFields(), this.getXmlJoinField_2_4(), null, "joinFields", null, 0, -1, XmlOneToMany_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlOneToMany_2_4_DeleteAll(), theXMLTypePackage.getBoolean(), "deleteAll", null, 0, 1, XmlOneToMany_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlOneToOne_2_4EClass, XmlOneToOne_2_4.class, "XmlOneToOne_2_4", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlOneToOne_2_4_JoinFields(), this.getXmlJoinField_2_4(), null, "joinFields", null, 0, -1, XmlOneToOne_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlTenantTableDiscriminator_2_4EClass, XmlTenantTableDiscriminator_2_4.class, "XmlTenantTableDiscriminator_2_4", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlTenantTableDiscriminator_2_4_ContextProperty(), theXMLTypePackage.getString(), "contextProperty", null, 0, 1, XmlTenantTableDiscriminator_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlTenantTableDiscriminator_2_4_Type(), this.getTenantTableDiscriminatorType(), "type", null, 0, 1, XmlTenantTableDiscriminator_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlUuidGenerator_2_4EClass, XmlUuidGenerator_2_4.class, "XmlUuidGenerator_2_4", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + // Initialize enums and add enum literals + initEEnum(databaseChangeNotificationTypeEEnum, DatabaseChangeNotificationType.class, "DatabaseChangeNotificationType"); + addEEnumLiteral(databaseChangeNotificationTypeEEnum, DatabaseChangeNotificationType.NONE); + addEEnumLiteral(databaseChangeNotificationTypeEEnum, DatabaseChangeNotificationType.INVALIDATION); + + initEEnum(tenantTableDiscriminatorTypeEEnum, TenantTableDiscriminatorType.class, "TenantTableDiscriminatorType"); + addEEnumLiteral(tenantTableDiscriminatorTypeEEnum, TenantTableDiscriminatorType.SCHEMA); + addEEnumLiteral(tenantTableDiscriminatorTypeEEnum, TenantTableDiscriminatorType.SUFFIX); + addEEnumLiteral(tenantTableDiscriminatorTypeEEnum, TenantTableDiscriminatorType.PREFIX); + + initEEnum(dataFormatTypeEEnum, DataFormatType.class, "DataFormatType"); + addEEnumLiteral(dataFormatTypeEEnum, DataFormatType.XML); + addEEnumLiteral(dataFormatTypeEEnum, DataFormatType.INDEXED); + addEEnumLiteral(dataFormatTypeEEnum, DataFormatType.MAPPED); + } + + /** + * + * Defines literals for the meta objects that represent + *

    + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • + *
+ * + * @generated + */ + public interface Literals + { + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMultitenant_2_4 Xml Multitenant 24}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMultitenant_2_4 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlMultitenant_2_4() + * @generated + */ + public static final EClass XML_MULTITENANT_24 = eINSTANCE.getXmlMultitenant_2_4(); + + /** + * The meta object literal for the 'Include Criteria' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_MULTITENANT_24__INCLUDE_CRITERIA = eINSTANCE.getXmlMultitenant_2_4_IncludeCriteria(); + + /** + * The meta object literal for the 'Tenant Table Discriminator' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_MULTITENANT_24__TENANT_TABLE_DISCRIMINATOR = eINSTANCE.getXmlMultitenant_2_4_TenantTableDiscriminator(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlNoSql_2_4 Xml No Sql 24}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlNoSql_2_4 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlNoSql_2_4() + * @generated + */ + public static final EClass XML_NO_SQL_24 = eINSTANCE.getXmlNoSql_2_4(); + + /** + * The meta object literal for the 'Data Type' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_NO_SQL_24__DATA_TYPE = eINSTANCE.getXmlNoSql_2_4_DataType(); + + /** + * The meta object literal for the 'Data Format' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_NO_SQL_24__DATA_FORMAT = eINSTANCE.getXmlNoSql_2_4_DataFormat(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlElementCollection_2_4 Xml Element Collection 24}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlElementCollection_2_4 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlElementCollection_2_4() + * @generated + */ + public static final EClass XML_ELEMENT_COLLECTION_24 = eINSTANCE.getXmlElementCollection_2_4(); + + /** + * The meta object literal for the 'Field' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_ELEMENT_COLLECTION_24__FIELD = eINSTANCE.getXmlElementCollection_2_4_Field(); + + /** + * The meta object literal for the 'Delete All' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_ELEMENT_COLLECTION_24__DELETE_ALL = eINSTANCE.getXmlElementCollection_2_4_DeleteAll(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEmbeddable_2_4 Xml Embeddable 24}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEmbeddable_2_4 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlEmbeddable_2_4() + * @generated + */ + public static final EClass XML_EMBEDDABLE_24 = eINSTANCE.getXmlEmbeddable_2_4(); + + /** + * The meta object literal for the 'No Sql' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_EMBEDDABLE_24__NO_SQL = eINSTANCE.getXmlEmbeddable_2_4_NoSql(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEmbedded_2_4 Xml Embedded 24}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEmbedded_2_4 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlEmbedded_2_4() + * @generated + */ + public static final EClass XML_EMBEDDED_24 = eINSTANCE.getXmlEmbedded_2_4(); + + /** + * The meta object literal for the 'Field' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_EMBEDDED_24__FIELD = eINSTANCE.getXmlEmbedded_2_4_Field(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToMany_2_4 Xml One To Many 24}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToMany_2_4 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlOneToMany_2_4() + * @generated + */ + public static final EClass XML_ONE_TO_MANY_24 = eINSTANCE.getXmlOneToMany_2_4(); + + /** + * The meta object literal for the 'Join Fields' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_ONE_TO_MANY_24__JOIN_FIELDS = eINSTANCE.getXmlOneToMany_2_4_JoinFields(); + + /** + * The meta object literal for the 'Delete All' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_ONE_TO_MANY_24__DELETE_ALL = eINSTANCE.getXmlOneToMany_2_4_DeleteAll(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToOne_2_4 Xml One To One 24}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToOne_2_4 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlOneToOne_2_4() + * @generated + */ + public static final EClass XML_ONE_TO_ONE_24 = eINSTANCE.getXmlOneToOne_2_4(); + + /** + * The meta object literal for the 'Join Fields' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_ONE_TO_ONE_24__JOIN_FIELDS = eINSTANCE.getXmlOneToOne_2_4_JoinFields(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlTenantTableDiscriminator_2_4 Xml Tenant Table Discriminator 24}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlTenantTableDiscriminator_2_4 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlTenantTableDiscriminator_2_4() + * @generated + */ + public static final EClass XML_TENANT_TABLE_DISCRIMINATOR_24 = eINSTANCE.getXmlTenantTableDiscriminator_2_4(); + + /** + * The meta object literal for the 'Context Property' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_TENANT_TABLE_DISCRIMINATOR_24__CONTEXT_PROPERTY = eINSTANCE.getXmlTenantTableDiscriminator_2_4_ContextProperty(); + + /** + * The meta object literal for the 'Type' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_TENANT_TABLE_DISCRIMINATOR_24__TYPE = eINSTANCE.getXmlTenantTableDiscriminator_2_4_Type(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlUuidGenerator_2_4 Xml Uuid Generator 24}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlUuidGenerator_2_4 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlUuidGenerator_2_4() + * @generated + */ + public static final EClass XML_UUID_GENERATOR_24 = eINSTANCE.getXmlUuidGenerator_2_4(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntity_2_4 Xml Entity 24}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntity_2_4 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlEntity_2_4() + * @generated + */ + public static final EClass XML_ENTITY_24 = eINSTANCE.getXmlEntity_2_4(); + + /** + * The meta object literal for the 'Cache Index' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_ENTITY_24__CACHE_INDEX = eINSTANCE.getXmlEntity_2_4_CacheIndex(); + + /** + * The meta object literal for the 'No Sql' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_ENTITY_24__NO_SQL = eINSTANCE.getXmlEntity_2_4_NoSql(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntityMappings_2_4 Xml Entity Mappings 24}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntityMappings_2_4 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlEntityMappings_2_4() + * @generated + */ + public static final EClass XML_ENTITY_MAPPINGS_24 = eINSTANCE.getXmlEntityMappings_2_4(); + + /** + * The meta object literal for the 'Uuid Generators' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_ENTITY_MAPPINGS_24__UUID_GENERATORS = eINSTANCE.getXmlEntityMappings_2_4_UuidGenerators(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlField_2_4 Xml Field 24}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlField_2_4 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlField_2_4() + * @generated + */ + public static final EClass XML_FIELD_24 = eINSTANCE.getXmlField_2_4(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_FIELD_24__NAME = eINSTANCE.getXmlField_2_4_Name(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlBasic_2_4 Xml Basic 24}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlBasic_2_4 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlBasic_2_4() + * @generated + */ + public static final EClass XML_BASIC_24 = eINSTANCE.getXmlBasic_2_4(); + + /** + * The meta object literal for the 'Field' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_BASIC_24__FIELD = eINSTANCE.getXmlBasic_2_4_Field(); + + /** + * The meta object literal for the 'Cache Index' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_BASIC_24__CACHE_INDEX = eINSTANCE.getXmlBasic_2_4_CacheIndex(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlCache_2_4 Xml Cache 24}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlCache_2_4 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlCache_2_4() + * @generated + */ + public static final EClass XML_CACHE_24 = eINSTANCE.getXmlCache_2_4(); + + /** + * The meta object literal for the 'Database Change Notification Type' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_CACHE_24__DATABASE_CHANGE_NOTIFICATION_TYPE = eINSTANCE.getXmlCache_2_4_DatabaseChangeNotificationType(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlCacheIndex_2_4 Xml Cache Index 24}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlCacheIndex_2_4 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlCacheIndex_2_4() + * @generated + */ + public static final EClass XML_CACHE_INDEX_24 = eINSTANCE.getXmlCacheIndex_2_4(); + + /** + * The meta object literal for the 'Column Names' attribute list feature. + * + * + * @generated + */ + public static final EAttribute XML_CACHE_INDEX_24__COLUMN_NAMES = eINSTANCE.getXmlCacheIndex_2_4_ColumnNames(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlGeneratorContainer2_4 Xml Generator Container2 4}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlGeneratorContainer2_4 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlGeneratorContainer2_4() + * @generated + */ + public static final EClass XML_GENERATOR_CONTAINER2_4 = eINSTANCE.getXmlGeneratorContainer2_4(); + + /** + * The meta object literal for the 'Uuid Generator' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_GENERATOR_CONTAINER2_4__UUID_GENERATOR = eINSTANCE.getXmlGeneratorContainer2_4_UuidGenerator(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlId_2_4 Xml Id 24}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlId_2_4 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlId_2_4() + * @generated + */ + public static final EClass XML_ID_24 = eINSTANCE.getXmlId_2_4(); + + /** + * The meta object literal for the 'Field' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_ID_24__FIELD = eINSTANCE.getXmlId_2_4_Field(); + + /** + * The meta object literal for the 'Cache Index' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_ID_24__CACHE_INDEX = eINSTANCE.getXmlId_2_4_CacheIndex(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlJoinField_2_4 Xml Join Field 24}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlJoinField_2_4 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlJoinField_2_4() + * @generated + */ + public static final EClass XML_JOIN_FIELD_24 = eINSTANCE.getXmlJoinField_2_4(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_JOIN_FIELD_24__NAME = eINSTANCE.getXmlJoinField_2_4_Name(); + + /** + * The meta object literal for the 'Referenced Field Name' attribute feature. + * + * + * @generated + */ + public static final EAttribute XML_JOIN_FIELD_24__REFERENCED_FIELD_NAME = eINSTANCE.getXmlJoinField_2_4_ReferencedFieldName(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlManyToMany_2_4 Xml Many To Many 24}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlManyToMany_2_4 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlManyToMany_2_4() + * @generated + */ + public static final EClass XML_MANY_TO_MANY_24 = eINSTANCE.getXmlManyToMany_2_4(); + + /** + * The meta object literal for the 'Join Fields' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_MANY_TO_MANY_24__JOIN_FIELDS = eINSTANCE.getXmlManyToMany_2_4_JoinFields(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlManyToOne_2_4 Xml Many To One 24}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlManyToOne_2_4 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlManyToOne_2_4() + * @generated + */ + public static final EClass XML_MANY_TO_ONE_24 = eINSTANCE.getXmlManyToOne_2_4(); + + /** + * The meta object literal for the 'Join Fields' containment reference list feature. + * + * + * @generated + */ + public static final EReference XML_MANY_TO_ONE_24__JOIN_FIELDS = eINSTANCE.getXmlManyToOne_2_4_JoinFields(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMappedSuperclass_2_4 Xml Mapped Superclass 24}' class. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMappedSuperclass_2_4 + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlMappedSuperclass_2_4() + * @generated + */ + public static final EClass XML_MAPPED_SUPERCLASS_24 = eINSTANCE.getXmlMappedSuperclass_2_4(); + + /** + * The meta object literal for the 'Cache Index' containment reference feature. + * + * + * @generated + */ + public static final EReference XML_MAPPED_SUPERCLASS_24__CACHE_INDEX = eINSTANCE.getXmlMappedSuperclass_2_4_CacheIndex(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.DatabaseChangeNotificationType Database Change Notification Type}' enum. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.DatabaseChangeNotificationType + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getDatabaseChangeNotificationType() + * @generated + */ + public static final EEnum DATABASE_CHANGE_NOTIFICATION_TYPE = eINSTANCE.getDatabaseChangeNotificationType(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.TenantTableDiscriminatorType Tenant Table Discriminator Type}' enum. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.TenantTableDiscriminatorType + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getTenantTableDiscriminatorType() + * @generated + */ + public static final EEnum TENANT_TABLE_DISCRIMINATOR_TYPE = eINSTANCE.getTenantTableDiscriminatorType(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.DataFormatType Data Format Type}' enum. + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.DataFormatType + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getDataFormatType() + * @generated + */ + public static final EEnum DATA_FORMAT_TYPE = eINSTANCE.getDataFormatType(); + + } + +} //EclipseLinkOrmV2_4Package diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/TenantTableDiscriminatorType.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/TenantTableDiscriminatorType.java new file mode 100644 index 0000000000..ec69ebbac1 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/TenantTableDiscriminatorType.java @@ -0,0 +1,262 @@ +/******************************************************************************* + * 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.v2_4; + +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 'Tenant Table Discriminator 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. + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getTenantTableDiscriminatorType() + * @model + * @generated + */ +public enum TenantTableDiscriminatorType implements Enumerator +{ + /** + * The 'SCHEMA' literal object. + * + * + * @see #SCHEMA_VALUE + * @generated + * @ordered + */ + SCHEMA(0, "SCHEMA", "SCHEMA"), + + /** + * The 'SUFFIX' literal object. + * + * + * @see #SUFFIX_VALUE + * @generated + * @ordered + */ + SUFFIX(1, "SUFFIX", "SUFFIX"), + + /** + * The 'PREFIX' literal object. + * + * + * @see #PREFIX_VALUE + * @generated + * @ordered + */ + PREFIX(2, "PREFIX", "PREFIX"); + + /** + * The 'SCHEMA' literal value. + * + *

+ * If the meaning of 'SCHEMA' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #SCHEMA + * @model + * @generated + * @ordered + */ + public static final int SCHEMA_VALUE = 0; + + /** + * The 'SUFFIX' literal value. + * + *

+ * If the meaning of 'SUFFIX' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #SUFFIX + * @model + * @generated + * @ordered + */ + public static final int SUFFIX_VALUE = 1; + + /** + * The 'PREFIX' literal value. + * + *

+ * If the meaning of 'PREFIX' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #PREFIX + * @model + * @generated + * @ordered + */ + public static final int PREFIX_VALUE = 2; + + /** + * An array of all the 'Tenant Table Discriminator Type' enumerators. + * + * + * @generated + */ + private static final TenantTableDiscriminatorType[] VALUES_ARRAY = + new TenantTableDiscriminatorType[] + { + SCHEMA, + SUFFIX, + PREFIX, + }; + + /** + * A public read-only list of all the 'Tenant Table Discriminator Type' enumerators. + * + * + * @generated + */ + public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the 'Tenant Table Discriminator Type' literal with the specified literal value. + * + * + * @generated + */ + public static TenantTableDiscriminatorType get(String literal) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + TenantTableDiscriminatorType result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Tenant Table Discriminator Type' literal with the specified name. + * + * + * @generated + */ + public static TenantTableDiscriminatorType getByName(String name) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + TenantTableDiscriminatorType result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Tenant Table Discriminator Type' literal with the specified integer value. + * + * + * @generated + */ + public static TenantTableDiscriminatorType get(int value) + { + switch (value) + { + case SCHEMA_VALUE: return SCHEMA; + case SUFFIX_VALUE: return SUFFIX; + case PREFIX_VALUE: return PREFIX; + } + return null; + } + + /** + * + * + * @generated + */ + private final int value; + + /** + * + * + * @generated + */ + private final String name; + + /** + * + * + * @generated + */ + private final String literal; + + /** + * Only this class can construct instances. + * + * + * @generated + */ + private TenantTableDiscriminatorType(int value, String name, String literal) + { + this.value = value; + this.name = name; + this.literal = literal; + } + + /** + * + * + * @generated + */ + public int getValue() + { + return value; + } + + /** + * + * + * @generated + */ + public String getName() + { + return name; + } + + /** + * + * + * @generated + */ + public String getLiteral() + { + return literal; + } + + /** + * Returns the literal value of the enumerator, which is its string representation. + * + * + * @generated + */ + @Override + public String toString() + { + return literal; + } + +} //TenantTableDiscriminatorType diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlBasic_2_4.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlBasic_2_4.java new file mode 100644 index 0000000000..c02ce4129b --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlBasic_2_4.java @@ -0,0 +1,84 @@ +/******************************************************************************* + * 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.v2_4; + + +/** + * + * A representation of the model object 'Xml Basic 24'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlBasic_2_4#getField Field}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlBasic_2_4#getCacheIndex Cache Index}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlBasic_2_4() + * @model kind="class" interface="true" abstract="true" + * @generated + */ +public interface XmlBasic_2_4 extends XmlGeneratorContainer2_4 +{ + /** + * 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.v2_4.EclipseLinkOrmV2_4Package#getXmlBasic_2_4_Field() + * @model containment="true" + * @generated + */ + XmlField_2_4 getField(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlBasic_2_4#getField Field}' containment reference. + * + * + * @param value the new value of the 'Field' containment reference. + * @see #getField() + * @generated + */ + void setField(XmlField_2_4 value); + + /** + * 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.v2_4.EclipseLinkOrmV2_4Package#getXmlBasic_2_4_CacheIndex() + * @model containment="true" + * @generated + */ + XmlCacheIndex_2_4 getCacheIndex(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlBasic_2_4#getCacheIndex Cache Index}' containment reference. + * + * + * @param value the new value of the 'Cache Index' containment reference. + * @see #getCacheIndex() + * @generated + */ + void setCacheIndex(XmlCacheIndex_2_4 value); + +} // XmlBasic_2_4 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlCacheIndex_2_4.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlCacheIndex_2_4.java new file mode 100644 index 0000000000..f0cd90708f --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlCacheIndex_2_4.java @@ -0,0 +1,50 @@ +/******************************************************************************* + * 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.v2_4; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Cache Index 24'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlCacheIndex_2_4#getColumnNames Column Names}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlCacheIndex_2_4() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlCacheIndex_2_4 extends EBaseObject +{ + /** + * 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.v2_4.EclipseLinkOrmV2_4Package#getXmlCacheIndex_2_4_ColumnNames() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + EList getColumnNames(); + +} // XmlCacheIndex_2_4 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlCache_2_4.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlCache_2_4.java new file mode 100644 index 0000000000..898398f334 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlCache_2_4.java @@ -0,0 +1,63 @@ +/******************************************************************************* + * 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.v2_4; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Cache2 4'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlCache_2_4#getDatabaseChangeNotificationType Database Change Notification Type}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlCache_2_4() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlCache_2_4 extends EBaseObject +{ + /** + * 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.v2_4.EclipseLinkOrmV2_4Package#getXmlCache_2_4_DatabaseChangeNotificationType() + * @model default="" + * @generated + */ + DatabaseChangeNotificationType getDatabaseChangeNotificationType(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlCache_2_4#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 + */ + void setDatabaseChangeNotificationType(DatabaseChangeNotificationType value); + +} // XmlCache2_4 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlElementCollection_2_4.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlElementCollection_2_4.java new file mode 100644 index 0000000000..31ea975470 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlElementCollection_2_4.java @@ -0,0 +1,86 @@ +/******************************************************************************* + * 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.v2_4; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Element Collection 24'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlElementCollection_2_4#getField Field}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlElementCollection_2_4#isDeleteAll Delete All}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlElementCollection_2_4() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlElementCollection_2_4 extends EBaseObject +{ + /** + * 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.v2_4.EclipseLinkOrmV2_4Package#getXmlElementCollection_2_4_Field() + * @model containment="true" + * @generated + */ + XmlField_2_4 getField(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlElementCollection_2_4#getField Field}' containment reference. + * + * + * @param value the new value of the 'Field' containment reference. + * @see #getField() + * @generated + */ + void setField(XmlField_2_4 value); + + /** + * 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.v2_4.EclipseLinkOrmV2_4Package#getXmlElementCollection_2_4_DeleteAll() + * @model dataType="org.eclipse.emf.ecore.xml.type.Boolean" + * @generated + */ + boolean isDeleteAll(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlElementCollection_2_4#isDeleteAll Delete All}' attribute. + * + * + * @param value the new value of the 'Delete All' attribute. + * @see #isDeleteAll() + * @generated + */ + void setDeleteAll(boolean value); + +} // XmlElementCollection_2_4 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlEmbeddable_2_4.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlEmbeddable_2_4.java new file mode 100644 index 0000000000..a3b47b4d49 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlEmbeddable_2_4.java @@ -0,0 +1,65 @@ +/******************************************************************************* + * 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.v2_4; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Embeddable 24'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEmbeddable_2_4#getNoSql No Sql}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlEmbeddable_2_4() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlEmbeddable_2_4 extends EBaseObject +{ + /** + * 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.v2_4.EclipseLinkOrmV2_4Package#getXmlEmbeddable_2_4_NoSql() + * @model containment="true" + * @generated + */ + XmlNoSql_2_4 getNoSql(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEmbeddable_2_4#getNoSql No Sql}' containment reference. + * + * + * @param value the new value of the 'No Sql' containment reference. + * @see #getNoSql() + * @generated + */ + void setNoSql(XmlNoSql_2_4 value); + +} // XmlEmbeddable_2_4 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlEmbedded_2_4.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlEmbedded_2_4.java new file mode 100644 index 0000000000..6013ce4e48 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlEmbedded_2_4.java @@ -0,0 +1,65 @@ +/******************************************************************************* + * 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.v2_4; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Embedded 24'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEmbedded_2_4#getField Field}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlEmbedded_2_4() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlEmbedded_2_4 extends EBaseObject +{ + /** + * 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.v2_4.EclipseLinkOrmV2_4Package#getXmlEmbedded_2_4_Field() + * @model containment="true" + * @generated + */ + XmlField_2_4 getField(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEmbedded_2_4#getField Field}' containment reference. + * + * + * @param value the new value of the 'Field' containment reference. + * @see #getField() + * @generated + */ + void setField(XmlField_2_4 value); + +} // XmlEmbedded_2_4 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlEntityMappings_2_4.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlEntityMappings_2_4.java new file mode 100644 index 0000000000..9c16a12166 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlEntityMappings_2_4.java @@ -0,0 +1,56 @@ +/******************************************************************************* + * 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.v2_4; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Entity Mappings 24'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntityMappings_2_4#getUuidGenerators Uuid Generators}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlEntityMappings_2_4() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlEntityMappings_2_4 extends EBaseObject +{ + /** + * Returns the value of the 'Uuid Generators' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlUuidGenerator_2_4}. + * + *

+ * 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.v2_4.EclipseLinkOrmV2_4Package#getXmlEntityMappings_2_4_UuidGenerators() + * @model containment="true" + * @generated + */ + EList getUuidGenerators(); + +} // XmlEntityMappings_2_4 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlEntity_2_4.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlEntity_2_4.java new file mode 100644 index 0000000000..f0bc085580 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlEntity_2_4.java @@ -0,0 +1,83 @@ +/******************************************************************************* + * 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.v2_4; + +/** + * + * A representation of the model object 'Xml Entity 24'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntity_2_4#getCacheIndex Cache Index}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntity_2_4#getNoSql No Sql}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlEntity_2_4() + * @model kind="class" interface="true" abstract="true" + * @generated + */ +public interface XmlEntity_2_4 extends XmlGeneratorContainer2_4 +{ + /** + * 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.v2_4.EclipseLinkOrmV2_4Package#getXmlEntity_2_4_CacheIndex() + * @model containment="true" + * @generated + */ + XmlCacheIndex_2_4 getCacheIndex(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntity_2_4#getCacheIndex Cache Index}' containment reference. + * + * + * @param value the new value of the 'Cache Index' containment reference. + * @see #getCacheIndex() + * @generated + */ + void setCacheIndex(XmlCacheIndex_2_4 value); + + /** + * 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.v2_4.EclipseLinkOrmV2_4Package#getXmlEntity_2_4_NoSql() + * @model containment="true" + * @generated + */ + XmlNoSql_2_4 getNoSql(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntity_2_4#getNoSql No Sql}' containment reference. + * + * + * @param value the new value of the 'No Sql' containment reference. + * @see #getNoSql() + * @generated + */ + void setNoSql(XmlNoSql_2_4 value); + +} // XmlEntity_2_4 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlField_2_4.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlField_2_4.java new file mode 100644 index 0000000000..62a25fe915 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlField_2_4.java @@ -0,0 +1,65 @@ +/******************************************************************************* + * 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.v2_4; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Field 24'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlField_2_4#getName Name}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlField_2_4() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlField_2_4 extends EBaseObject +{ + /** + * 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.v2_4.EclipseLinkOrmV2_4Package#getXmlField_2_4_Name() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlField_2_4#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + +} // XmlField_2_4 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlGeneratorContainer2_4.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlGeneratorContainer2_4.java new file mode 100644 index 0000000000..eeb63cf55d --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlGeneratorContainer2_4.java @@ -0,0 +1,58 @@ +/******************************************************************************* + * 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.v2_4; + +import org.eclipse.jpt.jpa.core.resource.orm.XmlGeneratorContainer; + +/** + * + * A representation of the model object 'Xml Generator Container2 4'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlGeneratorContainer2_4#getUuidGenerator Uuid Generator}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlGeneratorContainer2_4() + * @model kind="class" interface="true" abstract="true" + * @generated + */ +public interface XmlGeneratorContainer2_4 extends XmlGeneratorContainer +{ + /** + * 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.v2_4.EclipseLinkOrmV2_4Package#getXmlGeneratorContainer2_4_UuidGenerator() + * @model containment="true" + * @generated + */ + XmlUuidGenerator_2_4 getUuidGenerator(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlGeneratorContainer2_4#getUuidGenerator Uuid Generator}' containment reference. + * + * + * @param value the new value of the 'Uuid Generator' containment reference. + * @see #getUuidGenerator() + * @generated + */ + void setUuidGenerator(XmlUuidGenerator_2_4 value); + +} // XmlGeneratorContainer2_4 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlId_2_4.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlId_2_4.java new file mode 100644 index 0000000000..b69222f1b1 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlId_2_4.java @@ -0,0 +1,83 @@ +/******************************************************************************* + * 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.v2_4; + +/** + * + * A representation of the model object 'Xml Id 24'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlId_2_4#getField Field}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlId_2_4#getCacheIndex Cache Index}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlId_2_4() + * @model kind="class" interface="true" abstract="true" + * @generated + */ +public interface XmlId_2_4 extends XmlGeneratorContainer2_4 +{ + /** + * 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.v2_4.EclipseLinkOrmV2_4Package#getXmlId_2_4_Field() + * @model containment="true" + * @generated + */ + XmlField_2_4 getField(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlId_2_4#getField Field}' containment reference. + * + * + * @param value the new value of the 'Field' containment reference. + * @see #getField() + * @generated + */ + void setField(XmlField_2_4 value); + + /** + * 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.v2_4.EclipseLinkOrmV2_4Package#getXmlId_2_4_CacheIndex() + * @model containment="true" + * @generated + */ + XmlCacheIndex_2_4 getCacheIndex(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlId_2_4#getCacheIndex Cache Index}' containment reference. + * + * + * @param value the new value of the 'Cache Index' containment reference. + * @see #getCacheIndex() + * @generated + */ + void setCacheIndex(XmlCacheIndex_2_4 value); + +} // XmlId_2_4 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlJoinField_2_4.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlJoinField_2_4.java new file mode 100644 index 0000000000..3cbff96f89 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlJoinField_2_4.java @@ -0,0 +1,92 @@ +/******************************************************************************* + * 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.v2_4; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Join Field 24'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlJoinField_2_4#getName Name}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlJoinField_2_4#getReferencedFieldName Referenced Field Name}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlJoinField_2_4() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlJoinField_2_4 extends EBaseObject +{ + /** + * 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.v2_4.EclipseLinkOrmV2_4Package#getXmlJoinField_2_4_Name() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlJoinField_2_4#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + + /** + * 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.v2_4.EclipseLinkOrmV2_4Package#getXmlJoinField_2_4_ReferencedFieldName() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getReferencedFieldName(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlJoinField_2_4#getReferencedFieldName Referenced Field Name}' attribute. + * + * + * @param value the new value of the 'Referenced Field Name' attribute. + * @see #getReferencedFieldName() + * @generated + */ + void setReferencedFieldName(String value); + +} // XmlJoinField_2_4 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlManyToMany_2_4.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlManyToMany_2_4.java new file mode 100644 index 0000000000..ef14af273f --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlManyToMany_2_4.java @@ -0,0 +1,56 @@ +/******************************************************************************* + * 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.v2_4; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Many To Many 24'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlManyToMany_2_4#getJoinFields Join Fields}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlManyToMany_2_4() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlManyToMany_2_4 extends EBaseObject +{ + /** + * Returns the value of the 'Join Fields' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlJoinField_2_4}. + * + *

+ * If the meaning of the 'Join Fields' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Join Fields' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlManyToMany_2_4_JoinFields() + * @model containment="true" + * @generated + */ + EList getJoinFields(); + +} // XmlManyToMany_2_4 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlManyToOne_2_4.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlManyToOne_2_4.java new file mode 100644 index 0000000000..0a9a5a5332 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlManyToOne_2_4.java @@ -0,0 +1,56 @@ +/******************************************************************************* + * 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.v2_4; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Many To One 24'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlManyToOne_2_4#getJoinFields Join Fields}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlManyToOne_2_4() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlManyToOne_2_4 extends EBaseObject +{ + /** + * Returns the value of the 'Join Fields' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlJoinField_2_4}. + * + *

+ * If the meaning of the 'Join Fields' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Join Fields' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlManyToOne_2_4_JoinFields() + * @model containment="true" + * @generated + */ + EList getJoinFields(); + +} // XmlManyToOne_2_4 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlMappedSuperclass_2_4.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlMappedSuperclass_2_4.java new file mode 100644 index 0000000000..2ebf36b060 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlMappedSuperclass_2_4.java @@ -0,0 +1,56 @@ +/******************************************************************************* + * 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.v2_4; + +/** + * + * A representation of the model object 'Xml Mapped Superclass 24'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMappedSuperclass_2_4#getCacheIndex Cache Index}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlMappedSuperclass_2_4() + * @model kind="class" interface="true" abstract="true" + * @generated + */ +public interface XmlMappedSuperclass_2_4 extends XmlGeneratorContainer2_4 +{ + /** + * 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.v2_4.EclipseLinkOrmV2_4Package#getXmlMappedSuperclass_2_4_CacheIndex() + * @model containment="true" + * @generated + */ + XmlCacheIndex_2_4 getCacheIndex(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMappedSuperclass_2_4#getCacheIndex Cache Index}' containment reference. + * + * + * @param value the new value of the 'Cache Index' containment reference. + * @see #getCacheIndex() + * @generated + */ + void setCacheIndex(XmlCacheIndex_2_4 value); + +} // XmlMappedSuperclass_2_4 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlMultitenant_2_4.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlMultitenant_2_4.java new file mode 100644 index 0000000000..d75c4eb93f --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlMultitenant_2_4.java @@ -0,0 +1,89 @@ +/******************************************************************************* + * 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.v2_4; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; +import org.eclipse.jpt.common.core.utility.TextRange; + +/** + * + * A representation of the model object 'Xml Multitenant 24'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMultitenant_2_4#getIncludeCriteria Include Criteria}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMultitenant_2_4#getTenantTableDiscriminator Tenant Table Discriminator}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlMultitenant_2_4() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlMultitenant_2_4 extends EBaseObject +{ + /** + * Returns the value of the 'Include Criteria' attribute. + * + *

+ * If the meaning of the 'Include Criteria' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Include Criteria' attribute. + * @see #setIncludeCriteria(Boolean) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlMultitenant_2_4_IncludeCriteria() + * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" + * @generated + */ + Boolean getIncludeCriteria(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMultitenant_2_4#getIncludeCriteria Include Criteria}' attribute. + * + * + * @param value the new value of the 'Include Criteria' attribute. + * @see #getIncludeCriteria() + * @generated + */ + void setIncludeCriteria(Boolean value); + + /** + * Returns the value of the 'Tenant Table Discriminator' containment reference. + * + *

+ * If the meaning of the 'Tenant Table Discriminator' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Tenant Table Discriminator' containment reference. + * @see #setTenantTableDiscriminator(XmlTenantTableDiscriminator_2_4) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlMultitenant_2_4_TenantTableDiscriminator() + * @model containment="true" + * @generated + */ + XmlTenantTableDiscriminator_2_4 getTenantTableDiscriminator(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMultitenant_2_4#getTenantTableDiscriminator Tenant Table Discriminator}' containment reference. + * + * + * @param value the new value of the 'Tenant Table Discriminator' containment reference. + * @see #getTenantTableDiscriminator() + * @generated + */ + void setTenantTableDiscriminator(XmlTenantTableDiscriminator_2_4 value); + + TextRange getIncludeCriteriaTextRange(); + +} // XmlMultitenant_2_4 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlNoSql_2_4.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlNoSql_2_4.java new file mode 100644 index 0000000000..05c8cb79ba --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlNoSql_2_4.java @@ -0,0 +1,96 @@ +/******************************************************************************* + * 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.v2_4; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml No Sql 24'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlNoSql_2_4#getDataType Data Type}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlNoSql_2_4#getDataFormat Data Format}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlNoSql_2_4() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlNoSql_2_4 extends EBaseObject +{ + /** + * Returns the value of the 'Data Type' attribute. + * + *

+ * If the meaning of the 'Data Type' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Data Type' attribute. + * @see #setDataType(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlNoSql_2_4_DataType() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getDataType(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlNoSql_2_4#getDataType Data Type}' attribute. + * + * + * @param value the new value of the 'Data Type' attribute. + * @see #getDataType() + * @generated + */ + void setDataType(String value); + + /** + * Returns the value of the 'Data Format' attribute. + * The default value is "". + * The literals are from the enumeration {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.DataFormatType}. + * + *

+ * If the meaning of the 'Data Format' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Data Format' attribute. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.DataFormatType + * @see #setDataFormat(DataFormatType) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlNoSql_2_4_DataFormat() + * @model default="" + * @generated + */ + DataFormatType getDataFormat(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlNoSql_2_4#getDataFormat Data Format}' attribute. + * + * + * @param value the new value of the 'Data Format' attribute. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.DataFormatType + * @see #getDataFormat() + * @generated + */ + void setDataFormat(DataFormatType value); + +} // XmlNoSql_2_4 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlOneToMany_2_4.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlOneToMany_2_4.java new file mode 100644 index 0000000000..190b9ddcd0 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlOneToMany_2_4.java @@ -0,0 +1,77 @@ +/******************************************************************************* + * 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.v2_4; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml One To Many 24'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToMany_2_4#getJoinFields Join Fields}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToMany_2_4#isDeleteAll Delete All}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlOneToMany_2_4() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlOneToMany_2_4 extends EBaseObject +{ + /** + * Returns the value of the 'Join Fields' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlJoinField_2_4}. + * + *

+ * If the meaning of the 'Join Fields' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Join Fields' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlOneToMany_2_4_JoinFields() + * @model containment="true" + * @generated + */ + EList getJoinFields(); + + /** + * 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.v2_4.EclipseLinkOrmV2_4Package#getXmlOneToMany_2_4_DeleteAll() + * @model dataType="org.eclipse.emf.ecore.xml.type.Boolean" + * @generated + */ + boolean isDeleteAll(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToMany_2_4#isDeleteAll Delete All}' attribute. + * + * + * @param value the new value of the 'Delete All' attribute. + * @see #isDeleteAll() + * @generated + */ + void setDeleteAll(boolean value); + +} // XmlOneToMany_2_4 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlOneToOne_2_4.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlOneToOne_2_4.java new file mode 100644 index 0000000000..dc2a7d91e8 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlOneToOne_2_4.java @@ -0,0 +1,56 @@ +/******************************************************************************* + * 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.v2_4; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml One To One 24'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToOne_2_4#getJoinFields Join Fields}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlOneToOne_2_4() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlOneToOne_2_4 extends EBaseObject +{ + /** + * Returns the value of the 'Join Fields' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlJoinField_2_4}. + * + *

+ * If the meaning of the 'Join Fields' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Join Fields' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlOneToOne_2_4_JoinFields() + * @model containment="true" + * @generated + */ + EList getJoinFields(); + +} // XmlOneToOne_2_4 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlTenantTableDiscriminator_2_4.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlTenantTableDiscriminator_2_4.java new file mode 100644 index 0000000000..864672709e --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlTenantTableDiscriminator_2_4.java @@ -0,0 +1,95 @@ +/******************************************************************************* + * 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.v2_4; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Tenant Table Discriminator 24'. + * + * 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: + *

    + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlTenantTableDiscriminator_2_4#getContextProperty Context Property}
  • + *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlTenantTableDiscriminator_2_4#getType Type}
  • + *
+ *

+ * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlTenantTableDiscriminator_2_4() + * @model kind="class" interface="true" abstract="true" + * @extends EBaseObject + * @generated + */ +public interface XmlTenantTableDiscriminator_2_4 extends EBaseObject +{ + /** + * Returns the value of the 'Context Property' attribute. + * + *

+ * If the meaning of the 'Context Property' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Context Property' attribute. + * @see #setContextProperty(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlTenantTableDiscriminator_2_4_ContextProperty() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getContextProperty(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlTenantTableDiscriminator_2_4#getContextProperty Context Property}' attribute. + * + * + * @param value the new value of the 'Context Property' attribute. + * @see #getContextProperty() + * @generated + */ + void setContextProperty(String value); + + /** + * Returns the value of the 'Type' attribute. + * The literals are from the enumeration {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.TenantTableDiscriminatorType}. + * + *

+ * 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.v2_4.TenantTableDiscriminatorType + * @see #setType(TenantTableDiscriminatorType) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlTenantTableDiscriminator_2_4_Type() + * @model + * @generated + */ + TenantTableDiscriminatorType getType(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlTenantTableDiscriminator_2_4#getType Type}' attribute. + * + * + * @param value the new value of the 'Type' attribute. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.TenantTableDiscriminatorType + * @see #getType() + * @generated + */ + void setType(TenantTableDiscriminatorType value); + +} // XmlTenantTableDiscriminator_2_4 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlUuidGenerator_2_4.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlUuidGenerator_2_4.java new file mode 100644 index 0000000000..cea67aa230 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlUuidGenerator_2_4.java @@ -0,0 +1,33 @@ +/******************************************************************************* + * 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.v2_4; + +import org.eclipse.jpt.jpa.core.resource.orm.XmlGenerator; + +/** + * + * A representation of the model object 'Xml Uuid Generator 24'. + * + * 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.v2_4.EclipseLinkOrmV2_4Package#getXmlUuidGenerator_2_4() + * @model kind="class" interface="true" abstract="true" + * @generated + */ +public interface XmlUuidGenerator_2_4 extends XmlGenerator +{ + +} // XmlUuidGenerator_2_4 \ No newline at end of file diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/Attributes.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/Attributes.java deleted file mode 100644 index eb15817688..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/Attributes.java +++ /dev/null @@ -1,535 +0,0 @@ -/******************************************************************************* - * 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 java.util.ArrayList; -import java.util.Collection; -import java.util.List; -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.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; -import org.eclipse.jpt.common.core.internal.utility.translators.SimpleTranslator; -import org.eclipse.jpt.common.utility.internal.collection.CollectionTools; -import org.eclipse.jpt.jpa.core.resource.orm.OrmPackage; -import org.eclipse.jpt.jpa.core.resource.orm.XmlAttributeMapping; -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_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.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlAttributes_2_3; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlStructure_2_3; -import org.eclipse.wst.common.internal.emf.resource.Translator; - -/** - * - * A representation of the model object 'Attributes'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.Attributes#getBasicCollections Basic Collections}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.Attributes#getBasicMaps Basic Maps}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.Attributes#getTransformations Transformations}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.Attributes#getVariableOneToOnes Variable One To Ones}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getAttributes() - * @model kind="class" - * @generated - */ -public class Attributes extends org.eclipse.jpt.jpa.core.resource.orm.Attributes implements XmlAttributes_2_3 -{ - /** - * The cached value of the '{@link #getStructures() Structures}' containment reference list. - * - * - * @see #getStructures() - * @generated - * @ordered - */ - protected EList structures; - - /** - * The cached value of the '{@link #getArrays() Arrays}' containment reference list. - * - * - * @see #getArrays() - * @generated - * @ordered - */ - protected EList arrays; - - /** - * The cached value of the '{@link #getBasicCollections() Basic Collections}' containment reference list. - * - * - * @see #getBasicCollections() - * @generated - * @ordered - */ - protected EList basicCollections; - - /** - * The cached value of the '{@link #getBasicMaps() Basic Maps}' containment reference list. - * - * - * @see #getBasicMaps() - * @generated - * @ordered - */ - protected EList basicMaps; - - /** - * The cached value of the '{@link #getTransformations() Transformations}' containment reference list. - * - * - * @see #getTransformations() - * @generated - * @ordered - */ - protected EList transformations; - - /** - * The cached value of the '{@link #getVariableOneToOnes() Variable One To Ones}' containment reference list. - * - * - * @see #getVariableOneToOnes() - * @generated - * @ordered - */ - protected EList variableOneToOnes; - - /** - * - * - * @generated - */ - protected Attributes() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.ATTRIBUTES; - } - - /** - * Returns the value of the 'Structures' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlStructure_2_3}. - * - *

- * 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 getStructures() - { - if (structures == null) - { - structures = new EObjectContainmentEList(XmlStructure_2_3.class, this, EclipseLinkOrmPackage.ATTRIBUTES__STRUCTURES); - } - return structures; - } - - /** - * Returns the value of the 'Arrays' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlArray_2_3}. - * - *

- * 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 getArrays() - { - if (arrays == null) - { - arrays = new EObjectContainmentEList(XmlArray_2_3.class, this, EclipseLinkOrmPackage.ATTRIBUTES__ARRAYS); - } - return arrays; - } - - /** - * Returns the value of the 'Basic Collections' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasicCollection}. - * - *

- * 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 getBasicCollections() - { - if (basicCollections == null) - { - basicCollections = new EObjectContainmentEList(XmlBasicCollection.class, this, EclipseLinkOrmPackage.ATTRIBUTES__BASIC_COLLECTIONS); - } - return basicCollections; - } - - /** - * Returns the value of the 'Basic Maps' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasicMap}. - * - *

- * 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 getBasicMaps() - { - if (basicMaps == null) - { - basicMaps = new EObjectContainmentEList(XmlBasicMap.class, this, EclipseLinkOrmPackage.ATTRIBUTES__BASIC_MAPS); - } - return basicMaps; - } - - /** - * Returns the value of the 'Transformations' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTransformation}. - * - *

- * 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 getTransformations() - { - if (transformations == null) - { - transformations = new EObjectContainmentEList(XmlTransformation.class, this, EclipseLinkOrmPackage.ATTRIBUTES__TRANSFORMATIONS); - } - return transformations; - } - - /** - * Returns the value of the 'Variable One To Ones' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlVariableOneToOne}. - * - *

- * 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 getVariableOneToOnes() - { - if (variableOneToOnes == null) - { - variableOneToOnes = new EObjectContainmentEList(XmlVariableOneToOne.class, this, EclipseLinkOrmPackage.ATTRIBUTES__VARIABLE_ONE_TO_ONES); - } - return variableOneToOnes; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case EclipseLinkOrmPackage.ATTRIBUTES__STRUCTURES: - return ((InternalEList)getStructures()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.ATTRIBUTES__ARRAYS: - return ((InternalEList)getArrays()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.ATTRIBUTES__BASIC_COLLECTIONS: - return ((InternalEList)getBasicCollections()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.ATTRIBUTES__BASIC_MAPS: - return ((InternalEList)getBasicMaps()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.ATTRIBUTES__TRANSFORMATIONS: - return ((InternalEList)getTransformations()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.ATTRIBUTES__VARIABLE_ONE_TO_ONES: - return ((InternalEList)getVariableOneToOnes()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case EclipseLinkOrmPackage.ATTRIBUTES__STRUCTURES: - return getStructures(); - case EclipseLinkOrmPackage.ATTRIBUTES__ARRAYS: - return getArrays(); - case EclipseLinkOrmPackage.ATTRIBUTES__BASIC_COLLECTIONS: - return getBasicCollections(); - case EclipseLinkOrmPackage.ATTRIBUTES__BASIC_MAPS: - return getBasicMaps(); - case EclipseLinkOrmPackage.ATTRIBUTES__TRANSFORMATIONS: - return getTransformations(); - case EclipseLinkOrmPackage.ATTRIBUTES__VARIABLE_ONE_TO_ONES: - return getVariableOneToOnes(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.ATTRIBUTES__STRUCTURES: - getStructures().clear(); - getStructures().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.ATTRIBUTES__ARRAYS: - getArrays().clear(); - getArrays().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.ATTRIBUTES__BASIC_COLLECTIONS: - getBasicCollections().clear(); - getBasicCollections().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.ATTRIBUTES__BASIC_MAPS: - getBasicMaps().clear(); - getBasicMaps().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.ATTRIBUTES__TRANSFORMATIONS: - getTransformations().clear(); - getTransformations().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.ATTRIBUTES__VARIABLE_ONE_TO_ONES: - getVariableOneToOnes().clear(); - getVariableOneToOnes().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.ATTRIBUTES__STRUCTURES: - getStructures().clear(); - return; - case EclipseLinkOrmPackage.ATTRIBUTES__ARRAYS: - getArrays().clear(); - return; - case EclipseLinkOrmPackage.ATTRIBUTES__BASIC_COLLECTIONS: - getBasicCollections().clear(); - return; - case EclipseLinkOrmPackage.ATTRIBUTES__BASIC_MAPS: - getBasicMaps().clear(); - return; - case EclipseLinkOrmPackage.ATTRIBUTES__TRANSFORMATIONS: - getTransformations().clear(); - return; - case EclipseLinkOrmPackage.ATTRIBUTES__VARIABLE_ONE_TO_ONES: - getVariableOneToOnes().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.ATTRIBUTES__STRUCTURES: - return structures != null && !structures.isEmpty(); - case EclipseLinkOrmPackage.ATTRIBUTES__ARRAYS: - return arrays != null && !arrays.isEmpty(); - case EclipseLinkOrmPackage.ATTRIBUTES__BASIC_COLLECTIONS: - return basicCollections != null && !basicCollections.isEmpty(); - case EclipseLinkOrmPackage.ATTRIBUTES__BASIC_MAPS: - return basicMaps != null && !basicMaps.isEmpty(); - case EclipseLinkOrmPackage.ATTRIBUTES__TRANSFORMATIONS: - return transformations != null && !transformations.isEmpty(); - case EclipseLinkOrmPackage.ATTRIBUTES__VARIABLE_ONE_TO_ONES: - return variableOneToOnes != null && !variableOneToOnes.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public int eBaseStructuralFeatureID(int derivedFeatureID, Class baseClass) - { - if (baseClass == XmlAttributes_2_3.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.ATTRIBUTES__STRUCTURES: return EclipseLinkOrmV2_3Package.XML_ATTRIBUTES_23__STRUCTURES; - case EclipseLinkOrmPackage.ATTRIBUTES__ARRAYS: return EclipseLinkOrmV2_3Package.XML_ATTRIBUTES_23__ARRAYS; - default: return -1; - } - } - return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); - } - - /** - * - * - * @generated - */ - @Override - public int eDerivedStructuralFeatureID(int baseFeatureID, Class baseClass) - { - if (baseClass == XmlAttributes_2_3.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_3Package.XML_ATTRIBUTES_23__STRUCTURES: return EclipseLinkOrmPackage.ATTRIBUTES__STRUCTURES; - case EclipseLinkOrmV2_3Package.XML_ATTRIBUTES_23__ARRAYS: return EclipseLinkOrmPackage.ATTRIBUTES__ARRAYS; - default: return -1; - } - } - return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass); - } - - @Override - public List getAttributeMappings() { - // convert lists to arrays to avoid ConcurrentModificationException while adding to result list - ArrayList attributeMappings = new ArrayList(); - CollectionTools.addAll(attributeMappings, this.getIds().toArray(EMPTY_XML_ATTRIBUTE_MAPPING_ARRAY)); - CollectionTools.addAll(attributeMappings, this.getEmbeddedIds().toArray(EMPTY_XML_ATTRIBUTE_MAPPING_ARRAY)); - CollectionTools.addAll(attributeMappings, this.getBasics().toArray(EMPTY_XML_ATTRIBUTE_MAPPING_ARRAY)); - CollectionTools.addAll(attributeMappings, this.getBasicCollections().toArray(EMPTY_XML_ATTRIBUTE_MAPPING_ARRAY)); - CollectionTools.addAll(attributeMappings, this.getBasicMaps().toArray(EMPTY_XML_ATTRIBUTE_MAPPING_ARRAY)); - CollectionTools.addAll(attributeMappings, this.getVersions().toArray(EMPTY_XML_ATTRIBUTE_MAPPING_ARRAY)); - CollectionTools.addAll(attributeMappings, this.getManyToOnes().toArray(EMPTY_XML_ATTRIBUTE_MAPPING_ARRAY)); - CollectionTools.addAll(attributeMappings, this.getOneToManys().toArray(EMPTY_XML_ATTRIBUTE_MAPPING_ARRAY)); - CollectionTools.addAll(attributeMappings, this.getOneToOnes().toArray(EMPTY_XML_ATTRIBUTE_MAPPING_ARRAY)); - CollectionTools.addAll(attributeMappings, this.getVariableOneToOnes().toArray(EMPTY_XML_ATTRIBUTE_MAPPING_ARRAY)); - CollectionTools.addAll(attributeMappings, this.getManyToManys().toArray(EMPTY_XML_ATTRIBUTE_MAPPING_ARRAY)); - CollectionTools.addAll(attributeMappings, this.getElementCollections().toArray(EMPTY_XML_ATTRIBUTE_MAPPING_ARRAY)); - CollectionTools.addAll(attributeMappings, this.getEmbeddeds().toArray(EMPTY_XML_ATTRIBUTE_MAPPING_ARRAY)); - CollectionTools.addAll(attributeMappings, this.getTransformations().toArray(EMPTY_XML_ATTRIBUTE_MAPPING_ARRAY)); - CollectionTools.addAll(attributeMappings, this.getTransients().toArray(EMPTY_XML_ATTRIBUTE_MAPPING_ARRAY)); - CollectionTools.addAll(attributeMappings, this.getArrays().toArray(EMPTY_XML_ATTRIBUTE_MAPPING_ARRAY)); - CollectionTools.addAll(attributeMappings, this.getStructures().toArray(EMPTY_XML_ATTRIBUTE_MAPPING_ARRAY)); - return attributeMappings; - } - - protected static final XmlAttributeMapping[] EMPTY_XML_ATTRIBUTE_MAPPING_ARRAY = new XmlAttributeMapping[0]; - - // ********** translators ********** - - public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) { - return new SimpleTranslator( - elementName, - structuralFeature, - EclipseLinkOrmPackage.eINSTANCE.getAttributes(), - buildTranslatorChildren()); - } - - public static Translator buildTranslator() { - return buildTranslator( - EclipseLink.ATTRIBUTES, - OrmPackage.eINSTANCE.getXmlTypeMapping_Attributes()); - } - - private static Translator[] buildTranslatorChildren() { - return new Translator[] { - XmlId.buildTranslator(EclipseLink2_0.ID, OrmPackage.eINSTANCE.getAttributes_Ids()), - XmlEmbeddedId.buildTranslator(EclipseLink2_0.EMBEDDED_ID, OrmPackage.eINSTANCE.getAttributes_EmbeddedIds()), - XmlBasic.buildTranslator(EclipseLink2_0.BASIC, OrmPackage.eINSTANCE.getAttributes_Basics()), - XmlBasicCollection.buildTranslator(EclipseLink2_0.BASIC_COLLECTION, EclipseLinkOrmPackage.eINSTANCE.getAttributes_BasicCollections()), - XmlBasicMap.buildTranslator(EclipseLink2_0.BASIC_MAP, EclipseLinkOrmPackage.eINSTANCE.getAttributes_BasicMaps()), - XmlVersion.buildTranslator(EclipseLink2_0.VERSION, OrmPackage.eINSTANCE.getAttributes_Versions()), - XmlManyToOne.buildTranslator(EclipseLink2_0.MANY_TO_ONE, OrmPackage.eINSTANCE.getAttributes_ManyToOnes()), - XmlOneToMany.buildTranslator(EclipseLink2_0.ONE_TO_MANY, OrmPackage.eINSTANCE.getAttributes_OneToManys()), - XmlOneToOne.buildTranslator(EclipseLink2_0.ONE_TO_ONE, OrmPackage.eINSTANCE.getAttributes_OneToOnes()), - XmlVariableOneToOne.buildTranslator(EclipseLink2_0.VARIABLE_ONE_TO_ONE, EclipseLinkOrmPackage.eINSTANCE.getAttributes_VariableOneToOnes()), - XmlManyToMany.buildTranslator(EclipseLink2_0.MANY_TO_MANY, OrmPackage.eINSTANCE.getAttributes_ManyToManys()), - XmlElementCollection.buildTranslator(EclipseLink2_0.ELEMENT_COLLECTION, OrmV2_0Package.eINSTANCE.getXmlAttributes_2_0_ElementCollections()), - XmlEmbedded.buildTranslator(EclipseLink2_0.EMBEDDED, OrmPackage.eINSTANCE.getAttributes_Embeddeds()), - XmlTransformation.buildTranslator(EclipseLink2_0.TRANSFORMATION, EclipseLinkOrmPackage.eINSTANCE.getAttributes_Transformations()), - XmlTransient.buildTranslator(EclipseLink2_0.TRANSIENT, OrmPackage.eINSTANCE.getAttributes_Transients()), - XmlStructure.buildTranslator(EclipseLink2_3.STRUCTURE, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlAttributes_2_3_Structures()), - XmlArray.buildTranslator(EclipseLink2_3.ARRAY, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlAttributes_2_3_Arrays()), - }; - } -} diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/CacheCoordinationType.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/CacheCoordinationType.java deleted file mode 100644 index ce93ec06d2..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/CacheCoordinationType.java +++ /dev/null @@ -1,295 +0,0 @@ -/******************************************************************************* - * 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 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 'Cache Coordination 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#getCacheCoordinationType() - * @model - * @generated - */ -public enum CacheCoordinationType implements Enumerator -{ - /** - * The 'SEND OBJECT CHANGES' literal object. - * - * - * @see #SEND_OBJECT_CHANGES_VALUE - * @generated - * @ordered - */ - SEND_OBJECT_CHANGES(0, "SEND_OBJECT_CHANGES", "SEND_OBJECT_CHANGES"), - - /** - * The 'INVALIDATE CHANGED OBJECTS' literal object. - * - * - * @see #INVALIDATE_CHANGED_OBJECTS_VALUE - * @generated - * @ordered - */ - INVALIDATE_CHANGED_OBJECTS(1, "INVALIDATE_CHANGED_OBJECTS", "INVALIDATE_CHANGED_OBJECTS"), - - /** - * The 'SEND NEW OBJECTS WITH CHANGES' literal object. - * - * - * @see #SEND_NEW_OBJECTS_WITH_CHANGES_VALUE - * @generated - * @ordered - */ - SEND_NEW_OBJECTS_WITH_CHANGES(2, "SEND_NEW_OBJECTS_WITH_CHANGES", "SEND_NEW_OBJECTS_WITH_CHANGES"), - - /** - * The 'NONE' literal object. - * - * - * @see #NONE_VALUE - * @generated - * @ordered - */ - NONE(3, "NONE", "NONE"); - - /** - * The 'SEND OBJECT CHANGES' literal value. - * - *

- * 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 VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the 'Cache Coordination Type' literal with the specified literal value. - * - * - * @generated - */ - public static CacheCoordinationType get(String literal) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - CacheCoordinationType result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) - { - return result; - } - } - return null; - } - - /** - * Returns the 'Cache Coordination Type' literal with the specified name. - * - * - * @generated - */ - public static CacheCoordinationType getByName(String name) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - CacheCoordinationType result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) - { - return result; - } - } - return null; - } - - /** - * Returns the 'Cache Coordination Type' literal with the specified integer value. - * - * - * @generated - */ - public static CacheCoordinationType get(int value) - { - switch (value) - { - case SEND_OBJECT_CHANGES_VALUE: return SEND_OBJECT_CHANGES; - case INVALIDATE_CHANGED_OBJECTS_VALUE: return INVALIDATE_CHANGED_OBJECTS; - case SEND_NEW_OBJECTS_WITH_CHANGES_VALUE: return SEND_NEW_OBJECTS_WITH_CHANGES; - case NONE_VALUE: return NONE; - } - return null; - } - - /** - * - * - * @generated - */ - private final int value; - - /** - * - * - * @generated - */ - private final String name; - - /** - * - * - * @generated - */ - private final String literal; - - /** - * Only this class can construct instances. - * - * - * @generated - */ - private CacheCoordinationType(int value, String name, String literal) - { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * - * - * @generated - */ - public int getValue() - { - return value; - } - - /** - * - * - * @generated - */ - public String getName() - { - return name; - } - - /** - * - * - * @generated - */ - public String getLiteral() - { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * - * - * @generated - */ - @Override - public String toString() - { - return literal; - } - -} //CacheCoordinationType diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/CacheType.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/CacheType.java deleted file mode 100644 index 2d35af2d10..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/CacheType.java +++ /dev/null @@ -1,373 +0,0 @@ -/******************************************************************************* - * 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 java.util.Arrays; -import java.util.Collections; -import java.util.List; -import org.eclipse.emf.common.util.Enumerator; - -/** - * - * - * 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#getCacheType() - * @model - * @generated - */ -public enum CacheType implements Enumerator -{ - /** - * The 'FULL' literal object. - * - * - * @see #FULL_VALUE - * @generated - * @ordered - */ - FULL(0, "FULL", "FULL"), - - /** - * The 'WEAK' literal object. - * - * - * @see #WEAK_VALUE - * @generated - * @ordered - */ - WEAK(1, "WEAK", "WEAK"), - - /** - * The 'SOFT' literal object. - * - * - * @see #SOFT_VALUE - * @generated - * @ordered - */ - SOFT(2, "SOFT", "SOFT"), - - /** - * The 'SOFT WEAK' literal object. - * - * - * @see #SOFT_WEAK_VALUE - * @generated - * @ordered - */ - SOFT_WEAK(3, "SOFT_WEAK", "SOFT_WEAK"), - - /** - * The 'HARD WEAK' literal object. - * - * - * @see #HARD_WEAK_VALUE - * @generated - * @ordered - */ - HARD_WEAK(4, "HARD_WEAK", "HARD_WEAK"), - - /** - * The 'CACHE' literal object. - * - * - * @see #CACHE_VALUE - * @generated - * @ordered - */ - CACHE(5, "CACHE", "CACHE"), - - /** - * The 'NONE' literal object. - * - * - * @see #NONE_VALUE - * @generated - * @ordered - */ - NONE(6, "NONE", "NONE"); - - /** - * The 'FULL' literal value. - * - *

- * 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 List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the 'Cache Type' literal with the specified literal value. - * - * - * @generated - */ - public static CacheType get(String literal) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - CacheType result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) - { - return result; - } - } - return null; - } - - /** - * Returns the 'Cache Type' literal with the specified name. - * - * - * @generated - */ - public static CacheType getByName(String name) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - CacheType result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) - { - return result; - } - } - return null; - } - - /** - * Returns the 'Cache Type' literal with the specified integer value. - * - * - * @generated - */ - public static CacheType get(int value) - { - switch (value) - { - case FULL_VALUE: return FULL; - case WEAK_VALUE: return WEAK; - case SOFT_VALUE: return SOFT; - case SOFT_WEAK_VALUE: return SOFT_WEAK; - case HARD_WEAK_VALUE: return HARD_WEAK; - case CACHE_VALUE: return CACHE; - case NONE_VALUE: return NONE; - } - return null; - } - - /** - * - * - * @generated - */ - private final int value; - - /** - * - * - * @generated - */ - private final String name; - - /** - * - * - * @generated - */ - private final String literal; - - /** - * Only this class can construct instances. - * - * - * @generated - */ - private CacheType(int value, String name, String literal) - { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * - * - * @generated - */ - public int getValue() - { - return value; - } - - /** - * - * - * @generated - */ - public String getName() - { - return name; - } - - /** - * - * - * @generated - */ - public String getLiteral() - { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * - * - * @generated - */ - @Override - public String toString() - { - return literal; - } - -} //CacheType diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/EclipseLinkOrmFactory.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/EclipseLinkOrmFactory.java deleted file mode 100644 index b52b8299ac..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/EclipseLinkOrmFactory.java +++ /dev/null @@ -1,1259 +0,0 @@ -/******************************************************************************* - * 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.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.impl.EFactoryImpl; -import org.eclipse.emf.ecore.plugin.EcorePlugin; - -/** - * - * The Factory for the model. - * It provides a create method for each non-abstract class of the model. - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage - * @generated - */ -public class EclipseLinkOrmFactory extends EFactoryImpl -{ - - /** - * The singleton instance of the factory. - * - * - * @generated - */ - public static final EclipseLinkOrmFactory eINSTANCE = init(); - - /** - * Creates the default factory implementation. - * - * - * @generated - */ - public static EclipseLinkOrmFactory init() - { - try - { - EclipseLinkOrmFactory theEclipseLinkOrmFactory = (EclipseLinkOrmFactory)EPackage.Registry.INSTANCE.getEFactory("jpt.eclipselink.orm.xmi"); - if (theEclipseLinkOrmFactory != null) - { - return theEclipseLinkOrmFactory; - } - } - catch (Exception exception) - { - EcorePlugin.INSTANCE.log(exception); - } - return new EclipseLinkOrmFactory(); - } - - /** - * Creates an instance of the factory. - * - * - * @generated - */ - public EclipseLinkOrmFactory() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - public EObject create(EClass eClass) - { - switch (eClass.getClassifierID()) - { - case EclipseLinkOrmPackage.XML_ACCESS_METHODS: return (EObject)createXmlAccessMethods(); - case EclipseLinkOrmPackage.XML_ADDITIONAL_CRITERIA: return (EObject)createXmlAdditionalCriteria(); - case EclipseLinkOrmPackage.XML_ARRAY: return (EObject)createXmlArray(); - case EclipseLinkOrmPackage.ATTRIBUTES: return (EObject)createAttributes(); - case EclipseLinkOrmPackage.XML_BASIC: return (EObject)createXmlBasic(); - case EclipseLinkOrmPackage.XML_BASIC_COLLECTION: return (EObject)createXmlBasicCollection(); - case EclipseLinkOrmPackage.XML_BASIC_MAP: return (EObject)createXmlBasicMap(); - case EclipseLinkOrmPackage.XML_BATCH_FETCH: return (EObject)createXmlBatchFetch(); - case EclipseLinkOrmPackage.XML_CACHE: return (EObject)createXmlCache(); - case EclipseLinkOrmPackage.XML_CACHE_INDEX: return (EObject)createXmlCacheIndex(); - case EclipseLinkOrmPackage.XML_CHANGE_TRACKING: return (EObject)createXmlChangeTracking(); - case EclipseLinkOrmPackage.XML_CLONE_COPY_POLICY: return (EObject)createXmlCloneCopyPolicy(); - case EclipseLinkOrmPackage.XML_COLLECTION_TABLE: return (EObject)createXmlCollectionTable(); - case EclipseLinkOrmPackage.XML_CONVERSION_VALUE: return (EObject)createXmlConversionValue(); - case EclipseLinkOrmPackage.XML_CONVERTER: return (EObject)createXmlConverter(); - case EclipseLinkOrmPackage.XML_COPY_POLICY: return (EObject)createXmlCopyPolicy(); - case EclipseLinkOrmPackage.XML_CUSTOMIZER: return (EObject)createXmlCustomizer(); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION: return (EObject)createXmlElementCollection(); - case EclipseLinkOrmPackage.XML_EMBEDDABLE: return (EObject)createXmlEmbeddable(); - case EclipseLinkOrmPackage.XML_EMBEDDED: return (EObject)createXmlEmbedded(); - case EclipseLinkOrmPackage.XML_EMBEDDED_ID: return (EObject)createXmlEmbeddedId(); - case EclipseLinkOrmPackage.XML_ENTITY: return (EObject)createXmlEntity(); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS: return (EObject)createXmlEntityMappings(); - case EclipseLinkOrmPackage.XML_FETCH_ATTRIBUTE: return (EObject)createXmlFetchAttribute(); - case EclipseLinkOrmPackage.XML_FETCH_GROUP: return (EObject)createXmlFetchGroup(); - case EclipseLinkOrmPackage.XML_FIELD: return (EObject)createXmlField(); - case EclipseLinkOrmPackage.XML_HASH_PARTITIONING: return (EObject)createXmlHashPartitioning(); - case EclipseLinkOrmPackage.XML_ID: return (EObject)createXmlId(); - case EclipseLinkOrmPackage.XML_INDEX: return (EObject)createXmlIndex(); - case EclipseLinkOrmPackage.XML_INSTANTIATION_COPY_POLICY: return (EObject)createXmlInstantiationCopyPolicy(); - case EclipseLinkOrmPackage.XML_JOIN_FIELD: return (EObject)createXmlJoinField(); - case EclipseLinkOrmPackage.XML_JOIN_TABLE: return (EObject)createXmlJoinTable(); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY: return (EObject)createXmlManyToMany(); - case EclipseLinkOrmPackage.XML_MANY_TO_ONE: return (EObject)createXmlManyToOne(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS: return (EObject)createXmlMappedSuperclass(); - case EclipseLinkOrmPackage.XML_MULTITENANT: return (EObject)createXmlMultitenant(); - case EclipseLinkOrmPackage.XML_NAMED_CONVERTER: return (EObject)createXmlNamedConverter(); - case EclipseLinkOrmPackage.XML_NAMED_PLSQL_STORED_FUNCTION_QUERY: return (EObject)createXmlNamedPlsqlStoredFunctionQuery(); - case EclipseLinkOrmPackage.XML_NAMED_PLSQL_STORED_PROCEDURE_QUERY: return (EObject)createXmlNamedPlsqlStoredProcedureQuery(); - case EclipseLinkOrmPackage.XML_NAMED_STORED_FUNCTION_QUERY: return (EObject)createXmlNamedStoredFunctionQuery(); - case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY: return (EObject)createXmlNamedStoredProcedureQuery(); - case EclipseLinkOrmPackage.XML_NO_SQL: return (EObject)createXmlNoSql(); - case EclipseLinkOrmPackage.XML_OBJECT_TYPE_CONVERTER: return (EObject)createXmlObjectTypeConverter(); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY: return (EObject)createXmlOneToMany(); - case EclipseLinkOrmPackage.XML_ONE_TO_ONE: return (EObject)createXmlOneToOne(); - case EclipseLinkOrmPackage.XML_OPTIMISTIC_LOCKING: return (EObject)createXmlOptimisticLocking(); - case EclipseLinkOrmPackage.XML_ORDER_COLUMN: return (EObject)createXmlOrderColumn(); - case EclipseLinkOrmPackage.XML_PARTITIONING: return (EObject)createXmlPartitioning(); - case EclipseLinkOrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS: return (EObject)createXmlPersistenceUnitDefaults(); - case EclipseLinkOrmPackage.XML_PERSISTENCE_UNIT_METADATA: return (EObject)createXmlPersistenceUnitMetadata(); - case EclipseLinkOrmPackage.XML_PINNED_PARTITIONING: return (EObject)createXmlPinnedPartitioning(); - case EclipseLinkOrmPackage.XML_PLSQL_RECORD: return (EObject)createXmlPlsqlRecord(); - case EclipseLinkOrmPackage.XML_PLSQL_TABLE: return (EObject)createXmlPlsqlTable(); - case EclipseLinkOrmPackage.XML_PRIMARY_KEY: return (EObject)createXmlPrimaryKey(); - case EclipseLinkOrmPackage.XML_PROPERTY: return (EObject)createXmlProperty(); - case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS: return (EObject)createXmlQueryRedirectors(); - case EclipseLinkOrmPackage.XML_RANGE_PARTITIONING: return (EObject)createXmlRangePartitioning(); - case EclipseLinkOrmPackage.XML_REPLICATION_PARTITIONING: return (EObject)createXmlReplicationPartitioning(); - case EclipseLinkOrmPackage.XML_RETURN_INSERT: return (EObject)createXmlReturnInsert(); - case EclipseLinkOrmPackage.XML_ROUND_ROBIN_PARTITIONING: return (EObject)createXmlRoundRobinPartitioning(); - case EclipseLinkOrmPackage.XML_SECONDARY_TABLE: return (EObject)createXmlSecondaryTable(); - case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER: return (EObject)createXmlStoredProcedureParameter(); - case EclipseLinkOrmPackage.XML_STRUCT: return (EObject)createXmlStruct(); - case EclipseLinkOrmPackage.XML_STRUCT_CONVERTER: return (EObject)createXmlStructConverter(); - case EclipseLinkOrmPackage.XML_STRUCTURE: return (EObject)createXmlStructure(); - case EclipseLinkOrmPackage.XML_TABLE: return (EObject)createXmlTable(); - case EclipseLinkOrmPackage.XML_TABLE_GENERATOR: return (EObject)createXmlTableGenerator(); - case EclipseLinkOrmPackage.XML_TENANT_DISCRIMINATOR_COLUMN: return (EObject)createXmlTenantDiscriminatorColumn(); - case EclipseLinkOrmPackage.XML_TENANT_TABLE_DISCRIMINATOR: return (EObject)createXmlTenantTableDiscriminator(); - case EclipseLinkOrmPackage.XML_TIME_OF_DAY: return (EObject)createXmlTimeOfDay(); - case EclipseLinkOrmPackage.XML_TRANSFORMATION: return (EObject)createXmlTransformation(); - case EclipseLinkOrmPackage.XML_TRANSIENT: return (EObject)createXmlTransient(); - case EclipseLinkOrmPackage.XML_TYPE_CONVERTER: return (EObject)createXmlTypeConverter(); - case EclipseLinkOrmPackage.XML_UNION_PARTITIONING: return (EObject)createXmlUnionPartitioning(); - case EclipseLinkOrmPackage.XML_UUID_GENERATOR: return (EObject)createXmlUuidGenerator(); - case EclipseLinkOrmPackage.XML_VALUE_PARTITIONING: return (EObject)createXmlValuePartitioning(); - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE: return (EObject)createXmlVariableOneToOne(); - case EclipseLinkOrmPackage.XML_VERSION: return (EObject)createXmlVersion(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - @Override - public Object createFromString(EDataType eDataType, String initialValue) - { - switch (eDataType.getClassifierID()) - { - case EclipseLinkOrmPackage.CACHE_COORDINATION_TYPE: - return createCacheCoordinationTypeFromString(eDataType, initialValue); - case EclipseLinkOrmPackage.CACHE_TYPE: - return createCacheTypeFromString(eDataType, initialValue); - case EclipseLinkOrmPackage.XML_CHANGE_TRACKING_TYPE: - return createXmlChangeTrackingTypeFromString(eDataType, initialValue); - case EclipseLinkOrmPackage.XML_DIRECTION: - return createXmlDirectionFromString(eDataType, initialValue); - case EclipseLinkOrmPackage.EXISTENCE_TYPE: - return createExistenceTypeFromString(eDataType, initialValue); - case EclipseLinkOrmPackage.XML_JOIN_FETCH_TYPE: - return createXmlJoinFetchTypeFromString(eDataType, initialValue); - case EclipseLinkOrmPackage.XML_OPTIMISTIC_LOCKING_TYPE: - return createXmlOptimisticLockingTypeFromString(eDataType, initialValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - @Override - public String convertToString(EDataType eDataType, Object instanceValue) - { - switch (eDataType.getClassifierID()) - { - case EclipseLinkOrmPackage.CACHE_COORDINATION_TYPE: - return convertCacheCoordinationTypeToString(eDataType, instanceValue); - case EclipseLinkOrmPackage.CACHE_TYPE: - return convertCacheTypeToString(eDataType, instanceValue); - case EclipseLinkOrmPackage.XML_CHANGE_TRACKING_TYPE: - return convertXmlChangeTrackingTypeToString(eDataType, instanceValue); - case EclipseLinkOrmPackage.XML_DIRECTION: - return convertXmlDirectionToString(eDataType, instanceValue); - case EclipseLinkOrmPackage.EXISTENCE_TYPE: - return convertExistenceTypeToString(eDataType, instanceValue); - case EclipseLinkOrmPackage.XML_JOIN_FETCH_TYPE: - return convertXmlJoinFetchTypeToString(eDataType, instanceValue); - case EclipseLinkOrmPackage.XML_OPTIMISTIC_LOCKING_TYPE: - return convertXmlOptimisticLockingTypeToString(eDataType, instanceValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - public XmlAccessMethods createXmlAccessMethods() - { - XmlAccessMethods xmlAccessMethods = new XmlAccessMethods(); - return xmlAccessMethods; - } - - /** - * - * - * @generated - */ - public XmlAdditionalCriteria createXmlAdditionalCriteria() - { - XmlAdditionalCriteria xmlAdditionalCriteria = new XmlAdditionalCriteria(); - return xmlAdditionalCriteria; - } - - /** - * - * - * @generated - */ - public XmlArray createXmlArray() - { - XmlArray xmlArray = new XmlArray(); - return xmlArray; - } - - /** - * - * - * @generated - */ - public Attributes createAttributes() - { - Attributes attributes = new Attributes(); - return attributes; - } - - /** - * - * - * @generated - */ - public XmlBasic createXmlBasic() - { - XmlBasic xmlBasic = new XmlBasic(); - return xmlBasic; - } - - /** - * - * - * @generated - */ - public XmlBasicCollection createXmlBasicCollection() - { - XmlBasicCollection xmlBasicCollection = new XmlBasicCollection(); - return xmlBasicCollection; - } - - /** - * - * - * @generated - */ - public XmlBasicMap createXmlBasicMap() - { - XmlBasicMap xmlBasicMap = new XmlBasicMap(); - return xmlBasicMap; - } - - /** - * - * - * @generated - */ - public XmlBatchFetch createXmlBatchFetch() - { - XmlBatchFetch xmlBatchFetch = new XmlBatchFetch(); - return xmlBatchFetch; - } - - /** - * - * - * @generated - */ - public XmlCache createXmlCache() - { - XmlCache xmlCache = new XmlCache(); - return xmlCache; - } - - /** - * - * - * @generated - */ - public XmlCacheIndex createXmlCacheIndex() - { - XmlCacheIndex xmlCacheIndex = new XmlCacheIndex(); - return xmlCacheIndex; - } - - /** - * - * - * @generated - */ - public XmlChangeTracking createXmlChangeTracking() - { - XmlChangeTracking xmlChangeTracking = new XmlChangeTracking(); - return xmlChangeTracking; - } - - /** - * - * - * @generated - */ - public XmlCloneCopyPolicy createXmlCloneCopyPolicy() - { - XmlCloneCopyPolicy xmlCloneCopyPolicy = new XmlCloneCopyPolicy(); - return xmlCloneCopyPolicy; - } - - /** - * - * - * @generated - */ - public XmlCollectionTable createXmlCollectionTable() - { - XmlCollectionTable xmlCollectionTable = new XmlCollectionTable(); - return xmlCollectionTable; - } - - /** - * - * - * @generated - */ - public XmlConversionValue createXmlConversionValue() - { - XmlConversionValue xmlConversionValue = new XmlConversionValue(); - return xmlConversionValue; - } - - /** - * - * - * @generated - */ - public XmlConverter createXmlConverter() - { - XmlConverter xmlConverter = new XmlConverter(); - return xmlConverter; - } - - /** - * - * - * @generated - */ - public XmlCopyPolicy createXmlCopyPolicy() - { - XmlCopyPolicy xmlCopyPolicy = new XmlCopyPolicy(); - return xmlCopyPolicy; - } - - /** - * - * - * @generated - */ - public XmlCustomizer createXmlCustomizer() - { - XmlCustomizer xmlCustomizer = new XmlCustomizer(); - return xmlCustomizer; - } - - /** - * - * - * @generated - */ - public XmlElementCollection createXmlElementCollection() - { - XmlElementCollection xmlElementCollection = new XmlElementCollection(); - return xmlElementCollection; - } - - /** - * - * - * @generated - */ - public XmlEmbeddable createXmlEmbeddable() - { - XmlEmbeddable xmlEmbeddable = new XmlEmbeddable(); - return xmlEmbeddable; - } - - /** - * - * - * @generated - */ - public XmlEmbedded createXmlEmbedded() - { - XmlEmbedded xmlEmbedded = new XmlEmbedded(); - return xmlEmbedded; - } - - /** - * - * - * @generated - */ - public XmlEmbeddedId createXmlEmbeddedId() - { - XmlEmbeddedId xmlEmbeddedId = new XmlEmbeddedId(); - return xmlEmbeddedId; - } - - /** - * - * - * @generated - */ - public XmlEntity createXmlEntity() - { - XmlEntity xmlEntity = new XmlEntity(); - return xmlEntity; - } - - /** - * - * - * @generated - */ - public XmlEntityMappings createXmlEntityMappings() - { - XmlEntityMappings xmlEntityMappings = new XmlEntityMappings(); - return xmlEntityMappings; - } - - /** - * - * - * @generated - */ - public XmlFetchAttribute createXmlFetchAttribute() - { - XmlFetchAttribute xmlFetchAttribute = new XmlFetchAttribute(); - return xmlFetchAttribute; - } - - /** - * - * - * @generated - */ - public XmlFetchGroup createXmlFetchGroup() - { - XmlFetchGroup xmlFetchGroup = new XmlFetchGroup(); - return xmlFetchGroup; - } - - /** - * - * - * @generated - */ - public XmlField createXmlField() - { - XmlField xmlField = new XmlField(); - return xmlField; - } - - /** - * - * - * @generated - */ - public XmlId createXmlId() - { - XmlId xmlId = new XmlId(); - return xmlId; - } - - /** - * - * - * @generated - */ - public XmlIndex createXmlIndex() - { - XmlIndex xmlIndex = new XmlIndex(); - return xmlIndex; - } - - /** - * - * - * @generated - */ - public XmlInstantiationCopyPolicy createXmlInstantiationCopyPolicy() - { - XmlInstantiationCopyPolicy xmlInstantiationCopyPolicy = new XmlInstantiationCopyPolicy(); - return xmlInstantiationCopyPolicy; - } - - /** - * - * - * @generated - */ - public XmlJoinField createXmlJoinField() - { - XmlJoinField xmlJoinField = new XmlJoinField(); - return xmlJoinField; - } - - /** - * - * - * @generated - */ - public XmlJoinTable createXmlJoinTable() - { - XmlJoinTable xmlJoinTable = new XmlJoinTable(); - return xmlJoinTable; - } - - /** - * - * - * @generated - */ - public XmlManyToMany createXmlManyToMany() - { - XmlManyToMany xmlManyToMany = new XmlManyToMany(); - return xmlManyToMany; - } - - /** - * - * - * @generated - */ - public XmlManyToOne createXmlManyToOne() - { - XmlManyToOne xmlManyToOne = new XmlManyToOne(); - return xmlManyToOne; - } - - /** - * - * - * @generated - */ - public XmlMappedSuperclass createXmlMappedSuperclass() - { - XmlMappedSuperclass xmlMappedSuperclass = new XmlMappedSuperclass(); - return xmlMappedSuperclass; - } - - /** - * - * - * @generated - */ - public XmlMultitenant createXmlMultitenant() - { - XmlMultitenant xmlMultitenant = new XmlMultitenant(); - return xmlMultitenant; - } - - /** - * - * - * @generated - */ - public XmlNamedConverter createXmlNamedConverter() - { - XmlNamedConverter xmlNamedConverter = new XmlNamedConverter(); - return xmlNamedConverter; - } - - /** - * - * - * @generated - */ - public XmlNamedPlsqlStoredFunctionQuery createXmlNamedPlsqlStoredFunctionQuery() - { - XmlNamedPlsqlStoredFunctionQuery xmlNamedPlsqlStoredFunctionQuery = new XmlNamedPlsqlStoredFunctionQuery(); - return xmlNamedPlsqlStoredFunctionQuery; - } - - /** - * - * - * @generated - */ - public XmlNamedPlsqlStoredProcedureQuery createXmlNamedPlsqlStoredProcedureQuery() - { - XmlNamedPlsqlStoredProcedureQuery xmlNamedPlsqlStoredProcedureQuery = new XmlNamedPlsqlStoredProcedureQuery(); - return xmlNamedPlsqlStoredProcedureQuery; - } - - /** - * - * - * @generated - */ - public XmlNamedStoredFunctionQuery createXmlNamedStoredFunctionQuery() - { - XmlNamedStoredFunctionQuery xmlNamedStoredFunctionQuery = new XmlNamedStoredFunctionQuery(); - return xmlNamedStoredFunctionQuery; - } - - /** - * - * - * @generated - */ - public XmlNamedStoredProcedureQuery createXmlNamedStoredProcedureQuery() - { - XmlNamedStoredProcedureQuery xmlNamedStoredProcedureQuery = new XmlNamedStoredProcedureQuery(); - return xmlNamedStoredProcedureQuery; - } - - /** - * - * - * @generated - */ - public XmlNoSql createXmlNoSql() - { - XmlNoSql xmlNoSql = new XmlNoSql(); - return xmlNoSql; - } - - /** - * - * - * @generated - */ - public XmlObjectTypeConverter createXmlObjectTypeConverter() - { - XmlObjectTypeConverter xmlObjectTypeConverter = new XmlObjectTypeConverter(); - return xmlObjectTypeConverter; - } - - /** - * - * - * @generated - */ - public XmlOneToMany createXmlOneToMany() - { - XmlOneToMany xmlOneToMany = new XmlOneToMany(); - return xmlOneToMany; - } - - /** - * - * - * @generated - */ - public XmlOneToOne createXmlOneToOne() - { - XmlOneToOne xmlOneToOne = new XmlOneToOne(); - return xmlOneToOne; - } - - /** - * - * - * @generated - */ - public XmlOptimisticLocking createXmlOptimisticLocking() - { - XmlOptimisticLocking xmlOptimisticLocking = new XmlOptimisticLocking(); - return xmlOptimisticLocking; - } - - /** - * - * - * @generated - */ - public XmlOrderColumn createXmlOrderColumn() - { - XmlOrderColumn xmlOrderColumn = new XmlOrderColumn(); - return xmlOrderColumn; - } - - /** - * - * - * @generated - */ - public XmlPersistenceUnitDefaults createXmlPersistenceUnitDefaults() - { - XmlPersistenceUnitDefaults xmlPersistenceUnitDefaults = new XmlPersistenceUnitDefaults(); - return xmlPersistenceUnitDefaults; - } - - /** - * - * - * @generated - */ - public XmlPersistenceUnitMetadata createXmlPersistenceUnitMetadata() - { - XmlPersistenceUnitMetadata xmlPersistenceUnitMetadata = new XmlPersistenceUnitMetadata(); - return xmlPersistenceUnitMetadata; - } - - /** - * - * - * @generated - */ - public XmlPrimaryKey createXmlPrimaryKey() - { - XmlPrimaryKey xmlPrimaryKey = new XmlPrimaryKey(); - return xmlPrimaryKey; - } - - /** - * - * - * @generated - */ - public XmlProperty createXmlProperty() - { - XmlProperty xmlProperty = new XmlProperty(); - return xmlProperty; - } - - /** - * - * - * @generated - */ - public XmlQueryRedirectors createXmlQueryRedirectors() - { - XmlQueryRedirectors xmlQueryRedirectors = new XmlQueryRedirectors(); - return xmlQueryRedirectors; - } - - /** - * - * - * @generated - */ - public XmlReturnInsert createXmlReturnInsert() - { - XmlReturnInsert xmlReturnInsert = new XmlReturnInsert(); - return xmlReturnInsert; - } - - /** - * - * - * @generated - */ - public XmlSecondaryTable createXmlSecondaryTable() - { - XmlSecondaryTable xmlSecondaryTable = new XmlSecondaryTable(); - return xmlSecondaryTable; - } - - /** - * - * - * @generated - */ - public XmlStoredProcedureParameter createXmlStoredProcedureParameter() - { - XmlStoredProcedureParameter xmlStoredProcedureParameter = new XmlStoredProcedureParameter(); - return xmlStoredProcedureParameter; - } - - /** - * - * - * @generated - */ - public XmlStruct createXmlStruct() - { - XmlStruct xmlStruct = new XmlStruct(); - return xmlStruct; - } - - /** - * - * - * @generated - */ - public XmlStructConverter createXmlStructConverter() - { - XmlStructConverter xmlStructConverter = new XmlStructConverter(); - return xmlStructConverter; - } - - /** - * - * - * @generated - */ - public XmlStructure createXmlStructure() - { - XmlStructure xmlStructure = new XmlStructure(); - return xmlStructure; - } - - /** - * - * - * @generated - */ - public XmlTable createXmlTable() - { - XmlTable xmlTable = new XmlTable(); - return xmlTable; - } - - /** - * - * - * @generated - */ - public XmlTableGenerator createXmlTableGenerator() - { - XmlTableGenerator xmlTableGenerator = new XmlTableGenerator(); - return xmlTableGenerator; - } - - /** - * - * - * @generated - */ - public XmlTenantDiscriminatorColumn createXmlTenantDiscriminatorColumn() - { - XmlTenantDiscriminatorColumn xmlTenantDiscriminatorColumn = new XmlTenantDiscriminatorColumn(); - return xmlTenantDiscriminatorColumn; - } - - /** - * - * - * @generated - */ - public XmlTenantTableDiscriminator createXmlTenantTableDiscriminator() - { - XmlTenantTableDiscriminator xmlTenantTableDiscriminator = new XmlTenantTableDiscriminator(); - return xmlTenantTableDiscriminator; - } - - /** - * - * - * @generated - */ - public XmlTimeOfDay createXmlTimeOfDay() - { - XmlTimeOfDay xmlTimeOfDay = new XmlTimeOfDay(); - return xmlTimeOfDay; - } - - /** - * - * - * @generated - */ - public XmlTransformation createXmlTransformation() - { - XmlTransformation xmlTransformation = new XmlTransformation(); - return xmlTransformation; - } - - /** - * - * - * @generated - */ - public XmlTransient createXmlTransient() - { - XmlTransient xmlTransient = new XmlTransient(); - return xmlTransient; - } - - /** - * - * - * @generated - */ - public XmlTypeConverter createXmlTypeConverter() - { - XmlTypeConverter xmlTypeConverter = new XmlTypeConverter(); - return xmlTypeConverter; - } - - /** - * - * - * @generated - */ - public XmlVariableOneToOne createXmlVariableOneToOne() - { - XmlVariableOneToOne xmlVariableOneToOne = new XmlVariableOneToOne(); - return xmlVariableOneToOne; - } - - /** - * - * - * @generated - */ - public XmlVersion createXmlVersion() - { - XmlVersion xmlVersion = new XmlVersion(); - return xmlVersion; - } - - /** - * - * - * @generated - */ - public XmlHashPartitioning createXmlHashPartitioning() - { - XmlHashPartitioning xmlHashPartitioning = new XmlHashPartitioning(); - return xmlHashPartitioning; - } - - /** - * - * - * @generated - */ - public XmlPartitioning createXmlPartitioning() - { - XmlPartitioning xmlPartitioning = new XmlPartitioning(); - return xmlPartitioning; - } - - /** - * - * - * @generated - */ - public XmlPinnedPartitioning createXmlPinnedPartitioning() - { - XmlPinnedPartitioning xmlPinnedPartitioning = new XmlPinnedPartitioning(); - return xmlPinnedPartitioning; - } - - /** - * - * - * @generated - */ - public XmlPlsqlRecord createXmlPlsqlRecord() - { - XmlPlsqlRecord xmlPlsqlRecord = new XmlPlsqlRecord(); - return xmlPlsqlRecord; - } - - /** - * - * - * @generated - */ - public XmlPlsqlTable createXmlPlsqlTable() - { - XmlPlsqlTable xmlPlsqlTable = new XmlPlsqlTable(); - return xmlPlsqlTable; - } - - /** - * - * - * @generated - */ - public XmlRangePartitioning createXmlRangePartitioning() - { - XmlRangePartitioning xmlRangePartitioning = new XmlRangePartitioning(); - return xmlRangePartitioning; - } - - /** - * - * - * @generated - */ - public XmlReplicationPartitioning createXmlReplicationPartitioning() - { - XmlReplicationPartitioning xmlReplicationPartitioning = new XmlReplicationPartitioning(); - return xmlReplicationPartitioning; - } - - /** - * - * - * @generated - */ - public XmlRoundRobinPartitioning createXmlRoundRobinPartitioning() - { - XmlRoundRobinPartitioning xmlRoundRobinPartitioning = new XmlRoundRobinPartitioning(); - return xmlRoundRobinPartitioning; - } - - /** - * - * - * @generated - */ - public XmlUnionPartitioning createXmlUnionPartitioning() - { - XmlUnionPartitioning xmlUnionPartitioning = new XmlUnionPartitioning(); - return xmlUnionPartitioning; - } - - /** - * - * - * @generated - */ - public XmlUuidGenerator createXmlUuidGenerator() - { - XmlUuidGenerator xmlUuidGenerator = new XmlUuidGenerator(); - return xmlUuidGenerator; - } - - /** - * - * - * @generated - */ - public XmlValuePartitioning createXmlValuePartitioning() - { - XmlValuePartitioning xmlValuePartitioning = new XmlValuePartitioning(); - return xmlValuePartitioning; - } - - /** - * - * - * @generated - */ - public CacheCoordinationType createCacheCoordinationTypeFromString(EDataType eDataType, String initialValue) - { - CacheCoordinationType result = CacheCoordinationType.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * - * - * @generated - */ - public String convertCacheCoordinationTypeToString(EDataType eDataType, Object instanceValue) - { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * - * - * @generated - */ - public CacheType createCacheTypeFromString(EDataType eDataType, String initialValue) - { - CacheType result = CacheType.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * - * - * @generated - */ - public String convertCacheTypeToString(EDataType eDataType, Object instanceValue) - { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * - * - * @generated - */ - public XmlChangeTrackingType createXmlChangeTrackingTypeFromString(EDataType eDataType, String initialValue) - { - XmlChangeTrackingType result = XmlChangeTrackingType.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * - * - * @generated - */ - public String convertXmlChangeTrackingTypeToString(EDataType eDataType, Object instanceValue) - { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * - * - * @generated - */ - public XmlDirection createXmlDirectionFromString(EDataType eDataType, String initialValue) - { - XmlDirection result = XmlDirection.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * - * - * @generated - */ - public String convertXmlDirectionToString(EDataType eDataType, Object instanceValue) - { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * - * - * @generated - */ - public ExistenceType createExistenceTypeFromString(EDataType eDataType, String initialValue) - { - ExistenceType result = ExistenceType.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * - * - * @generated - */ - public String convertExistenceTypeToString(EDataType eDataType, Object instanceValue) - { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * - * - * @generated - */ - public XmlJoinFetchType createXmlJoinFetchTypeFromString(EDataType eDataType, String initialValue) - { - XmlJoinFetchType result = XmlJoinFetchType.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * - * - * @generated - */ - public String convertXmlJoinFetchTypeToString(EDataType eDataType, Object instanceValue) - { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * - * - * @generated - */ - public XmlOptimisticLockingType createXmlOptimisticLockingTypeFromString(EDataType eDataType, String initialValue) - { - XmlOptimisticLockingType result = XmlOptimisticLockingType.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * - * - * @generated - */ - public String convertXmlOptimisticLockingTypeToString(EDataType eDataType, Object instanceValue) - { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * - * - * @generated - */ - public EclipseLinkOrmPackage getEclipseLinkOrmPackage() - { - return (EclipseLinkOrmPackage)getEPackage(); - } - - /** - * - * - * @deprecated - * @generated - */ - @Deprecated - public static EclipseLinkOrmPackage getPackage() - { - return EclipseLinkOrmPackage.eINSTANCE; - } - -} diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/EclipseLinkOrmPackage.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/EclipseLinkOrmPackage.java deleted file mode 100644 index a0399d34b0..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/EclipseLinkOrmPackage.java +++ /dev/null @@ -1,13527 +0,0 @@ -/******************************************************************************* - * 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.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EEnum; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; -import org.eclipse.emf.ecore.impl.EPackageImpl; -import org.eclipse.emf.ecore.xml.type.XMLTypePackage; -import org.eclipse.jpt.jpa.core.resource.orm.OrmPackage; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package; - -/** - * - * The Package for the model. - * It contains accessors for the meta objects to represent - *
    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • - *
- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmFactory - * @model kind="package" - * @generated - */ -public class EclipseLinkOrmPackage extends EPackageImpl -{ - - /** - * The package name. - * - * - * @generated - */ - public static final String eNAME = "orm"; - /** - * The package namespace URI. - * - * - * @generated - */ - public static final String eNS_URI = "jpt.eclipselink.orm.xmi"; - /** - * The package namespace name. - * - * - * @generated - */ - public static final String eNS_PREFIX = "org.eclipse.jpt.jpa.eclipselink.core.resource.orm"; - /** - * The singleton instance of the package. - * - * - * @generated - */ - public static final EclipseLinkOrmPackage eINSTANCE = org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage.init(); - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAccessMethods Xml Access Methods}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAccessMethods - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAccessMethods() - * @generated - */ - public static final int XML_ACCESS_METHODS = 0; - /** - * The feature id for the 'Get Method' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ACCESS_METHODS__GET_METHOD = 0; - /** - * The feature id for the 'Set Method' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ACCESS_METHODS__SET_METHOD = 1; - /** - * The number of structural features of the 'Xml Access Methods' class. - * - * - * @generated - * @ordered - */ - public static final int XML_ACCESS_METHODS_FEATURE_COUNT = 2; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAccessMethodsHolder Xml Access Methods Holder}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAccessMethodsHolder - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAccessMethodsHolder() - * @generated - */ - public static final int XML_ACCESS_METHODS_HOLDER = 1; - /** - * The feature id for the 'Access Methods' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS = 0; - /** - * The number of structural features of the 'Xml Access Methods Holder' class. - * - * - * @generated - * @ordered - */ - public static final int XML_ACCESS_METHODS_HOLDER_FEATURE_COUNT = 1; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAdditionalCriteria Xml Additional Criteria}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAdditionalCriteria - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAdditionalCriteria() - * @generated - */ - public static final int XML_ADDITIONAL_CRITERIA = 2; - /** - * The feature id for the 'Criteria' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ADDITIONAL_CRITERIA__CRITERIA = EclipseLinkOrmV2_2Package.XML_ADDITIONAL_CRITERIA_22__CRITERIA; - /** - * The number of structural features of the 'Xml Additional Criteria' class. - * - * - * @generated - * @ordered - */ - public static final int XML_ADDITIONAL_CRITERIA_FEATURE_COUNT = EclipseLinkOrmV2_2Package.XML_ADDITIONAL_CRITERIA_22_FEATURE_COUNT + 0; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlArray Xml Array}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlArray - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlArray() - * @generated - */ - public static final int XML_ARRAY = 3; - /** - * The feature id for the 'Access' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ARRAY__ACCESS = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING__ACCESS; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ARRAY__NAME = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING__NAME; - /** - * The feature id for the 'Access Methods' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ARRAY__ACCESS_METHODS = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 0; - /** - * The feature id for the 'Properties' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ARRAY__PROPERTIES = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 1; - /** - * The feature id for the 'Attribute Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ARRAY__ATTRIBUTE_TYPE = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 2; - /** - * The feature id for the 'Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ARRAY__CONVERTERS = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 3; - /** - * The feature id for the 'Type Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ARRAY__TYPE_CONVERTERS = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 4; - /** - * The feature id for the 'Object Type Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ARRAY__OBJECT_TYPE_CONVERTERS = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 5; - /** - * The feature id for the 'Struct Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ARRAY__STRUCT_CONVERTERS = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 6; - /** - * The feature id for the 'Lob' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ARRAY__LOB = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 7; - /** - * The feature id for the 'Temporal' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ARRAY__TEMPORAL = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 8; - /** - * The feature id for the 'Enumerated' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ARRAY__ENUMERATED = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 9; - /** - * The feature id for the 'Column' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ARRAY__COLUMN = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 10; - /** - * The feature id for the 'Database Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ARRAY__DATABASE_TYPE = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 11; - /** - * The feature id for the 'Target Class' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ARRAY__TARGET_CLASS = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 12; - /** - * The feature id for the 'Convert' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ARRAY__CONVERT = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 13; - /** - * The number of structural features of the 'Xml Array' class. - * - * - * @generated - * @ordered - */ - public static final int XML_ARRAY_FEATURE_COUNT = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 14; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAttributeMapping Xml Attribute Mapping}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAttributeMapping - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAttributeMapping() - * @generated - */ - public static final int XML_ATTRIBUTE_MAPPING = 4; - /** - * The feature id for the 'Access' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ATTRIBUTE_MAPPING__ACCESS = OrmPackage.XML_ATTRIBUTE_MAPPING__ACCESS; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ATTRIBUTE_MAPPING__NAME = OrmPackage.XML_ATTRIBUTE_MAPPING__NAME; - /** - * The feature id for the 'Access Methods' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ATTRIBUTE_MAPPING__ACCESS_METHODS = OrmPackage.XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 0; - /** - * The feature id for the 'Properties' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ATTRIBUTE_MAPPING__PROPERTIES = OrmPackage.XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 1; - /** - * The feature id for the 'Attribute Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE = OrmPackage.XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 2; - /** - * The number of structural features of the 'Xml Attribute Mapping' class. - * - * - * @generated - * @ordered - */ - public static final int XML_ATTRIBUTE_MAPPING_FEATURE_COUNT = OrmPackage.XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 3; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.Attributes Attributes}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.Attributes - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getAttributes() - * @generated - */ - public static final int ATTRIBUTES = 5; - /** - * The feature id for the 'Description' attribute. - * - * - * @generated - * @ordered - */ - public static final int ATTRIBUTES__DESCRIPTION = OrmPackage.ATTRIBUTES__DESCRIPTION; - /** - * The feature id for the 'Element Collections' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int ATTRIBUTES__ELEMENT_COLLECTIONS = OrmPackage.ATTRIBUTES__ELEMENT_COLLECTIONS; - /** - * The feature id for the 'Ids' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int ATTRIBUTES__IDS = OrmPackage.ATTRIBUTES__IDS; - /** - * The feature id for the 'Embedded Ids' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int ATTRIBUTES__EMBEDDED_IDS = OrmPackage.ATTRIBUTES__EMBEDDED_IDS; - /** - * The feature id for the 'Basics' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int ATTRIBUTES__BASICS = OrmPackage.ATTRIBUTES__BASICS; - /** - * The feature id for the 'Versions' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int ATTRIBUTES__VERSIONS = OrmPackage.ATTRIBUTES__VERSIONS; - /** - * The feature id for the 'Many To Ones' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int ATTRIBUTES__MANY_TO_ONES = OrmPackage.ATTRIBUTES__MANY_TO_ONES; - /** - * The feature id for the 'One To Manys' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int ATTRIBUTES__ONE_TO_MANYS = OrmPackage.ATTRIBUTES__ONE_TO_MANYS; - /** - * The feature id for the 'One To Ones' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int ATTRIBUTES__ONE_TO_ONES = OrmPackage.ATTRIBUTES__ONE_TO_ONES; - /** - * The feature id for the 'Many To Manys' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int ATTRIBUTES__MANY_TO_MANYS = OrmPackage.ATTRIBUTES__MANY_TO_MANYS; - /** - * The feature id for the 'Embeddeds' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int ATTRIBUTES__EMBEDDEDS = OrmPackage.ATTRIBUTES__EMBEDDEDS; - /** - * The feature id for the 'Transients' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int ATTRIBUTES__TRANSIENTS = OrmPackage.ATTRIBUTES__TRANSIENTS; - /** - * The feature id for the 'Structures' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int ATTRIBUTES__STRUCTURES = OrmPackage.ATTRIBUTES_FEATURE_COUNT + 0; - /** - * The feature id for the 'Arrays' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int ATTRIBUTES__ARRAYS = OrmPackage.ATTRIBUTES_FEATURE_COUNT + 1; - /** - * The feature id for the 'Basic Collections' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int ATTRIBUTES__BASIC_COLLECTIONS = OrmPackage.ATTRIBUTES_FEATURE_COUNT + 2; - /** - * The feature id for the 'Basic Maps' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int ATTRIBUTES__BASIC_MAPS = OrmPackage.ATTRIBUTES_FEATURE_COUNT + 3; - /** - * The feature id for the 'Transformations' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int ATTRIBUTES__TRANSFORMATIONS = OrmPackage.ATTRIBUTES_FEATURE_COUNT + 4; - /** - * The feature id for the 'Variable One To Ones' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int ATTRIBUTES__VARIABLE_ONE_TO_ONES = OrmPackage.ATTRIBUTES_FEATURE_COUNT + 5; - /** - * The number of structural features of the 'Attributes' class. - * - * - * @generated - * @ordered - */ - public static final int ATTRIBUTES_FEATURE_COUNT = OrmPackage.ATTRIBUTES_FEATURE_COUNT + 6; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasic Xml Basic}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasic - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlBasic() - * @generated - */ - public static final int XML_BASIC = 6; - /** - * The feature id for the 'Access' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC__ACCESS = OrmPackage.XML_BASIC__ACCESS; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC__NAME = OrmPackage.XML_BASIC__NAME; - /** - * The feature id for the 'Column' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC__COLUMN = OrmPackage.XML_BASIC__COLUMN; - /** - * The feature id for the 'Lob' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC__LOB = OrmPackage.XML_BASIC__LOB; - /** - * The feature id for the 'Temporal' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC__TEMPORAL = OrmPackage.XML_BASIC__TEMPORAL; - /** - * The feature id for the 'Enumerated' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC__ENUMERATED = OrmPackage.XML_BASIC__ENUMERATED; - /** - * The feature id for the 'Fetch' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC__FETCH = OrmPackage.XML_BASIC__FETCH; - /** - * The feature id for the 'Optional' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC__OPTIONAL = OrmPackage.XML_BASIC__OPTIONAL; - /** - * The feature id for the 'Sequence Generator' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC__SEQUENCE_GENERATOR = OrmPackage.XML_BASIC_FEATURE_COUNT + 0; - /** - * The feature id for the 'Table Generator' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC__TABLE_GENERATOR = OrmPackage.XML_BASIC_FEATURE_COUNT + 1; - /** - * The feature id for the 'Generated Value' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC__GENERATED_VALUE = OrmPackage.XML_BASIC_FEATURE_COUNT + 2; - /** - * The feature id for the 'Return Insert' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC__RETURN_INSERT = OrmPackage.XML_BASIC_FEATURE_COUNT + 3; - /** - * The feature id for the 'Return Update' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC__RETURN_UPDATE = OrmPackage.XML_BASIC_FEATURE_COUNT + 4; - /** - * The feature id for the 'Index' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC__INDEX = OrmPackage.XML_BASIC_FEATURE_COUNT + 5; - /** - * The feature id for the 'Uuid Generator' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC__UUID_GENERATOR = OrmPackage.XML_BASIC_FEATURE_COUNT + 6; - /** - * The feature id for the 'Field' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC__FIELD = OrmPackage.XML_BASIC_FEATURE_COUNT + 7; - /** - * The feature id for the 'Cache Index' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC__CACHE_INDEX = OrmPackage.XML_BASIC_FEATURE_COUNT + 8; - /** - * The feature id for the 'Access Methods' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC__ACCESS_METHODS = OrmPackage.XML_BASIC_FEATURE_COUNT + 9; - /** - * The feature id for the 'Properties' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC__PROPERTIES = OrmPackage.XML_BASIC_FEATURE_COUNT + 10; - /** - * The feature id for the 'Attribute Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC__ATTRIBUTE_TYPE = OrmPackage.XML_BASIC_FEATURE_COUNT + 11; - /** - * The feature id for the 'Mutable' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC__MUTABLE = OrmPackage.XML_BASIC_FEATURE_COUNT + 12; - /** - * The feature id for the 'Convert' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC__CONVERT = OrmPackage.XML_BASIC_FEATURE_COUNT + 13; - /** - * The feature id for the 'Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC__CONVERTERS = OrmPackage.XML_BASIC_FEATURE_COUNT + 14; - /** - * The feature id for the 'Type Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC__TYPE_CONVERTERS = OrmPackage.XML_BASIC_FEATURE_COUNT + 15; - /** - * The feature id for the 'Object Type Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC__OBJECT_TYPE_CONVERTERS = OrmPackage.XML_BASIC_FEATURE_COUNT + 16; - /** - * The feature id for the 'Struct Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC__STRUCT_CONVERTERS = OrmPackage.XML_BASIC_FEATURE_COUNT + 17; - /** - * The number of structural features of the 'Xml Basic' class. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC_FEATURE_COUNT = OrmPackage.XML_BASIC_FEATURE_COUNT + 18; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasicCollection Xml Basic Collection}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasicCollection - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlBasicCollection() - * @generated - */ - public static final int XML_BASIC_COLLECTION = 7; - /** - * The feature id for the 'Access' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC_COLLECTION__ACCESS = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING__ACCESS; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC_COLLECTION__NAME = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING__NAME; - /** - * The feature id for the 'Access Methods' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC_COLLECTION__ACCESS_METHODS = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 0; - /** - * The feature id for the 'Properties' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC_COLLECTION__PROPERTIES = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 1; - /** - * The feature id for the 'Attribute Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC_COLLECTION__ATTRIBUTE_TYPE = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 2; - /** - * The feature id for the 'Cascade On Delete' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC_COLLECTION__CASCADE_ON_DELETE = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 3; - /** - * The number of structural features of the 'Xml Basic Collection' class. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC_COLLECTION_FEATURE_COUNT = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 4; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasicMap Xml Basic Map}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasicMap - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlBasicMap() - * @generated - */ - public static final int XML_BASIC_MAP = 8; - /** - * The feature id for the 'Access' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC_MAP__ACCESS = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING__ACCESS; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC_MAP__NAME = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING__NAME; - /** - * The feature id for the 'Access Methods' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC_MAP__ACCESS_METHODS = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 0; - /** - * The feature id for the 'Properties' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC_MAP__PROPERTIES = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 1; - /** - * The feature id for the 'Attribute Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC_MAP__ATTRIBUTE_TYPE = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 2; - /** - * The feature id for the 'Cascade On Delete' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC_MAP__CASCADE_ON_DELETE = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 3; - /** - * The number of structural features of the 'Xml Basic Map' class. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC_MAP_FEATURE_COUNT = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 4; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBatchFetch Xml Batch Fetch}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBatchFetch - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlBatchFetch() - * @generated - */ - public static final int XML_BATCH_FETCH = 9; - /** - * The feature id for the 'Size' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_BATCH_FETCH__SIZE = EclipseLinkOrmV2_1Package.XML_BATCH_FETCH_21__SIZE; - /** - * The feature id for the 'Batch Fetch Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_BATCH_FETCH__BATCH_FETCH_TYPE = EclipseLinkOrmV2_1Package.XML_BATCH_FETCH_21__BATCH_FETCH_TYPE; - /** - * The number of structural features of the 'Xml Batch Fetch' class. - * - * - * @generated - * @ordered - */ - public static final int XML_BATCH_FETCH_FEATURE_COUNT = EclipseLinkOrmV2_1Package.XML_BATCH_FETCH_21_FEATURE_COUNT + 0; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBatchFetchHolder Xml Batch Fetch Holder}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBatchFetchHolder - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlBatchFetchHolder() - * @generated - */ - public static final int XML_BATCH_FETCH_HOLDER = 10; - /** - * The feature id for the 'Batch Fetch' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_BATCH_FETCH_HOLDER__BATCH_FETCH = 0; - /** - * The number of structural features of the 'Xml Batch Fetch Holder' class. - * - * - * @generated - * @ordered - */ - public static final int XML_BATCH_FETCH_HOLDER_FEATURE_COUNT = 1; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache Xml Cache}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCache() - * @generated - */ - public static final int XML_CACHE = 11; - /** - * The feature id for the 'Isolation' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_CACHE__ISOLATION = EclipseLinkOrmV2_2Package.XML_CACHE_22__ISOLATION; - /** - * The feature id for the 'Database Change Notification Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_CACHE__DATABASE_CHANGE_NOTIFICATION_TYPE = EclipseLinkOrmV2_2Package.XML_CACHE_22_FEATURE_COUNT + 0; - /** - * The feature id for the 'Expiry' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_CACHE__EXPIRY = EclipseLinkOrmV2_2Package.XML_CACHE_22_FEATURE_COUNT + 1; - /** - * The feature id for the 'Size' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_CACHE__SIZE = EclipseLinkOrmV2_2Package.XML_CACHE_22_FEATURE_COUNT + 2; - /** - * The feature id for the 'Shared' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_CACHE__SHARED = EclipseLinkOrmV2_2Package.XML_CACHE_22_FEATURE_COUNT + 3; - /** - * The feature id for the 'Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_CACHE__TYPE = EclipseLinkOrmV2_2Package.XML_CACHE_22_FEATURE_COUNT + 4; - /** - * The feature id for the 'Always Refresh' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_CACHE__ALWAYS_REFRESH = EclipseLinkOrmV2_2Package.XML_CACHE_22_FEATURE_COUNT + 5; - /** - * The feature id for the 'Refresh Only If Newer' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_CACHE__REFRESH_ONLY_IF_NEWER = EclipseLinkOrmV2_2Package.XML_CACHE_22_FEATURE_COUNT + 6; - /** - * The feature id for the 'Disable Hits' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_CACHE__DISABLE_HITS = EclipseLinkOrmV2_2Package.XML_CACHE_22_FEATURE_COUNT + 7; - /** - * The feature id for the 'Coordination Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_CACHE__COORDINATION_TYPE = EclipseLinkOrmV2_2Package.XML_CACHE_22_FEATURE_COUNT + 8; - /** - * The feature id for the 'Expiry Time Of Day' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_CACHE__EXPIRY_TIME_OF_DAY = EclipseLinkOrmV2_2Package.XML_CACHE_22_FEATURE_COUNT + 9; - /** - * The number of structural features of the 'Xml Cache' class. - * - * - * @generated - * @ordered - */ - public static final int XML_CACHE_FEATURE_COUNT = EclipseLinkOrmV2_2Package.XML_CACHE_22_FEATURE_COUNT + 10; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCacheHolder Xml Cache Holder}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCacheHolder - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCacheHolder() - * @generated - */ - public static final int XML_CACHE_HOLDER = 12; - /** - * The feature id for the 'Cache' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_CACHE_HOLDER__CACHE = 0; - /** - * The feature id for the 'Existence Checking' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_CACHE_HOLDER__EXISTENCE_CHECKING = 1; - /** - * The number of structural features of the 'Xml Cache Holder' class. - * - * - * @generated - * @ordered - */ - public static final int XML_CACHE_HOLDER_FEATURE_COUNT = 2; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCacheIndex Xml Cache Index}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCacheIndex - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCacheIndex() - * @generated - */ - public static final int XML_CACHE_INDEX = 13; - /** - * The feature id for the 'Column Names' attribute list. - * - * - * @generated - * @ordered - */ - public static final int XML_CACHE_INDEX__COLUMN_NAMES = EclipseLinkOrmV2_4Package.XML_CACHE_INDEX_24__COLUMN_NAMES; - /** - * The number of structural features of the 'Xml Cache Index' class. - * - * - * @generated - * @ordered - */ - public static final int XML_CACHE_INDEX_FEATURE_COUNT = EclipseLinkOrmV2_4Package.XML_CACHE_INDEX_24_FEATURE_COUNT + 0; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlChangeTracking Xml Change Tracking}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlChangeTracking - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlChangeTracking() - * @generated - */ - public static final int XML_CHANGE_TRACKING = 14; - /** - * The feature id for the 'Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_CHANGE_TRACKING__TYPE = 0; - /** - * The number of structural features of the 'Xml Change Tracking' class. - * - * - * @generated - * @ordered - */ - public static final int XML_CHANGE_TRACKING_FEATURE_COUNT = 1; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlChangeTrackingHolder Xml Change Tracking Holder}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlChangeTrackingHolder - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlChangeTrackingHolder() - * @generated - */ - public static final int XML_CHANGE_TRACKING_HOLDER = 15; - /** - * The feature id for the 'Change Tracking' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_CHANGE_TRACKING_HOLDER__CHANGE_TRACKING = 0; - /** - * The number of structural features of the 'Xml Change Tracking Holder' class. - * - * - * @generated - * @ordered - */ - public static final int XML_CHANGE_TRACKING_HOLDER_FEATURE_COUNT = 1; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCloneCopyPolicy Xml Clone Copy Policy}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCloneCopyPolicy - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCloneCopyPolicy() - * @generated - */ - public static final int XML_CLONE_COPY_POLICY = 16; - /** - * The feature id for the 'Method' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_CLONE_COPY_POLICY__METHOD = 0; - /** - * The feature id for the 'Working Copy Method' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_CLONE_COPY_POLICY__WORKING_COPY_METHOD = 1; - /** - * The number of structural features of the 'Xml Clone Copy Policy' class. - * - * - * @generated - * @ordered - */ - public static final int XML_CLONE_COPY_POLICY_FEATURE_COUNT = 2; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCollectionTable Xml Collection Table}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCollectionTable - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCollectionTable() - * @generated - */ - public static final int XML_COLLECTION_TABLE = 17; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_COLLECTION_TABLE__NAME = OrmPackage.XML_COLLECTION_TABLE__NAME; - /** - * The feature id for the 'Catalog' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_COLLECTION_TABLE__CATALOG = OrmPackage.XML_COLLECTION_TABLE__CATALOG; - /** - * The feature id for the 'Schema' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_COLLECTION_TABLE__SCHEMA = OrmPackage.XML_COLLECTION_TABLE__SCHEMA; - /** - * The feature id for the 'Unique Constraints' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_COLLECTION_TABLE__UNIQUE_CONSTRAINTS = OrmPackage.XML_COLLECTION_TABLE__UNIQUE_CONSTRAINTS; - /** - * The feature id for the 'Join Columns' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_COLLECTION_TABLE__JOIN_COLUMNS = OrmPackage.XML_COLLECTION_TABLE__JOIN_COLUMNS; - /** - * The feature id for the 'Creation Suffix' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_COLLECTION_TABLE__CREATION_SUFFIX = OrmPackage.XML_COLLECTION_TABLE_FEATURE_COUNT + 0; - /** - * The number of structural features of the 'Xml Collection Table' class. - * - * - * @generated - * @ordered - */ - public static final int XML_COLLECTION_TABLE_FEATURE_COUNT = OrmPackage.XML_COLLECTION_TABLE_FEATURE_COUNT + 1; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConversionValue Xml Conversion Value}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConversionValue - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConversionValue() - * @generated - */ - public static final int XML_CONVERSION_VALUE = 18; - /** - * The feature id for the 'Data Value' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_CONVERSION_VALUE__DATA_VALUE = 0; - /** - * The feature id for the 'Object Value' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_CONVERSION_VALUE__OBJECT_VALUE = 1; - /** - * The number of structural features of the 'Xml Conversion Value' class. - * - * - * @generated - * @ordered - */ - public static final int XML_CONVERSION_VALUE_FEATURE_COUNT = 2; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedConverter Xml Named Converter}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedConverter - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedConverter() - * @generated - */ - public static final int XML_NAMED_CONVERTER = 47; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_NAMED_CONVERTER__NAME = 0; - /** - * The number of structural features of the 'Xml Named Converter' class. - * - * - * @generated - * @ordered - */ - public static final int XML_NAMED_CONVERTER_FEATURE_COUNT = 1; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverter Xml Converter}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverter - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverter() - * @generated - */ - public static final int XML_CONVERTER = 19; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_CONVERTER__NAME = XML_NAMED_CONVERTER__NAME; - /** - * The feature id for the 'Class Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_CONVERTER__CLASS_NAME = XML_NAMED_CONVERTER_FEATURE_COUNT + 0; - /** - * The number of structural features of the 'Xml Converter' class. - * - * - * @generated - * @ordered - */ - public static final int XML_CONVERTER_FEATURE_COUNT = XML_NAMED_CONVERTER_FEATURE_COUNT + 1; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverterContainer Xml Converter Container}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverterContainer - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverterContainer() - * @generated - */ - public static final int XML_CONVERTER_CONTAINER = 20; - /** - * The feature id for the 'Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_CONVERTER_CONTAINER__CONVERTERS = 0; - /** - * The feature id for the 'Type Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_CONVERTER_CONTAINER__TYPE_CONVERTERS = 1; - /** - * The feature id for the 'Object Type Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS = 2; - /** - * The feature id for the 'Struct Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS = 3; - /** - * The number of structural features of the 'Xml Converter Container' class. - * - * - * @generated - * @ordered - */ - public static final int XML_CONVERTER_CONTAINER_FEATURE_COUNT = 4; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConvertibleMapping Xml Convertible Mapping}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConvertibleMapping - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConvertibleMapping() - * @generated - */ - public static final int XML_CONVERTIBLE_MAPPING = 21; - /** - * The feature id for the 'Lob' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_CONVERTIBLE_MAPPING__LOB = OrmPackage.XML_CONVERTIBLE_MAPPING__LOB; - /** - * The feature id for the 'Temporal' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_CONVERTIBLE_MAPPING__TEMPORAL = OrmPackage.XML_CONVERTIBLE_MAPPING__TEMPORAL; - /** - * The feature id for the 'Enumerated' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_CONVERTIBLE_MAPPING__ENUMERATED = OrmPackage.XML_CONVERTIBLE_MAPPING__ENUMERATED; - /** - * The feature id for the 'Convert' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_CONVERTIBLE_MAPPING__CONVERT = OrmPackage.XML_CONVERTIBLE_MAPPING_FEATURE_COUNT + 0; - /** - * The number of structural features of the 'Xml Convertible Mapping' class. - * - * - * @generated - * @ordered - */ - public static final int XML_CONVERTIBLE_MAPPING_FEATURE_COUNT = OrmPackage.XML_CONVERTIBLE_MAPPING_FEATURE_COUNT + 1; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCopyPolicy Xml Copy Policy}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCopyPolicy - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCopyPolicy() - * @generated - */ - public static final int XML_COPY_POLICY = 22; - /** - * The feature id for the 'Class' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_COPY_POLICY__CLASS = 0; - /** - * The number of structural features of the 'Xml Copy Policy' class. - * - * - * @generated - * @ordered - */ - public static final int XML_COPY_POLICY_FEATURE_COUNT = 1; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCustomizer Xml Customizer}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCustomizer - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCustomizer() - * @generated - */ - public static final int XML_CUSTOMIZER = 23; - /** - * The feature id for the 'Customizer Class Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_CUSTOMIZER__CUSTOMIZER_CLASS_NAME = 0; - /** - * The number of structural features of the 'Xml Customizer' class. - * - * - * @generated - * @ordered - */ - public static final int XML_CUSTOMIZER_FEATURE_COUNT = 1; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCustomizerHolder Xml Customizer Holder}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCustomizerHolder - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCustomizerHolder() - * @generated - */ - public static final int XML_CUSTOMIZER_HOLDER = 24; - /** - * The feature id for the 'Customizer' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_CUSTOMIZER_HOLDER__CUSTOMIZER = 0; - /** - * The number of structural features of the 'Xml Customizer Holder' class. - * - * - * @generated - * @ordered - */ - public static final int XML_CUSTOMIZER_HOLDER_FEATURE_COUNT = 1; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlElementCollection Xml Element Collection}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlElementCollection - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlElementCollection() - * @generated - */ - public static final int XML_ELEMENT_COLLECTION = 25; - /** - * The feature id for the 'Access' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION__ACCESS = OrmPackage.XML_ELEMENT_COLLECTION__ACCESS; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION__NAME = OrmPackage.XML_ELEMENT_COLLECTION__NAME; - /** - * The feature id for the 'Lob' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION__LOB = OrmPackage.XML_ELEMENT_COLLECTION__LOB; - /** - * The feature id for the 'Temporal' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION__TEMPORAL = OrmPackage.XML_ELEMENT_COLLECTION__TEMPORAL; - /** - * The feature id for the 'Enumerated' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION__ENUMERATED = OrmPackage.XML_ELEMENT_COLLECTION__ENUMERATED; - /** - * The feature id for the 'Order Column' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION__ORDER_COLUMN = OrmPackage.XML_ELEMENT_COLLECTION__ORDER_COLUMN; - /** - * The feature id for the 'Order By' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION__ORDER_BY = OrmPackage.XML_ELEMENT_COLLECTION__ORDER_BY; - /** - * The feature id for the 'Attribute Overrides' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION__ATTRIBUTE_OVERRIDES = OrmPackage.XML_ELEMENT_COLLECTION__ATTRIBUTE_OVERRIDES; - /** - * The feature id for the 'Association Overrides' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION__ASSOCIATION_OVERRIDES = OrmPackage.XML_ELEMENT_COLLECTION__ASSOCIATION_OVERRIDES; - /** - * The feature id for the 'Map Key Attribute Overrides' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION__MAP_KEY_ATTRIBUTE_OVERRIDES = OrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_ATTRIBUTE_OVERRIDES; - /** - * The feature id for the 'Map Key Temporal' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION__MAP_KEY_TEMPORAL = OrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_TEMPORAL; - /** - * The feature id for the 'Map Key Enumerated' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION__MAP_KEY_ENUMERATED = OrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_ENUMERATED; - /** - * The feature id for the 'Target Class' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION__TARGET_CLASS = OrmPackage.XML_ELEMENT_COLLECTION__TARGET_CLASS; - /** - * The feature id for the 'Fetch' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION__FETCH = OrmPackage.XML_ELEMENT_COLLECTION__FETCH; - /** - * The feature id for the 'Map Key' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION__MAP_KEY = OrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY; - /** - * The feature id for the 'Map Key Class' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION__MAP_KEY_CLASS = OrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_CLASS; - /** - * The feature id for the 'Map Key Column' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION__MAP_KEY_COLUMN = OrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_COLUMN; - /** - * The feature id for the 'Map Key Join Columns' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION__MAP_KEY_JOIN_COLUMNS = OrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_JOIN_COLUMNS; - /** - * The feature id for the 'Column' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION__COLUMN = OrmPackage.XML_ELEMENT_COLLECTION__COLUMN; - /** - * The feature id for the 'Collection Table' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION__COLLECTION_TABLE = OrmPackage.XML_ELEMENT_COLLECTION__COLLECTION_TABLE; - /** - * The feature id for the 'Access Methods' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION__ACCESS_METHODS = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 0; - /** - * The feature id for the 'Properties' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION__PROPERTIES = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 1; - /** - * The feature id for the 'Attribute Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION__ATTRIBUTE_TYPE = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 2; - /** - * The feature id for the 'Convert' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION__CONVERT = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 3; - /** - * The feature id for the 'Map Key Association Overrides' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION__MAP_KEY_ASSOCIATION_OVERRIDES = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 4; - /** - * The feature id for the 'Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION__CONVERTERS = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 5; - /** - * The feature id for the 'Type Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION__TYPE_CONVERTERS = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 6; - /** - * The feature id for the 'Object Type Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION__OBJECT_TYPE_CONVERTERS = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 7; - /** - * The feature id for the 'Struct Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION__STRUCT_CONVERTERS = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 8; - /** - * The feature id for the 'Map Key Convert' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION__MAP_KEY_CONVERT = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 9; - /** - * The feature id for the 'Join Fetch' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION__JOIN_FETCH = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 10; - /** - * The feature id for the 'Batch Fetch' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION__BATCH_FETCH = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 11; - /** - * The feature id for the 'Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION__PARTITIONING = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 12; - /** - * The feature id for the 'Replication Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION__REPLICATION_PARTITIONING = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 13; - /** - * The feature id for the 'Round Robin Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 14; - /** - * The feature id for the 'Pinned Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION__PINNED_PARTITIONING = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 15; - /** - * The feature id for the 'Range Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION__RANGE_PARTITIONING = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 16; - /** - * The feature id for the 'Value Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION__VALUE_PARTITIONING = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 17; - /** - * The feature id for the 'Hash Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION__HASH_PARTITIONING = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 18; - /** - * The feature id for the 'Union Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION__UNION_PARTITIONING = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 19; - /** - * The feature id for the 'Partitioned' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION__PARTITIONED = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 20; - /** - * The feature id for the 'Cascade On Delete' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION__CASCADE_ON_DELETE = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 21; - /** - * The feature id for the 'Noncacheable' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION__NONCACHEABLE = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 22; - /** - * The feature id for the 'Composite Member' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION__COMPOSITE_MEMBER = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 23; - /** - * The feature id for the 'Field' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION__FIELD = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 24; - /** - * The feature id for the 'Delete All' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION__DELETE_ALL = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 25; - /** - * The number of structural features of the 'Xml Element Collection' class. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION_FEATURE_COUNT = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 26; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddable Xml Embeddable}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddable - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEmbeddable() - * @generated - */ - public static final int XML_EMBEDDABLE = 26; - /** - * The feature id for the 'Access' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDABLE__ACCESS = OrmPackage.XML_EMBEDDABLE__ACCESS; - /** - * The feature id for the 'Class Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDABLE__CLASS_NAME = OrmPackage.XML_EMBEDDABLE__CLASS_NAME; - /** - * The feature id for the 'Metadata Complete' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDABLE__METADATA_COMPLETE = OrmPackage.XML_EMBEDDABLE__METADATA_COMPLETE; - /** - * The feature id for the 'Description' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDABLE__DESCRIPTION = OrmPackage.XML_EMBEDDABLE__DESCRIPTION; - /** - * The feature id for the 'Attributes' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDABLE__ATTRIBUTES = OrmPackage.XML_EMBEDDABLE__ATTRIBUTES; - /** - * The feature id for the 'Access Methods' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDABLE__ACCESS_METHODS = OrmPackage.XML_EMBEDDABLE_FEATURE_COUNT + 0; - /** - * The feature id for the 'Parent Class' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDABLE__PARENT_CLASS = OrmPackage.XML_EMBEDDABLE_FEATURE_COUNT + 1; - /** - * The feature id for the 'Attribute Overrides' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDABLE__ATTRIBUTE_OVERRIDES = OrmPackage.XML_EMBEDDABLE_FEATURE_COUNT + 2; - /** - * The feature id for the 'Association Overrides' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDABLE__ASSOCIATION_OVERRIDES = OrmPackage.XML_EMBEDDABLE_FEATURE_COUNT + 3; - /** - * The feature id for the 'Plsql Records' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDABLE__PLSQL_RECORDS = OrmPackage.XML_EMBEDDABLE_FEATURE_COUNT + 4; - /** - * The feature id for the 'Plsql Tables' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDABLE__PLSQL_TABLES = OrmPackage.XML_EMBEDDABLE_FEATURE_COUNT + 5; - /** - * The feature id for the 'Struct' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDABLE__STRUCT = OrmPackage.XML_EMBEDDABLE_FEATURE_COUNT + 6; - /** - * The feature id for the 'No Sql' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDABLE__NO_SQL = OrmPackage.XML_EMBEDDABLE_FEATURE_COUNT + 7; - /** - * The feature id for the 'Customizer' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDABLE__CUSTOMIZER = OrmPackage.XML_EMBEDDABLE_FEATURE_COUNT + 8; - /** - * The feature id for the 'Change Tracking' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDABLE__CHANGE_TRACKING = OrmPackage.XML_EMBEDDABLE_FEATURE_COUNT + 9; - /** - * The feature id for the 'Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDABLE__CONVERTERS = OrmPackage.XML_EMBEDDABLE_FEATURE_COUNT + 10; - /** - * The feature id for the 'Type Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDABLE__TYPE_CONVERTERS = OrmPackage.XML_EMBEDDABLE_FEATURE_COUNT + 11; - /** - * The feature id for the 'Object Type Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDABLE__OBJECT_TYPE_CONVERTERS = OrmPackage.XML_EMBEDDABLE_FEATURE_COUNT + 12; - /** - * The feature id for the 'Struct Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDABLE__STRUCT_CONVERTERS = OrmPackage.XML_EMBEDDABLE_FEATURE_COUNT + 13; - /** - * The feature id for the 'Properties' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDABLE__PROPERTIES = OrmPackage.XML_EMBEDDABLE_FEATURE_COUNT + 14; - /** - * The feature id for the 'Copy Policy' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDABLE__COPY_POLICY = OrmPackage.XML_EMBEDDABLE_FEATURE_COUNT + 15; - /** - * The feature id for the 'Instantiation Copy Policy' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDABLE__INSTANTIATION_COPY_POLICY = OrmPackage.XML_EMBEDDABLE_FEATURE_COUNT + 16; - /** - * The feature id for the 'Clone Copy Policy' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDABLE__CLONE_COPY_POLICY = OrmPackage.XML_EMBEDDABLE_FEATURE_COUNT + 17; - /** - * The feature id for the 'Exclude Default Mappings' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDABLE__EXCLUDE_DEFAULT_MAPPINGS = OrmPackage.XML_EMBEDDABLE_FEATURE_COUNT + 18; - /** - * The number of structural features of the 'Xml Embeddable' class. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDABLE_FEATURE_COUNT = OrmPackage.XML_EMBEDDABLE_FEATURE_COUNT + 19; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbedded Xml Embedded}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbedded - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEmbedded() - * @generated - */ - public static final int XML_EMBEDDED = 27; - /** - * The feature id for the 'Access' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDED__ACCESS = OrmPackage.XML_EMBEDDED__ACCESS; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDED__NAME = OrmPackage.XML_EMBEDDED__NAME; - /** - * The feature id for the 'Attribute Overrides' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDED__ATTRIBUTE_OVERRIDES = OrmPackage.XML_EMBEDDED__ATTRIBUTE_OVERRIDES; - /** - * The feature id for the 'Association Overrides' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDED__ASSOCIATION_OVERRIDES = OrmPackage.XML_EMBEDDED__ASSOCIATION_OVERRIDES; - /** - * The feature id for the 'Field' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDED__FIELD = OrmPackage.XML_EMBEDDED_FEATURE_COUNT + 0; - /** - * The feature id for the 'Access Methods' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDED__ACCESS_METHODS = OrmPackage.XML_EMBEDDED_FEATURE_COUNT + 1; - /** - * The feature id for the 'Properties' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDED__PROPERTIES = OrmPackage.XML_EMBEDDED_FEATURE_COUNT + 2; - /** - * The feature id for the 'Attribute Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDED__ATTRIBUTE_TYPE = OrmPackage.XML_EMBEDDED_FEATURE_COUNT + 3; - /** - * The number of structural features of the 'Xml Embedded' class. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDED_FEATURE_COUNT = OrmPackage.XML_EMBEDDED_FEATURE_COUNT + 4; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddedId Xml Embedded Id}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddedId - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEmbeddedId() - * @generated - */ - public static final int XML_EMBEDDED_ID = 28; - /** - * The feature id for the 'Access' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDED_ID__ACCESS = OrmPackage.XML_EMBEDDED_ID__ACCESS; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDED_ID__NAME = OrmPackage.XML_EMBEDDED_ID__NAME; - /** - * The feature id for the 'Attribute Overrides' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDED_ID__ATTRIBUTE_OVERRIDES = OrmPackage.XML_EMBEDDED_ID__ATTRIBUTE_OVERRIDES; - /** - * The feature id for the 'Access Methods' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDED_ID__ACCESS_METHODS = OrmPackage.XML_EMBEDDED_ID_FEATURE_COUNT + 0; - /** - * The feature id for the 'Properties' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDED_ID__PROPERTIES = OrmPackage.XML_EMBEDDED_ID_FEATURE_COUNT + 1; - /** - * The feature id for the 'Attribute Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDED_ID__ATTRIBUTE_TYPE = OrmPackage.XML_EMBEDDED_ID_FEATURE_COUNT + 2; - /** - * The number of structural features of the 'Xml Embedded Id' class. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDED_ID_FEATURE_COUNT = OrmPackage.XML_EMBEDDED_ID_FEATURE_COUNT + 3; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity Xml Entity}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntity() - * @generated - */ - public static final int XML_ENTITY = 29; - /** - * The feature id for the 'Access' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__ACCESS = OrmPackage.XML_ENTITY__ACCESS; - /** - * The feature id for the 'Class Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__CLASS_NAME = OrmPackage.XML_ENTITY__CLASS_NAME; - /** - * The feature id for the 'Metadata Complete' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__METADATA_COMPLETE = OrmPackage.XML_ENTITY__METADATA_COMPLETE; - /** - * The feature id for the 'Description' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__DESCRIPTION = OrmPackage.XML_ENTITY__DESCRIPTION; - /** - * The feature id for the 'Attributes' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__ATTRIBUTES = OrmPackage.XML_ENTITY__ATTRIBUTES; - /** - * The feature id for the 'Named Queries' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__NAMED_QUERIES = OrmPackage.XML_ENTITY__NAMED_QUERIES; - /** - * The feature id for the 'Named Native Queries' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__NAMED_NATIVE_QUERIES = OrmPackage.XML_ENTITY__NAMED_NATIVE_QUERIES; - /** - * The feature id for the 'Sequence Generator' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__SEQUENCE_GENERATOR = OrmPackage.XML_ENTITY__SEQUENCE_GENERATOR; - /** - * The feature id for the 'Table Generator' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__TABLE_GENERATOR = OrmPackage.XML_ENTITY__TABLE_GENERATOR; - /** - * The feature id for the 'Pre Persist' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__PRE_PERSIST = OrmPackage.XML_ENTITY__PRE_PERSIST; - /** - * The feature id for the 'Post Persist' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__POST_PERSIST = OrmPackage.XML_ENTITY__POST_PERSIST; - /** - * The feature id for the 'Pre Remove' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__PRE_REMOVE = OrmPackage.XML_ENTITY__PRE_REMOVE; - /** - * The feature id for the 'Post Remove' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__POST_REMOVE = OrmPackage.XML_ENTITY__POST_REMOVE; - /** - * The feature id for the 'Pre Update' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__PRE_UPDATE = OrmPackage.XML_ENTITY__PRE_UPDATE; - /** - * The feature id for the 'Post Update' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__POST_UPDATE = OrmPackage.XML_ENTITY__POST_UPDATE; - /** - * The feature id for the 'Post Load' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__POST_LOAD = OrmPackage.XML_ENTITY__POST_LOAD; - /** - * The feature id for the 'Attribute Overrides' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__ATTRIBUTE_OVERRIDES = OrmPackage.XML_ENTITY__ATTRIBUTE_OVERRIDES; - /** - * The feature id for the 'Association Overrides' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__ASSOCIATION_OVERRIDES = OrmPackage.XML_ENTITY__ASSOCIATION_OVERRIDES; - /** - * The feature id for the 'Cacheable' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__CACHEABLE = OrmPackage.XML_ENTITY__CACHEABLE; - /** - * The feature id for the 'Id Class' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__ID_CLASS = OrmPackage.XML_ENTITY__ID_CLASS; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__NAME = OrmPackage.XML_ENTITY__NAME; - /** - * The feature id for the 'Table' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__TABLE = OrmPackage.XML_ENTITY__TABLE; - /** - * The feature id for the 'Secondary Tables' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__SECONDARY_TABLES = OrmPackage.XML_ENTITY__SECONDARY_TABLES; - /** - * The feature id for the 'Primary Key Join Columns' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__PRIMARY_KEY_JOIN_COLUMNS = OrmPackage.XML_ENTITY__PRIMARY_KEY_JOIN_COLUMNS; - /** - * The feature id for the 'Inheritance' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__INHERITANCE = OrmPackage.XML_ENTITY__INHERITANCE; - /** - * The feature id for the 'Discriminator Value' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__DISCRIMINATOR_VALUE = OrmPackage.XML_ENTITY__DISCRIMINATOR_VALUE; - /** - * The feature id for the 'Discriminator Column' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__DISCRIMINATOR_COLUMN = OrmPackage.XML_ENTITY__DISCRIMINATOR_COLUMN; - /** - * The feature id for the 'Sql Result Set Mappings' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__SQL_RESULT_SET_MAPPINGS = OrmPackage.XML_ENTITY__SQL_RESULT_SET_MAPPINGS; - /** - * The feature id for the 'Exclude Default Listeners' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__EXCLUDE_DEFAULT_LISTENERS = OrmPackage.XML_ENTITY__EXCLUDE_DEFAULT_LISTENERS; - /** - * The feature id for the 'Exclude Superclass Listeners' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__EXCLUDE_SUPERCLASS_LISTENERS = OrmPackage.XML_ENTITY__EXCLUDE_SUPERCLASS_LISTENERS; - /** - * The feature id for the 'Entity Listeners' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__ENTITY_LISTENERS = OrmPackage.XML_ENTITY__ENTITY_LISTENERS; - /** - * The feature id for the 'Access Methods' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__ACCESS_METHODS = OrmPackage.XML_ENTITY_FEATURE_COUNT + 0; - /** - * The feature id for the 'Parent Class' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__PARENT_CLASS = OrmPackage.XML_ENTITY_FEATURE_COUNT + 1; - /** - * The feature id for the 'Primary Key' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__PRIMARY_KEY = OrmPackage.XML_ENTITY_FEATURE_COUNT + 2; - /** - * The feature id for the 'Cache Interceptor' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__CACHE_INTERCEPTOR = OrmPackage.XML_ENTITY_FEATURE_COUNT + 3; - /** - * The feature id for the 'Query Redirectors' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__QUERY_REDIRECTORS = OrmPackage.XML_ENTITY_FEATURE_COUNT + 4; - /** - * The feature id for the 'Fetch Groups' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__FETCH_GROUPS = OrmPackage.XML_ENTITY_FEATURE_COUNT + 5; - /** - * The feature id for the 'Class Extractor' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__CLASS_EXTRACTOR = OrmPackage.XML_ENTITY_FEATURE_COUNT + 6; - /** - * The feature id for the 'Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__PARTITIONING = OrmPackage.XML_ENTITY_FEATURE_COUNT + 7; - /** - * The feature id for the 'Replication Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__REPLICATION_PARTITIONING = OrmPackage.XML_ENTITY_FEATURE_COUNT + 8; - /** - * The feature id for the 'Round Robin Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__ROUND_ROBIN_PARTITIONING = OrmPackage.XML_ENTITY_FEATURE_COUNT + 9; - /** - * The feature id for the 'Pinned Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__PINNED_PARTITIONING = OrmPackage.XML_ENTITY_FEATURE_COUNT + 10; - /** - * The feature id for the 'Range Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__RANGE_PARTITIONING = OrmPackage.XML_ENTITY_FEATURE_COUNT + 11; - /** - * The feature id for the 'Value Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__VALUE_PARTITIONING = OrmPackage.XML_ENTITY_FEATURE_COUNT + 12; - /** - * The feature id for the 'Hash Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__HASH_PARTITIONING = OrmPackage.XML_ENTITY_FEATURE_COUNT + 13; - /** - * The feature id for the 'Union Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__UNION_PARTITIONING = OrmPackage.XML_ENTITY_FEATURE_COUNT + 14; - /** - * The feature id for the 'Partitioned' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__PARTITIONED = OrmPackage.XML_ENTITY_FEATURE_COUNT + 15; - /** - * The feature id for the 'Additional Criteria' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__ADDITIONAL_CRITERIA = OrmPackage.XML_ENTITY_FEATURE_COUNT + 16; - /** - * The feature id for the 'Cascade On Delete' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__CASCADE_ON_DELETE = OrmPackage.XML_ENTITY_FEATURE_COUNT + 17; - /** - * The feature id for the 'Index' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__INDEX = OrmPackage.XML_ENTITY_FEATURE_COUNT + 18; - /** - * The feature id for the 'Multitenant' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__MULTITENANT = OrmPackage.XML_ENTITY_FEATURE_COUNT + 19; - /** - * The feature id for the 'Named Stored Function Queries' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__NAMED_STORED_FUNCTION_QUERIES = OrmPackage.XML_ENTITY_FEATURE_COUNT + 20; - /** - * The feature id for the 'Named Plsql Stored Function Queries' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__NAMED_PLSQL_STORED_FUNCTION_QUERIES = OrmPackage.XML_ENTITY_FEATURE_COUNT + 21; - /** - * The feature id for the 'Named Plsql Stored Procedure Queries' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__NAMED_PLSQL_STORED_PROCEDURE_QUERIES = OrmPackage.XML_ENTITY_FEATURE_COUNT + 22; - /** - * The feature id for the 'Plsql Records' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__PLSQL_RECORDS = OrmPackage.XML_ENTITY_FEATURE_COUNT + 23; - /** - * The feature id for the 'Plsql Tables' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__PLSQL_TABLES = OrmPackage.XML_ENTITY_FEATURE_COUNT + 24; - /** - * The feature id for the 'Struct' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__STRUCT = OrmPackage.XML_ENTITY_FEATURE_COUNT + 25; - /** - * The feature id for the 'Uuid Generator' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__UUID_GENERATOR = OrmPackage.XML_ENTITY_FEATURE_COUNT + 26; - /** - * The feature id for the 'Cache Index' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__CACHE_INDEX = OrmPackage.XML_ENTITY_FEATURE_COUNT + 27; - /** - * The feature id for the 'No Sql' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__NO_SQL = OrmPackage.XML_ENTITY_FEATURE_COUNT + 28; - /** - * The feature id for the 'Read Only' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__READ_ONLY = OrmPackage.XML_ENTITY_FEATURE_COUNT + 29; - /** - * The feature id for the 'Customizer' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__CUSTOMIZER = OrmPackage.XML_ENTITY_FEATURE_COUNT + 30; - /** - * The feature id for the 'Change Tracking' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__CHANGE_TRACKING = OrmPackage.XML_ENTITY_FEATURE_COUNT + 31; - /** - * The feature id for the 'Cache' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__CACHE = OrmPackage.XML_ENTITY_FEATURE_COUNT + 32; - /** - * The feature id for the 'Existence Checking' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__EXISTENCE_CHECKING = OrmPackage.XML_ENTITY_FEATURE_COUNT + 33; - /** - * The feature id for the 'Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__CONVERTERS = OrmPackage.XML_ENTITY_FEATURE_COUNT + 34; - /** - * The feature id for the 'Type Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__TYPE_CONVERTERS = OrmPackage.XML_ENTITY_FEATURE_COUNT + 35; - /** - * The feature id for the 'Object Type Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__OBJECT_TYPE_CONVERTERS = OrmPackage.XML_ENTITY_FEATURE_COUNT + 36; - /** - * The feature id for the 'Struct Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__STRUCT_CONVERTERS = OrmPackage.XML_ENTITY_FEATURE_COUNT + 37; - /** - * The feature id for the 'Named Stored Procedure Queries' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__NAMED_STORED_PROCEDURE_QUERIES = OrmPackage.XML_ENTITY_FEATURE_COUNT + 38; - /** - * The feature id for the 'Properties' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__PROPERTIES = OrmPackage.XML_ENTITY_FEATURE_COUNT + 39; - /** - * The feature id for the 'Optimistic Locking' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__OPTIMISTIC_LOCKING = OrmPackage.XML_ENTITY_FEATURE_COUNT + 40; - /** - * The feature id for the 'Copy Policy' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__COPY_POLICY = OrmPackage.XML_ENTITY_FEATURE_COUNT + 41; - /** - * The feature id for the 'Instantiation Copy Policy' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__INSTANTIATION_COPY_POLICY = OrmPackage.XML_ENTITY_FEATURE_COUNT + 42; - /** - * The feature id for the 'Clone Copy Policy' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__CLONE_COPY_POLICY = OrmPackage.XML_ENTITY_FEATURE_COUNT + 43; - /** - * The feature id for the 'Exclude Default Mappings' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY__EXCLUDE_DEFAULT_MAPPINGS = OrmPackage.XML_ENTITY_FEATURE_COUNT + 44; - /** - * The number of structural features of the 'Xml Entity' class. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_FEATURE_COUNT = OrmPackage.XML_ENTITY_FEATURE_COUNT + 45; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntityMappings Xml Entity Mappings}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntityMappings - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntityMappings() - * @generated - */ - public static final int XML_ENTITY_MAPPINGS = 30; - /** - * The feature id for the 'Version' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS__VERSION = OrmPackage.XML_ENTITY_MAPPINGS__VERSION; - /** - * The feature id for the 'Schema Location' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS__SCHEMA_LOCATION = OrmPackage.XML_ENTITY_MAPPINGS__SCHEMA_LOCATION; - /** - * The feature id for the 'Implied Version' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS__IMPLIED_VERSION = OrmPackage.XML_ENTITY_MAPPINGS__IMPLIED_VERSION; - /** - * The feature id for the 'Named Queries' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS__NAMED_QUERIES = OrmPackage.XML_ENTITY_MAPPINGS__NAMED_QUERIES; - /** - * The feature id for the 'Named Native Queries' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS__NAMED_NATIVE_QUERIES = OrmPackage.XML_ENTITY_MAPPINGS__NAMED_NATIVE_QUERIES; - /** - * The feature id for the 'Access' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS__ACCESS = OrmPackage.XML_ENTITY_MAPPINGS__ACCESS; - /** - * The feature id for the 'Description' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS__DESCRIPTION = OrmPackage.XML_ENTITY_MAPPINGS__DESCRIPTION; - /** - * The feature id for the 'Persistence Unit Metadata' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS__PERSISTENCE_UNIT_METADATA = OrmPackage.XML_ENTITY_MAPPINGS__PERSISTENCE_UNIT_METADATA; - /** - * The feature id for the 'Package' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS__PACKAGE = OrmPackage.XML_ENTITY_MAPPINGS__PACKAGE; - /** - * The feature id for the 'Schema' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS__SCHEMA = OrmPackage.XML_ENTITY_MAPPINGS__SCHEMA; - /** - * The feature id for the 'Catalog' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS__CATALOG = OrmPackage.XML_ENTITY_MAPPINGS__CATALOG; - /** - * The feature id for the 'Sequence Generators' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS__SEQUENCE_GENERATORS = OrmPackage.XML_ENTITY_MAPPINGS__SEQUENCE_GENERATORS; - /** - * The feature id for the 'Table Generators' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS__TABLE_GENERATORS = OrmPackage.XML_ENTITY_MAPPINGS__TABLE_GENERATORS; - /** - * The feature id for the 'Sql Result Set Mappings' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS__SQL_RESULT_SET_MAPPINGS = OrmPackage.XML_ENTITY_MAPPINGS__SQL_RESULT_SET_MAPPINGS; - /** - * The feature id for the 'Mapped Superclasses' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS__MAPPED_SUPERCLASSES = OrmPackage.XML_ENTITY_MAPPINGS__MAPPED_SUPERCLASSES; - /** - * The feature id for the 'Entities' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS__ENTITIES = OrmPackage.XML_ENTITY_MAPPINGS__ENTITIES; - /** - * The feature id for the 'Embeddables' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS__EMBEDDABLES = OrmPackage.XML_ENTITY_MAPPINGS__EMBEDDABLES; - /** - * The feature id for the 'Access Methods' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS__ACCESS_METHODS = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 0; - /** - * The feature id for the 'Partitioning' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS__PARTITIONING = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 1; - /** - * The feature id for the 'Replication Partitioning' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS__REPLICATION_PARTITIONING = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 2; - /** - * The feature id for the 'Round Robin Partitioning' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS__ROUND_ROBIN_PARTITIONING = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 3; - /** - * The feature id for the 'Pinned Partitioning' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS__PINNED_PARTITIONING = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 4; - /** - * The feature id for the 'Range Partitioning' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS__RANGE_PARTITIONING = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 5; - /** - * The feature id for the 'Value Partitioning' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS__VALUE_PARTITIONING = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 6; - /** - * The feature id for the 'Hash Partitioning' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS__HASH_PARTITIONING = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 7; - /** - * The feature id for the 'Union Partitioning' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS__UNION_PARTITIONING = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 8; - /** - * The feature id for the 'Tenant Discriminator Columns' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS__TENANT_DISCRIMINATOR_COLUMNS = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 9; - /** - * The feature id for the 'Named Stored Function Queries' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS__NAMED_STORED_FUNCTION_QUERIES = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 10; - /** - * The feature id for the 'Named Plsql Stored Function Queries' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS__NAMED_PLSQL_STORED_FUNCTION_QUERIES = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 11; - /** - * The feature id for the 'Named Plsql Stored Procedure Queries' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS__NAMED_PLSQL_STORED_PROCEDURE_QUERIES = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 12; - /** - * The feature id for the 'Plsql Records' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS__PLSQL_RECORDS = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 13; - /** - * The feature id for the 'Plsql Tables' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS__PLSQL_TABLES = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 14; - /** - * The feature id for the 'Uuid Generators' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS__UUID_GENERATORS = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 15; - /** - * The feature id for the 'Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS__CONVERTERS = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 16; - /** - * The feature id for the 'Type Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS__TYPE_CONVERTERS = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 17; - /** - * The feature id for the 'Object Type Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS__OBJECT_TYPE_CONVERTERS = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 18; - /** - * The feature id for the 'Struct Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS__STRUCT_CONVERTERS = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 19; - /** - * The feature id for the 'Named Stored Procedure Queries' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS__NAMED_STORED_PROCEDURE_QUERIES = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 20; - /** - * The number of structural features of the 'Xml Entity Mappings' class. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS_FEATURE_COUNT = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 21; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlFetchAttribute Xml Fetch Attribute}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlFetchAttribute - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlFetchAttribute() - * @generated - */ - public static final int XML_FETCH_ATTRIBUTE = 31; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_FETCH_ATTRIBUTE__NAME = EclipseLinkOrmV2_1Package.XML_FETCH_ATTRIBUTE_21__NAME; - /** - * The number of structural features of the 'Xml Fetch Attribute' class. - * - * - * @generated - * @ordered - */ - public static final int XML_FETCH_ATTRIBUTE_FEATURE_COUNT = EclipseLinkOrmV2_1Package.XML_FETCH_ATTRIBUTE_21_FEATURE_COUNT + 0; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlFetchGroup Xml Fetch Group}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlFetchGroup - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlFetchGroup() - * @generated - */ - public static final int XML_FETCH_GROUP = 32; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_FETCH_GROUP__NAME = EclipseLinkOrmV2_1Package.XML_FETCH_GROUP_21__NAME; - /** - * The feature id for the 'Load' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_FETCH_GROUP__LOAD = EclipseLinkOrmV2_1Package.XML_FETCH_GROUP_21__LOAD; - /** - * The feature id for the 'Attributes' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_FETCH_GROUP__ATTRIBUTES = EclipseLinkOrmV2_1Package.XML_FETCH_GROUP_21__ATTRIBUTES; - /** - * The number of structural features of the 'Xml Fetch Group' class. - * - * - * @generated - * @ordered - */ - public static final int XML_FETCH_GROUP_FEATURE_COUNT = EclipseLinkOrmV2_1Package.XML_FETCH_GROUP_21_FEATURE_COUNT + 0; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlField Xml Field}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlField - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlField() - * @generated - */ - public static final int XML_FIELD = 33; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_FIELD__NAME = EclipseLinkOrmV2_4Package.XML_FIELD_24__NAME; - /** - * The number of structural features of the 'Xml Field' class. - * - * - * @generated - * @ordered - */ - public static final int XML_FIELD_FEATURE_COUNT = EclipseLinkOrmV2_4Package.XML_FIELD_24_FEATURE_COUNT + 0; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlId Xml Id}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlId - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlId() - * @generated - */ - public static final int XML_ID = 35; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlIndex Xml Index}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlIndex - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlIndex() - * @generated - */ - public static final int XML_INDEX = 36; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlInstantiationCopyPolicy Xml Instantiation Copy Policy}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlInstantiationCopyPolicy - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlInstantiationCopyPolicy() - * @generated - */ - public static final int XML_INSTANTIATION_COPY_POLICY = 37; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinFetch Xml Join Fetch}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinFetch - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlJoinFetch() - * @generated - */ - public static final int XML_JOIN_FETCH = 38; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinTable Xml Join Table}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinTable - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlJoinTable() - * @generated - */ - public static final int XML_JOIN_TABLE = 40; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToMany Xml Many To Many}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToMany - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlManyToMany() - * @generated - */ - public static final int XML_MANY_TO_MANY = 41; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToOne Xml Many To One}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToOne - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlManyToOne() - * @generated - */ - public static final int XML_MANY_TO_ONE = 42; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass Xml Mapped Superclass}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlMappedSuperclass() - * @generated - */ - public static final int XML_MAPPED_SUPERCLASS = 43; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMutable Xml Mutable}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMutable - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlMutable() - * @generated - */ - public static final int XML_MUTABLE = 46; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery Xml Named Stored Procedure Query}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedStoredProcedureQuery() - * @generated - */ - public static final int XML_NAMED_STORED_PROCEDURE_QUERY = 51; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter Xml Object Type Converter}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlObjectTypeConverter() - * @generated - */ - public static final int XML_OBJECT_TYPE_CONVERTER = 53; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToMany Xml One To Many}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToMany - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOneToMany() - * @generated - */ - public static final int XML_ONE_TO_MANY = 54; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToOne Xml One To One}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToOne - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOneToOne() - * @generated - */ - public static final int XML_ONE_TO_ONE = 55; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOptimisticLocking Xml Optimistic Locking}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOptimisticLocking - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOptimisticLocking() - * @generated - */ - public static final int XML_OPTIMISTIC_LOCKING = 56; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOrderColumn Xml Order Column}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOrderColumn - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOrderColumn() - * @generated - */ - public static final int XML_ORDER_COLUMN = 57; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPersistenceUnitDefaults Xml Persistence Unit Defaults}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPersistenceUnitDefaults - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPersistenceUnitDefaults() - * @generated - */ - public static final int XML_PERSISTENCE_UNIT_DEFAULTS = 59; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPersistenceUnitMetadata Xml Persistence Unit Metadata}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPersistenceUnitMetadata - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPersistenceUnitMetadata() - * @generated - */ - public static final int XML_PERSISTENCE_UNIT_METADATA = 60; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPrimaryKey Xml Primary Key}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPrimaryKey - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPrimaryKey() - * @generated - */ - public static final int XML_PRIMARY_KEY = 64; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPrivateOwned Xml Private Owned}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPrivateOwned - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPrivateOwned() - * @generated - */ - public static final int XML_PRIVATE_OWNED = 65; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlProperty Xml Property}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlProperty - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlProperty() - * @generated - */ - public static final int XML_PROPERTY = 66; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPropertyContainer Xml Property Container}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPropertyContainer - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPropertyContainer() - * @generated - */ - public static final int XML_PROPERTY_CONTAINER = 67; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryContainer Xml Query Container}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryContainer - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlQueryContainer() - * @generated - */ - public static final int XML_QUERY_CONTAINER = 68; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryRedirectors Xml Query Redirectors}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryRedirectors - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlQueryRedirectors() - * @generated - */ - public static final int XML_QUERY_REDIRECTORS = 69; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlReadOnly Xml Read Only}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlReadOnly - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlReadOnly() - * @generated - */ - public static final int XML_READ_ONLY = 71; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlReturnInsert Xml Return Insert}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlReturnInsert - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlReturnInsert() - * @generated - */ - public static final int XML_RETURN_INSERT = 73; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlSecondaryTable Xml Secondary Table}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlSecondaryTable - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlSecondaryTable() - * @generated - */ - public static final int XML_SECONDARY_TABLE = 75; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter Xml Stored Procedure Parameter}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlStoredProcedureParameter() - * @generated - */ - public static final int XML_STORED_PROCEDURE_PARAMETER = 76; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructConverter Xml Struct Converter}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructConverter - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlStructConverter() - * @generated - */ - public static final int XML_STRUCT_CONVERTER = 78; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTable Xml Table}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTable - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTable() - * @generated - */ - public static final int XML_TABLE = 80; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTableGenerator Xml Table Generator}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTableGenerator - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTableGenerator() - * @generated - */ - public static final int XML_TABLE_GENERATOR = 81; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTimeOfDay Xml Time Of Day}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTimeOfDay - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTimeOfDay() - * @generated - */ - public static final int XML_TIME_OF_DAY = 84; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTransformation Xml Transformation}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTransformation - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTransformation() - * @generated - */ - public static final int XML_TRANSFORMATION = 85; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTransient Xml Transient}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTransient - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTransient() - * @generated - */ - public static final int XML_TRANSIENT = 86; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter Xml Type Converter}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTypeConverter() - * @generated - */ - public static final int XML_TYPE_CONVERTER = 87; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlVariableOneToOne Xml Variable One To One}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlVariableOneToOne - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlVariableOneToOne() - * @generated - */ - public static final int XML_VARIABLE_ONE_TO_ONE = 92; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlVersion Xml Version}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlVersion - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlVersion() - * @generated - */ - public static final int XML_VERSION = 93; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlHashPartitioning Xml Hash Partitioning}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlHashPartitioning - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlHashPartitioning() - * @generated - */ - public static final int XML_HASH_PARTITIONING = 34; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_HASH_PARTITIONING__NAME = EclipseLinkOrmV2_2Package.XML_HASH_PARTITIONING_22__NAME; - /** - * The number of structural features of the 'Xml Hash Partitioning' class. - * - * - * @generated - * @ordered - */ - public static final int XML_HASH_PARTITIONING_FEATURE_COUNT = EclipseLinkOrmV2_2Package.XML_HASH_PARTITIONING_22_FEATURE_COUNT + 0; - /** - * The feature id for the 'Access' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ID__ACCESS = OrmPackage.XML_ID__ACCESS; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ID__NAME = OrmPackage.XML_ID__NAME; - /** - * The feature id for the 'Column' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ID__COLUMN = OrmPackage.XML_ID__COLUMN; - /** - * The feature id for the 'Lob' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ID__LOB = OrmPackage.XML_ID__LOB; - /** - * The feature id for the 'Temporal' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ID__TEMPORAL = OrmPackage.XML_ID__TEMPORAL; - /** - * The feature id for the 'Enumerated' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ID__ENUMERATED = OrmPackage.XML_ID__ENUMERATED; - /** - * The feature id for the 'Sequence Generator' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ID__SEQUENCE_GENERATOR = OrmPackage.XML_ID__SEQUENCE_GENERATOR; - /** - * The feature id for the 'Table Generator' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ID__TABLE_GENERATOR = OrmPackage.XML_ID__TABLE_GENERATOR; - /** - * The feature id for the 'Generated Value' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ID__GENERATED_VALUE = OrmPackage.XML_ID__GENERATED_VALUE; - /** - * The feature id for the 'Index' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ID__INDEX = OrmPackage.XML_ID_FEATURE_COUNT + 0; - /** - * The feature id for the 'Uuid Generator' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ID__UUID_GENERATOR = OrmPackage.XML_ID_FEATURE_COUNT + 1; - /** - * The feature id for the 'Field' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ID__FIELD = OrmPackage.XML_ID_FEATURE_COUNT + 2; - /** - * The feature id for the 'Cache Index' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ID__CACHE_INDEX = OrmPackage.XML_ID_FEATURE_COUNT + 3; - /** - * The feature id for the 'Access Methods' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ID__ACCESS_METHODS = OrmPackage.XML_ID_FEATURE_COUNT + 4; - /** - * The feature id for the 'Properties' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ID__PROPERTIES = OrmPackage.XML_ID_FEATURE_COUNT + 5; - /** - * The feature id for the 'Attribute Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ID__ATTRIBUTE_TYPE = OrmPackage.XML_ID_FEATURE_COUNT + 6; - /** - * The feature id for the 'Mutable' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ID__MUTABLE = OrmPackage.XML_ID_FEATURE_COUNT + 7; - /** - * The feature id for the 'Convert' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ID__CONVERT = OrmPackage.XML_ID_FEATURE_COUNT + 8; - /** - * The feature id for the 'Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ID__CONVERTERS = OrmPackage.XML_ID_FEATURE_COUNT + 9; - /** - * The feature id for the 'Type Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ID__TYPE_CONVERTERS = OrmPackage.XML_ID_FEATURE_COUNT + 10; - /** - * The feature id for the 'Object Type Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ID__OBJECT_TYPE_CONVERTERS = OrmPackage.XML_ID_FEATURE_COUNT + 11; - /** - * The feature id for the 'Struct Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ID__STRUCT_CONVERTERS = OrmPackage.XML_ID_FEATURE_COUNT + 12; - /** - * The number of structural features of the 'Xml Id' class. - * - * - * @generated - * @ordered - */ - public static final int XML_ID_FEATURE_COUNT = OrmPackage.XML_ID_FEATURE_COUNT + 13; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_INDEX__NAME = EclipseLinkOrmV2_2Package.XML_INDEX_22__NAME; - /** - * The feature id for the 'Schema' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_INDEX__SCHEMA = EclipseLinkOrmV2_2Package.XML_INDEX_22__SCHEMA; - /** - * The feature id for the 'Catalog' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_INDEX__CATALOG = EclipseLinkOrmV2_2Package.XML_INDEX_22__CATALOG; - /** - * The feature id for the 'Table' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_INDEX__TABLE = EclipseLinkOrmV2_2Package.XML_INDEX_22__TABLE; - /** - * The feature id for the 'Unique' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_INDEX__UNIQUE = EclipseLinkOrmV2_2Package.XML_INDEX_22__UNIQUE; - /** - * The feature id for the 'Column Names' attribute list. - * - * - * @generated - * @ordered - */ - public static final int XML_INDEX__COLUMN_NAMES = EclipseLinkOrmV2_2Package.XML_INDEX_22__COLUMN_NAMES; - /** - * The number of structural features of the 'Xml Index' class. - * - * - * @generated - * @ordered - */ - public static final int XML_INDEX_FEATURE_COUNT = EclipseLinkOrmV2_2Package.XML_INDEX_22_FEATURE_COUNT + 0; - /** - * The number of structural features of the 'Xml Instantiation Copy Policy' class. - * - * - * @generated - * @ordered - */ - public static final int XML_INSTANTIATION_COPY_POLICY_FEATURE_COUNT = 0; - /** - * The feature id for the 'Join Fetch' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_JOIN_FETCH__JOIN_FETCH = 0; - /** - * The number of structural features of the 'Xml Join Fetch' class. - * - * - * @generated - * @ordered - */ - public static final int XML_JOIN_FETCH_FEATURE_COUNT = 1; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinField Xml Join Field}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinField - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlJoinField() - * @generated - */ - public static final int XML_JOIN_FIELD = 39; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_JOIN_FIELD__NAME = EclipseLinkOrmV2_4Package.XML_JOIN_FIELD_24__NAME; - /** - * The feature id for the 'Referenced Field Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_JOIN_FIELD__REFERENCED_FIELD_NAME = EclipseLinkOrmV2_4Package.XML_JOIN_FIELD_24__REFERENCED_FIELD_NAME; - /** - * The number of structural features of the 'Xml Join Field' class. - * - * - * @generated - * @ordered - */ - public static final int XML_JOIN_FIELD_FEATURE_COUNT = EclipseLinkOrmV2_4Package.XML_JOIN_FIELD_24_FEATURE_COUNT + 0; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_JOIN_TABLE__NAME = OrmPackage.XML_JOIN_TABLE__NAME; - /** - * The feature id for the 'Catalog' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_JOIN_TABLE__CATALOG = OrmPackage.XML_JOIN_TABLE__CATALOG; - /** - * The feature id for the 'Schema' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_JOIN_TABLE__SCHEMA = OrmPackage.XML_JOIN_TABLE__SCHEMA; - /** - * The feature id for the 'Unique Constraints' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_JOIN_TABLE__UNIQUE_CONSTRAINTS = OrmPackage.XML_JOIN_TABLE__UNIQUE_CONSTRAINTS; - /** - * The feature id for the 'Join Columns' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_JOIN_TABLE__JOIN_COLUMNS = OrmPackage.XML_JOIN_TABLE__JOIN_COLUMNS; - /** - * The feature id for the 'Inverse Join Columns' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_JOIN_TABLE__INVERSE_JOIN_COLUMNS = OrmPackage.XML_JOIN_TABLE__INVERSE_JOIN_COLUMNS; - /** - * The feature id for the 'Creation Suffix' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_JOIN_TABLE__CREATION_SUFFIX = OrmPackage.XML_JOIN_TABLE_FEATURE_COUNT + 0; - /** - * The number of structural features of the 'Xml Join Table' class. - * - * - * @generated - * @ordered - */ - public static final int XML_JOIN_TABLE_FEATURE_COUNT = OrmPackage.XML_JOIN_TABLE_FEATURE_COUNT + 1; - /** - * The feature id for the 'Access' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY__ACCESS = OrmPackage.XML_MANY_TO_MANY__ACCESS; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY__NAME = OrmPackage.XML_MANY_TO_MANY__NAME; - /** - * The feature id for the 'Target Entity' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY__TARGET_ENTITY = OrmPackage.XML_MANY_TO_MANY__TARGET_ENTITY; - /** - * The feature id for the 'Fetch' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY__FETCH = OrmPackage.XML_MANY_TO_MANY__FETCH; - /** - * The feature id for the 'Cascade' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY__CASCADE = OrmPackage.XML_MANY_TO_MANY__CASCADE; - /** - * The feature id for the 'Mapped By' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY__MAPPED_BY = OrmPackage.XML_MANY_TO_MANY__MAPPED_BY; - /** - * The feature id for the 'Join Table' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY__JOIN_TABLE = OrmPackage.XML_MANY_TO_MANY__JOIN_TABLE; - /** - * The feature id for the 'Order Column' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY__ORDER_COLUMN = OrmPackage.XML_MANY_TO_MANY__ORDER_COLUMN; - /** - * The feature id for the 'Order By' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY__ORDER_BY = OrmPackage.XML_MANY_TO_MANY__ORDER_BY; - /** - * The feature id for the 'Map Key Attribute Overrides' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY__MAP_KEY_ATTRIBUTE_OVERRIDES = OrmPackage.XML_MANY_TO_MANY__MAP_KEY_ATTRIBUTE_OVERRIDES; - /** - * The feature id for the 'Map Key Temporal' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY__MAP_KEY_TEMPORAL = OrmPackage.XML_MANY_TO_MANY__MAP_KEY_TEMPORAL; - /** - * The feature id for the 'Map Key Enumerated' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY__MAP_KEY_ENUMERATED = OrmPackage.XML_MANY_TO_MANY__MAP_KEY_ENUMERATED; - /** - * The feature id for the 'Map Key Class' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY__MAP_KEY_CLASS = OrmPackage.XML_MANY_TO_MANY__MAP_KEY_CLASS; - /** - * The feature id for the 'Map Key Column' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY__MAP_KEY_COLUMN = OrmPackage.XML_MANY_TO_MANY__MAP_KEY_COLUMN; - /** - * The feature id for the 'Map Key Join Columns' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY__MAP_KEY_JOIN_COLUMNS = OrmPackage.XML_MANY_TO_MANY__MAP_KEY_JOIN_COLUMNS; - /** - * The feature id for the 'Map Key' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY__MAP_KEY = OrmPackage.XML_MANY_TO_MANY__MAP_KEY; - /** - * The feature id for the 'Map Key Association Overrides' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY__MAP_KEY_ASSOCIATION_OVERRIDES = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 0; - /** - * The feature id for the 'Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY__CONVERTERS = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 1; - /** - * The feature id for the 'Type Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY__TYPE_CONVERTERS = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 2; - /** - * The feature id for the 'Object Type Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY__OBJECT_TYPE_CONVERTERS = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 3; - /** - * The feature id for the 'Struct Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY__STRUCT_CONVERTERS = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 4; - /** - * The feature id for the 'Map Key Convert' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY__MAP_KEY_CONVERT = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 5; - /** - * The feature id for the 'Batch Fetch' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY__BATCH_FETCH = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 6; - /** - * The feature id for the 'Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY__PARTITIONING = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 7; - /** - * The feature id for the 'Replication Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY__REPLICATION_PARTITIONING = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 8; - /** - * The feature id for the 'Round Robin Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY__ROUND_ROBIN_PARTITIONING = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 9; - /** - * The feature id for the 'Pinned Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY__PINNED_PARTITIONING = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 10; - /** - * The feature id for the 'Range Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY__RANGE_PARTITIONING = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 11; - /** - * The feature id for the 'Value Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY__VALUE_PARTITIONING = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 12; - /** - * The feature id for the 'Hash Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY__HASH_PARTITIONING = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 13; - /** - * The feature id for the 'Union Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY__UNION_PARTITIONING = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 14; - /** - * The feature id for the 'Partitioned' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY__PARTITIONED = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 15; - /** - * The feature id for the 'Cascade On Delete' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY__CASCADE_ON_DELETE = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 16; - /** - * The feature id for the 'Non Cacheable' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY__NON_CACHEABLE = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 17; - /** - * The feature id for the 'Join Fields' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY__JOIN_FIELDS = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 18; - /** - * The feature id for the 'Access Methods' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY__ACCESS_METHODS = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 19; - /** - * The feature id for the 'Properties' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY__PROPERTIES = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 20; - /** - * The feature id for the 'Attribute Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY__ATTRIBUTE_TYPE = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 21; - /** - * The feature id for the 'Join Fetch' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY__JOIN_FETCH = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 22; - /** - * The number of structural features of the 'Xml Many To Many' class. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY_FEATURE_COUNT = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 23; - /** - * The feature id for the 'Access' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_ONE__ACCESS = OrmPackage.XML_MANY_TO_ONE__ACCESS; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_ONE__NAME = OrmPackage.XML_MANY_TO_ONE__NAME; - /** - * The feature id for the 'Target Entity' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_ONE__TARGET_ENTITY = OrmPackage.XML_MANY_TO_ONE__TARGET_ENTITY; - /** - * The feature id for the 'Fetch' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_ONE__FETCH = OrmPackage.XML_MANY_TO_ONE__FETCH; - /** - * The feature id for the 'Cascade' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_ONE__CASCADE = OrmPackage.XML_MANY_TO_ONE__CASCADE; - /** - * The feature id for the 'Join Table' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_ONE__JOIN_TABLE = OrmPackage.XML_MANY_TO_ONE__JOIN_TABLE; - /** - * The feature id for the 'Join Columns' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_ONE__JOIN_COLUMNS = OrmPackage.XML_MANY_TO_ONE__JOIN_COLUMNS; - /** - * The feature id for the 'Id' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_ONE__ID = OrmPackage.XML_MANY_TO_ONE__ID; - /** - * The feature id for the 'Maps Id' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_ONE__MAPS_ID = OrmPackage.XML_MANY_TO_ONE__MAPS_ID; - /** - * The feature id for the 'Optional' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_ONE__OPTIONAL = OrmPackage.XML_MANY_TO_ONE__OPTIONAL; - /** - * The feature id for the 'Batch Fetch' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_ONE__BATCH_FETCH = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 0; - /** - * The feature id for the 'Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_ONE__PARTITIONING = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 1; - /** - * The feature id for the 'Replication Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_ONE__REPLICATION_PARTITIONING = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 2; - /** - * The feature id for the 'Round Robin Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_ONE__ROUND_ROBIN_PARTITIONING = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 3; - /** - * The feature id for the 'Pinned Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_ONE__PINNED_PARTITIONING = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 4; - /** - * The feature id for the 'Range Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_ONE__RANGE_PARTITIONING = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 5; - /** - * The feature id for the 'Value Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_ONE__VALUE_PARTITIONING = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 6; - /** - * The feature id for the 'Hash Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_ONE__HASH_PARTITIONING = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 7; - /** - * The feature id for the 'Union Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_ONE__UNION_PARTITIONING = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 8; - /** - * The feature id for the 'Partitioned' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_ONE__PARTITIONED = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 9; - /** - * The feature id for the 'Non Cacheable' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_ONE__NON_CACHEABLE = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 10; - /** - * The feature id for the 'Join Fields' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_ONE__JOIN_FIELDS = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 11; - /** - * The feature id for the 'Access Methods' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_ONE__ACCESS_METHODS = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 12; - /** - * The feature id for the 'Properties' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_ONE__PROPERTIES = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 13; - /** - * The feature id for the 'Attribute Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_ONE__ATTRIBUTE_TYPE = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 14; - /** - * The feature id for the 'Join Fetch' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_ONE__JOIN_FETCH = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 15; - /** - * The number of structural features of the 'Xml Many To One' class. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_ONE_FEATURE_COUNT = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 16; - /** - * The feature id for the 'Access' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__ACCESS = OrmPackage.XML_MAPPED_SUPERCLASS__ACCESS; - /** - * The feature id for the 'Class Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__CLASS_NAME = OrmPackage.XML_MAPPED_SUPERCLASS__CLASS_NAME; - /** - * The feature id for the 'Metadata Complete' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__METADATA_COMPLETE = OrmPackage.XML_MAPPED_SUPERCLASS__METADATA_COMPLETE; - /** - * The feature id for the 'Description' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__DESCRIPTION = OrmPackage.XML_MAPPED_SUPERCLASS__DESCRIPTION; - /** - * The feature id for the 'Attributes' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__ATTRIBUTES = OrmPackage.XML_MAPPED_SUPERCLASS__ATTRIBUTES; - /** - * The feature id for the 'Id Class' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__ID_CLASS = OrmPackage.XML_MAPPED_SUPERCLASS__ID_CLASS; - /** - * The feature id for the 'Exclude Default Listeners' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__EXCLUDE_DEFAULT_LISTENERS = OrmPackage.XML_MAPPED_SUPERCLASS__EXCLUDE_DEFAULT_LISTENERS; - /** - * The feature id for the 'Exclude Superclass Listeners' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__EXCLUDE_SUPERCLASS_LISTENERS = OrmPackage.XML_MAPPED_SUPERCLASS__EXCLUDE_SUPERCLASS_LISTENERS; - /** - * The feature id for the 'Entity Listeners' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__ENTITY_LISTENERS = OrmPackage.XML_MAPPED_SUPERCLASS__ENTITY_LISTENERS; - /** - * The feature id for the 'Access Methods' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__ACCESS_METHODS = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 0; - /** - * The feature id for the 'Parent Class' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__PARENT_CLASS = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 1; - /** - * The feature id for the 'Primary Key' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__PRIMARY_KEY = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 2; - /** - * The feature id for the 'Cacheable' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__CACHEABLE = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 3; - /** - * The feature id for the 'Cache Interceptor' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__CACHE_INTERCEPTOR = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 4; - /** - * The feature id for the 'Association Overrides' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__ASSOCIATION_OVERRIDES = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 5; - /** - * The feature id for the 'Attribute Overrides' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__ATTRIBUTE_OVERRIDES = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 6; - /** - * The feature id for the 'Fetch Groups' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__FETCH_GROUPS = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 7; - /** - * The feature id for the 'Sequence Generator' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__SEQUENCE_GENERATOR = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 8; - /** - * The feature id for the 'Table Generator' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__TABLE_GENERATOR = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 9; - /** - * The feature id for the 'Named Queries' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__NAMED_QUERIES = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 10; - /** - * The feature id for the 'Named Native Queries' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__NAMED_NATIVE_QUERIES = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 11; - /** - * The feature id for the 'Named Stored Procedure Queries' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__NAMED_STORED_PROCEDURE_QUERIES = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 12; - /** - * The feature id for the 'Sql Result Set Mappings' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__SQL_RESULT_SET_MAPPINGS = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 13; - /** - * The feature id for the 'Query Redirectors' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__QUERY_REDIRECTORS = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 14; - /** - * The feature id for the 'Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__PARTITIONING = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 15; - /** - * The feature id for the 'Replication Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__REPLICATION_PARTITIONING = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 16; - /** - * The feature id for the 'Round Robin Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__ROUND_ROBIN_PARTITIONING = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 17; - /** - * The feature id for the 'Pinned Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__PINNED_PARTITIONING = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 18; - /** - * The feature id for the 'Range Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__RANGE_PARTITIONING = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 19; - /** - * The feature id for the 'Value Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__VALUE_PARTITIONING = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 20; - /** - * The feature id for the 'Hash Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__HASH_PARTITIONING = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 21; - /** - * The feature id for the 'Union Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__UNION_PARTITIONING = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 22; - /** - * The feature id for the 'Partitioned' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__PARTITIONED = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 23; - /** - * The feature id for the 'Additional Criteria' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__ADDITIONAL_CRITERIA = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 24; - /** - * The feature id for the 'Multitenant' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__MULTITENANT = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 25; - /** - * The feature id for the 'Named Stored Function Queries' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__NAMED_STORED_FUNCTION_QUERIES = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 26; - /** - * The feature id for the 'Named Plsql Stored Function Queries' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__NAMED_PLSQL_STORED_FUNCTION_QUERIES = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 27; - /** - * The feature id for the 'Named Plsql Stored Procedure Queries' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__NAMED_PLSQL_STORED_PROCEDURE_QUERIES = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 28; - /** - * The feature id for the 'Plsql Records' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__PLSQL_RECORDS = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 29; - /** - * The feature id for the 'Plsql Tables' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__PLSQL_TABLES = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 30; - /** - * The feature id for the 'Uuid Generator' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__UUID_GENERATOR = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 31; - /** - * The feature id for the 'Cache Index' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__CACHE_INDEX = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 32; - /** - * The feature id for the 'Read Only' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__READ_ONLY = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 33; - /** - * The feature id for the 'Customizer' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__CUSTOMIZER = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 34; - /** - * The feature id for the 'Change Tracking' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__CHANGE_TRACKING = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 35; - /** - * The feature id for the 'Cache' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__CACHE = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 36; - /** - * The feature id for the 'Existence Checking' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__EXISTENCE_CHECKING = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 37; - /** - * The feature id for the 'Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__CONVERTERS = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 38; - /** - * The feature id for the 'Type Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__TYPE_CONVERTERS = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 39; - /** - * The feature id for the 'Object Type Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__OBJECT_TYPE_CONVERTERS = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 40; - /** - * The feature id for the 'Struct Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__STRUCT_CONVERTERS = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 41; - /** - * The feature id for the 'Properties' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__PROPERTIES = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 42; - /** - * The feature id for the 'Optimistic Locking' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__OPTIMISTIC_LOCKING = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 43; - /** - * The feature id for the 'Copy Policy' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__COPY_POLICY = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 44; - /** - * The feature id for the 'Instantiation Copy Policy' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__INSTANTIATION_COPY_POLICY = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 45; - /** - * The feature id for the 'Clone Copy Policy' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__CLONE_COPY_POLICY = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 46; - /** - * The feature id for the 'Exclude Default Mappings' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS__EXCLUDE_DEFAULT_MAPPINGS = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 47; - /** - * The number of structural features of the 'Xml Mapped Superclass' class. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS_FEATURE_COUNT = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 48; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMultitenant Xml Multitenant}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMultitenant - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlMultitenant() - * @generated - */ - public static final int XML_MULTITENANT = 44; - /** - * The feature id for the 'Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MULTITENANT__TYPE = EclipseLinkOrmV2_3Package.XML_MULTITENANT_23__TYPE; - /** - * The feature id for the 'Tenant Discriminator Columns' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MULTITENANT__TENANT_DISCRIMINATOR_COLUMNS = EclipseLinkOrmV2_3Package.XML_MULTITENANT_23__TENANT_DISCRIMINATOR_COLUMNS; - /** - * The feature id for the 'Include Criteria' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MULTITENANT__INCLUDE_CRITERIA = EclipseLinkOrmV2_3Package.XML_MULTITENANT_23_FEATURE_COUNT + 0; - /** - * The feature id for the 'Tenant Table Discriminator' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MULTITENANT__TENANT_TABLE_DISCRIMINATOR = EclipseLinkOrmV2_3Package.XML_MULTITENANT_23_FEATURE_COUNT + 1; - /** - * The number of structural features of the 'Xml Multitenant' class. - * - * - * @generated - * @ordered - */ - public static final int XML_MULTITENANT_FEATURE_COUNT = EclipseLinkOrmV2_3Package.XML_MULTITENANT_23_FEATURE_COUNT + 2; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMultitenantHolder Xml Multitenant Holder}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMultitenantHolder - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlMultitenantHolder() - * @generated - */ - public static final int XML_MULTITENANT_HOLDER = 45; - /** - * The feature id for the 'Multitenant' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MULTITENANT_HOLDER__MULTITENANT = 0; - /** - * The number of structural features of the 'Xml Multitenant Holder' class. - * - * - * @generated - * @ordered - */ - public static final int XML_MULTITENANT_HOLDER_FEATURE_COUNT = 1; - /** - * The feature id for the 'Mutable' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MUTABLE__MUTABLE = 0; - /** - * The number of structural features of the 'Xml Mutable' class. - * - * - * @generated - * @ordered - */ - public static final int XML_MUTABLE_FEATURE_COUNT = 1; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedPlsqlStoredFunctionQuery Xml Named Plsql Stored Function Query}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedPlsqlStoredFunctionQuery - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedPlsqlStoredFunctionQuery() - * @generated - */ - public static final int XML_NAMED_PLSQL_STORED_FUNCTION_QUERY = 48; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_NAMED_PLSQL_STORED_FUNCTION_QUERY__NAME = EclipseLinkOrmV2_3Package.XML_NAMED_PLSQL_STORED_FUNCTION_QUERY_23__NAME; - /** - * The number of structural features of the 'Xml Named Plsql Stored Function Query' class. - * - * - * @generated - * @ordered - */ - public static final int XML_NAMED_PLSQL_STORED_FUNCTION_QUERY_FEATURE_COUNT = EclipseLinkOrmV2_3Package.XML_NAMED_PLSQL_STORED_FUNCTION_QUERY_23_FEATURE_COUNT + 0; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedPlsqlStoredProcedureQuery Xml Named Plsql Stored Procedure Query}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedPlsqlStoredProcedureQuery - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedPlsqlStoredProcedureQuery() - * @generated - */ - public static final int XML_NAMED_PLSQL_STORED_PROCEDURE_QUERY = 49; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_NAMED_PLSQL_STORED_PROCEDURE_QUERY__NAME = EclipseLinkOrmV2_3Package.XML_NAMED_PLSQL_STORED_PROCEDURE_QUERY_23__NAME; - /** - * The number of structural features of the 'Xml Named Plsql Stored Procedure Query' class. - * - * - * @generated - * @ordered - */ - public static final int XML_NAMED_PLSQL_STORED_PROCEDURE_QUERY_FEATURE_COUNT = EclipseLinkOrmV2_3Package.XML_NAMED_PLSQL_STORED_PROCEDURE_QUERY_23_FEATURE_COUNT + 0; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredFunctionQuery Xml Named Stored Function Query}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredFunctionQuery - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedStoredFunctionQuery() - * @generated - */ - public static final int XML_NAMED_STORED_FUNCTION_QUERY = 50; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_NAMED_STORED_FUNCTION_QUERY__NAME = EclipseLinkOrmV2_3Package.XML_NAMED_STORED_FUNCTION_QUERY_23__NAME; - /** - * The number of structural features of the 'Xml Named Stored Function Query' class. - * - * - * @generated - * @ordered - */ - public static final int XML_NAMED_STORED_FUNCTION_QUERY_FEATURE_COUNT = EclipseLinkOrmV2_3Package.XML_NAMED_STORED_FUNCTION_QUERY_23_FEATURE_COUNT + 0; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_NAMED_STORED_PROCEDURE_QUERY__NAME = 0; - /** - * The feature id for the 'Result Class' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_NAMED_STORED_PROCEDURE_QUERY__RESULT_CLASS = 1; - /** - * The feature id for the 'Result Set Mapping' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_NAMED_STORED_PROCEDURE_QUERY__RESULT_SET_MAPPING = 2; - /** - * The feature id for the 'Procedure Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_NAMED_STORED_PROCEDURE_QUERY__PROCEDURE_NAME = 3; - /** - * The feature id for the 'Returns Result Set' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_NAMED_STORED_PROCEDURE_QUERY__RETURNS_RESULT_SET = 4; - /** - * The feature id for the 'Hints' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_NAMED_STORED_PROCEDURE_QUERY__HINTS = 5; - /** - * The feature id for the 'Parameters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_NAMED_STORED_PROCEDURE_QUERY__PARAMETERS = 6; - /** - * The number of structural features of the 'Xml Named Stored Procedure Query' class. - * - * - * @generated - * @ordered - */ - public static final int XML_NAMED_STORED_PROCEDURE_QUERY_FEATURE_COUNT = 7; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNoSql Xml No Sql}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNoSql - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNoSql() - * @generated - */ - public static final int XML_NO_SQL = 52; - /** - * The feature id for the 'Data Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_NO_SQL__DATA_TYPE = EclipseLinkOrmV2_4Package.XML_NO_SQL_24__DATA_TYPE; - /** - * The feature id for the 'Data Format' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_NO_SQL__DATA_FORMAT = EclipseLinkOrmV2_4Package.XML_NO_SQL_24__DATA_FORMAT; - /** - * The number of structural features of the 'Xml No Sql' class. - * - * - * @generated - * @ordered - */ - public static final int XML_NO_SQL_FEATURE_COUNT = EclipseLinkOrmV2_4Package.XML_NO_SQL_24_FEATURE_COUNT + 0; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_OBJECT_TYPE_CONVERTER__NAME = XML_NAMED_CONVERTER__NAME; - /** - * The feature id for the 'Data Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_OBJECT_TYPE_CONVERTER__DATA_TYPE = XML_NAMED_CONVERTER_FEATURE_COUNT + 0; - /** - * The feature id for the 'Object Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_OBJECT_TYPE_CONVERTER__OBJECT_TYPE = XML_NAMED_CONVERTER_FEATURE_COUNT + 1; - /** - * The feature id for the 'Conversion Values' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_OBJECT_TYPE_CONVERTER__CONVERSION_VALUES = XML_NAMED_CONVERTER_FEATURE_COUNT + 2; - /** - * The feature id for the 'Default Object Value' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_OBJECT_TYPE_CONVERTER__DEFAULT_OBJECT_VALUE = XML_NAMED_CONVERTER_FEATURE_COUNT + 3; - /** - * The number of structural features of the 'Xml Object Type Converter' class. - * - * - * @generated - * @ordered - */ - public static final int XML_OBJECT_TYPE_CONVERTER_FEATURE_COUNT = XML_NAMED_CONVERTER_FEATURE_COUNT + 4; - /** - * The feature id for the 'Access' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY__ACCESS = OrmPackage.XML_ONE_TO_MANY__ACCESS; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY__NAME = OrmPackage.XML_ONE_TO_MANY__NAME; - /** - * The feature id for the 'Target Entity' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY__TARGET_ENTITY = OrmPackage.XML_ONE_TO_MANY__TARGET_ENTITY; - /** - * The feature id for the 'Fetch' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY__FETCH = OrmPackage.XML_ONE_TO_MANY__FETCH; - /** - * The feature id for the 'Cascade' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY__CASCADE = OrmPackage.XML_ONE_TO_MANY__CASCADE; - /** - * The feature id for the 'Mapped By' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY__MAPPED_BY = OrmPackage.XML_ONE_TO_MANY__MAPPED_BY; - /** - * The feature id for the 'Join Table' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY__JOIN_TABLE = OrmPackage.XML_ONE_TO_MANY__JOIN_TABLE; - /** - * The feature id for the 'Order Column' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY__ORDER_COLUMN = OrmPackage.XML_ONE_TO_MANY__ORDER_COLUMN; - /** - * The feature id for the 'Order By' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY__ORDER_BY = OrmPackage.XML_ONE_TO_MANY__ORDER_BY; - /** - * The feature id for the 'Map Key Attribute Overrides' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY__MAP_KEY_ATTRIBUTE_OVERRIDES = OrmPackage.XML_ONE_TO_MANY__MAP_KEY_ATTRIBUTE_OVERRIDES; - /** - * The feature id for the 'Map Key Temporal' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY__MAP_KEY_TEMPORAL = OrmPackage.XML_ONE_TO_MANY__MAP_KEY_TEMPORAL; - /** - * The feature id for the 'Map Key Enumerated' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY__MAP_KEY_ENUMERATED = OrmPackage.XML_ONE_TO_MANY__MAP_KEY_ENUMERATED; - /** - * The feature id for the 'Map Key Class' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY__MAP_KEY_CLASS = OrmPackage.XML_ONE_TO_MANY__MAP_KEY_CLASS; - /** - * The feature id for the 'Map Key Column' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY__MAP_KEY_COLUMN = OrmPackage.XML_ONE_TO_MANY__MAP_KEY_COLUMN; - /** - * The feature id for the 'Map Key Join Columns' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY__MAP_KEY_JOIN_COLUMNS = OrmPackage.XML_ONE_TO_MANY__MAP_KEY_JOIN_COLUMNS; - /** - * The feature id for the 'Map Key' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY__MAP_KEY = OrmPackage.XML_ONE_TO_MANY__MAP_KEY; - /** - * The feature id for the 'Join Columns' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY__JOIN_COLUMNS = OrmPackage.XML_ONE_TO_MANY__JOIN_COLUMNS; - /** - * The feature id for the 'Orphan Removal' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY__ORPHAN_REMOVAL = OrmPackage.XML_ONE_TO_MANY__ORPHAN_REMOVAL; - /** - * The feature id for the 'Map Key Association Overrides' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY__MAP_KEY_ASSOCIATION_OVERRIDES = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 0; - /** - * The feature id for the 'Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY__CONVERTERS = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 1; - /** - * The feature id for the 'Type Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY__TYPE_CONVERTERS = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 2; - /** - * The feature id for the 'Object Type Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY__OBJECT_TYPE_CONVERTERS = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 3; - /** - * The feature id for the 'Struct Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY__STRUCT_CONVERTERS = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 4; - /** - * The feature id for the 'Map Key Convert' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY__MAP_KEY_CONVERT = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 5; - /** - * The feature id for the 'Batch Fetch' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY__BATCH_FETCH = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 6; - /** - * The feature id for the 'Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY__PARTITIONING = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 7; - /** - * The feature id for the 'Replication Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY__REPLICATION_PARTITIONING = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 8; - /** - * The feature id for the 'Round Robin Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY__ROUND_ROBIN_PARTITIONING = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 9; - /** - * The feature id for the 'Pinned Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY__PINNED_PARTITIONING = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 10; - /** - * The feature id for the 'Range Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY__RANGE_PARTITIONING = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 11; - /** - * The feature id for the 'Value Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY__VALUE_PARTITIONING = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 12; - /** - * The feature id for the 'Hash Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY__HASH_PARTITIONING = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 13; - /** - * The feature id for the 'Union Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY__UNION_PARTITIONING = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 14; - /** - * The feature id for the 'Partitioned' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY__PARTITIONED = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 15; - /** - * The feature id for the 'Cascade On Delete' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY__CASCADE_ON_DELETE = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 16; - /** - * The feature id for the 'Noncacheable' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY__NONCACHEABLE = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 17; - /** - * The feature id for the 'Join Fields' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY__JOIN_FIELDS = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 18; - /** - * The feature id for the 'Delete All' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY__DELETE_ALL = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 19; - /** - * The feature id for the 'Access Methods' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY__ACCESS_METHODS = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 20; - /** - * The feature id for the 'Properties' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY__PROPERTIES = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 21; - /** - * The feature id for the 'Attribute Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY__ATTRIBUTE_TYPE = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 22; - /** - * The feature id for the 'Private Owned' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY__PRIVATE_OWNED = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 23; - /** - * The feature id for the 'Join Fetch' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY__JOIN_FETCH = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 24; - /** - * The number of structural features of the 'Xml One To Many' class. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY_FEATURE_COUNT = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 25; - /** - * The feature id for the 'Access' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE__ACCESS = OrmPackage.XML_ONE_TO_ONE__ACCESS; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE__NAME = OrmPackage.XML_ONE_TO_ONE__NAME; - /** - * The feature id for the 'Target Entity' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE__TARGET_ENTITY = OrmPackage.XML_ONE_TO_ONE__TARGET_ENTITY; - /** - * The feature id for the 'Fetch' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE__FETCH = OrmPackage.XML_ONE_TO_ONE__FETCH; - /** - * The feature id for the 'Cascade' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE__CASCADE = OrmPackage.XML_ONE_TO_ONE__CASCADE; - /** - * The feature id for the 'Join Table' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE__JOIN_TABLE = OrmPackage.XML_ONE_TO_ONE__JOIN_TABLE; - /** - * The feature id for the 'Join Columns' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE__JOIN_COLUMNS = OrmPackage.XML_ONE_TO_ONE__JOIN_COLUMNS; - /** - * The feature id for the 'Id' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE__ID = OrmPackage.XML_ONE_TO_ONE__ID; - /** - * The feature id for the 'Maps Id' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE__MAPS_ID = OrmPackage.XML_ONE_TO_ONE__MAPS_ID; - /** - * The feature id for the 'Optional' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE__OPTIONAL = OrmPackage.XML_ONE_TO_ONE__OPTIONAL; - /** - * The feature id for the 'Mapped By' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE__MAPPED_BY = OrmPackage.XML_ONE_TO_ONE__MAPPED_BY; - /** - * The feature id for the 'Primary Key Join Columns' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE__PRIMARY_KEY_JOIN_COLUMNS = OrmPackage.XML_ONE_TO_ONE__PRIMARY_KEY_JOIN_COLUMNS; - /** - * The feature id for the 'Orphan Removal' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE__ORPHAN_REMOVAL = OrmPackage.XML_ONE_TO_ONE__ORPHAN_REMOVAL; - /** - * The feature id for the 'Batch Fetch' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE__BATCH_FETCH = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 0; - /** - * The feature id for the 'Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE__PARTITIONING = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 1; - /** - * The feature id for the 'Replication Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE__REPLICATION_PARTITIONING = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 2; - /** - * The feature id for the 'Round Robin Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 3; - /** - * The feature id for the 'Pinned Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE__PINNED_PARTITIONING = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 4; - /** - * The feature id for the 'Range Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE__RANGE_PARTITIONING = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 5; - /** - * The feature id for the 'Value Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE__VALUE_PARTITIONING = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 6; - /** - * The feature id for the 'Hash Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE__HASH_PARTITIONING = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 7; - /** - * The feature id for the 'Union Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE__UNION_PARTITIONING = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 8; - /** - * The feature id for the 'Partitioned' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE__PARTITIONED = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 9; - /** - * The feature id for the 'Cascade On Delete' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE__CASCADE_ON_DELETE = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 10; - /** - * The feature id for the 'Non Cacheable' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE__NON_CACHEABLE = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 11; - /** - * The feature id for the 'Join Fields' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE__JOIN_FIELDS = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 12; - /** - * The feature id for the 'Access Methods' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE__ACCESS_METHODS = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 13; - /** - * The feature id for the 'Properties' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE__PROPERTIES = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 14; - /** - * The feature id for the 'Attribute Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE__ATTRIBUTE_TYPE = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 15; - /** - * The feature id for the 'Private Owned' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE__PRIVATE_OWNED = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 16; - /** - * The feature id for the 'Join Fetch' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE__JOIN_FETCH = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 17; - /** - * The number of structural features of the 'Xml One To One' class. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE_FEATURE_COUNT = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 18; - /** - * The feature id for the 'Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_OPTIMISTIC_LOCKING__TYPE = 0; - /** - * The feature id for the 'Cascade' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_OPTIMISTIC_LOCKING__CASCADE = 1; - /** - * The feature id for the 'Selected Columns' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_OPTIMISTIC_LOCKING__SELECTED_COLUMNS = 2; - /** - * The number of structural features of the 'Xml Optimistic Locking' class. - * - * - * @generated - * @ordered - */ - public static final int XML_OPTIMISTIC_LOCKING_FEATURE_COUNT = 3; - /** - * The feature id for the 'Column Definition' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ORDER_COLUMN__COLUMN_DEFINITION = OrmPackage.XML_ORDER_COLUMN__COLUMN_DEFINITION; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ORDER_COLUMN__NAME = OrmPackage.XML_ORDER_COLUMN__NAME; - /** - * The feature id for the 'Nullable' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ORDER_COLUMN__NULLABLE = OrmPackage.XML_ORDER_COLUMN__NULLABLE; - /** - * The feature id for the 'Insertable' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ORDER_COLUMN__INSERTABLE = OrmPackage.XML_ORDER_COLUMN__INSERTABLE; - /** - * The feature id for the 'Updatable' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ORDER_COLUMN__UPDATABLE = OrmPackage.XML_ORDER_COLUMN__UPDATABLE; - /** - * The feature id for the 'Correction Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ORDER_COLUMN__CORRECTION_TYPE = OrmPackage.XML_ORDER_COLUMN_FEATURE_COUNT + 0; - /** - * The number of structural features of the 'Xml Order Column' class. - * - * - * @generated - * @ordered - */ - public static final int XML_ORDER_COLUMN_FEATURE_COUNT = OrmPackage.XML_ORDER_COLUMN_FEATURE_COUNT + 1; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPartitioning Xml Partitioning}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPartitioning - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioning() - * @generated - */ - public static final int XML_PARTITIONING = 58; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_PARTITIONING__NAME = EclipseLinkOrmV2_2Package.XML_PARTITIONING_22__NAME; - /** - * The number of structural features of the 'Xml Partitioning' class. - * - * - * @generated - * @ordered - */ - public static final int XML_PARTITIONING_FEATURE_COUNT = EclipseLinkOrmV2_2Package.XML_PARTITIONING_22_FEATURE_COUNT + 0; - /** - * The feature id for the 'Access' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_PERSISTENCE_UNIT_DEFAULTS__ACCESS = OrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS__ACCESS; - /** - * The feature id for the 'Description' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_PERSISTENCE_UNIT_DEFAULTS__DESCRIPTION = OrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS__DESCRIPTION; - /** - * The feature id for the 'Delimited Identifiers' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_PERSISTENCE_UNIT_DEFAULTS__DELIMITED_IDENTIFIERS = OrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS__DELIMITED_IDENTIFIERS; - /** - * The feature id for the 'Schema' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_PERSISTENCE_UNIT_DEFAULTS__SCHEMA = OrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS__SCHEMA; - /** - * The feature id for the 'Catalog' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_PERSISTENCE_UNIT_DEFAULTS__CATALOG = OrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS__CATALOG; - /** - * The feature id for the 'Cascade Persist' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_PERSISTENCE_UNIT_DEFAULTS__CASCADE_PERSIST = OrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS__CASCADE_PERSIST; - /** - * The feature id for the 'Entity Listeners' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_PERSISTENCE_UNIT_DEFAULTS__ENTITY_LISTENERS = OrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS__ENTITY_LISTENERS; - /** - * The feature id for the 'Access Methods' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_PERSISTENCE_UNIT_DEFAULTS__ACCESS_METHODS = OrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS_FEATURE_COUNT + 0; - /** - * The feature id for the 'Tenant Discriminator Columns' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_PERSISTENCE_UNIT_DEFAULTS__TENANT_DISCRIMINATOR_COLUMNS = OrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS_FEATURE_COUNT + 1; - /** - * The number of structural features of the 'Xml Persistence Unit Defaults' class. - * - * - * @generated - * @ordered - */ - public static final int XML_PERSISTENCE_UNIT_DEFAULTS_FEATURE_COUNT = OrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS_FEATURE_COUNT + 2; - /** - * The feature id for the 'Description' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_PERSISTENCE_UNIT_METADATA__DESCRIPTION = OrmPackage.XML_PERSISTENCE_UNIT_METADATA__DESCRIPTION; - /** - * The feature id for the 'Xml Mapping Metadata Complete' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_PERSISTENCE_UNIT_METADATA__XML_MAPPING_METADATA_COMPLETE = OrmPackage.XML_PERSISTENCE_UNIT_METADATA__XML_MAPPING_METADATA_COMPLETE; - /** - * The feature id for the 'Persistence Unit Defaults' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_PERSISTENCE_UNIT_METADATA__PERSISTENCE_UNIT_DEFAULTS = OrmPackage.XML_PERSISTENCE_UNIT_METADATA__PERSISTENCE_UNIT_DEFAULTS; - /** - * The feature id for the 'Exclude Default Mappings' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_PERSISTENCE_UNIT_METADATA__EXCLUDE_DEFAULT_MAPPINGS = OrmPackage.XML_PERSISTENCE_UNIT_METADATA_FEATURE_COUNT + 0; - /** - * The number of structural features of the 'Xml Persistence Unit Metadata' class. - * - * - * @generated - * @ordered - */ - public static final int XML_PERSISTENCE_UNIT_METADATA_FEATURE_COUNT = OrmPackage.XML_PERSISTENCE_UNIT_METADATA_FEATURE_COUNT + 1; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPinnedPartitioning Xml Pinned Partitioning}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPinnedPartitioning - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPinnedPartitioning() - * @generated - */ - public static final int XML_PINNED_PARTITIONING = 61; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_PINNED_PARTITIONING__NAME = EclipseLinkOrmV2_2Package.XML_PINNED_PARTITIONING_22__NAME; - /** - * The number of structural features of the 'Xml Pinned Partitioning' class. - * - * - * @generated - * @ordered - */ - public static final int XML_PINNED_PARTITIONING_FEATURE_COUNT = EclipseLinkOrmV2_2Package.XML_PINNED_PARTITIONING_22_FEATURE_COUNT + 0; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPlsqlRecord Xml Plsql Record}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPlsqlRecord - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPlsqlRecord() - * @generated - */ - public static final int XML_PLSQL_RECORD = 62; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_PLSQL_RECORD__NAME = EclipseLinkOrmV2_3Package.XML_PLSQL_RECORD_23__NAME; - /** - * The number of structural features of the 'Xml Plsql Record' class. - * - * - * @generated - * @ordered - */ - public static final int XML_PLSQL_RECORD_FEATURE_COUNT = EclipseLinkOrmV2_3Package.XML_PLSQL_RECORD_23_FEATURE_COUNT + 0; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPlsqlTable Xml Plsql Table}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPlsqlTable - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPlsqlTable() - * @generated - */ - public static final int XML_PLSQL_TABLE = 63; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_PLSQL_TABLE__NAME = EclipseLinkOrmV2_3Package.XML_PLSQL_TABLE_23__NAME; - /** - * The number of structural features of the 'Xml Plsql Table' class. - * - * - * @generated - * @ordered - */ - public static final int XML_PLSQL_TABLE_FEATURE_COUNT = EclipseLinkOrmV2_3Package.XML_PLSQL_TABLE_23_FEATURE_COUNT + 0; - /** - * The feature id for the 'Validation' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_PRIMARY_KEY__VALIDATION = EclipseLinkOrmV1_1Package.XML_PRIMARY_KEY_11__VALIDATION; - /** - * The feature id for the 'Columns' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_PRIMARY_KEY__COLUMNS = EclipseLinkOrmV1_1Package.XML_PRIMARY_KEY_11__COLUMNS; - /** - * The feature id for the 'Cache Key Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_PRIMARY_KEY__CACHE_KEY_TYPE = EclipseLinkOrmV1_1Package.XML_PRIMARY_KEY_11_FEATURE_COUNT + 0; - /** - * The number of structural features of the 'Xml Primary Key' class. - * - * - * @generated - * @ordered - */ - public static final int XML_PRIMARY_KEY_FEATURE_COUNT = EclipseLinkOrmV1_1Package.XML_PRIMARY_KEY_11_FEATURE_COUNT + 1; - /** - * The feature id for the 'Private Owned' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_PRIVATE_OWNED__PRIVATE_OWNED = 0; - /** - * The number of structural features of the 'Xml Private Owned' class. - * - * - * @generated - * @ordered - */ - public static final int XML_PRIVATE_OWNED_FEATURE_COUNT = 1; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_PROPERTY__NAME = 0; - /** - * The feature id for the 'Value' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_PROPERTY__VALUE = 1; - /** - * The feature id for the 'Value Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_PROPERTY__VALUE_TYPE = 2; - /** - * The number of structural features of the 'Xml Property' class. - * - * - * @generated - * @ordered - */ - public static final int XML_PROPERTY_FEATURE_COUNT = 3; - /** - * The feature id for the 'Properties' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_PROPERTY_CONTAINER__PROPERTIES = 0; - /** - * The number of structural features of the 'Xml Property Container' class. - * - * - * @generated - * @ordered - */ - public static final int XML_PROPERTY_CONTAINER_FEATURE_COUNT = 1; - /** - * The feature id for the 'Named Stored Procedure Queries' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_QUERY_CONTAINER__NAMED_STORED_PROCEDURE_QUERIES = 0; - /** - * The number of structural features of the 'Xml Query Container' class. - * - * - * @generated - * @ordered - */ - public static final int XML_QUERY_CONTAINER_FEATURE_COUNT = 1; - /** - * The feature id for the 'All Queries' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_QUERY_REDIRECTORS__ALL_QUERIES = EclipseLinkOrmV2_0Package.XML_QUERY_REDIRECTORS_20__ALL_QUERIES; - /** - * The feature id for the 'Read All' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_QUERY_REDIRECTORS__READ_ALL = EclipseLinkOrmV2_0Package.XML_QUERY_REDIRECTORS_20__READ_ALL; - /** - * The feature id for the 'Read Object' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_QUERY_REDIRECTORS__READ_OBJECT = EclipseLinkOrmV2_0Package.XML_QUERY_REDIRECTORS_20__READ_OBJECT; - /** - * The feature id for the 'Report' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_QUERY_REDIRECTORS__REPORT = EclipseLinkOrmV2_0Package.XML_QUERY_REDIRECTORS_20__REPORT; - /** - * The feature id for the 'Update' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_QUERY_REDIRECTORS__UPDATE = EclipseLinkOrmV2_0Package.XML_QUERY_REDIRECTORS_20__UPDATE; - /** - * The feature id for the 'Insert' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_QUERY_REDIRECTORS__INSERT = EclipseLinkOrmV2_0Package.XML_QUERY_REDIRECTORS_20__INSERT; - /** - * The feature id for the 'Delete' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_QUERY_REDIRECTORS__DELETE = EclipseLinkOrmV2_0Package.XML_QUERY_REDIRECTORS_20__DELETE; - /** - * The number of structural features of the 'Xml Query Redirectors' class. - * - * - * @generated - * @ordered - */ - public static final int XML_QUERY_REDIRECTORS_FEATURE_COUNT = EclipseLinkOrmV2_0Package.XML_QUERY_REDIRECTORS_20_FEATURE_COUNT + 0; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlRangePartitioning Xml Range Partitioning}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlRangePartitioning - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlRangePartitioning() - * @generated - */ - public static final int XML_RANGE_PARTITIONING = 70; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_RANGE_PARTITIONING__NAME = EclipseLinkOrmV2_2Package.XML_RANGE_PARTITIONING_22__NAME; - /** - * The number of structural features of the 'Xml Range Partitioning' class. - * - * - * @generated - * @ordered - */ - public static final int XML_RANGE_PARTITIONING_FEATURE_COUNT = EclipseLinkOrmV2_2Package.XML_RANGE_PARTITIONING_22_FEATURE_COUNT + 0; - /** - * The feature id for the 'Read Only' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_READ_ONLY__READ_ONLY = 0; - /** - * The number of structural features of the 'Xml Read Only' class. - * - * - * @generated - * @ordered - */ - public static final int XML_READ_ONLY_FEATURE_COUNT = 1; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlReplicationPartitioning Xml Replication Partitioning}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlReplicationPartitioning - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlReplicationPartitioning() - * @generated - */ - public static final int XML_REPLICATION_PARTITIONING = 72; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_REPLICATION_PARTITIONING__NAME = EclipseLinkOrmV2_2Package.XML_REPLICATION_PARTITIONING_22__NAME; - /** - * The number of structural features of the 'Xml Replication Partitioning' class. - * - * - * @generated - * @ordered - */ - public static final int XML_REPLICATION_PARTITIONING_FEATURE_COUNT = EclipseLinkOrmV2_2Package.XML_REPLICATION_PARTITIONING_22_FEATURE_COUNT + 0; - /** - * The feature id for the 'Return Only' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_RETURN_INSERT__RETURN_ONLY = EclipseLinkOrmV2_1Package.XML_RETURN_INSERT_21__RETURN_ONLY; - /** - * The number of structural features of the 'Xml Return Insert' class. - * - * - * @generated - * @ordered - */ - public static final int XML_RETURN_INSERT_FEATURE_COUNT = EclipseLinkOrmV2_1Package.XML_RETURN_INSERT_21_FEATURE_COUNT + 0; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlRoundRobinPartitioning Xml Round Robin Partitioning}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlRoundRobinPartitioning - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlRoundRobinPartitioning() - * @generated - */ - public static final int XML_ROUND_ROBIN_PARTITIONING = 74; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ROUND_ROBIN_PARTITIONING__NAME = EclipseLinkOrmV2_2Package.XML_ROUND_ROBIN_PARTITIONING_22__NAME; - /** - * The number of structural features of the 'Xml Round Robin Partitioning' class. - * - * - * @generated - * @ordered - */ - public static final int XML_ROUND_ROBIN_PARTITIONING_FEATURE_COUNT = EclipseLinkOrmV2_2Package.XML_ROUND_ROBIN_PARTITIONING_22_FEATURE_COUNT + 0; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_SECONDARY_TABLE__NAME = OrmPackage.XML_SECONDARY_TABLE__NAME; - /** - * The feature id for the 'Catalog' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_SECONDARY_TABLE__CATALOG = OrmPackage.XML_SECONDARY_TABLE__CATALOG; - /** - * The feature id for the 'Schema' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_SECONDARY_TABLE__SCHEMA = OrmPackage.XML_SECONDARY_TABLE__SCHEMA; - /** - * The feature id for the 'Unique Constraints' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_SECONDARY_TABLE__UNIQUE_CONSTRAINTS = OrmPackage.XML_SECONDARY_TABLE__UNIQUE_CONSTRAINTS; - /** - * The feature id for the 'Primary Key Join Columns' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_SECONDARY_TABLE__PRIMARY_KEY_JOIN_COLUMNS = OrmPackage.XML_SECONDARY_TABLE__PRIMARY_KEY_JOIN_COLUMNS; - /** - * The feature id for the 'Creation Suffix' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_SECONDARY_TABLE__CREATION_SUFFIX = OrmPackage.XML_SECONDARY_TABLE_FEATURE_COUNT + 0; - /** - * The number of structural features of the 'Xml Secondary Table' class. - * - * - * @generated - * @ordered - */ - public static final int XML_SECONDARY_TABLE_FEATURE_COUNT = OrmPackage.XML_SECONDARY_TABLE_FEATURE_COUNT + 1; - /** - * The feature id for the 'Direction' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_STORED_PROCEDURE_PARAMETER__DIRECTION = 0; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_STORED_PROCEDURE_PARAMETER__NAME = 1; - /** - * The feature id for the 'Query Parameter' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_STORED_PROCEDURE_PARAMETER__QUERY_PARAMETER = 2; - /** - * The feature id for the 'Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_STORED_PROCEDURE_PARAMETER__TYPE = 3; - /** - * The feature id for the 'Jdbc Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_STORED_PROCEDURE_PARAMETER__JDBC_TYPE = 4; - /** - * The feature id for the 'Jdbc Type Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_STORED_PROCEDURE_PARAMETER__JDBC_TYPE_NAME = 5; - /** - * The number of structural features of the 'Xml Stored Procedure Parameter' class. - * - * - * @generated - * @ordered - */ - public static final int XML_STORED_PROCEDURE_PARAMETER_FEATURE_COUNT = 6; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStruct Xml Struct}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStruct - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlStruct() - * @generated - */ - public static final int XML_STRUCT = 77; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_STRUCT__NAME = EclipseLinkOrmV2_3Package.XML_STRUCT_23__NAME; - /** - * The number of structural features of the 'Xml Struct' class. - * - * - * @generated - * @ordered - */ - public static final int XML_STRUCT_FEATURE_COUNT = EclipseLinkOrmV2_3Package.XML_STRUCT_23_FEATURE_COUNT + 0; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_STRUCT_CONVERTER__NAME = XML_NAMED_CONVERTER__NAME; - /** - * The feature id for the 'Converter' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_STRUCT_CONVERTER__CONVERTER = XML_NAMED_CONVERTER_FEATURE_COUNT + 0; - /** - * The number of structural features of the 'Xml Struct Converter' class. - * - * - * @generated - * @ordered - */ - public static final int XML_STRUCT_CONVERTER_FEATURE_COUNT = XML_NAMED_CONVERTER_FEATURE_COUNT + 1; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructure Xml Structure}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructure - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlStructure() - * @generated - */ - public static final int XML_STRUCTURE = 79; - /** - * The feature id for the 'Access' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_STRUCTURE__ACCESS = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING__ACCESS; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_STRUCTURE__NAME = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING__NAME; - /** - * The feature id for the 'Access Methods' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_STRUCTURE__ACCESS_METHODS = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 0; - /** - * The feature id for the 'Properties' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_STRUCTURE__PROPERTIES = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 1; - /** - * The feature id for the 'Attribute Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_STRUCTURE__ATTRIBUTE_TYPE = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 2; - /** - * The number of structural features of the 'Xml Structure' class. - * - * - * @generated - * @ordered - */ - public static final int XML_STRUCTURE_FEATURE_COUNT = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 3; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TABLE__NAME = OrmPackage.XML_TABLE__NAME; - /** - * The feature id for the 'Catalog' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TABLE__CATALOG = OrmPackage.XML_TABLE__CATALOG; - /** - * The feature id for the 'Schema' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TABLE__SCHEMA = OrmPackage.XML_TABLE__SCHEMA; - /** - * The feature id for the 'Unique Constraints' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_TABLE__UNIQUE_CONSTRAINTS = OrmPackage.XML_TABLE__UNIQUE_CONSTRAINTS; - /** - * The feature id for the 'Creation Suffix' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TABLE__CREATION_SUFFIX = OrmPackage.XML_TABLE_FEATURE_COUNT + 0; - /** - * The number of structural features of the 'Xml Table' class. - * - * - * @generated - * @ordered - */ - public static final int XML_TABLE_FEATURE_COUNT = OrmPackage.XML_TABLE_FEATURE_COUNT + 1; - /** - * The feature id for the 'Description' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TABLE_GENERATOR__DESCRIPTION = OrmPackage.XML_TABLE_GENERATOR__DESCRIPTION; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TABLE_GENERATOR__NAME = OrmPackage.XML_TABLE_GENERATOR__NAME; - /** - * The feature id for the 'Initial Value' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TABLE_GENERATOR__INITIAL_VALUE = OrmPackage.XML_TABLE_GENERATOR__INITIAL_VALUE; - /** - * The feature id for the 'Allocation Size' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TABLE_GENERATOR__ALLOCATION_SIZE = OrmPackage.XML_TABLE_GENERATOR__ALLOCATION_SIZE; - /** - * The feature id for the 'Table' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TABLE_GENERATOR__TABLE = OrmPackage.XML_TABLE_GENERATOR__TABLE; - /** - * The feature id for the 'Catalog' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TABLE_GENERATOR__CATALOG = OrmPackage.XML_TABLE_GENERATOR__CATALOG; - /** - * The feature id for the 'Schema' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TABLE_GENERATOR__SCHEMA = OrmPackage.XML_TABLE_GENERATOR__SCHEMA; - /** - * The feature id for the 'Pk Column Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TABLE_GENERATOR__PK_COLUMN_NAME = OrmPackage.XML_TABLE_GENERATOR__PK_COLUMN_NAME; - /** - * The feature id for the 'Value Column Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TABLE_GENERATOR__VALUE_COLUMN_NAME = OrmPackage.XML_TABLE_GENERATOR__VALUE_COLUMN_NAME; - /** - * The feature id for the 'Pk Column Value' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TABLE_GENERATOR__PK_COLUMN_VALUE = OrmPackage.XML_TABLE_GENERATOR__PK_COLUMN_VALUE; - /** - * The feature id for the 'Unique Constraints' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_TABLE_GENERATOR__UNIQUE_CONSTRAINTS = OrmPackage.XML_TABLE_GENERATOR__UNIQUE_CONSTRAINTS; - /** - * The feature id for the 'Creation Suffix' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TABLE_GENERATOR__CREATION_SUFFIX = OrmPackage.XML_TABLE_GENERATOR_FEATURE_COUNT + 0; - /** - * The number of structural features of the 'Xml Table Generator' class. - * - * - * @generated - * @ordered - */ - public static final int XML_TABLE_GENERATOR_FEATURE_COUNT = OrmPackage.XML_TABLE_GENERATOR_FEATURE_COUNT + 1; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTenantDiscriminatorColumn Xml Tenant Discriminator Column}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTenantDiscriminatorColumn - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTenantDiscriminatorColumn() - * @generated - */ - public static final int XML_TENANT_DISCRIMINATOR_COLUMN = 82; - /** - * The feature id for the 'Column Definition' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TENANT_DISCRIMINATOR_COLUMN__COLUMN_DEFINITION = OrmPackage.ABSTRACT_XML_BASE_DISCRIMINATOR_COLUMN__COLUMN_DEFINITION; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TENANT_DISCRIMINATOR_COLUMN__NAME = OrmPackage.ABSTRACT_XML_BASE_DISCRIMINATOR_COLUMN__NAME; - /** - * The feature id for the 'Discriminator Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TENANT_DISCRIMINATOR_COLUMN__DISCRIMINATOR_TYPE = OrmPackage.ABSTRACT_XML_BASE_DISCRIMINATOR_COLUMN__DISCRIMINATOR_TYPE; - /** - * The feature id for the 'Length' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TENANT_DISCRIMINATOR_COLUMN__LENGTH = OrmPackage.ABSTRACT_XML_BASE_DISCRIMINATOR_COLUMN__LENGTH; - /** - * The feature id for the 'Context Property' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TENANT_DISCRIMINATOR_COLUMN__CONTEXT_PROPERTY = OrmPackage.ABSTRACT_XML_BASE_DISCRIMINATOR_COLUMN_FEATURE_COUNT + 0; - /** - * The feature id for the 'Table' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TENANT_DISCRIMINATOR_COLUMN__TABLE = OrmPackage.ABSTRACT_XML_BASE_DISCRIMINATOR_COLUMN_FEATURE_COUNT + 1; - /** - * The feature id for the 'Primary Key' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TENANT_DISCRIMINATOR_COLUMN__PRIMARY_KEY = OrmPackage.ABSTRACT_XML_BASE_DISCRIMINATOR_COLUMN_FEATURE_COUNT + 2; - /** - * The number of structural features of the 'Xml Tenant Discriminator Column' class. - * - * - * @generated - * @ordered - */ - public static final int XML_TENANT_DISCRIMINATOR_COLUMN_FEATURE_COUNT = OrmPackage.ABSTRACT_XML_BASE_DISCRIMINATOR_COLUMN_FEATURE_COUNT + 3; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTenantTableDiscriminator Xml Tenant Table Discriminator}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTenantTableDiscriminator - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTenantTableDiscriminator() - * @generated - */ - public static final int XML_TENANT_TABLE_DISCRIMINATOR = 83; - /** - * The feature id for the 'Context Property' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TENANT_TABLE_DISCRIMINATOR__CONTEXT_PROPERTY = EclipseLinkOrmV2_4Package.XML_TENANT_TABLE_DISCRIMINATOR_24__CONTEXT_PROPERTY; - /** - * The feature id for the 'Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TENANT_TABLE_DISCRIMINATOR__TYPE = EclipseLinkOrmV2_4Package.XML_TENANT_TABLE_DISCRIMINATOR_24__TYPE; - /** - * The number of structural features of the 'Xml Tenant Table Discriminator' class. - * - * - * @generated - * @ordered - */ - public static final int XML_TENANT_TABLE_DISCRIMINATOR_FEATURE_COUNT = EclipseLinkOrmV2_4Package.XML_TENANT_TABLE_DISCRIMINATOR_24_FEATURE_COUNT + 0; - /** - * The feature id for the 'Hour' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TIME_OF_DAY__HOUR = 0; - /** - * The feature id for the 'Minute' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TIME_OF_DAY__MINUTE = 1; - /** - * The feature id for the 'Second' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TIME_OF_DAY__SECOND = 2; - /** - * The feature id for the 'Millisecond' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TIME_OF_DAY__MILLISECOND = 3; - /** - * The number of structural features of the 'Xml Time Of Day' class. - * - * - * @generated - * @ordered - */ - public static final int XML_TIME_OF_DAY_FEATURE_COUNT = 4; - /** - * The feature id for the 'Access' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TRANSFORMATION__ACCESS = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING__ACCESS; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TRANSFORMATION__NAME = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING__NAME; - /** - * The feature id for the 'Access Methods' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_TRANSFORMATION__ACCESS_METHODS = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 0; - /** - * The feature id for the 'Properties' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_TRANSFORMATION__PROPERTIES = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 1; - /** - * The feature id for the 'Attribute Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TRANSFORMATION__ATTRIBUTE_TYPE = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 2; - /** - * The number of structural features of the 'Xml Transformation' class. - * - * - * @generated - * @ordered - */ - public static final int XML_TRANSFORMATION_FEATURE_COUNT = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 3; - /** - * The feature id for the 'Access' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TRANSIENT__ACCESS = OrmPackage.XML_TRANSIENT__ACCESS; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TRANSIENT__NAME = OrmPackage.XML_TRANSIENT__NAME; - /** - * The feature id for the 'Access Methods' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_TRANSIENT__ACCESS_METHODS = OrmPackage.XML_TRANSIENT_FEATURE_COUNT + 0; - /** - * The feature id for the 'Properties' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_TRANSIENT__PROPERTIES = OrmPackage.XML_TRANSIENT_FEATURE_COUNT + 1; - /** - * The feature id for the 'Attribute Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TRANSIENT__ATTRIBUTE_TYPE = OrmPackage.XML_TRANSIENT_FEATURE_COUNT + 2; - /** - * The number of structural features of the 'Xml Transient' class. - * - * - * @generated - * @ordered - */ - public static final int XML_TRANSIENT_FEATURE_COUNT = OrmPackage.XML_TRANSIENT_FEATURE_COUNT + 3; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TYPE_CONVERTER__NAME = XML_NAMED_CONVERTER__NAME; - /** - * The feature id for the 'Data Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TYPE_CONVERTER__DATA_TYPE = XML_NAMED_CONVERTER_FEATURE_COUNT + 0; - /** - * The feature id for the 'Object Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TYPE_CONVERTER__OBJECT_TYPE = XML_NAMED_CONVERTER_FEATURE_COUNT + 1; - /** - * The number of structural features of the 'Xml Type Converter' class. - * - * - * @generated - * @ordered - */ - public static final int XML_TYPE_CONVERTER_FEATURE_COUNT = XML_NAMED_CONVERTER_FEATURE_COUNT + 2; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeMapping Xml Type Mapping}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeMapping - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTypeMapping() - * @generated - */ - public static final int XML_TYPE_MAPPING = 88; - /** - * The feature id for the 'Access' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TYPE_MAPPING__ACCESS = OrmPackage.XML_TYPE_MAPPING__ACCESS; - /** - * The feature id for the 'Class Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TYPE_MAPPING__CLASS_NAME = OrmPackage.XML_TYPE_MAPPING__CLASS_NAME; - /** - * The feature id for the 'Metadata Complete' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TYPE_MAPPING__METADATA_COMPLETE = OrmPackage.XML_TYPE_MAPPING__METADATA_COMPLETE; - /** - * The feature id for the 'Description' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TYPE_MAPPING__DESCRIPTION = OrmPackage.XML_TYPE_MAPPING__DESCRIPTION; - /** - * The feature id for the 'Attributes' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_TYPE_MAPPING__ATTRIBUTES = OrmPackage.XML_TYPE_MAPPING__ATTRIBUTES; - /** - * The feature id for the 'Access Methods' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_TYPE_MAPPING__ACCESS_METHODS = OrmPackage.XML_TYPE_MAPPING_FEATURE_COUNT + 0; - /** - * The feature id for the 'Parent Class' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TYPE_MAPPING__PARENT_CLASS = OrmPackage.XML_TYPE_MAPPING_FEATURE_COUNT + 1; - /** - * The number of structural features of the 'Xml Type Mapping' class. - * - * - * @generated - * @ordered - */ - public static final int XML_TYPE_MAPPING_FEATURE_COUNT = OrmPackage.XML_TYPE_MAPPING_FEATURE_COUNT + 2; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlUnionPartitioning Xml Union Partitioning}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlUnionPartitioning - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlUnionPartitioning() - * @generated - */ - public static final int XML_UNION_PARTITIONING = 89; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_UNION_PARTITIONING__NAME = EclipseLinkOrmV2_2Package.XML_UNION_PARTITIONING_22__NAME; - /** - * The number of structural features of the 'Xml Union Partitioning' class. - * - * - * @generated - * @ordered - */ - public static final int XML_UNION_PARTITIONING_FEATURE_COUNT = EclipseLinkOrmV2_2Package.XML_UNION_PARTITIONING_22_FEATURE_COUNT + 0; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlUuidGenerator Xml Uuid Generator}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlUuidGenerator - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlUuidGenerator() - * @generated - */ - public static final int XML_UUID_GENERATOR = 90; - /** - * The feature id for the 'Description' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_UUID_GENERATOR__DESCRIPTION = EclipseLinkOrmV2_4Package.XML_UUID_GENERATOR_24__DESCRIPTION; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_UUID_GENERATOR__NAME = EclipseLinkOrmV2_4Package.XML_UUID_GENERATOR_24__NAME; - /** - * The feature id for the 'Initial Value' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_UUID_GENERATOR__INITIAL_VALUE = EclipseLinkOrmV2_4Package.XML_UUID_GENERATOR_24__INITIAL_VALUE; - /** - * The feature id for the 'Allocation Size' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_UUID_GENERATOR__ALLOCATION_SIZE = EclipseLinkOrmV2_4Package.XML_UUID_GENERATOR_24__ALLOCATION_SIZE; - /** - * The number of structural features of the 'Xml Uuid Generator' class. - * - * - * @generated - * @ordered - */ - public static final int XML_UUID_GENERATOR_FEATURE_COUNT = EclipseLinkOrmV2_4Package.XML_UUID_GENERATOR_24_FEATURE_COUNT + 0; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlValuePartitioning Xml Value Partitioning}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlValuePartitioning - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlValuePartitioning() - * @generated - */ - public static final int XML_VALUE_PARTITIONING = 91; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_VALUE_PARTITIONING__NAME = EclipseLinkOrmV2_2Package.XML_VALUE_PARTITIONING_22__NAME; - /** - * The number of structural features of the 'Xml Value Partitioning' class. - * - * - * @generated - * @ordered - */ - public static final int XML_VALUE_PARTITIONING_FEATURE_COUNT = EclipseLinkOrmV2_2Package.XML_VALUE_PARTITIONING_22_FEATURE_COUNT + 0; - /** - * The feature id for the 'Access' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_VARIABLE_ONE_TO_ONE__ACCESS = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING__ACCESS; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_VARIABLE_ONE_TO_ONE__NAME = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING__NAME; - /** - * The feature id for the 'Access Methods' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_VARIABLE_ONE_TO_ONE__ACCESS_METHODS = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 0; - /** - * The feature id for the 'Properties' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_VARIABLE_ONE_TO_ONE__PROPERTIES = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 1; - /** - * The feature id for the 'Attribute Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_VARIABLE_ONE_TO_ONE__ATTRIBUTE_TYPE = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 2; - /** - * The feature id for the 'Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_VARIABLE_ONE_TO_ONE__PARTITIONING = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 3; - /** - * The feature id for the 'Replication Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_VARIABLE_ONE_TO_ONE__REPLICATION_PARTITIONING = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 4; - /** - * The feature id for the 'Round Robin Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_VARIABLE_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 5; - /** - * The feature id for the 'Pinned Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_VARIABLE_ONE_TO_ONE__PINNED_PARTITIONING = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 6; - /** - * The feature id for the 'Range Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_VARIABLE_ONE_TO_ONE__RANGE_PARTITIONING = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 7; - /** - * The feature id for the 'Value Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_VARIABLE_ONE_TO_ONE__VALUE_PARTITIONING = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 8; - /** - * The feature id for the 'Hash Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_VARIABLE_ONE_TO_ONE__HASH_PARTITIONING = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 9; - /** - * The feature id for the 'Union Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_VARIABLE_ONE_TO_ONE__UNION_PARTITIONING = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 10; - /** - * The feature id for the 'Partitioned' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_VARIABLE_ONE_TO_ONE__PARTITIONED = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 11; - /** - * The feature id for the 'Non Cacheable' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_VARIABLE_ONE_TO_ONE__NON_CACHEABLE = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 12; - /** - * The feature id for the 'Target Interface' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_VARIABLE_ONE_TO_ONE__TARGET_INTERFACE = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 13; - /** - * The number of structural features of the 'Xml Variable One To One' class. - * - * - * @generated - * @ordered - */ - public static final int XML_VARIABLE_ONE_TO_ONE_FEATURE_COUNT = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 14; - /** - * The feature id for the 'Access' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_VERSION__ACCESS = OrmPackage.XML_VERSION__ACCESS; - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_VERSION__NAME = OrmPackage.XML_VERSION__NAME; - /** - * The feature id for the 'Column' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_VERSION__COLUMN = OrmPackage.XML_VERSION__COLUMN; - /** - * The feature id for the 'Lob' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_VERSION__LOB = OrmPackage.XML_VERSION__LOB; - /** - * The feature id for the 'Temporal' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_VERSION__TEMPORAL = OrmPackage.XML_VERSION__TEMPORAL; - /** - * The feature id for the 'Enumerated' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_VERSION__ENUMERATED = OrmPackage.XML_VERSION__ENUMERATED; - /** - * The feature id for the 'Index' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_VERSION__INDEX = OrmPackage.XML_VERSION_FEATURE_COUNT + 0; - /** - * The feature id for the 'Access Methods' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_VERSION__ACCESS_METHODS = OrmPackage.XML_VERSION_FEATURE_COUNT + 1; - /** - * The feature id for the 'Properties' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_VERSION__PROPERTIES = OrmPackage.XML_VERSION_FEATURE_COUNT + 2; - /** - * The feature id for the 'Attribute Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_VERSION__ATTRIBUTE_TYPE = OrmPackage.XML_VERSION_FEATURE_COUNT + 3; - /** - * The feature id for the 'Mutable' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_VERSION__MUTABLE = OrmPackage.XML_VERSION_FEATURE_COUNT + 4; - /** - * The feature id for the 'Convert' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_VERSION__CONVERT = OrmPackage.XML_VERSION_FEATURE_COUNT + 5; - /** - * The feature id for the 'Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_VERSION__CONVERTERS = OrmPackage.XML_VERSION_FEATURE_COUNT + 6; - /** - * The feature id for the 'Type Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_VERSION__TYPE_CONVERTERS = OrmPackage.XML_VERSION_FEATURE_COUNT + 7; - /** - * The feature id for the 'Object Type Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_VERSION__OBJECT_TYPE_CONVERTERS = OrmPackage.XML_VERSION_FEATURE_COUNT + 8; - /** - * The feature id for the 'Struct Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_VERSION__STRUCT_CONVERTERS = OrmPackage.XML_VERSION_FEATURE_COUNT + 9; - /** - * The number of structural features of the 'Xml Version' class. - * - * - * @generated - * @ordered - */ - public static final int XML_VERSION_FEATURE_COUNT = OrmPackage.XML_VERSION_FEATURE_COUNT + 10; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.CacheCoordinationType Cache Coordination Type}' enum. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.CacheCoordinationType - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getCacheCoordinationType() - * @generated - */ - public static final int CACHE_COORDINATION_TYPE = 94; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.CacheType Cache Type}' enum. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.CacheType - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getCacheType() - * @generated - */ - public static final int CACHE_TYPE = 95; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlChangeTrackingType Xml Change Tracking Type}' enum. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlChangeTrackingType - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlChangeTrackingType() - * @generated - */ - public static final int XML_CHANGE_TRACKING_TYPE = 96; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlDirection Xml Direction}' enum. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlDirection - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlDirection() - * @generated - */ - public static final int XML_DIRECTION = 97; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.ExistenceType Existence Type}' enum. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.ExistenceType - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getExistenceType() - * @generated - */ - public static final int EXISTENCE_TYPE = 98; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinFetchType Xml Join Fetch Type}' enum. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinFetchType - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlJoinFetchType() - * @generated - */ - public static final int XML_JOIN_FETCH_TYPE = 99; - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOptimisticLockingType Xml Optimistic Locking Type}' enum. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOptimisticLockingType - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOptimisticLockingType() - * @generated - */ - public static final int XML_OPTIMISTIC_LOCKING_TYPE = 100; - /** - * - * - * @generated - */ - private EClass xmlAccessMethodsEClass = null; - /** - * - * - * @generated - */ - private EClass xmlAccessMethodsHolderEClass = null; - /** - * - * - * @generated - */ - private EClass xmlAdditionalCriteriaEClass = null; - /** - * - * - * @generated - */ - private EClass xmlArrayEClass = null; - /** - * - * - * @generated - */ - private EClass xmlAttributeMappingEClass = null; - /** - * - * - * @generated - */ - private EClass attributesEClass = null; - /** - * - * - * @generated - */ - private EClass xmlBasicEClass = null; - /** - * - * - * @generated - */ - private EClass xmlBasicCollectionEClass = null; - /** - * - * - * @generated - */ - private EClass xmlBasicMapEClass = null; - /** - * - * - * @generated - */ - private EClass xmlBatchFetchEClass = null; - /** - * - * - * @generated - */ - private EClass xmlBatchFetchHolderEClass = null; - /** - * - * - * @generated - */ - private EClass xmlCacheEClass = null; - /** - * - * - * @generated - */ - private EClass xmlCacheHolderEClass = null; - /** - * - * - * @generated - */ - private EClass xmlCacheIndexEClass = null; - /** - * - * - * @generated - */ - private EClass xmlChangeTrackingEClass = null; - /** - * - * - * @generated - */ - private EClass xmlChangeTrackingHolderEClass = null; - /** - * - * - * @generated - */ - private EClass xmlCloneCopyPolicyEClass = null; - /** - * - * - * @generated - */ - private EClass xmlCollectionTableEClass = null; - /** - * - * - * @generated - */ - private EClass xmlConversionValueEClass = null; - /** - * - * - * @generated - */ - private EClass xmlConverterEClass = null; - /** - * - * - * @generated - */ - private EClass xmlConverterContainerEClass = null; - /** - * - * - * @generated - */ - private EClass xmlConvertibleMappingEClass = null; - /** - * - * - * @generated - */ - private EClass xmlCopyPolicyEClass = null; - /** - * - * - * @generated - */ - private EClass xmlCustomizerEClass = null; - /** - * - * - * @generated - */ - private EClass xmlCustomizerHolderEClass = null; - /** - * - * - * @generated - */ - private EClass xmlElementCollectionEClass = null; - /** - * - * - * @generated - */ - private EClass xmlEmbeddableEClass = null; - /** - * - * - * @generated - */ - private EClass xmlEmbeddedEClass = null; - /** - * - * - * @generated - */ - private EClass xmlEmbeddedIdEClass = null; - /** - * - * - * @generated - */ - private EClass xmlEntityEClass = null; - /** - * - * - * @generated - */ - private EClass xmlEntityMappingsEClass = null; - /** - * - * - * @generated - */ - private EClass xmlFetchAttributeEClass = null; - /** - * - * - * @generated - */ - private EClass xmlFetchGroupEClass = null; - /** - * - * - * @generated - */ - private EClass xmlFieldEClass = null; - /** - * - * - * @generated - */ - private EClass xmlIdEClass = null; - /** - * - * - * @generated - */ - private EClass xmlIndexEClass = null; - /** - * - * - * @generated - */ - private EClass xmlInstantiationCopyPolicyEClass = null; - /** - * - * - * @generated - */ - private EClass xmlJoinFetchEClass = null; - /** - * - * - * @generated - */ - private EClass xmlJoinFieldEClass = null; - /** - * - * - * @generated - */ - private EClass xmlJoinTableEClass = null; - /** - * - * - * @generated - */ - private EClass xmlManyToManyEClass = null; - /** - * - * - * @generated - */ - private EClass xmlManyToOneEClass = null; - /** - * - * - * @generated - */ - private EClass xmlMappedSuperclassEClass = null; - /** - * - * - * @generated - */ - private EClass xmlMultitenantEClass = null; - /** - * - * - * @generated - */ - private EClass xmlMultitenantHolderEClass = null; - /** - * - * - * @generated - */ - private EClass xmlMutableEClass = null; - /** - * - * - * @generated - */ - private EClass xmlNamedConverterEClass = null; - /** - * - * - * @generated - */ - private EClass xmlNamedPlsqlStoredFunctionQueryEClass = null; - /** - * - * - * @generated - */ - private EClass xmlNamedPlsqlStoredProcedureQueryEClass = null; - /** - * - * - * @generated - */ - private EClass xmlNamedStoredFunctionQueryEClass = null; - /** - * - * - * @generated - */ - private EClass xmlNamedStoredProcedureQueryEClass = null; - /** - * - * - * @generated - */ - private EClass xmlNoSqlEClass = null; - /** - * - * - * @generated - */ - private EClass xmlObjectTypeConverterEClass = null; - /** - * - * - * @generated - */ - private EClass xmlOneToManyEClass = null; - /** - * - * - * @generated - */ - private EClass xmlOneToOneEClass = null; - /** - * - * - * @generated - */ - private EClass xmlOptimisticLockingEClass = null; - /** - * - * - * @generated - */ - private EClass xmlOrderColumnEClass = null; - /** - * - * - * @generated - */ - private EClass xmlPersistenceUnitDefaultsEClass = null; - /** - * - * - * @generated - */ - private EClass xmlPersistenceUnitMetadataEClass = null; - /** - * - * - * @generated - */ - private EClass xmlPrimaryKeyEClass = null; - /** - * - * - * @generated - */ - private EClass xmlPrivateOwnedEClass = null; - /** - * - * - * @generated - */ - private EClass xmlPropertyEClass = null; - /** - * - * - * @generated - */ - private EClass xmlPropertyContainerEClass = null; - /** - * - * - * @generated - */ - private EClass xmlQueryContainerEClass = null; - /** - * - * - * @generated - */ - private EClass xmlQueryRedirectorsEClass = null; - /** - * - * - * @generated - */ - private EClass xmlReadOnlyEClass = null; - /** - * - * - * @generated - */ - private EClass xmlReturnInsertEClass = null; - /** - * - * - * @generated - */ - private EClass xmlSecondaryTableEClass = null; - /** - * - * - * @generated - */ - private EClass xmlStoredProcedureParameterEClass = null; - /** - * - * - * @generated - */ - private EClass xmlStructEClass = null; - /** - * - * - * @generated - */ - private EClass xmlStructConverterEClass = null; - /** - * - * - * @generated - */ - private EClass xmlStructureEClass = null; - /** - * - * - * @generated - */ - private EClass xmlTableEClass = null; - /** - * - * - * @generated - */ - private EClass xmlTableGeneratorEClass = null; - /** - * - * - * @generated - */ - private EClass xmlTenantDiscriminatorColumnEClass = null; - /** - * - * - * @generated - */ - private EClass xmlTenantTableDiscriminatorEClass = null; - /** - * - * - * @generated - */ - private EClass xmlTimeOfDayEClass = null; - /** - * - * - * @generated - */ - private EClass xmlTransformationEClass = null; - /** - * - * - * @generated - */ - private EClass xmlTransientEClass = null; - /** - * - * - * @generated - */ - private EClass xmlTypeConverterEClass = null; - /** - * - * - * @generated - */ - private EClass xmlTypeMappingEClass = null; - /** - * - * - * @generated - */ - private EClass xmlVariableOneToOneEClass = null; - /** - * - * - * @generated - */ - private EClass xmlVersionEClass = null; - /** - * - * - * @generated - */ - private EClass xmlHashPartitioningEClass = null; - /** - * - * - * @generated - */ - private EClass xmlPartitioningEClass = null; - /** - * - * - * @generated - */ - private EClass xmlPinnedPartitioningEClass = null; - /** - * - * - * @generated - */ - private EClass xmlPlsqlRecordEClass = null; - /** - * - * - * @generated - */ - private EClass xmlPlsqlTableEClass = null; - /** - * - * - * @generated - */ - private EClass xmlRangePartitioningEClass = null; - /** - * - * - * @generated - */ - private EClass xmlReplicationPartitioningEClass = null; - /** - * - * - * @generated - */ - private EClass xmlRoundRobinPartitioningEClass = null; - /** - * - * - * @generated - */ - private EClass xmlUnionPartitioningEClass = null; - /** - * - * - * @generated - */ - private EClass xmlUuidGeneratorEClass = null; - /** - * - * - * @generated - */ - private EClass xmlValuePartitioningEClass = null; - /** - * - * - * @generated - */ - private EEnum cacheCoordinationTypeEEnum = null; - /** - * - * - * @generated - */ - private EEnum cacheTypeEEnum = null; - /** - * - * - * @generated - */ - private EEnum xmlChangeTrackingTypeEEnum = null; - /** - * - * - * @generated - */ - private EEnum xmlDirectionEEnum = null; - /** - * - * - * @generated - */ - private EEnum existenceTypeEEnum = null; - /** - * - * - * @generated - */ - private EEnum xmlJoinFetchTypeEEnum = null; - /** - * - * - * @generated - */ - private EEnum xmlOptimisticLockingTypeEEnum = null; - - /** - * Creates an instance of the model Package, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - *

Note: 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 - *

    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • - *
- * - * @generated - */ - public interface Literals - { - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAccessMethods Xml Access Methods}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAccessMethods - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAccessMethods() - * @generated - */ - public static final EClass XML_ACCESS_METHODS = eINSTANCE.getXmlAccessMethods(); - - /** - * The meta object literal for the 'Get Method' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_ACCESS_METHODS__GET_METHOD = eINSTANCE.getXmlAccessMethods_GetMethod(); - - /** - * The meta object literal for the 'Set Method' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_ACCESS_METHODS__SET_METHOD = eINSTANCE.getXmlAccessMethods_SetMethod(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAccessMethodsHolder Xml Access Methods Holder}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAccessMethodsHolder - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAccessMethodsHolder() - * @generated - */ - public static final EClass XML_ACCESS_METHODS_HOLDER = eINSTANCE.getXmlAccessMethodsHolder(); - - /** - * The meta object literal for the 'Access Methods' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS = eINSTANCE.getXmlAccessMethodsHolder_AccessMethods(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAdditionalCriteria Xml Additional Criteria}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAdditionalCriteria - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAdditionalCriteria() - * @generated - */ - public static final EClass XML_ADDITIONAL_CRITERIA = eINSTANCE.getXmlAdditionalCriteria(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlArray Xml Array}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlArray - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlArray() - * @generated - */ - public static final EClass XML_ARRAY = eINSTANCE.getXmlArray(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAttributeMapping Xml Attribute Mapping}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAttributeMapping - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAttributeMapping() - * @generated - */ - public static final EClass XML_ATTRIBUTE_MAPPING = eINSTANCE.getXmlAttributeMapping(); - - /** - * The meta object literal for the 'Attribute Type' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE = eINSTANCE.getXmlAttributeMapping_AttributeType(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.Attributes Attributes}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.Attributes - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getAttributes() - * @generated - */ - public static final EClass ATTRIBUTES = eINSTANCE.getAttributes(); - - /** - * The meta object literal for the 'Basic Collections' containment reference list feature. - * - * - * @generated - */ - public static final EReference ATTRIBUTES__BASIC_COLLECTIONS = eINSTANCE.getAttributes_BasicCollections(); - - /** - * The meta object literal for the 'Basic Maps' containment reference list feature. - * - * - * @generated - */ - public static final EReference ATTRIBUTES__BASIC_MAPS = eINSTANCE.getAttributes_BasicMaps(); - - /** - * The meta object literal for the 'Transformations' containment reference list feature. - * - * - * @generated - */ - public static final EReference ATTRIBUTES__TRANSFORMATIONS = eINSTANCE.getAttributes_Transformations(); - - /** - * The meta object literal for the 'Variable One To Ones' containment reference list feature. - * - * - * @generated - */ - public static final EReference ATTRIBUTES__VARIABLE_ONE_TO_ONES = eINSTANCE.getAttributes_VariableOneToOnes(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasic Xml Basic}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasic - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlBasic() - * @generated - */ - public static final EClass XML_BASIC = eINSTANCE.getXmlBasic(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasicCollection Xml Basic Collection}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasicCollection - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlBasicCollection() - * @generated - */ - public static final EClass XML_BASIC_COLLECTION = eINSTANCE.getXmlBasicCollection(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasicMap Xml Basic Map}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasicMap - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlBasicMap() - * @generated - */ - public static final EClass XML_BASIC_MAP = eINSTANCE.getXmlBasicMap(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBatchFetch Xml Batch Fetch}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBatchFetch - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlBatchFetch() - * @generated - */ - public static final EClass XML_BATCH_FETCH = eINSTANCE.getXmlBatchFetch(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBatchFetchHolder Xml Batch Fetch Holder}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBatchFetchHolder - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlBatchFetchHolder() - * @generated - */ - public static final EClass XML_BATCH_FETCH_HOLDER = eINSTANCE.getXmlBatchFetchHolder(); - - /** - * The meta object literal for the 'Batch Fetch' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_BATCH_FETCH_HOLDER__BATCH_FETCH = eINSTANCE.getXmlBatchFetchHolder_BatchFetch(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache Xml Cache}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCache() - * @generated - */ - public static final EClass XML_CACHE = eINSTANCE.getXmlCache(); - - /** - * The meta object literal for the 'Expiry' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_CACHE__EXPIRY = eINSTANCE.getXmlCache_Expiry(); - - /** - * The meta object literal for the 'Size' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_CACHE__SIZE = eINSTANCE.getXmlCache_Size(); - - /** - * The meta object literal for the 'Shared' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_CACHE__SHARED = eINSTANCE.getXmlCache_Shared(); - - /** - * The meta object literal for the 'Type' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_CACHE__TYPE = eINSTANCE.getXmlCache_Type(); - - /** - * The meta object literal for the 'Always Refresh' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_CACHE__ALWAYS_REFRESH = eINSTANCE.getXmlCache_AlwaysRefresh(); - - /** - * The meta object literal for the 'Refresh Only If Newer' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_CACHE__REFRESH_ONLY_IF_NEWER = eINSTANCE.getXmlCache_RefreshOnlyIfNewer(); - - /** - * The meta object literal for the 'Disable Hits' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_CACHE__DISABLE_HITS = eINSTANCE.getXmlCache_DisableHits(); - - /** - * The meta object literal for the 'Coordination Type' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_CACHE__COORDINATION_TYPE = eINSTANCE.getXmlCache_CoordinationType(); - - /** - * The meta object literal for the 'Expiry Time Of Day' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_CACHE__EXPIRY_TIME_OF_DAY = eINSTANCE.getXmlCache_ExpiryTimeOfDay(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCacheHolder Xml Cache Holder}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCacheHolder - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCacheHolder() - * @generated - */ - public static final EClass XML_CACHE_HOLDER = eINSTANCE.getXmlCacheHolder(); - - /** - * The meta object literal for the 'Cache' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_CACHE_HOLDER__CACHE = eINSTANCE.getXmlCacheHolder_Cache(); - - /** - * The meta object literal for the 'Existence Checking' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_CACHE_HOLDER__EXISTENCE_CHECKING = eINSTANCE.getXmlCacheHolder_ExistenceChecking(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCacheIndex Xml Cache Index}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCacheIndex - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCacheIndex() - * @generated - */ - public static final EClass XML_CACHE_INDEX = eINSTANCE.getXmlCacheIndex(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlChangeTracking Xml Change Tracking}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlChangeTracking - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlChangeTracking() - * @generated - */ - public static final EClass XML_CHANGE_TRACKING = eINSTANCE.getXmlChangeTracking(); - - /** - * The meta object literal for the 'Type' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_CHANGE_TRACKING__TYPE = eINSTANCE.getXmlChangeTracking_Type(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlChangeTrackingHolder Xml Change Tracking Holder}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlChangeTrackingHolder - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlChangeTrackingHolder() - * @generated - */ - public static final EClass XML_CHANGE_TRACKING_HOLDER = eINSTANCE.getXmlChangeTrackingHolder(); - - /** - * The meta object literal for the 'Change Tracking' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_CHANGE_TRACKING_HOLDER__CHANGE_TRACKING = eINSTANCE.getXmlChangeTrackingHolder_ChangeTracking(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCloneCopyPolicy Xml Clone Copy Policy}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCloneCopyPolicy - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCloneCopyPolicy() - * @generated - */ - public static final EClass XML_CLONE_COPY_POLICY = eINSTANCE.getXmlCloneCopyPolicy(); - - /** - * The meta object literal for the 'Method' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_CLONE_COPY_POLICY__METHOD = eINSTANCE.getXmlCloneCopyPolicy_Method(); - - /** - * The meta object literal for the 'Working Copy Method' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_CLONE_COPY_POLICY__WORKING_COPY_METHOD = eINSTANCE.getXmlCloneCopyPolicy_WorkingCopyMethod(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCollectionTable Xml Collection Table}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCollectionTable - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCollectionTable() - * @generated - */ - public static final EClass XML_COLLECTION_TABLE = eINSTANCE.getXmlCollectionTable(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConversionValue Xml Conversion Value}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConversionValue - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConversionValue() - * @generated - */ - public static final EClass XML_CONVERSION_VALUE = eINSTANCE.getXmlConversionValue(); - - /** - * The meta object literal for the 'Data Value' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_CONVERSION_VALUE__DATA_VALUE = eINSTANCE.getXmlConversionValue_DataValue(); - - /** - * The meta object literal for the 'Object Value' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_CONVERSION_VALUE__OBJECT_VALUE = eINSTANCE.getXmlConversionValue_ObjectValue(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverter Xml Converter}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverter - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverter() - * @generated - */ - public static final EClass XML_CONVERTER = eINSTANCE.getXmlConverter(); - - /** - * The meta object literal for the 'Class Name' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_CONVERTER__CLASS_NAME = eINSTANCE.getXmlConverter_ClassName(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverterContainer Xml Converter Container}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverterContainer - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverterContainer() - * @generated - */ - public static final EClass XML_CONVERTER_CONTAINER = eINSTANCE.getXmlConverterContainer(); - - /** - * The meta object literal for the 'Converters' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_CONVERTER_CONTAINER__CONVERTERS = eINSTANCE.getXmlConverterContainer_Converters(); - - /** - * The meta object literal for the 'Type Converters' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_CONVERTER_CONTAINER__TYPE_CONVERTERS = eINSTANCE.getXmlConverterContainer_TypeConverters(); - - /** - * The meta object literal for the 'Object Type Converters' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS = eINSTANCE.getXmlConverterContainer_ObjectTypeConverters(); - - /** - * The meta object literal for the 'Struct Converters' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS = eINSTANCE.getXmlConverterContainer_StructConverters(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConvertibleMapping Xml Convertible Mapping}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConvertibleMapping - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConvertibleMapping() - * @generated - */ - public static final EClass XML_CONVERTIBLE_MAPPING = eINSTANCE.getXmlConvertibleMapping(); - - /** - * The meta object literal for the 'Convert' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_CONVERTIBLE_MAPPING__CONVERT = eINSTANCE.getXmlConvertibleMapping_Convert(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCopyPolicy Xml Copy Policy}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCopyPolicy - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCopyPolicy() - * @generated - */ - public static final EClass XML_COPY_POLICY = eINSTANCE.getXmlCopyPolicy(); - - /** - * The meta object literal for the 'Class' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_COPY_POLICY__CLASS = eINSTANCE.getXmlCopyPolicy_Class(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCustomizer Xml Customizer}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCustomizer - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCustomizer() - * @generated - */ - public static final EClass XML_CUSTOMIZER = eINSTANCE.getXmlCustomizer(); - - /** - * The meta object literal for the 'Customizer Class Name' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_CUSTOMIZER__CUSTOMIZER_CLASS_NAME = eINSTANCE.getXmlCustomizer_CustomizerClassName(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCustomizerHolder Xml Customizer Holder}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCustomizerHolder - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCustomizerHolder() - * @generated - */ - public static final EClass XML_CUSTOMIZER_HOLDER = eINSTANCE.getXmlCustomizerHolder(); - - /** - * The meta object literal for the 'Customizer' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_CUSTOMIZER_HOLDER__CUSTOMIZER = eINSTANCE.getXmlCustomizerHolder_Customizer(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlElementCollection Xml Element Collection}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlElementCollection - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlElementCollection() - * @generated - */ - public static final EClass XML_ELEMENT_COLLECTION = eINSTANCE.getXmlElementCollection(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddable Xml Embeddable}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddable - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEmbeddable() - * @generated - */ - public static final EClass XML_EMBEDDABLE = eINSTANCE.getXmlEmbeddable(); - - /** - * The meta object literal for the 'Copy Policy' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_EMBEDDABLE__COPY_POLICY = eINSTANCE.getXmlEmbeddable_CopyPolicy(); - - /** - * The meta object literal for the 'Instantiation Copy Policy' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_EMBEDDABLE__INSTANTIATION_COPY_POLICY = eINSTANCE.getXmlEmbeddable_InstantiationCopyPolicy(); - - /** - * The meta object literal for the 'Clone Copy Policy' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_EMBEDDABLE__CLONE_COPY_POLICY = eINSTANCE.getXmlEmbeddable_CloneCopyPolicy(); - - /** - * The meta object literal for the 'Exclude Default Mappings' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_EMBEDDABLE__EXCLUDE_DEFAULT_MAPPINGS = eINSTANCE.getXmlEmbeddable_ExcludeDefaultMappings(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbedded Xml Embedded}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbedded - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEmbedded() - * @generated - */ - public static final EClass XML_EMBEDDED = eINSTANCE.getXmlEmbedded(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddedId Xml Embedded Id}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddedId - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEmbeddedId() - * @generated - */ - public static final EClass XML_EMBEDDED_ID = eINSTANCE.getXmlEmbeddedId(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity Xml Entity}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntity() - * @generated - */ - public static final EClass XML_ENTITY = eINSTANCE.getXmlEntity(); - - /** - * The meta object literal for the 'Optimistic Locking' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_ENTITY__OPTIMISTIC_LOCKING = eINSTANCE.getXmlEntity_OptimisticLocking(); - - /** - * The meta object literal for the 'Copy Policy' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_ENTITY__COPY_POLICY = eINSTANCE.getXmlEntity_CopyPolicy(); - - /** - * The meta object literal for the 'Instantiation Copy Policy' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_ENTITY__INSTANTIATION_COPY_POLICY = eINSTANCE.getXmlEntity_InstantiationCopyPolicy(); - - /** - * The meta object literal for the 'Clone Copy Policy' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_ENTITY__CLONE_COPY_POLICY = eINSTANCE.getXmlEntity_CloneCopyPolicy(); - - /** - * The meta object literal for the 'Exclude Default Mappings' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_ENTITY__EXCLUDE_DEFAULT_MAPPINGS = eINSTANCE.getXmlEntity_ExcludeDefaultMappings(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntityMappings Xml Entity Mappings}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntityMappings - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntityMappings() - * @generated - */ - public static final EClass XML_ENTITY_MAPPINGS = eINSTANCE.getXmlEntityMappings(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlFetchAttribute Xml Fetch Attribute}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlFetchAttribute - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlFetchAttribute() - * @generated - */ - public static final EClass XML_FETCH_ATTRIBUTE = eINSTANCE.getXmlFetchAttribute(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlFetchGroup Xml Fetch Group}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlFetchGroup - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlFetchGroup() - * @generated - */ - public static final EClass XML_FETCH_GROUP = eINSTANCE.getXmlFetchGroup(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlField Xml Field}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlField - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlField() - * @generated - */ - public static final EClass XML_FIELD = eINSTANCE.getXmlField(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlId Xml Id}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlId - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlId() - * @generated - */ - public static final EClass XML_ID = eINSTANCE.getXmlId(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlIndex Xml Index}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlIndex - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlIndex() - * @generated - */ - public static final EClass XML_INDEX = eINSTANCE.getXmlIndex(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlInstantiationCopyPolicy Xml Instantiation Copy Policy}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlInstantiationCopyPolicy - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlInstantiationCopyPolicy() - * @generated - */ - public static final EClass XML_INSTANTIATION_COPY_POLICY = eINSTANCE.getXmlInstantiationCopyPolicy(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinFetch Xml Join Fetch}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinFetch - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlJoinFetch() - * @generated - */ - public static final EClass XML_JOIN_FETCH = eINSTANCE.getXmlJoinFetch(); - - /** - * The meta object literal for the 'Join Fetch' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_JOIN_FETCH__JOIN_FETCH = eINSTANCE.getXmlJoinFetch_JoinFetch(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinField Xml Join Field}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinField - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlJoinField() - * @generated - */ - public static final EClass XML_JOIN_FIELD = eINSTANCE.getXmlJoinField(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinTable Xml Join Table}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinTable - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlJoinTable() - * @generated - */ - public static final EClass XML_JOIN_TABLE = eINSTANCE.getXmlJoinTable(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToMany Xml Many To Many}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToMany - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlManyToMany() - * @generated - */ - public static final EClass XML_MANY_TO_MANY = eINSTANCE.getXmlManyToMany(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToOne Xml Many To One}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToOne - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlManyToOne() - * @generated - */ - public static final EClass XML_MANY_TO_ONE = eINSTANCE.getXmlManyToOne(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass Xml Mapped Superclass}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlMappedSuperclass() - * @generated - */ - public static final EClass XML_MAPPED_SUPERCLASS = eINSTANCE.getXmlMappedSuperclass(); - - /** - * The meta object literal for the 'Optimistic Locking' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_MAPPED_SUPERCLASS__OPTIMISTIC_LOCKING = eINSTANCE.getXmlMappedSuperclass_OptimisticLocking(); - - /** - * The meta object literal for the 'Copy Policy' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_MAPPED_SUPERCLASS__COPY_POLICY = eINSTANCE.getXmlMappedSuperclass_CopyPolicy(); - - /** - * The meta object literal for the 'Instantiation Copy Policy' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_MAPPED_SUPERCLASS__INSTANTIATION_COPY_POLICY = eINSTANCE.getXmlMappedSuperclass_InstantiationCopyPolicy(); - - /** - * The meta object literal for the 'Clone Copy Policy' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_MAPPED_SUPERCLASS__CLONE_COPY_POLICY = eINSTANCE.getXmlMappedSuperclass_CloneCopyPolicy(); - - /** - * The meta object literal for the 'Exclude Default Mappings' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_MAPPED_SUPERCLASS__EXCLUDE_DEFAULT_MAPPINGS = eINSTANCE.getXmlMappedSuperclass_ExcludeDefaultMappings(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMultitenant Xml Multitenant}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMultitenant - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlMultitenant() - * @generated - */ - public static final EClass XML_MULTITENANT = eINSTANCE.getXmlMultitenant(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMultitenantHolder Xml Multitenant Holder}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMultitenantHolder - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlMultitenantHolder() - * @generated - */ - public static final EClass XML_MULTITENANT_HOLDER = eINSTANCE.getXmlMultitenantHolder(); - - /** - * The meta object literal for the 'Multitenant' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_MULTITENANT_HOLDER__MULTITENANT = eINSTANCE.getXmlMultitenantHolder_Multitenant(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMutable Xml Mutable}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMutable - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlMutable() - * @generated - */ - public static final EClass XML_MUTABLE = eINSTANCE.getXmlMutable(); - - /** - * The meta object literal for the 'Mutable' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_MUTABLE__MUTABLE = eINSTANCE.getXmlMutable_Mutable(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedConverter Xml Named Converter}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedConverter - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedConverter() - * @generated - */ - public static final EClass XML_NAMED_CONVERTER = eINSTANCE.getXmlNamedConverter(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_NAMED_CONVERTER__NAME = eINSTANCE.getXmlNamedConverter_Name(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedPlsqlStoredFunctionQuery Xml Named Plsql Stored Function Query}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedPlsqlStoredFunctionQuery - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedPlsqlStoredFunctionQuery() - * @generated - */ - public static final EClass XML_NAMED_PLSQL_STORED_FUNCTION_QUERY = eINSTANCE.getXmlNamedPlsqlStoredFunctionQuery(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedPlsqlStoredProcedureQuery Xml Named Plsql Stored Procedure Query}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedPlsqlStoredProcedureQuery - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedPlsqlStoredProcedureQuery() - * @generated - */ - public static final EClass XML_NAMED_PLSQL_STORED_PROCEDURE_QUERY = eINSTANCE.getXmlNamedPlsqlStoredProcedureQuery(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredFunctionQuery Xml Named Stored Function Query}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredFunctionQuery - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedStoredFunctionQuery() - * @generated - */ - public static final EClass XML_NAMED_STORED_FUNCTION_QUERY = eINSTANCE.getXmlNamedStoredFunctionQuery(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery Xml Named Stored Procedure Query}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedStoredProcedureQuery() - * @generated - */ - public static final EClass XML_NAMED_STORED_PROCEDURE_QUERY = eINSTANCE.getXmlNamedStoredProcedureQuery(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_NAMED_STORED_PROCEDURE_QUERY__NAME = eINSTANCE.getXmlNamedStoredProcedureQuery_Name(); - - /** - * The meta object literal for the 'Result Class' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_NAMED_STORED_PROCEDURE_QUERY__RESULT_CLASS = eINSTANCE.getXmlNamedStoredProcedureQuery_ResultClass(); - - /** - * The meta object literal for the 'Result Set Mapping' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_NAMED_STORED_PROCEDURE_QUERY__RESULT_SET_MAPPING = eINSTANCE.getXmlNamedStoredProcedureQuery_ResultSetMapping(); - - /** - * The meta object literal for the 'Procedure Name' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_NAMED_STORED_PROCEDURE_QUERY__PROCEDURE_NAME = eINSTANCE.getXmlNamedStoredProcedureQuery_ProcedureName(); - - /** - * The meta object literal for the 'Returns Result Set' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_NAMED_STORED_PROCEDURE_QUERY__RETURNS_RESULT_SET = eINSTANCE.getXmlNamedStoredProcedureQuery_ReturnsResultSet(); - - /** - * The meta object literal for the 'Hints' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_NAMED_STORED_PROCEDURE_QUERY__HINTS = eINSTANCE.getXmlNamedStoredProcedureQuery_Hints(); - - /** - * The meta object literal for the 'Parameters' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_NAMED_STORED_PROCEDURE_QUERY__PARAMETERS = eINSTANCE.getXmlNamedStoredProcedureQuery_Parameters(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNoSql Xml No Sql}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNoSql - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNoSql() - * @generated - */ - public static final EClass XML_NO_SQL = eINSTANCE.getXmlNoSql(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter Xml Object Type Converter}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlObjectTypeConverter() - * @generated - */ - public static final EClass XML_OBJECT_TYPE_CONVERTER = eINSTANCE.getXmlObjectTypeConverter(); - - /** - * The meta object literal for the 'Data Type' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_OBJECT_TYPE_CONVERTER__DATA_TYPE = eINSTANCE.getXmlObjectTypeConverter_DataType(); - - /** - * The meta object literal for the 'Object Type' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_OBJECT_TYPE_CONVERTER__OBJECT_TYPE = eINSTANCE.getXmlObjectTypeConverter_ObjectType(); - - /** - * The meta object literal for the 'Conversion Values' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_OBJECT_TYPE_CONVERTER__CONVERSION_VALUES = eINSTANCE.getXmlObjectTypeConverter_ConversionValues(); - - /** - * The meta object literal for the 'Default Object Value' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_OBJECT_TYPE_CONVERTER__DEFAULT_OBJECT_VALUE = eINSTANCE.getXmlObjectTypeConverter_DefaultObjectValue(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToMany Xml One To Many}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToMany - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOneToMany() - * @generated - */ - public static final EClass XML_ONE_TO_MANY = eINSTANCE.getXmlOneToMany(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToOne Xml One To One}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToOne - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOneToOne() - * @generated - */ - public static final EClass XML_ONE_TO_ONE = eINSTANCE.getXmlOneToOne(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOptimisticLocking Xml Optimistic Locking}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOptimisticLocking - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOptimisticLocking() - * @generated - */ - public static final EClass XML_OPTIMISTIC_LOCKING = eINSTANCE.getXmlOptimisticLocking(); - - /** - * The meta object literal for the 'Type' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_OPTIMISTIC_LOCKING__TYPE = eINSTANCE.getXmlOptimisticLocking_Type(); - - /** - * The meta object literal for the 'Cascade' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_OPTIMISTIC_LOCKING__CASCADE = eINSTANCE.getXmlOptimisticLocking_Cascade(); - - /** - * The meta object literal for the 'Selected Columns' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_OPTIMISTIC_LOCKING__SELECTED_COLUMNS = eINSTANCE.getXmlOptimisticLocking_SelectedColumns(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOrderColumn Xml Order Column}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOrderColumn - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOrderColumn() - * @generated - */ - public static final EClass XML_ORDER_COLUMN = eINSTANCE.getXmlOrderColumn(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPersistenceUnitDefaults Xml Persistence Unit Defaults}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPersistenceUnitDefaults - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPersistenceUnitDefaults() - * @generated - */ - public static final EClass XML_PERSISTENCE_UNIT_DEFAULTS = eINSTANCE.getXmlPersistenceUnitDefaults(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPersistenceUnitMetadata Xml Persistence Unit Metadata}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPersistenceUnitMetadata - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPersistenceUnitMetadata() - * @generated - */ - public static final EClass XML_PERSISTENCE_UNIT_METADATA = eINSTANCE.getXmlPersistenceUnitMetadata(); - - /** - * The meta object literal for the 'Exclude Default Mappings' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_PERSISTENCE_UNIT_METADATA__EXCLUDE_DEFAULT_MAPPINGS = eINSTANCE.getXmlPersistenceUnitMetadata_ExcludeDefaultMappings(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPrimaryKey Xml Primary Key}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPrimaryKey - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPrimaryKey() - * @generated - */ - public static final EClass XML_PRIMARY_KEY = eINSTANCE.getXmlPrimaryKey(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPrivateOwned Xml Private Owned}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPrivateOwned - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPrivateOwned() - * @generated - */ - public static final EClass XML_PRIVATE_OWNED = eINSTANCE.getXmlPrivateOwned(); - - /** - * The meta object literal for the 'Private Owned' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_PRIVATE_OWNED__PRIVATE_OWNED = eINSTANCE.getXmlPrivateOwned_PrivateOwned(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlProperty Xml Property}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlProperty - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlProperty() - * @generated - */ - public static final EClass XML_PROPERTY = eINSTANCE.getXmlProperty(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_PROPERTY__NAME = eINSTANCE.getXmlProperty_Name(); - - /** - * The meta object literal for the 'Value' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_PROPERTY__VALUE = eINSTANCE.getXmlProperty_Value(); - - /** - * The meta object literal for the 'Value Type' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_PROPERTY__VALUE_TYPE = eINSTANCE.getXmlProperty_ValueType(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPropertyContainer Xml Property Container}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPropertyContainer - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPropertyContainer() - * @generated - */ - public static final EClass XML_PROPERTY_CONTAINER = eINSTANCE.getXmlPropertyContainer(); - - /** - * The meta object literal for the 'Properties' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_PROPERTY_CONTAINER__PROPERTIES = eINSTANCE.getXmlPropertyContainer_Properties(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryContainer Xml Query Container}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryContainer - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlQueryContainer() - * @generated - */ - public static final EClass XML_QUERY_CONTAINER = eINSTANCE.getXmlQueryContainer(); - - /** - * The meta object literal for the 'Named Stored Procedure Queries' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_QUERY_CONTAINER__NAMED_STORED_PROCEDURE_QUERIES = eINSTANCE.getXmlQueryContainer_NamedStoredProcedureQueries(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryRedirectors Xml Query Redirectors}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryRedirectors - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlQueryRedirectors() - * @generated - */ - public static final EClass XML_QUERY_REDIRECTORS = eINSTANCE.getXmlQueryRedirectors(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlReadOnly Xml Read Only}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlReadOnly - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlReadOnly() - * @generated - */ - public static final EClass XML_READ_ONLY = eINSTANCE.getXmlReadOnly(); - - /** - * The meta object literal for the 'Read Only' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_READ_ONLY__READ_ONLY = eINSTANCE.getXmlReadOnly_ReadOnly(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlReturnInsert Xml Return Insert}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlReturnInsert - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlReturnInsert() - * @generated - */ - public static final EClass XML_RETURN_INSERT = eINSTANCE.getXmlReturnInsert(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlSecondaryTable Xml Secondary Table}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlSecondaryTable - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlSecondaryTable() - * @generated - */ - public static final EClass XML_SECONDARY_TABLE = eINSTANCE.getXmlSecondaryTable(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter Xml Stored Procedure Parameter}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlStoredProcedureParameter() - * @generated - */ - public static final EClass XML_STORED_PROCEDURE_PARAMETER = eINSTANCE.getXmlStoredProcedureParameter(); - - /** - * The meta object literal for the 'Direction' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_STORED_PROCEDURE_PARAMETER__DIRECTION = eINSTANCE.getXmlStoredProcedureParameter_Direction(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_STORED_PROCEDURE_PARAMETER__NAME = eINSTANCE.getXmlStoredProcedureParameter_Name(); - - /** - * The meta object literal for the 'Query Parameter' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_STORED_PROCEDURE_PARAMETER__QUERY_PARAMETER = eINSTANCE.getXmlStoredProcedureParameter_QueryParameter(); - - /** - * The meta object literal for the 'Type' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_STORED_PROCEDURE_PARAMETER__TYPE = eINSTANCE.getXmlStoredProcedureParameter_Type(); - - /** - * The meta object literal for the 'Jdbc Type' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_STORED_PROCEDURE_PARAMETER__JDBC_TYPE = eINSTANCE.getXmlStoredProcedureParameter_JdbcType(); - - /** - * The meta object literal for the 'Jdbc Type Name' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_STORED_PROCEDURE_PARAMETER__JDBC_TYPE_NAME = eINSTANCE.getXmlStoredProcedureParameter_JdbcTypeName(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStruct Xml Struct}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStruct - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlStruct() - * @generated - */ - public static final EClass XML_STRUCT = eINSTANCE.getXmlStruct(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructConverter Xml Struct Converter}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructConverter - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlStructConverter() - * @generated - */ - public static final EClass XML_STRUCT_CONVERTER = eINSTANCE.getXmlStructConverter(); - - /** - * The meta object literal for the 'Converter' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_STRUCT_CONVERTER__CONVERTER = eINSTANCE.getXmlStructConverter_Converter(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructure Xml Structure}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructure - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlStructure() - * @generated - */ - public static final EClass XML_STRUCTURE = eINSTANCE.getXmlStructure(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTable Xml Table}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTable - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTable() - * @generated - */ - public static final EClass XML_TABLE = eINSTANCE.getXmlTable(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTableGenerator Xml Table Generator}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTableGenerator - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTableGenerator() - * @generated - */ - public static final EClass XML_TABLE_GENERATOR = eINSTANCE.getXmlTableGenerator(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTenantDiscriminatorColumn Xml Tenant Discriminator Column}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTenantDiscriminatorColumn - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTenantDiscriminatorColumn() - * @generated - */ - public static final EClass XML_TENANT_DISCRIMINATOR_COLUMN = eINSTANCE.getXmlTenantDiscriminatorColumn(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTenantTableDiscriminator Xml Tenant Table Discriminator}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTenantTableDiscriminator - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTenantTableDiscriminator() - * @generated - */ - public static final EClass XML_TENANT_TABLE_DISCRIMINATOR = eINSTANCE.getXmlTenantTableDiscriminator(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTimeOfDay Xml Time Of Day}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTimeOfDay - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTimeOfDay() - * @generated - */ - public static final EClass XML_TIME_OF_DAY = eINSTANCE.getXmlTimeOfDay(); - - /** - * The meta object literal for the 'Hour' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_TIME_OF_DAY__HOUR = eINSTANCE.getXmlTimeOfDay_Hour(); - - /** - * The meta object literal for the 'Minute' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_TIME_OF_DAY__MINUTE = eINSTANCE.getXmlTimeOfDay_Minute(); - - /** - * The meta object literal for the 'Second' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_TIME_OF_DAY__SECOND = eINSTANCE.getXmlTimeOfDay_Second(); - - /** - * The meta object literal for the 'Millisecond' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_TIME_OF_DAY__MILLISECOND = eINSTANCE.getXmlTimeOfDay_Millisecond(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTransformation Xml Transformation}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTransformation - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTransformation() - * @generated - */ - public static final EClass XML_TRANSFORMATION = eINSTANCE.getXmlTransformation(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTransient Xml Transient}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTransient - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTransient() - * @generated - */ - public static final EClass XML_TRANSIENT = eINSTANCE.getXmlTransient(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter Xml Type Converter}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTypeConverter() - * @generated - */ - public static final EClass XML_TYPE_CONVERTER = eINSTANCE.getXmlTypeConverter(); - - /** - * The meta object literal for the 'Data Type' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_TYPE_CONVERTER__DATA_TYPE = eINSTANCE.getXmlTypeConverter_DataType(); - - /** - * The meta object literal for the 'Object Type' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_TYPE_CONVERTER__OBJECT_TYPE = eINSTANCE.getXmlTypeConverter_ObjectType(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeMapping Xml Type Mapping}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeMapping - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTypeMapping() - * @generated - */ - public static final EClass XML_TYPE_MAPPING = eINSTANCE.getXmlTypeMapping(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlVariableOneToOne Xml Variable One To One}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlVariableOneToOne - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlVariableOneToOne() - * @generated - */ - public static final EClass XML_VARIABLE_ONE_TO_ONE = eINSTANCE.getXmlVariableOneToOne(); - - /** - * The meta object literal for the 'Target Interface' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_VARIABLE_ONE_TO_ONE__TARGET_INTERFACE = eINSTANCE.getXmlVariableOneToOne_TargetInterface(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlVersion Xml Version}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlVersion - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlVersion() - * @generated - */ - public static final EClass XML_VERSION = eINSTANCE.getXmlVersion(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlHashPartitioning Xml Hash Partitioning}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlHashPartitioning - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlHashPartitioning() - * @generated - */ - public static final EClass XML_HASH_PARTITIONING = eINSTANCE.getXmlHashPartitioning(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPartitioning Xml Partitioning}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPartitioning - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioning() - * @generated - */ - public static final EClass XML_PARTITIONING = eINSTANCE.getXmlPartitioning(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPinnedPartitioning Xml Pinned Partitioning}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPinnedPartitioning - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPinnedPartitioning() - * @generated - */ - public static final EClass XML_PINNED_PARTITIONING = eINSTANCE.getXmlPinnedPartitioning(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPlsqlRecord Xml Plsql Record}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPlsqlRecord - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPlsqlRecord() - * @generated - */ - public static final EClass XML_PLSQL_RECORD = eINSTANCE.getXmlPlsqlRecord(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPlsqlTable Xml Plsql Table}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPlsqlTable - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPlsqlTable() - * @generated - */ - public static final EClass XML_PLSQL_TABLE = eINSTANCE.getXmlPlsqlTable(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlRangePartitioning Xml Range Partitioning}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlRangePartitioning - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlRangePartitioning() - * @generated - */ - public static final EClass XML_RANGE_PARTITIONING = eINSTANCE.getXmlRangePartitioning(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlReplicationPartitioning Xml Replication Partitioning}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlReplicationPartitioning - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlReplicationPartitioning() - * @generated - */ - public static final EClass XML_REPLICATION_PARTITIONING = eINSTANCE.getXmlReplicationPartitioning(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlRoundRobinPartitioning Xml Round Robin Partitioning}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlRoundRobinPartitioning - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlRoundRobinPartitioning() - * @generated - */ - public static final EClass XML_ROUND_ROBIN_PARTITIONING = eINSTANCE.getXmlRoundRobinPartitioning(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlUnionPartitioning Xml Union Partitioning}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlUnionPartitioning - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlUnionPartitioning() - * @generated - */ - public static final EClass XML_UNION_PARTITIONING = eINSTANCE.getXmlUnionPartitioning(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlUuidGenerator Xml Uuid Generator}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlUuidGenerator - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlUuidGenerator() - * @generated - */ - public static final EClass XML_UUID_GENERATOR = eINSTANCE.getXmlUuidGenerator(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlValuePartitioning Xml Value Partitioning}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlValuePartitioning - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlValuePartitioning() - * @generated - */ - public static final EClass XML_VALUE_PARTITIONING = eINSTANCE.getXmlValuePartitioning(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.CacheCoordinationType Cache Coordination Type}' enum. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.CacheCoordinationType - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getCacheCoordinationType() - * @generated - */ - public static final EEnum CACHE_COORDINATION_TYPE = eINSTANCE.getCacheCoordinationType(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.CacheType Cache Type}' enum. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.CacheType - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getCacheType() - * @generated - */ - public static final EEnum CACHE_TYPE = eINSTANCE.getCacheType(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlChangeTrackingType Xml Change Tracking Type}' enum. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlChangeTrackingType - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlChangeTrackingType() - * @generated - */ - public static final EEnum XML_CHANGE_TRACKING_TYPE = eINSTANCE.getXmlChangeTrackingType(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlDirection Xml Direction}' enum. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlDirection - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlDirection() - * @generated - */ - public static final EEnum XML_DIRECTION = eINSTANCE.getXmlDirection(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.ExistenceType Existence Type}' enum. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.ExistenceType - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getExistenceType() - * @generated - */ - public static final EEnum EXISTENCE_TYPE = eINSTANCE.getExistenceType(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinFetchType Xml Join Fetch Type}' enum. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinFetchType - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlJoinFetchType() - * @generated - */ - public static final EEnum XML_JOIN_FETCH_TYPE = eINSTANCE.getXmlJoinFetchType(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOptimisticLockingType Xml Optimistic Locking Type}' enum. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOptimisticLockingType - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOptimisticLockingType() - * @generated - */ - public static final EEnum XML_OPTIMISTIC_LOCKING_TYPE = eINSTANCE.getXmlOptimisticLockingType(); - - } -} diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/ExistenceType.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/ExistenceType.java deleted file mode 100644 index a89707ed20..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/ExistenceType.java +++ /dev/null @@ -1,295 +0,0 @@ -/******************************************************************************* - * 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 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 'Existence 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#getExistenceType() - * @model - * @generated - */ -public enum ExistenceType implements Enumerator -{ - /** - * The 'CHECK CACHE' literal object. - * - * - * @see #CHECK_CACHE_VALUE - * @generated - * @ordered - */ - CHECK_CACHE(0, "CHECK_CACHE", "CHECK_CACHE"), - - /** - * The 'CHECK DATABASE' literal object. - * - * - * @see #CHECK_DATABASE_VALUE - * @generated - * @ordered - */ - CHECK_DATABASE(1, "CHECK_DATABASE", "CHECK_DATABASE"), - - /** - * The 'ASSUME EXISTENCE' literal object. - * - * - * @see #ASSUME_EXISTENCE_VALUE - * @generated - * @ordered - */ - ASSUME_EXISTENCE(2, "ASSUME_EXISTENCE", "ASSUME_EXISTENCE"), - - /** - * The 'ASSUME NON EXISTENCE' literal object. - * - * - * @see #ASSUME_NON_EXISTENCE_VALUE - * @generated - * @ordered - */ - ASSUME_NON_EXISTENCE(3, "ASSUME_NON_EXISTENCE", "ASSUME_NON_EXISTENCE"); - - /** - * The 'CHECK CACHE' literal value. - * - *

- * 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 VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the 'Existence Type' literal with the specified literal value. - * - * - * @generated - */ - public static ExistenceType get(String literal) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - ExistenceType result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) - { - return result; - } - } - return null; - } - - /** - * Returns the 'Existence Type' literal with the specified name. - * - * - * @generated - */ - public static ExistenceType getByName(String name) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - ExistenceType result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) - { - return result; - } - } - return null; - } - - /** - * Returns the 'Existence Type' literal with the specified integer value. - * - * - * @generated - */ - public static ExistenceType get(int value) - { - switch (value) - { - case CHECK_CACHE_VALUE: return CHECK_CACHE; - case CHECK_DATABASE_VALUE: return CHECK_DATABASE; - case ASSUME_EXISTENCE_VALUE: return ASSUME_EXISTENCE; - case ASSUME_NON_EXISTENCE_VALUE: return ASSUME_NON_EXISTENCE; - } - return null; - } - - /** - * - * - * @generated - */ - private final int value; - - /** - * - * - * @generated - */ - private final String name; - - /** - * - * - * @generated - */ - private final String literal; - - /** - * Only this class can construct instances. - * - * - * @generated - */ - private ExistenceType(int value, String name, String literal) - { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * - * - * @generated - */ - public int getValue() - { - return value; - } - - /** - * - * - * @generated - */ - public String getName() - { - return name; - } - - /** - * - * - * @generated - */ - public String getLiteral() - { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * - * - * @generated - */ - @Override - public String toString() - { - return literal; - } - -} //ExistenceType diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlAccessMethods.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlAccessMethods.java deleted file mode 100644 index b182071e80..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlAccessMethods.java +++ /dev/null @@ -1,301 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2009, 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.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 Access Methods'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAccessMethods#getGetMethod Get Method}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAccessMethods#getSetMethod Set Method}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAccessMethods() - * @model kind="class" - * @extends EBaseObject - * @generated - */ -public class XmlAccessMethods extends EBaseObjectImpl implements EBaseObject -{ - /** - * The default value of the '{@link #getGetMethod() Get Method}' attribute. - * - * - * @see #getGetMethod() - * @generated - * @ordered - */ - protected static final String GET_METHOD_EDEFAULT = null; - - /** - * The cached value of the '{@link #getGetMethod() Get Method}' attribute. - * - * - * @see #getGetMethod() - * @generated - * @ordered - */ - protected String getMethod = GET_METHOD_EDEFAULT; - - /** - * The default value of the '{@link #getSetMethod() Set Method}' attribute. - * - * - * @see #getSetMethod() - * @generated - * @ordered - */ - protected static final String SET_METHOD_EDEFAULT = null; - - /** - * The cached value of the '{@link #getSetMethod() Set Method}' attribute. - * - * - * @see #getSetMethod() - * @generated - * @ordered - */ - protected String setMethod = SET_METHOD_EDEFAULT; - - /** - * - * - * @generated - */ - protected XmlAccessMethods() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_ACCESS_METHODS; - } - - /** - * Returns the value of the 'Get Method' attribute. - * - *

- * 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/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlAccessMethodsHolder.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlAccessMethodsHolder.java deleted file mode 100644 index f9a0f86ad2..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlAccessMethodsHolder.java +++ /dev/null @@ -1,60 +0,0 @@ -/******************************************************************************* - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAccessMethodsHolder#getAccessMethods Access Methods}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAccessMethodsHolder() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlAccessMethodsHolder extends EBaseObject -{ - /** - * 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 - */ - 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/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlAdditionalCriteria.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlAdditionalCriteria.java deleted file mode 100644 index 271ba4bad0..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlAdditionalCriteria.java +++ /dev/null @@ -1,221 +0,0 @@ -/******************************************************************************* - * 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/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlArray.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlArray.java deleted file mode 100644 index 4c6c17b3dc..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlArray.java +++ /dev/null @@ -1,1328 +0,0 @@ -/******************************************************************************* - * 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 properties; - - /** - * The default value of the '{@link #getAttributeType() Attribute Type}' attribute. - * - * - * @see #getAttributeType() - * @generated - * @ordered - */ - protected static final String ATTRIBUTE_TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getAttributeType() Attribute Type}' attribute. - * - * - * @see #getAttributeType() - * @generated - * @ordered - */ - protected String attributeType = ATTRIBUTE_TYPE_EDEFAULT; - - /** - * The cached value of the '{@link #getConverters() Converters}' containment reference list. - * - * - * @see #getConverters() - * @generated - * @ordered - */ - protected EList converters; - - /** - * The cached value of the '{@link #getTypeConverters() Type Converters}' containment reference list. - * - * - * @see #getTypeConverters() - * @generated - * @ordered - */ - protected EList typeConverters; - - /** - * The cached value of the '{@link #getObjectTypeConverters() Object Type Converters}' containment reference list. - * - * - * @see #getObjectTypeConverters() - * @generated - * @ordered - */ - protected EList objectTypeConverters; - - /** - * The cached value of the '{@link #getStructConverters() Struct Converters}' containment reference list. - * - * - * @see #getStructConverters() - * @generated - * @ordered - */ - protected EList structConverters; - - /** - * The default value of the '{@link #isLob() Lob}' attribute. - * - * - * @see #isLob() - * @generated - * @ordered - */ - protected static final boolean LOB_EDEFAULT = false; - - /** - * The cached value of the '{@link #isLob() Lob}' attribute. - * - * - * @see #isLob() - * @generated - * @ordered - */ - protected boolean lob = LOB_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 TemporalType TEMPORAL_EDEFAULT = null; - - /** - * The cached value of the '{@link #getTemporal() Temporal}' attribute. - * - * - * @see #getTemporal() - * @generated - * @ordered - */ - protected TemporalType temporal = TEMPORAL_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 EnumType ENUMERATED_EDEFAULT = null; - - /** - * The cached value of the '{@link #getEnumerated() Enumerated}' attribute. - * - * - * @see #getEnumerated() - * @generated - * @ordered - */ - protected EnumType enumerated = ENUMERATED_EDEFAULT; - - /** - * The cached value of the '{@link #getColumn() Column}' containment reference. - * - * - * @see #getColumn() - * @generated - * @ordered - */ - protected XmlColumn column; - - /** - * The default value of the '{@link #getDatabaseType() Database Type}' attribute. - * - * - * @see #getDatabaseType() - * @generated - * @ordered - */ - protected static final String DATABASE_TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getDatabaseType() Database Type}' attribute. - * - * - * @see #getDatabaseType() - * @generated - * @ordered - */ - protected String databaseType = DATABASE_TYPE_EDEFAULT; - - /** - * The default value of the '{@link #getTargetClass() Target Class}' attribute. - * - * - * @see #getTargetClass() - * @generated - * @ordered - */ - protected static final String TARGET_CLASS_EDEFAULT = null; - - /** - * The cached value of the '{@link #getTargetClass() Target Class}' attribute. - * - * - * @see #getTargetClass() - * @generated - * @ordered - */ - protected String targetClass = TARGET_CLASS_EDEFAULT; - - /** - * The default value of the '{@link #getConvert() Convert}' attribute. - * - * - * @see #getConvert() - * @generated - * @ordered - */ - protected static final String CONVERT_EDEFAULT = null; - - /** - * The cached value of the '{@link #getConvert() Convert}' attribute. - * - * - * @see #getConvert() - * @generated - * @ordered - */ - protected String convert = CONVERT_EDEFAULT; - - /** - * - * - * @generated - */ - protected XmlArray() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_ARRAY; - } - - /** - * 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_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 getProperties() - { - if (properties == null) - { - properties = new EObjectContainmentEList(XmlProperty.class, this, EclipseLinkOrmPackage.XML_ARRAY__PROPERTIES); - } - return properties; - } - - /** - * 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 getConverters() - { - if (converters == null) - { - converters = new EObjectContainmentEList(XmlConverter.class, this, EclipseLinkOrmPackage.XML_ARRAY__CONVERTERS); - } - return converters; - } - - /** - * Returns the value of the 'Type Converters' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter}. - * - *

- * 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 getTypeConverters() - { - if (typeConverters == null) - { - typeConverters = new EObjectContainmentEList(XmlTypeConverter.class, this, EclipseLinkOrmPackage.XML_ARRAY__TYPE_CONVERTERS); - } - return typeConverters; - } - - /** - * Returns the value of the 'Object Type Converters' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter}. - * - *

- * 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 getObjectTypeConverters() - { - if (objectTypeConverters == null) - { - objectTypeConverters = new EObjectContainmentEList(XmlObjectTypeConverter.class, this, EclipseLinkOrmPackage.XML_ARRAY__OBJECT_TYPE_CONVERTERS); - } - return objectTypeConverters; - } - - /** - * Returns the value of the 'Struct Converters' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructConverter}. - * - *

- * 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 getStructConverters() - { - if (structConverters == null) - { - structConverters = new EObjectContainmentEList(XmlStructConverter.class, this, EclipseLinkOrmPackage.XML_ARRAY__STRUCT_CONVERTERS); - } - return structConverters; - } - - /** - * Returns the value of the 'Lob' attribute. - * - *

- * 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)newValue); - return; - case EclipseLinkOrmPackage.XML_ARRAY__ATTRIBUTE_TYPE: - setAttributeType((String)newValue); - return; - case EclipseLinkOrmPackage.XML_ARRAY__CONVERTERS: - getConverters().clear(); - getConverters().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ARRAY__TYPE_CONVERTERS: - getTypeConverters().clear(); - getTypeConverters().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ARRAY__OBJECT_TYPE_CONVERTERS: - getObjectTypeConverters().clear(); - getObjectTypeConverters().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ARRAY__STRUCT_CONVERTERS: - getStructConverters().clear(); - getStructConverters().addAll((Collection)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/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlAttributeMapping.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlAttributeMapping.java deleted file mode 100644 index 5ab61a1696..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlAttributeMapping.java +++ /dev/null @@ -1,80 +0,0 @@ -/******************************************************************************* - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAttributeMapping#getAttributeType Attribute Type}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAttributeMapping() - * @model kind="class" interface="true" abstract="true" - * @generated - */ -public interface XmlAttributeMapping - extends org.eclipse.jpt.jpa.core.resource.orm.XmlAttributeMapping, - XmlAccessMethodsHolder, XmlPropertyContainer -{ - - /** - * 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 - */ - 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/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlBasic.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlBasic.java deleted file mode 100644 index 4ea7feac54..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlBasic.java +++ /dev/null @@ -1,1772 +0,0 @@ -/******************************************************************************* - * 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 properties; - /** - * The default value of the '{@link #getAttributeType() Attribute Type}' attribute. - * - * - * @see #getAttributeType() - * @generated - * @ordered - */ - protected static final String ATTRIBUTE_TYPE_EDEFAULT = null; - /** - * The cached value of the '{@link #getAttributeType() Attribute Type}' attribute. - * - * - * @see #getAttributeType() - * @generated - * @ordered - */ - protected String attributeType = ATTRIBUTE_TYPE_EDEFAULT; - /** - * The default value of the '{@link #getMutable() Mutable}' attribute. - * - * - * @see #getMutable() - * @generated - * @ordered - */ - protected static final Boolean MUTABLE_EDEFAULT = null; - /** - * The cached value of the '{@link #getMutable() Mutable}' attribute. - * - * - * @see #getMutable() - * @generated - * @ordered - */ - protected Boolean mutable = MUTABLE_EDEFAULT; - /** - * The default value of the '{@link #getConvert() Convert}' attribute. - * - * - * @see #getConvert() - * @generated - * @ordered - */ - protected static final String CONVERT_EDEFAULT = null; - /** - * The cached value of the '{@link #getConvert() Convert}' attribute. - * - * - * @see #getConvert() - * @generated - * @ordered - */ - protected String convert = CONVERT_EDEFAULT; - - /** - * The cached value of the '{@link #getConverters() Converters}' containment reference list. - * - * - * @see #getConverters() - * @generated - * @ordered - */ - protected EList converters; - /** - * The cached value of the '{@link #getTypeConverters() Type Converters}' containment reference list. - * - * - * @see #getTypeConverters() - * @generated - * @ordered - */ - protected EList typeConverters; - /** - * The cached value of the '{@link #getObjectTypeConverters() Object Type Converters}' containment reference list. - * - * - * @see #getObjectTypeConverters() - * @generated - * @ordered - */ - protected EList objectTypeConverters; - /** - * The cached value of the '{@link #getStructConverters() Struct Converters}' containment reference list. - * - * - * @see #getStructConverters() - * @generated - * @ordered - */ - protected EList structConverters; - - /** - * - * - * @generated - */ - protected XmlBasic() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_BASIC; - } - - /** - * 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.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 getConverters() - { - if (converters == null) - { - converters = new EObjectContainmentEList(XmlConverter.class, this, EclipseLinkOrmPackage.XML_BASIC__CONVERTERS); - } - return converters; - } - - /** - * Returns the value of the 'Type Converters' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter}. - * - *

- * 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 getTypeConverters() - { - if (typeConverters == null) - { - typeConverters = new EObjectContainmentEList(XmlTypeConverter.class, this, EclipseLinkOrmPackage.XML_BASIC__TYPE_CONVERTERS); - } - return typeConverters; - } - - /** - * Returns the value of the 'Object Type Converters' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter}. - * - *

- * 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 getObjectTypeConverters() - { - if (objectTypeConverters == null) - { - objectTypeConverters = new EObjectContainmentEList(XmlObjectTypeConverter.class, this, EclipseLinkOrmPackage.XML_BASIC__OBJECT_TYPE_CONVERTERS); - } - return objectTypeConverters; - } - - /** - * Returns the value of the 'Struct Converters' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructConverter}. - * - *

- * 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 getStructConverters() - { - if (structConverters == null) - { - structConverters = new EObjectContainmentEList(XmlStructConverter.class, this, EclipseLinkOrmPackage.XML_BASIC__STRUCT_CONVERTERS); - } - return structConverters; - } - - /** - * Returns the value of the 'Sequence Generator' containment reference. - * - *

- * 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 getProperties() - { - if (properties == null) - { - properties = new EObjectContainmentEList(XmlProperty.class, this, EclipseLinkOrmPackage.XML_BASIC__PROPERTIES); - } - return properties; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_BASIC__SEQUENCE_GENERATOR: - return basicSetSequenceGenerator(null, msgs); - case EclipseLinkOrmPackage.XML_BASIC__TABLE_GENERATOR: - return basicSetTableGenerator(null, msgs); - case EclipseLinkOrmPackage.XML_BASIC__GENERATED_VALUE: - return basicSetGeneratedValue(null, msgs); - case EclipseLinkOrmPackage.XML_BASIC__RETURN_INSERT: - return basicSetReturnInsert(null, msgs); - case EclipseLinkOrmPackage.XML_BASIC__INDEX: - return basicSetIndex(null, msgs); - case EclipseLinkOrmPackage.XML_BASIC__UUID_GENERATOR: - return basicSetUuidGenerator(null, msgs); - case EclipseLinkOrmPackage.XML_BASIC__FIELD: - return basicSetField(null, msgs); - case EclipseLinkOrmPackage.XML_BASIC__CACHE_INDEX: - return basicSetCacheIndex(null, msgs); - case EclipseLinkOrmPackage.XML_BASIC__ACCESS_METHODS: - return basicSetAccessMethods(null, msgs); - case EclipseLinkOrmPackage.XML_BASIC__PROPERTIES: - return ((InternalEList)getProperties()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_BASIC__CONVERTERS: - return ((InternalEList)getConverters()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_BASIC__TYPE_CONVERTERS: - return ((InternalEList)getTypeConverters()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_BASIC__OBJECT_TYPE_CONVERTERS: - return ((InternalEList)getObjectTypeConverters()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_BASIC__STRUCT_CONVERTERS: - return ((InternalEList)getStructConverters()).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__SEQUENCE_GENERATOR: - return getSequenceGenerator(); - case EclipseLinkOrmPackage.XML_BASIC__TABLE_GENERATOR: - return getTableGenerator(); - case EclipseLinkOrmPackage.XML_BASIC__GENERATED_VALUE: - return getGeneratedValue(); - case EclipseLinkOrmPackage.XML_BASIC__RETURN_INSERT: - return getReturnInsert(); - case EclipseLinkOrmPackage.XML_BASIC__RETURN_UPDATE: - return getReturnUpdate(); - case EclipseLinkOrmPackage.XML_BASIC__INDEX: - return getIndex(); - case EclipseLinkOrmPackage.XML_BASIC__UUID_GENERATOR: - return getUuidGenerator(); - case EclipseLinkOrmPackage.XML_BASIC__FIELD: - return getField(); - case EclipseLinkOrmPackage.XML_BASIC__CACHE_INDEX: - return getCacheIndex(); - case EclipseLinkOrmPackage.XML_BASIC__ACCESS_METHODS: - return getAccessMethods(); - case EclipseLinkOrmPackage.XML_BASIC__PROPERTIES: - return getProperties(); - case EclipseLinkOrmPackage.XML_BASIC__ATTRIBUTE_TYPE: - return getAttributeType(); - case EclipseLinkOrmPackage.XML_BASIC__MUTABLE: - return getMutable(); - case EclipseLinkOrmPackage.XML_BASIC__CONVERT: - return getConvert(); - case EclipseLinkOrmPackage.XML_BASIC__CONVERTERS: - return getConverters(); - case EclipseLinkOrmPackage.XML_BASIC__TYPE_CONVERTERS: - return getTypeConverters(); - case EclipseLinkOrmPackage.XML_BASIC__OBJECT_TYPE_CONVERTERS: - return getObjectTypeConverters(); - case EclipseLinkOrmPackage.XML_BASIC__STRUCT_CONVERTERS: - return getStructConverters(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_BASIC__SEQUENCE_GENERATOR: - setSequenceGenerator((XmlSequenceGenerator)newValue); - return; - case EclipseLinkOrmPackage.XML_BASIC__TABLE_GENERATOR: - setTableGenerator((XmlTableGenerator)newValue); - return; - case EclipseLinkOrmPackage.XML_BASIC__GENERATED_VALUE: - setGeneratedValue((XmlGeneratedValue)newValue); - return; - case EclipseLinkOrmPackage.XML_BASIC__RETURN_INSERT: - setReturnInsert((XmlReturnInsert)newValue); - return; - case EclipseLinkOrmPackage.XML_BASIC__RETURN_UPDATE: - setReturnUpdate((Boolean)newValue); - return; - case EclipseLinkOrmPackage.XML_BASIC__INDEX: - setIndex((XmlIndex_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_BASIC__UUID_GENERATOR: - setUuidGenerator((XmlUuidGenerator_2_4)newValue); - return; - case EclipseLinkOrmPackage.XML_BASIC__FIELD: - setField((XmlField_2_4)newValue); - return; - case EclipseLinkOrmPackage.XML_BASIC__CACHE_INDEX: - setCacheIndex((XmlCacheIndex_2_4)newValue); - return; - case EclipseLinkOrmPackage.XML_BASIC__ACCESS_METHODS: - setAccessMethods((XmlAccessMethods)newValue); - return; - case EclipseLinkOrmPackage.XML_BASIC__PROPERTIES: - getProperties().clear(); - getProperties().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_BASIC__ATTRIBUTE_TYPE: - setAttributeType((String)newValue); - return; - case EclipseLinkOrmPackage.XML_BASIC__MUTABLE: - setMutable((Boolean)newValue); - return; - case EclipseLinkOrmPackage.XML_BASIC__CONVERT: - setConvert((String)newValue); - return; - case EclipseLinkOrmPackage.XML_BASIC__CONVERTERS: - getConverters().clear(); - getConverters().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_BASIC__TYPE_CONVERTERS: - getTypeConverters().clear(); - getTypeConverters().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_BASIC__OBJECT_TYPE_CONVERTERS: - getObjectTypeConverters().clear(); - getObjectTypeConverters().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_BASIC__STRUCT_CONVERTERS: - getStructConverters().clear(); - getStructConverters().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_BASIC__SEQUENCE_GENERATOR: - setSequenceGenerator((XmlSequenceGenerator)null); - return; - case EclipseLinkOrmPackage.XML_BASIC__TABLE_GENERATOR: - setTableGenerator((XmlTableGenerator)null); - return; - case EclipseLinkOrmPackage.XML_BASIC__GENERATED_VALUE: - setGeneratedValue((XmlGeneratedValue)null); - return; - case EclipseLinkOrmPackage.XML_BASIC__RETURN_INSERT: - setReturnInsert((XmlReturnInsert)null); - return; - case EclipseLinkOrmPackage.XML_BASIC__RETURN_UPDATE: - setReturnUpdate(RETURN_UPDATE_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_BASIC__INDEX: - setIndex((XmlIndex_2_2)null); - return; - case EclipseLinkOrmPackage.XML_BASIC__UUID_GENERATOR: - setUuidGenerator((XmlUuidGenerator_2_4)null); - return; - case EclipseLinkOrmPackage.XML_BASIC__FIELD: - setField((XmlField_2_4)null); - return; - case EclipseLinkOrmPackage.XML_BASIC__CACHE_INDEX: - setCacheIndex((XmlCacheIndex_2_4)null); - return; - case EclipseLinkOrmPackage.XML_BASIC__ACCESS_METHODS: - setAccessMethods((XmlAccessMethods)null); - return; - case EclipseLinkOrmPackage.XML_BASIC__PROPERTIES: - getProperties().clear(); - return; - case EclipseLinkOrmPackage.XML_BASIC__ATTRIBUTE_TYPE: - setAttributeType(ATTRIBUTE_TYPE_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_BASIC__MUTABLE: - setMutable(MUTABLE_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_BASIC__CONVERT: - setConvert(CONVERT_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_BASIC__CONVERTERS: - getConverters().clear(); - return; - case EclipseLinkOrmPackage.XML_BASIC__TYPE_CONVERTERS: - getTypeConverters().clear(); - return; - case EclipseLinkOrmPackage.XML_BASIC__OBJECT_TYPE_CONVERTERS: - getObjectTypeConverters().clear(); - return; - case EclipseLinkOrmPackage.XML_BASIC__STRUCT_CONVERTERS: - getStructConverters().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_BASIC__SEQUENCE_GENERATOR: - return sequenceGenerator != null; - case EclipseLinkOrmPackage.XML_BASIC__TABLE_GENERATOR: - return tableGenerator != null; - case EclipseLinkOrmPackage.XML_BASIC__GENERATED_VALUE: - return generatedValue != null; - case EclipseLinkOrmPackage.XML_BASIC__RETURN_INSERT: - return returnInsert != null; - case EclipseLinkOrmPackage.XML_BASIC__RETURN_UPDATE: - return RETURN_UPDATE_EDEFAULT == null ? returnUpdate != null : !RETURN_UPDATE_EDEFAULT.equals(returnUpdate); - case EclipseLinkOrmPackage.XML_BASIC__INDEX: - return index != null; - case EclipseLinkOrmPackage.XML_BASIC__UUID_GENERATOR: - return uuidGenerator != null; - case EclipseLinkOrmPackage.XML_BASIC__FIELD: - return field != null; - case EclipseLinkOrmPackage.XML_BASIC__CACHE_INDEX: - return cacheIndex != null; - case EclipseLinkOrmPackage.XML_BASIC__ACCESS_METHODS: - return accessMethods != null; - case EclipseLinkOrmPackage.XML_BASIC__PROPERTIES: - return properties != null && !properties.isEmpty(); - case EclipseLinkOrmPackage.XML_BASIC__ATTRIBUTE_TYPE: - return ATTRIBUTE_TYPE_EDEFAULT == null ? attributeType != null : !ATTRIBUTE_TYPE_EDEFAULT.equals(attributeType); - case EclipseLinkOrmPackage.XML_BASIC__MUTABLE: - return MUTABLE_EDEFAULT == null ? mutable != null : !MUTABLE_EDEFAULT.equals(mutable); - case EclipseLinkOrmPackage.XML_BASIC__CONVERT: - return CONVERT_EDEFAULT == null ? convert != null : !CONVERT_EDEFAULT.equals(convert); - case EclipseLinkOrmPackage.XML_BASIC__CONVERTERS: - return converters != null && !converters.isEmpty(); - case EclipseLinkOrmPackage.XML_BASIC__TYPE_CONVERTERS: - return typeConverters != null && !typeConverters.isEmpty(); - case EclipseLinkOrmPackage.XML_BASIC__OBJECT_TYPE_CONVERTERS: - return objectTypeConverters != null && !objectTypeConverters.isEmpty(); - case EclipseLinkOrmPackage.XML_BASIC__STRUCT_CONVERTERS: - return structConverters != null && !structConverters.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public int eBaseStructuralFeatureID(int derivedFeatureID, Class baseClass) - { - if (baseClass == XmlGeneratorContainer.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_BASIC__SEQUENCE_GENERATOR: return OrmPackage.XML_GENERATOR_CONTAINER__SEQUENCE_GENERATOR; - case EclipseLinkOrmPackage.XML_BASIC__TABLE_GENERATOR: return OrmPackage.XML_GENERATOR_CONTAINER__TABLE_GENERATOR; - default: return -1; - } - } - if (baseClass == XmlBasic_1_1.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_BASIC__GENERATED_VALUE: return EclipseLinkOrmV1_1Package.XML_BASIC_11__GENERATED_VALUE; - default: return -1; - } - } - if (baseClass == XmlBasic_2_1.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_BASIC__RETURN_INSERT: return EclipseLinkOrmV2_1Package.XML_BASIC_21__RETURN_INSERT; - case EclipseLinkOrmPackage.XML_BASIC__RETURN_UPDATE: return EclipseLinkOrmV2_1Package.XML_BASIC_21__RETURN_UPDATE; - default: return -1; - } - } - if (baseClass == XmlBasic_2_2.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_BASIC__INDEX: return EclipseLinkOrmV2_2Package.XML_BASIC_22__INDEX; - default: return -1; - } - } - if (baseClass == XmlGeneratorContainer2_4.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_BASIC__UUID_GENERATOR: return EclipseLinkOrmV2_4Package.XML_GENERATOR_CONTAINER2_4__UUID_GENERATOR; - default: return -1; - } - } - if (baseClass == XmlBasic_2_4.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_BASIC__FIELD: return EclipseLinkOrmV2_4Package.XML_BASIC_24__FIELD; - case EclipseLinkOrmPackage.XML_BASIC__CACHE_INDEX: return EclipseLinkOrmV2_4Package.XML_BASIC_24__CACHE_INDEX; - default: return -1; - } - } - if (baseClass == XmlAccessMethodsHolder.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_BASIC__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS; - default: return -1; - } - } - if (baseClass == XmlPropertyContainer.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_BASIC__PROPERTIES: return EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES; - default: return -1; - } - } - if (baseClass == XmlAttributeMapping.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_BASIC__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE; - default: return -1; - } - } - if (baseClass == XmlMutable.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_BASIC__MUTABLE: return EclipseLinkOrmPackage.XML_MUTABLE__MUTABLE; - default: return -1; - } - } - if (baseClass == XmlConvertibleMapping.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_BASIC__CONVERT: return EclipseLinkOrmPackage.XML_CONVERTIBLE_MAPPING__CONVERT; - default: return -1; - } - } - if (baseClass == XmlConverterContainer.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_BASIC__CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__CONVERTERS; - case EclipseLinkOrmPackage.XML_BASIC__TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__TYPE_CONVERTERS; - case EclipseLinkOrmPackage.XML_BASIC__OBJECT_TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS; - case EclipseLinkOrmPackage.XML_BASIC__STRUCT_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS; - default: return -1; - } - } - return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); - } - - /** - * - * - * @generated - */ - @Override - public int eDerivedStructuralFeatureID(int baseFeatureID, Class baseClass) - { - if (baseClass == XmlGeneratorContainer.class) - { - switch (baseFeatureID) - { - case OrmPackage.XML_GENERATOR_CONTAINER__SEQUENCE_GENERATOR: return EclipseLinkOrmPackage.XML_BASIC__SEQUENCE_GENERATOR; - case OrmPackage.XML_GENERATOR_CONTAINER__TABLE_GENERATOR: return EclipseLinkOrmPackage.XML_BASIC__TABLE_GENERATOR; - default: return -1; - } - } - if (baseClass == XmlBasic_1_1.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV1_1Package.XML_BASIC_11__GENERATED_VALUE: return EclipseLinkOrmPackage.XML_BASIC__GENERATED_VALUE; - default: return -1; - } - } - if (baseClass == XmlBasic_2_1.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_1Package.XML_BASIC_21__RETURN_INSERT: return EclipseLinkOrmPackage.XML_BASIC__RETURN_INSERT; - case EclipseLinkOrmV2_1Package.XML_BASIC_21__RETURN_UPDATE: return EclipseLinkOrmPackage.XML_BASIC__RETURN_UPDATE; - default: return -1; - } - } - if (baseClass == XmlBasic_2_2.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_2Package.XML_BASIC_22__INDEX: return EclipseLinkOrmPackage.XML_BASIC__INDEX; - default: return -1; - } - } - if (baseClass == XmlGeneratorContainer2_4.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_4Package.XML_GENERATOR_CONTAINER2_4__UUID_GENERATOR: return EclipseLinkOrmPackage.XML_BASIC__UUID_GENERATOR; - default: return -1; - } - } - if (baseClass == XmlBasic_2_4.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_4Package.XML_BASIC_24__FIELD: return EclipseLinkOrmPackage.XML_BASIC__FIELD; - case EclipseLinkOrmV2_4Package.XML_BASIC_24__CACHE_INDEX: return EclipseLinkOrmPackage.XML_BASIC__CACHE_INDEX; - default: return -1; - } - } - if (baseClass == XmlAccessMethodsHolder.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_BASIC__ACCESS_METHODS; - default: return -1; - } - } - if (baseClass == XmlPropertyContainer.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES: return EclipseLinkOrmPackage.XML_BASIC__PROPERTIES; - default: return -1; - } - } - if (baseClass == XmlAttributeMapping.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_BASIC__ATTRIBUTE_TYPE; - default: return -1; - } - } - if (baseClass == XmlMutable.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_MUTABLE__MUTABLE: return EclipseLinkOrmPackage.XML_BASIC__MUTABLE; - default: return -1; - } - } - if (baseClass == XmlConvertibleMapping.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_CONVERTIBLE_MAPPING__CONVERT: return EclipseLinkOrmPackage.XML_BASIC__CONVERT; - default: return -1; - } - } - if (baseClass == XmlConverterContainer.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__CONVERTERS: return EclipseLinkOrmPackage.XML_BASIC__CONVERTERS; - case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_BASIC__TYPE_CONVERTERS; - case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_BASIC__OBJECT_TYPE_CONVERTERS; - case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS: return EclipseLinkOrmPackage.XML_BASIC__STRUCT_CONVERTERS; - 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(" (returnUpdate: "); - result.append(returnUpdate); - result.append(", attributeType: "); - result.append(attributeType); - result.append(", mutable: "); - result.append(mutable); - result.append(", convert: "); - result.append(convert); - result.append(')'); - return result.toString(); - } - - public TextRange getMutableTextRange() { - return getAttributeTextRange(EclipseLink.MUTABLE); - } - - 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.getXmlBasic(), - buildTranslatorChildren()); - } - - private static Translator[] buildTranslatorChildren() { - return new Translator[] { - buildNameTranslator(), - buildFetchTranslator(), - buildOptionalTranslator(), - buildAccessTranslator(), - buildMutableTranslator(), - buildAttributeTypeTranslator(), - buildColumnTranslator(), - buildFieldTranslator(), - buildIndexTranslator(), - buildCacheIndexTranslator(), - buildGeneratedValueTranslator(), - buildLobTranslator(), - buildTemporalTranslator(), - buildEnumeratedTranslator(), - buildConvertTranslator(), - buildConverterTranslator(), - buildTypeConverterTranslator(), - buildObjectTypeConverterTranslator(), - buildStructConverterTranslator(), - buildTableGeneratorTranslator(), - buildSequenceGeneratorTranslator(), - buildUuidGeneratorTranslator(), - buildPropertyTranslator(), - buildAccessMethodsTranslator(), - buildReturnInsertTranslator(), - buildReturnUpdateTranslator()}; - } - - protected static Translator buildMutableTranslator() { - return new Translator(EclipseLink.MUTABLE, EclipseLinkOrmPackage.eINSTANCE.getXmlMutable_Mutable(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildIndexTranslator() { - return XmlIndex.buildTranslator(EclipseLink2_2.INDEX, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlBasic_2_2_Index()); - } - - protected static Translator buildCacheIndexTranslator() { - return XmlCacheIndex.buildTranslator(EclipseLink2_4.CACHE_INDEX, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlBasic_2_4_CacheIndex()); - } - - protected static Translator buildGeneratedValueTranslator() { - return XmlGeneratedValue.buildTranslator(EclipseLink1_1.GENERATED_VALUE, EclipseLinkOrmV1_1Package.eINSTANCE.getXmlBasic_1_1_GeneratedValue()); - } - - 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 buildTableGeneratorTranslator() { - return org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTableGenerator.buildTranslator(EclipseLink1_1.TABLE_GENERATOR, OrmPackage.eINSTANCE.getXmlGeneratorContainer_TableGenerator()); - } - - protected static Translator buildSequenceGeneratorTranslator() { - return XmlSequenceGenerator.buildTranslator(EclipseLink1_1.SEQUENCE_GENERATOR, OrmPackage.eINSTANCE.getXmlGeneratorContainer_SequenceGenerator()); - } - - 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 buildReturnInsertTranslator() { - return XmlReturnInsert.buildTranslator(EclipseLink2_1.RETURN_INSERT, EclipseLinkOrmV2_1Package.eINSTANCE.getXmlBasic_2_1_ReturnInsert()); - } - - protected static Translator buildReturnUpdateTranslator() { - return new Translator(EclipseLink2_1.RETURN_UPDATE, EclipseLinkOrmV2_1Package.eINSTANCE.getXmlBasic_2_1_ReturnUpdate()); - } - - protected static Translator buildAttributeTypeTranslator() { - return new Translator(EclipseLink2_1.ATTRIBUTE_TYPE, EclipseLinkOrmPackage.eINSTANCE.getXmlAttributeMapping_AttributeType(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildUuidGeneratorTranslator() { - return XmlUuidGenerator.buildTranslator(EclipseLink2_4.UUID_GENERATOR, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlGeneratorContainer2_4_UuidGenerator()); - } - - protected static Translator buildFieldTranslator() { - return XmlField.buildTranslator(EclipseLink2_4.FIELD, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlBasic_2_4_Field()); - } - - // *********** 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_1.ATTRIBUTE_TYPE); - } - - public boolean attributeTypeTouches(int pos) { - TextRange textRange = this.getAttributeTypeCodeAssistTextRange(); - return (textRange != null) && (textRange.touches(pos)); - } - - // ******** virtual attribute ************ - - public void setVirtualAttributeTypes(String attributeType, String targetType) { - this.setAttributeType(attributeType); - } -} diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlBasicCollection.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlBasicCollection.java deleted file mode 100644 index 48c088e133..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlBasicCollection.java +++ /dev/null @@ -1,543 +0,0 @@ -/******************************************************************************* - * 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.XmlBasicCollection_2_2; -import org.eclipse.wst.common.internal.emf.resource.Translator; - -/** - * - * A representation of the model object 'Xml Basic Collection 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#getXmlBasicCollection() - * @model kind="class" - * @generated - */ -public class XmlBasicCollection extends AbstractXmlAttributeMapping implements XmlAttributeMapping, XmlBasicCollection_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 properties; - - /** - * The default value of the '{@link #getAttributeType() Attribute Type}' attribute. - * - * - * @see #getAttributeType() - * @generated - * @ordered - */ - protected static final String ATTRIBUTE_TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getAttributeType() Attribute Type}' attribute. - * - * - * @see #getAttributeType() - * @generated - * @ordered - */ - protected String attributeType = ATTRIBUTE_TYPE_EDEFAULT; - - /** - * The default value of the '{@link #getCascadeOnDelete() Cascade On Delete}' attribute. - * - * - * @see #getCascadeOnDelete() - * @generated - * @ordered - */ - protected static final Boolean CASCADE_ON_DELETE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getCascadeOnDelete() Cascade On Delete}' attribute. - * - * - * @see #getCascadeOnDelete() - * @generated - * @ordered - */ - protected Boolean cascadeOnDelete = CASCADE_ON_DELETE_EDEFAULT; - - /** - * - * - * @generated - */ - protected XmlBasicCollection() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_BASIC_COLLECTION; - } - - /** - * 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_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 getProperties() - { - if (properties == null) - { - properties = new EObjectContainmentEList(XmlProperty.class, this, EclipseLinkOrmPackage.XML_BASIC_COLLECTION__PROPERTIES); - } - return properties; - } - - /** - * 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.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)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/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlBasicMap.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlBasicMap.java deleted file mode 100644 index 59a542e397..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlBasicMap.java +++ /dev/null @@ -1,543 +0,0 @@ -/******************************************************************************* - * 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 properties; - - /** - * The default value of the '{@link #getAttributeType() Attribute Type}' attribute. - * - * - * @see #getAttributeType() - * @generated - * @ordered - */ - protected static final String ATTRIBUTE_TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getAttributeType() Attribute Type}' attribute. - * - * - * @see #getAttributeType() - * @generated - * @ordered - */ - protected String attributeType = ATTRIBUTE_TYPE_EDEFAULT; - - /** - * The default value of the '{@link #getCascadeOnDelete() Cascade On Delete}' attribute. - * - * - * @see #getCascadeOnDelete() - * @generated - * @ordered - */ - protected static final Boolean CASCADE_ON_DELETE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getCascadeOnDelete() Cascade On Delete}' attribute. - * - * - * @see #getCascadeOnDelete() - * @generated - * @ordered - */ - protected Boolean cascadeOnDelete = CASCADE_ON_DELETE_EDEFAULT; - - /** - * - * - * @generated - */ - protected XmlBasicMap() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_BASIC_MAP; - } - - /** - * 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_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 getProperties() - { - if (properties == null) - { - properties = new EObjectContainmentEList(XmlProperty.class, this, EclipseLinkOrmPackage.XML_BASIC_MAP__PROPERTIES); - } - return properties; - } - - /** - * 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.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)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/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlBatchFetch.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlBatchFetch.java deleted file mode 100644 index ff340763ed..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlBatchFetch.java +++ /dev/null @@ -1,296 +0,0 @@ -/******************************************************************************* - * 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/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlBatchFetchHolder.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlBatchFetchHolder.java deleted file mode 100644 index 5b85c75e01..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlBatchFetchHolder.java +++ /dev/null @@ -1,68 +0,0 @@ -/******************************************************************************* - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBatchFetchHolder#getBatchFetch Batch Fetch}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlBatchFetchHolder() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlBatchFetchHolder extends EBaseObject -{ - /** - * 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 - */ - 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/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCache.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCache.java deleted file mode 100644 index ad410d4553..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCache.java +++ /dev/null @@ -1,1029 +0,0 @@ -/******************************************************************************* - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getExpiry Expiry}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getSize Size}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getShared Shared}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getType Type}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getAlwaysRefresh Always Refresh}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getRefreshOnlyIfNewer Refresh Only If Newer}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getDisableHits Disable Hits}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getCoordinationType Coordination Type}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getExpiryTimeOfDay Expiry Time Of Day}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCache() - * @model kind="class" - * @generated - */ -public class XmlCache extends EBaseObjectImpl implements XmlCache_2_2, XmlCache_2_4 -{ - /** - * 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 CacheIsolationType ISOLATION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getIsolation() Isolation}' attribute. - * - * - * @see #getIsolation() - * @generated - * @ordered - */ - protected CacheIsolationType isolation = ISOLATION_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 DatabaseChangeNotificationType DATABASE_CHANGE_NOTIFICATION_TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getDatabaseChangeNotificationType() Database Change Notification Type}' attribute. - * - * - * @see #getDatabaseChangeNotificationType() - * @generated - * @ordered - */ - protected DatabaseChangeNotificationType databaseChangeNotificationType = DATABASE_CHANGE_NOTIFICATION_TYPE_EDEFAULT; - - /** - * The default value of the '{@link #getExpiry() Expiry}' attribute. - * - * - * @see #getExpiry() - * @generated - * @ordered - */ - protected static final Integer EXPIRY_EDEFAULT = null; - - /** - * The cached value of the '{@link #getExpiry() Expiry}' attribute. - * - * - * @see #getExpiry() - * @generated - * @ordered - */ - protected Integer expiry = EXPIRY_EDEFAULT; - - /** - * 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; - - /** - * The default value of the '{@link #getShared() Shared}' attribute. - * - * - * @see #getShared() - * @generated - * @ordered - */ - protected static final Boolean SHARED_EDEFAULT = null; - - /** - * The cached value of the '{@link #getShared() Shared}' attribute. - * - * - * @see #getShared() - * @generated - * @ordered - */ - protected Boolean shared = SHARED_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 CacheType TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getType() Type}' attribute. - * - * - * @see #getType() - * @generated - * @ordered - */ - protected CacheType type = TYPE_EDEFAULT; - - /** - * The default value of the '{@link #getAlwaysRefresh() Always Refresh}' attribute. - * - * - * @see #getAlwaysRefresh() - * @generated - * @ordered - */ - protected static final Boolean ALWAYS_REFRESH_EDEFAULT = null; - - /** - * The cached value of the '{@link #getAlwaysRefresh() Always Refresh}' attribute. - * - * - * @see #getAlwaysRefresh() - * @generated - * @ordered - */ - protected Boolean alwaysRefresh = ALWAYS_REFRESH_EDEFAULT; - - /** - * The default value of the '{@link #getRefreshOnlyIfNewer() Refresh Only If Newer}' attribute. - * - * - * @see #getRefreshOnlyIfNewer() - * @generated - * @ordered - */ - protected static final Boolean REFRESH_ONLY_IF_NEWER_EDEFAULT = null; - - /** - * The cached value of the '{@link #getRefreshOnlyIfNewer() Refresh Only If Newer}' attribute. - * - * - * @see #getRefreshOnlyIfNewer() - * @generated - * @ordered - */ - protected Boolean refreshOnlyIfNewer = REFRESH_ONLY_IF_NEWER_EDEFAULT; - - /** - * The default value of the '{@link #getDisableHits() Disable Hits}' attribute. - * - * - * @see #getDisableHits() - * @generated - * @ordered - */ - protected static final Boolean DISABLE_HITS_EDEFAULT = null; - - /** - * The cached value of the '{@link #getDisableHits() Disable Hits}' attribute. - * - * - * @see #getDisableHits() - * @generated - * @ordered - */ - protected Boolean disableHits = DISABLE_HITS_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 CacheCoordinationType COORDINATION_TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getCoordinationType() Coordination Type}' attribute. - * - * - * @see #getCoordinationType() - * @generated - * @ordered - */ - protected CacheCoordinationType coordinationType = COORDINATION_TYPE_EDEFAULT; - - /** - * The cached value of the '{@link #getExpiryTimeOfDay() Expiry Time Of Day}' containment reference. - * - * - * @see #getExpiryTimeOfDay() - * @generated - * @ordered - */ - protected XmlTimeOfDay expiryTimeOfDay; - - /** - * - * - * @generated - */ - protected XmlCache() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_CACHE; - } - - /** - * Returns the value of the 'Isolation' attribute. - * The default value is "". - * 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/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCacheHolder.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCacheHolder.java deleted file mode 100644 index 540fd14e25..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCacheHolder.java +++ /dev/null @@ -1,102 +0,0 @@ -/******************************************************************************* - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCacheHolder#getCache Cache}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCacheHolder#getExistenceChecking Existence Checking}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCacheHolder() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlCacheHolder extends EBaseObject -{ - /** - * 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 - */ - 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/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCacheIndex.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCacheIndex.java deleted file mode 100644 index 48484bade5..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCacheIndex.java +++ /dev/null @@ -1,196 +0,0 @@ -/******************************************************************************* - * 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 columnNames; - - /** - * - * - * @generated - */ - protected XmlCacheIndex() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_CACHE_INDEX; - } - - /** - * 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#getXmlCacheIndex_2_4_ColumnNames() - * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - public EList getColumnNames() - { - if (columnNames == null) - { - columnNames = new EDataTypeEList(String.class, this, EclipseLinkOrmPackage.XML_CACHE_INDEX__COLUMN_NAMES); - } - return columnNames; - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_CACHE_INDEX__COLUMN_NAMES: - return getColumnNames(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_CACHE_INDEX__COLUMN_NAMES: - getColumnNames().clear(); - getColumnNames().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_CACHE_INDEX__COLUMN_NAMES: - getColumnNames().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_CACHE_INDEX__COLUMN_NAMES: - return columnNames != null && !columnNames.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (columnNames: "); - result.append(columnNames); - result.append(')'); - return result.toString(); - } - - - // ********** translators ********** - - public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) { - return new SimpleTranslator( - elementName, - structuralFeature, - EclipseLinkOrmPackage.eINSTANCE.getXmlCacheIndex(), - buildTranslatorChildren()); - } - - private static Translator[] buildTranslatorChildren() { - return new Translator[] { - buildColumnNameTranslator() - }; - } - - protected static Translator buildColumnNameTranslator() { - return new Translator(EclipseLink2_4.CACHE_INDEX__COLUMN_NAME, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlCacheIndex_2_4_ColumnNames()); - } -} // XmlCacheIndex diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlChangeTracking.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlChangeTracking.java deleted file mode 100644 index 5efa7df2bc..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlChangeTracking.java +++ /dev/null @@ -1,226 +0,0 @@ -/******************************************************************************* - * 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.wst.common.internal.emf.resource.Translator; - -/** - * - - * A representation of the model object 'Xml Change Tracking'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlChangeTracking#getType Type}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlChangeTracking() - * @model kind="class" - * @extends EBaseObject - * @generated - */ -public class XmlChangeTracking extends EBaseObjectImpl implements EBaseObject -{ - /** - * 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 XmlChangeTrackingType TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getType() Type}' attribute. - * - * - * @see #getType() - * @generated - * @ordered - */ - protected XmlChangeTrackingType type = TYPE_EDEFAULT; - - /** - * - * - * @generated - */ - protected XmlChangeTracking() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_CHANGE_TRACKING; - } - - /** - * Returns the value of the 'Type' attribute. - * The literals are from the enumeration {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlChangeTrackingType}. - * - *

- * 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/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlChangeTrackingHolder.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlChangeTrackingHolder.java deleted file mode 100644 index 53c62a6e36..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlChangeTrackingHolder.java +++ /dev/null @@ -1,71 +0,0 @@ -/******************************************************************************* - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlChangeTrackingHolder#getChangeTracking Change Tracking}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlChangeTrackingHolder() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlChangeTrackingHolder extends EBaseObject -{ - /** - * 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 - */ - 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/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlChangeTrackingType.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlChangeTrackingType.java deleted file mode 100644 index 02a765c6fa..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlChangeTrackingType.java +++ /dev/null @@ -1,291 +0,0 @@ -/******************************************************************************* - * 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 VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the 'Xml Change Tracking Type' literal with the specified literal value. - * - * - * @generated - */ - public static XmlChangeTrackingType get(String literal) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - XmlChangeTrackingType result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) - { - return result; - } - } - return null; - } - - /** - * Returns the 'Xml Change Tracking Type' literal with the specified name. - * - * - * @generated - */ - public static XmlChangeTrackingType getByName(String name) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - XmlChangeTrackingType result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) - { - return result; - } - } - return null; - } - - /** - * Returns the 'Xml Change Tracking Type' literal with the specified integer value. - * - * - * @generated - */ - public static XmlChangeTrackingType get(int value) - { - switch (value) - { - case ATTRIBUTE_VALUE: return ATTRIBUTE; - case OBJECT_VALUE: return OBJECT; - case DEFERRED_VALUE: return DEFERRED; - case AUTO_VALUE: return AUTO; - } - return null; - } - - /** - * - * - * @generated - */ - private final int value; - - /** - * - * - * @generated - */ - private final String name; - - /** - * - * - * @generated - */ - private final String literal; - - /** - * Only this class can construct instances. - * - * - * @generated - */ - private XmlChangeTrackingType(int value, String name, String literal) - { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * - * - * @generated - */ - public int getValue() - { - return value; - } - - /** - * - * - * @generated - */ - public String getName() - { - return name; - } - - /** - * - * - * @generated - */ - public String getLiteral() - { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * - * - * @generated - */ - @Override - public String toString() - { - return literal; - } - -} //XmlChangeTrackingType diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCloneCopyPolicy.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCloneCopyPolicy.java deleted file mode 100644 index 63a7eacc37..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCloneCopyPolicy.java +++ /dev/null @@ -1,299 +0,0 @@ -/******************************************************************************* - * 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 Clone 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCloneCopyPolicy#getMethod Method}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCloneCopyPolicy#getWorkingCopyMethod Working Copy Method}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCloneCopyPolicy() - * @model kind="class" - * @extends EBaseObject - * @generated - */ -public class XmlCloneCopyPolicy extends EBaseObjectImpl implements EBaseObject -{ - /** - * The default value of the '{@link #getMethod() Method}' attribute. - * - * - * @see #getMethod() - * @generated - * @ordered - */ - protected static final String METHOD_EDEFAULT = null; - - /** - * The cached value of the '{@link #getMethod() Method}' attribute. - * - * - * @see #getMethod() - * @generated - * @ordered - */ - protected String method = METHOD_EDEFAULT; - - /** - * The default value of the '{@link #getWorkingCopyMethod() Working Copy Method}' attribute. - * - * - * @see #getWorkingCopyMethod() - * @generated - * @ordered - */ - protected static final String WORKING_COPY_METHOD_EDEFAULT = null; - - /** - * The cached value of the '{@link #getWorkingCopyMethod() Working Copy Method}' attribute. - * - * - * @see #getWorkingCopyMethod() - * @generated - * @ordered - */ - protected String workingCopyMethod = WORKING_COPY_METHOD_EDEFAULT; - - /** - * - * - * @generated - */ - protected XmlCloneCopyPolicy() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_CLONE_COPY_POLICY; - } - - /** - * Returns the value of the 'Method' attribute. - * - *

- * 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/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCollectionTable.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCollectionTable.java deleted file mode 100644 index cd7b4d6aab..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCollectionTable.java +++ /dev/null @@ -1,262 +0,0 @@ -/******************************************************************************* - * 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/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlConversionValue.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlConversionValue.java deleted file mode 100644 index 28d7535bd6..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlConversionValue.java +++ /dev/null @@ -1,314 +0,0 @@ -/******************************************************************************* - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConversionValue#getDataValue Data Value}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConversionValue#getObjectValue Object Value}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConversionValue() - * @model kind="class" - * @extends EBaseObject - * @generated - */ -public class XmlConversionValue extends EBaseObjectImpl implements EBaseObject -{ - /** - * The default value of the '{@link #getDataValue() Data Value}' attribute. - * - * - * @see #getDataValue() - * @generated - * @ordered - */ - protected static final String DATA_VALUE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getDataValue() Data Value}' attribute. - * - * - * @see #getDataValue() - * @generated - * @ordered - */ - protected String dataValue = DATA_VALUE_EDEFAULT; - - /** - * The default value of the '{@link #getObjectValue() Object Value}' attribute. - * - * - * @see #getObjectValue() - * @generated - * @ordered - */ - protected static final String OBJECT_VALUE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getObjectValue() Object Value}' attribute. - * - * - * @see #getObjectValue() - * @generated - * @ordered - */ - protected String objectValue = OBJECT_VALUE_EDEFAULT; - - /** - * - * - * @generated - */ - protected XmlConversionValue() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_CONVERSION_VALUE; - } - - /** - * Returns the value of the 'Data Value' attribute. - * - *

- * 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/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlConverter.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlConverter.java deleted file mode 100644 index eebfd5250a..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlConverter.java +++ /dev/null @@ -1,266 +0,0 @@ -/******************************************************************************* - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverter#getClassName Class Name}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverter() - * @model kind="class" - * @generated - */ -public class XmlConverter extends XmlNamedConverter -{ - /** - * The default value of the '{@link #getClassName() Class Name}' attribute. - * - * - * @see #getClassName() - * @generated - * @ordered - */ - protected static final String CLASS_NAME_EDEFAULT = null; - /** - * The cached value of the '{@link #getClassName() Class Name}' attribute. - * - * - * @see #getClassName() - * @generated - * @ordered - */ - protected String className = CLASS_NAME_EDEFAULT; - - /** - * - * - * @generated - */ - protected XmlConverter() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_CONVERTER; - } - - /** - * Returns the value of the 'Class Name' attribute. - * - *

- * 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/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlConverterContainer.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlConverterContainer.java deleted file mode 100644 index 52643b9daf..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlConverterContainer.java +++ /dev/null @@ -1,113 +0,0 @@ -/******************************************************************************* - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverterContainer#getConverters Converters}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverterContainer#getTypeConverters Type Converters}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverterContainer#getObjectTypeConverters Object Type Converters}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverterContainer#getStructConverters Struct Converters}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverterContainer() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlConverterContainer extends EBaseObject -{ - /** - * 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 - */ - EList getConverters(); - - /** - * Returns the value of the 'Type Converters' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter}. - * - *

- * 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 getTypeConverters(); - - /** - * Returns the value of the 'Object Type Converters' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter}. - * - *

- * 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 getObjectTypeConverters(); - - /** - * Returns the value of the 'Struct Converters' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructConverter}. - * - *

- * 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 getStructConverters(); - -} // XmlConverterContainer diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlConvertibleMapping.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlConvertibleMapping.java deleted file mode 100644 index 81f7b64894..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlConvertibleMapping.java +++ /dev/null @@ -1,79 +0,0 @@ -/******************************************************************************* - * 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.jpt.common.core.utility.TextRange; - - -/** - * - * - * A representation of the model object 'Xml Convertible 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. - * - * @version 2.1 - * @since 2.1 - * - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConvertibleMapping#getConvert Convert}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConvertibleMapping() - * @model kind="class" interface="true" abstract="true" - * @generated - */ -public interface XmlConvertibleMapping extends org.eclipse.jpt.jpa.core.resource.orm.XmlConvertibleMapping -{ - /** - * 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 - */ - 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/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCopyPolicy.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCopyPolicy.java deleted file mode 100644 index aa05d6bb09..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCopyPolicy.java +++ /dev/null @@ -1,226 +0,0 @@ -/******************************************************************************* - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCopyPolicy#getClass_ Class}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCopyPolicy() - * @model kind="class" - * @extends EBaseObject - * @generated - */ -public class XmlCopyPolicy extends EBaseObjectImpl implements EBaseObject -{ - /** - * The default value of the '{@link #getClass_() Class}' attribute. - * - * - * @see #getClass_() - * @generated - * @ordered - */ - protected static final String CLASS_EDEFAULT = null; - - /** - * The cached value of the '{@link #getClass_() Class}' attribute. - * - * - * @see #getClass_() - * @generated - * @ordered - */ - protected String class_ = CLASS_EDEFAULT; - - /** - * - * - * @generated - */ - protected XmlCopyPolicy() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_COPY_POLICY; - } - - /** - * Returns the value of the 'Class' attribute. - * - *

- * 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/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCustomizer.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCustomizer.java deleted file mode 100644 index d842b4d633..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCustomizer.java +++ /dev/null @@ -1,205 +0,0 @@ -/******************************************************************************* - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCustomizer#getCustomizerClassName Customizer Class Name}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCustomizer() - * @model kind="class" - * @extends EBaseObject - * @generated - */ -public class XmlCustomizer extends EBaseObjectImpl implements EBaseObject -{ - /** - * The default value of the '{@link #getCustomizerClassName() Customizer Class Name}' attribute. - * - * - * @see #getCustomizerClassName() - * @generated - * @ordered - */ - protected static final String CUSTOMIZER_CLASS_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getCustomizerClassName() Customizer Class Name}' attribute. - * - * - * @see #getCustomizerClassName() - * @generated - * @ordered - */ - protected String customizerClassName = CUSTOMIZER_CLASS_NAME_EDEFAULT; - - /** - * - * - * @generated - */ - protected XmlCustomizer() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_CUSTOMIZER; - } - - /** - * Returns the value of the 'Customizer Class Name' attribute. - * - *

- * 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/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCustomizerHolder.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCustomizerHolder.java deleted file mode 100644 index 2cf21f0117..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCustomizerHolder.java +++ /dev/null @@ -1,72 +0,0 @@ -/******************************************************************************* - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCustomizerHolder#getCustomizer Customizer}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCustomizerHolder() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlCustomizerHolder extends EBaseObject -{ - /** - * 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 - */ - 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/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlDirection.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlDirection.java deleted file mode 100644 index 07c7801060..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlDirection.java +++ /dev/null @@ -1,294 +0,0 @@ -/******************************************************************************* - * 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 VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the 'Xml Direction' literal with the specified literal value. - * - * - * @generated - */ - public static XmlDirection get(String literal) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - XmlDirection result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) - { - return result; - } - } - return null; - } - - /** - * Returns the 'Xml Direction' literal with the specified name. - * - * - * @generated - */ - public static XmlDirection getByName(String name) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - XmlDirection result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) - { - return result; - } - } - return null; - } - - /** - * Returns the 'Xml Direction' literal with the specified integer value. - * - * - * @generated - */ - public static XmlDirection get(int value) - { - switch (value) - { - case IN_VALUE: return IN; - case OUT_VALUE: return OUT; - case IN_OUT_VALUE: return IN_OUT; - case OUT_CURSOR_VALUE: return OUT_CURSOR; - } - return null; - } - - /** - * - * - * @generated - */ - private final int value; - - /** - * - * - * @generated - */ - private final String name; - - /** - * - * - * @generated - */ - private final String literal; - - /** - * Only this class can construct instances. - * - * - * @generated - */ - private XmlDirection(int value, String name, String literal) - { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * - * - * @generated - */ - public int getValue() - { - return value; - } - - /** - * - * - * @generated - */ - public String getName() - { - return name; - } - - /** - * - * - * @generated - */ - public String getLiteral() - { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * - * - * @generated - */ - @Override - public String toString() - { - return literal; - } - -} //XmlDirection diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlElementCollection.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlElementCollection.java deleted file mode 100644 index 255ad31388..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlElementCollection.java +++ /dev/null @@ -1,2423 +0,0 @@ -/******************************************************************************* - * 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.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.XmlAssociationOverride; -import org.eclipse.jpt.jpa.core.resource.orm.XmlColumn; -import org.eclipse.jpt.jpa.core.resource.orm.XmlJoinColumn; -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.XmlElementCollection_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.XmlElementCollection_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.XmlElementCollection_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.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_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.XmlElementCollection_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.XmlElementCollection_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 Element Collection'. - * - * 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#getXmlElementCollection() - * @model kind="class" - * @generated - */ -public class XmlElementCollection extends org.eclipse.jpt.jpa.core.resource.orm.XmlElementCollection implements XmlElementCollection_2_0, XmlElementCollection_2_1, XmlElementCollection_2_2, XmlElementCollection_2_3, XmlElementCollection_2_4 -{ - /** - * 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 properties; - - /** - * The default value of the '{@link #getAttributeType() Attribute Type}' attribute. - * - * - * @see #getAttributeType() - * @generated - * @ordered - */ - protected static final String ATTRIBUTE_TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getAttributeType() Attribute Type}' attribute. - * - * - * @see #getAttributeType() - * @generated - * @ordered - */ - protected String attributeType = ATTRIBUTE_TYPE_EDEFAULT; - - /** - * The default value of the '{@link #getConvert() Convert}' attribute. - * - * - * @see #getConvert() - * @generated - * @ordered - */ - protected static final String CONVERT_EDEFAULT = null; - - /** - * The cached value of the '{@link #getConvert() Convert}' attribute. - * - * - * @see #getConvert() - * @generated - * @ordered - */ - protected String convert = CONVERT_EDEFAULT; - - /** - * The cached value of the '{@link #getMapKeyAssociationOverrides() Map Key Association Overrides}' containment reference list. - * - * - * @see #getMapKeyAssociationOverrides() - * @generated - * @ordered - */ - protected EList mapKeyAssociationOverrides; - - /** - * The cached value of the '{@link #getConverters() Converters}' containment reference list. - * - * - * @see #getConverters() - * @generated - * @ordered - */ - protected EList converters; - - /** - * The cached value of the '{@link #getTypeConverters() Type Converters}' containment reference list. - * - * - * @see #getTypeConverters() - * @generated - * @ordered - */ - protected EList typeConverters; - - /** - * The cached value of the '{@link #getObjectTypeConverters() Object Type Converters}' containment reference list. - * - * - * @see #getObjectTypeConverters() - * @generated - * @ordered - */ - protected EList objectTypeConverters; - - /** - * The cached value of the '{@link #getStructConverters() Struct Converters}' containment reference list. - * - * - * @see #getStructConverters() - * @generated - * @ordered - */ - protected EList structConverters; - - /** - * The default value of the '{@link #getMapKeyConvert() Map Key Convert}' attribute. - * - * - * @see #getMapKeyConvert() - * @generated - * @ordered - */ - protected static final String MAP_KEY_CONVERT_EDEFAULT = null; - - /** - * The cached value of the '{@link #getMapKeyConvert() Map Key Convert}' attribute. - * - * - * @see #getMapKeyConvert() - * @generated - * @ordered - */ - protected String mapKeyConvert = MAP_KEY_CONVERT_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 XmlJoinFetchType JOIN_FETCH_EDEFAULT = null; - - /** - * The cached value of the '{@link #getJoinFetch() Join Fetch}' attribute. - * - * - * @see #getJoinFetch() - * @generated - * @ordered - */ - protected XmlJoinFetchType joinFetch = JOIN_FETCH_EDEFAULT; - - /** - * The cached value of the '{@link #getBatchFetch() Batch Fetch}' containment reference. - * - * - * @see #getBatchFetch() - * @generated - * @ordered - */ - protected XmlBatchFetch batchFetch; - - /** - * The cached value of the '{@link #getPartitioning() Partitioning}' containment reference. - * - * - * @see #getPartitioning() - * @generated - * @ordered - */ - protected XmlPartitioning_2_2 partitioning; - - /** - * The cached value of the '{@link #getReplicationPartitioning() Replication Partitioning}' containment reference. - * - * - * @see #getReplicationPartitioning() - * @generated - * @ordered - */ - protected XmlReplicationPartitioning_2_2 replicationPartitioning; - - /** - * The cached value of the '{@link #getRoundRobinPartitioning() Round Robin Partitioning}' containment reference. - * - * - * @see #getRoundRobinPartitioning() - * @generated - * @ordered - */ - protected XmlRoundRobinPartitioning_2_2 roundRobinPartitioning; - - /** - * The cached value of the '{@link #getPinnedPartitioning() Pinned Partitioning}' containment reference. - * - * - * @see #getPinnedPartitioning() - * @generated - * @ordered - */ - protected XmlPinnedPartitioning_2_2 pinnedPartitioning; - - /** - * The cached value of the '{@link #getRangePartitioning() Range Partitioning}' containment reference. - * - * - * @see #getRangePartitioning() - * @generated - * @ordered - */ - protected XmlRangePartitioning_2_2 rangePartitioning; - - /** - * The cached value of the '{@link #getValuePartitioning() Value Partitioning}' containment reference. - * - * - * @see #getValuePartitioning() - * @generated - * @ordered - */ - protected XmlValuePartitioning_2_2 valuePartitioning; - - /** - * The cached value of the '{@link #getHashPartitioning() Hash Partitioning}' containment reference. - * - * - * @see #getHashPartitioning() - * @generated - * @ordered - */ - protected XmlHashPartitioning_2_2 hashPartitioning; - - /** - * The cached value of the '{@link #getUnionPartitioning() Union Partitioning}' containment reference. - * - * - * @see #getUnionPartitioning() - * @generated - * @ordered - */ - protected XmlUnionPartitioning_2_2 unionPartitioning; - - /** - * The default value of the '{@link #getPartitioned() Partitioned}' attribute. - * - * - * @see #getPartitioned() - * @generated - * @ordered - */ - protected static final String PARTITIONED_EDEFAULT = null; - - /** - * The cached value of the '{@link #getPartitioned() Partitioned}' attribute. - * - * - * @see #getPartitioned() - * @generated - * @ordered - */ - protected String partitioned = PARTITIONED_EDEFAULT; - - /** - * The default value of the '{@link #getCascadeOnDelete() Cascade On Delete}' attribute. - * - * - * @see #getCascadeOnDelete() - * @generated - * @ordered - */ - protected static final Boolean CASCADE_ON_DELETE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getCascadeOnDelete() Cascade On Delete}' attribute. - * - * - * @see #getCascadeOnDelete() - * @generated - * @ordered - */ - protected Boolean cascadeOnDelete = CASCADE_ON_DELETE_EDEFAULT; - - /** - * The default value of the '{@link #isNoncacheable() Noncacheable}' attribute. - * - * - * @see #isNoncacheable() - * @generated - * @ordered - */ - protected static final boolean NONCACHEABLE_EDEFAULT = false; - - /** - * The cached value of the '{@link #isNoncacheable() Noncacheable}' attribute. - * - * - * @see #isNoncacheable() - * @generated - * @ordered - */ - protected boolean noncacheable = NONCACHEABLE_EDEFAULT; - - /** - * The default value of the '{@link #getCompositeMember() Composite Member}' attribute. - * - * - * @see #getCompositeMember() - * @generated - * @ordered - */ - protected static final String COMPOSITE_MEMBER_EDEFAULT = null; - - /** - * The cached value of the '{@link #getCompositeMember() Composite Member}' attribute. - * - * - * @see #getCompositeMember() - * @generated - * @ordered - */ - protected String compositeMember = COMPOSITE_MEMBER_EDEFAULT; - - /** - * The cached value of the '{@link #getField() Field}' containment reference. - * - * - * @see #getField() - * @generated - * @ordered - */ - protected XmlField_2_4 field; - - /** - * The default value of the '{@link #isDeleteAll() Delete All}' attribute. - * - * - * @see #isDeleteAll() - * @generated - * @ordered - */ - protected static final boolean DELETE_ALL_EDEFAULT = false; - - /** - * The cached value of the '{@link #isDeleteAll() Delete All}' attribute. - * - * - * @see #isDeleteAll() - * @generated - * @ordered - */ - protected boolean deleteAll = DELETE_ALL_EDEFAULT; - - /** - * - * - * @generated - */ - protected XmlElementCollection() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_ELEMENT_COLLECTION; - } - - /** - * 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_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 getProperties() - { - if (properties == null) - { - properties = new EObjectContainmentEList(XmlProperty.class, this, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PROPERTIES); - } - return properties; - } - - /** - * 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.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 getMapKeyAssociationOverrides() - { - if (mapKeyAssociationOverrides == null) - { - mapKeyAssociationOverrides = new EObjectContainmentEList(XmlAssociationOverride.class, this, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_ASSOCIATION_OVERRIDES); - } - return mapKeyAssociationOverrides; - } - - /** - * Returns the value of the 'Map Key Convert' attribute. - * - *

- * 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 getConverters() - { - if (converters == null) - { - converters = new EObjectContainmentEList(XmlConverter.class, this, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CONVERTERS); - } - return converters; - } - - /** - * Returns the value of the 'Type Converters' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter}. - * - *

- * 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 getTypeConverters() - { - if (typeConverters == null) - { - typeConverters = new EObjectContainmentEList(XmlTypeConverter.class, this, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__TYPE_CONVERTERS); - } - return typeConverters; - } - - /** - * Returns the value of the 'Object Type Converters' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter}. - * - *

- * 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 getObjectTypeConverters() - { - if (objectTypeConverters == null) - { - objectTypeConverters = new EObjectContainmentEList(XmlObjectTypeConverter.class, this, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__OBJECT_TYPE_CONVERTERS); - } - return objectTypeConverters; - } - - /** - * Returns the value of the 'Struct Converters' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructConverter}. - * - *

- * 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 getStructConverters() - { - if (structConverters == null) - { - structConverters = new EObjectContainmentEList(XmlStructConverter.class, this, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__STRUCT_CONVERTERS); - } - return structConverters; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ACCESS_METHODS: - return basicSetAccessMethods(null, msgs); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PROPERTIES: - return ((InternalEList)getProperties()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_ASSOCIATION_OVERRIDES: - return ((InternalEList)getMapKeyAssociationOverrides()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CONVERTERS: - return ((InternalEList)getConverters()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__TYPE_CONVERTERS: - return ((InternalEList)getTypeConverters()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__OBJECT_TYPE_CONVERTERS: - return ((InternalEList)getObjectTypeConverters()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__STRUCT_CONVERTERS: - return ((InternalEList)getStructConverters()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__BATCH_FETCH: - return basicSetBatchFetch(null, msgs); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONING: - return basicSetPartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__REPLICATION_PARTITIONING: - return basicSetReplicationPartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING: - return basicSetRoundRobinPartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PINNED_PARTITIONING: - return basicSetPinnedPartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__RANGE_PARTITIONING: - return basicSetRangePartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__VALUE_PARTITIONING: - return basicSetValuePartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__HASH_PARTITIONING: - return basicSetHashPartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__UNION_PARTITIONING: - return basicSetUnionPartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__FIELD: - return basicSetField(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ACCESS_METHODS: - return getAccessMethods(); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PROPERTIES: - return getProperties(); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ATTRIBUTE_TYPE: - return getAttributeType(); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CONVERT: - return getConvert(); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_ASSOCIATION_OVERRIDES: - return getMapKeyAssociationOverrides(); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CONVERTERS: - return getConverters(); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__TYPE_CONVERTERS: - return getTypeConverters(); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__OBJECT_TYPE_CONVERTERS: - return getObjectTypeConverters(); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__STRUCT_CONVERTERS: - return getStructConverters(); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_CONVERT: - return getMapKeyConvert(); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__JOIN_FETCH: - return getJoinFetch(); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__BATCH_FETCH: - return getBatchFetch(); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONING: - return getPartitioning(); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__REPLICATION_PARTITIONING: - return getReplicationPartitioning(); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING: - return getRoundRobinPartitioning(); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PINNED_PARTITIONING: - return getPinnedPartitioning(); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__RANGE_PARTITIONING: - return getRangePartitioning(); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__VALUE_PARTITIONING: - return getValuePartitioning(); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__HASH_PARTITIONING: - return getHashPartitioning(); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__UNION_PARTITIONING: - return getUnionPartitioning(); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONED: - return getPartitioned(); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CASCADE_ON_DELETE: - return getCascadeOnDelete(); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__NONCACHEABLE: - return isNoncacheable(); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__COMPOSITE_MEMBER: - return getCompositeMember(); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__FIELD: - return getField(); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__DELETE_ALL: - return isDeleteAll(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ACCESS_METHODS: - setAccessMethods((XmlAccessMethods)newValue); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PROPERTIES: - getProperties().clear(); - getProperties().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ATTRIBUTE_TYPE: - setAttributeType((String)newValue); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CONVERT: - setConvert((String)newValue); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_ASSOCIATION_OVERRIDES: - getMapKeyAssociationOverrides().clear(); - getMapKeyAssociationOverrides().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CONVERTERS: - getConverters().clear(); - getConverters().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__TYPE_CONVERTERS: - getTypeConverters().clear(); - getTypeConverters().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__OBJECT_TYPE_CONVERTERS: - getObjectTypeConverters().clear(); - getObjectTypeConverters().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__STRUCT_CONVERTERS: - getStructConverters().clear(); - getStructConverters().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_CONVERT: - setMapKeyConvert((String)newValue); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__JOIN_FETCH: - setJoinFetch((XmlJoinFetchType)newValue); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__BATCH_FETCH: - setBatchFetch((XmlBatchFetch)newValue); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONING: - setPartitioning((XmlPartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__REPLICATION_PARTITIONING: - setReplicationPartitioning((XmlReplicationPartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING: - setRoundRobinPartitioning((XmlRoundRobinPartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PINNED_PARTITIONING: - setPinnedPartitioning((XmlPinnedPartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__RANGE_PARTITIONING: - setRangePartitioning((XmlRangePartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__VALUE_PARTITIONING: - setValuePartitioning((XmlValuePartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__HASH_PARTITIONING: - setHashPartitioning((XmlHashPartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__UNION_PARTITIONING: - setUnionPartitioning((XmlUnionPartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONED: - setPartitioned((String)newValue); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CASCADE_ON_DELETE: - setCascadeOnDelete((Boolean)newValue); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__NONCACHEABLE: - setNoncacheable((Boolean)newValue); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__COMPOSITE_MEMBER: - setCompositeMember((String)newValue); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__FIELD: - setField((XmlField_2_4)newValue); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__DELETE_ALL: - setDeleteAll((Boolean)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ACCESS_METHODS: - setAccessMethods((XmlAccessMethods)null); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PROPERTIES: - getProperties().clear(); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ATTRIBUTE_TYPE: - setAttributeType(ATTRIBUTE_TYPE_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CONVERT: - setConvert(CONVERT_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_ASSOCIATION_OVERRIDES: - getMapKeyAssociationOverrides().clear(); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CONVERTERS: - getConverters().clear(); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__TYPE_CONVERTERS: - getTypeConverters().clear(); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__OBJECT_TYPE_CONVERTERS: - getObjectTypeConverters().clear(); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__STRUCT_CONVERTERS: - getStructConverters().clear(); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_CONVERT: - setMapKeyConvert(MAP_KEY_CONVERT_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__JOIN_FETCH: - setJoinFetch(JOIN_FETCH_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__BATCH_FETCH: - setBatchFetch((XmlBatchFetch)null); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONING: - setPartitioning((XmlPartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__REPLICATION_PARTITIONING: - setReplicationPartitioning((XmlReplicationPartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING: - setRoundRobinPartitioning((XmlRoundRobinPartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PINNED_PARTITIONING: - setPinnedPartitioning((XmlPinnedPartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__RANGE_PARTITIONING: - setRangePartitioning((XmlRangePartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__VALUE_PARTITIONING: - setValuePartitioning((XmlValuePartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__HASH_PARTITIONING: - setHashPartitioning((XmlHashPartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__UNION_PARTITIONING: - setUnionPartitioning((XmlUnionPartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONED: - setPartitioned(PARTITIONED_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CASCADE_ON_DELETE: - setCascadeOnDelete(CASCADE_ON_DELETE_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__NONCACHEABLE: - setNoncacheable(NONCACHEABLE_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__COMPOSITE_MEMBER: - setCompositeMember(COMPOSITE_MEMBER_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__FIELD: - setField((XmlField_2_4)null); - return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__DELETE_ALL: - setDeleteAll(DELETE_ALL_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ACCESS_METHODS: - return accessMethods != null; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PROPERTIES: - return properties != null && !properties.isEmpty(); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ATTRIBUTE_TYPE: - return ATTRIBUTE_TYPE_EDEFAULT == null ? attributeType != null : !ATTRIBUTE_TYPE_EDEFAULT.equals(attributeType); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CONVERT: - return CONVERT_EDEFAULT == null ? convert != null : !CONVERT_EDEFAULT.equals(convert); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_ASSOCIATION_OVERRIDES: - return mapKeyAssociationOverrides != null && !mapKeyAssociationOverrides.isEmpty(); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CONVERTERS: - return converters != null && !converters.isEmpty(); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__TYPE_CONVERTERS: - return typeConverters != null && !typeConverters.isEmpty(); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__OBJECT_TYPE_CONVERTERS: - return objectTypeConverters != null && !objectTypeConverters.isEmpty(); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__STRUCT_CONVERTERS: - return structConverters != null && !structConverters.isEmpty(); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_CONVERT: - return MAP_KEY_CONVERT_EDEFAULT == null ? mapKeyConvert != null : !MAP_KEY_CONVERT_EDEFAULT.equals(mapKeyConvert); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__JOIN_FETCH: - return joinFetch != JOIN_FETCH_EDEFAULT; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__BATCH_FETCH: - return batchFetch != null; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONING: - return partitioning != null; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__REPLICATION_PARTITIONING: - return replicationPartitioning != null; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING: - return roundRobinPartitioning != null; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PINNED_PARTITIONING: - return pinnedPartitioning != null; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__RANGE_PARTITIONING: - return rangePartitioning != null; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__VALUE_PARTITIONING: - return valuePartitioning != null; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__HASH_PARTITIONING: - return hashPartitioning != null; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__UNION_PARTITIONING: - return unionPartitioning != null; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONED: - return PARTITIONED_EDEFAULT == null ? partitioned != null : !PARTITIONED_EDEFAULT.equals(partitioned); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CASCADE_ON_DELETE: - return CASCADE_ON_DELETE_EDEFAULT == null ? cascadeOnDelete != null : !CASCADE_ON_DELETE_EDEFAULT.equals(cascadeOnDelete); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__NONCACHEABLE: - return noncacheable != NONCACHEABLE_EDEFAULT; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__COMPOSITE_MEMBER: - return COMPOSITE_MEMBER_EDEFAULT == null ? compositeMember != null : !COMPOSITE_MEMBER_EDEFAULT.equals(compositeMember); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__FIELD: - return field != null; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__DELETE_ALL: - return deleteAll != DELETE_ALL_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public int eBaseStructuralFeatureID(int derivedFeatureID, Class baseClass) - { - if (baseClass == XmlAccessMethodsHolder.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS; - default: return -1; - } - } - if (baseClass == XmlPropertyContainer.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PROPERTIES: return EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES; - default: return -1; - } - } - if (baseClass == XmlAttributeMapping.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE; - default: return -1; - } - } - if (baseClass == XmlConvertibleMapping.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CONVERT: return EclipseLinkOrmPackage.XML_CONVERTIBLE_MAPPING__CONVERT; - default: return -1; - } - } - if (baseClass == XmlMapKeyAssociationOverrideContainer_2_0.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_ASSOCIATION_OVERRIDES: return EclipseLinkOrmV2_0Package.XML_MAP_KEY_ASSOCIATION_OVERRIDE_CONTAINER_20__MAP_KEY_ASSOCIATION_OVERRIDES; - default: return -1; - } - } - if (baseClass == XmlConverterContainer.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__CONVERTERS; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__TYPE_CONVERTERS; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__OBJECT_TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__STRUCT_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS; - default: return -1; - } - } - if (baseClass == XmlCollectionMapping_2_0.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_CONVERT: return EclipseLinkOrmV2_0Package.XML_COLLECTION_MAPPING_20__MAP_KEY_CONVERT; - default: return -1; - } - } - if (baseClass == XmlElementCollection_2_0.class) - { - switch (derivedFeatureID) - { - default: return -1; - } - } - if (baseClass == XmlJoinFetch.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__JOIN_FETCH: return EclipseLinkOrmPackage.XML_JOIN_FETCH__JOIN_FETCH; - default: return -1; - } - } - if (baseClass == XmlBatchFetchHolder.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__BATCH_FETCH: return EclipseLinkOrmPackage.XML_BATCH_FETCH_HOLDER__BATCH_FETCH; - default: return -1; - } - } - if (baseClass == XmlElementCollection_2_1.class) - { - switch (derivedFeatureID) - { - default: return -1; - } - } - if (baseClass == XmlPartitioningGroup_2_2.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONING; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__REPLICATION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PINNED_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__RANGE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__VALUE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__HASH_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__HASH_PARTITIONING; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__UNION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__UNION_PARTITIONING; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONED: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONED; - default: return -1; - } - } - if (baseClass == XmlElementCollection_2_2.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CASCADE_ON_DELETE: return EclipseLinkOrmV2_2Package.XML_ELEMENT_COLLECTION_22__CASCADE_ON_DELETE; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__NONCACHEABLE: return EclipseLinkOrmV2_2Package.XML_ELEMENT_COLLECTION_22__NONCACHEABLE; - default: return -1; - } - } - if (baseClass == XmlElementCollection_2_3.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__COMPOSITE_MEMBER: return EclipseLinkOrmV2_3Package.XML_ELEMENT_COLLECTION_23__COMPOSITE_MEMBER; - default: return -1; - } - } - if (baseClass == XmlElementCollection_2_4.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__FIELD: return EclipseLinkOrmV2_4Package.XML_ELEMENT_COLLECTION_24__FIELD; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__DELETE_ALL: return EclipseLinkOrmV2_4Package.XML_ELEMENT_COLLECTION_24__DELETE_ALL; - 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_ELEMENT_COLLECTION__ACCESS_METHODS; - default: return -1; - } - } - if (baseClass == XmlPropertyContainer.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PROPERTIES; - default: return -1; - } - } - if (baseClass == XmlAttributeMapping.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ATTRIBUTE_TYPE; - default: return -1; - } - } - if (baseClass == XmlConvertibleMapping.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_CONVERTIBLE_MAPPING__CONVERT: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CONVERT; - default: return -1; - } - } - if (baseClass == XmlMapKeyAssociationOverrideContainer_2_0.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_0Package.XML_MAP_KEY_ASSOCIATION_OVERRIDE_CONTAINER_20__MAP_KEY_ASSOCIATION_OVERRIDES: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_ASSOCIATION_OVERRIDES; - default: return -1; - } - } - if (baseClass == XmlConverterContainer.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__CONVERTERS: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CONVERTERS; - case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__TYPE_CONVERTERS; - case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__OBJECT_TYPE_CONVERTERS; - case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__STRUCT_CONVERTERS; - default: return -1; - } - } - if (baseClass == XmlCollectionMapping_2_0.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_0Package.XML_COLLECTION_MAPPING_20__MAP_KEY_CONVERT: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_CONVERT; - default: return -1; - } - } - if (baseClass == XmlElementCollection_2_0.class) - { - switch (baseFeatureID) - { - default: return -1; - } - } - if (baseClass == XmlJoinFetch.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_JOIN_FETCH__JOIN_FETCH: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__JOIN_FETCH; - default: return -1; - } - } - if (baseClass == XmlBatchFetchHolder.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_BATCH_FETCH_HOLDER__BATCH_FETCH: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__BATCH_FETCH; - default: return -1; - } - } - if (baseClass == XmlElementCollection_2_1.class) - { - switch (baseFeatureID) - { - default: return -1; - } - } - if (baseClass == XmlPartitioningGroup_2_2.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONING: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__REPLICATION_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PINNED_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__RANGE_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__VALUE_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__HASH_PARTITIONING: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__HASH_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__UNION_PARTITIONING: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__UNION_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONED: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONED; - default: return -1; - } - } - if (baseClass == XmlElementCollection_2_2.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_2Package.XML_ELEMENT_COLLECTION_22__CASCADE_ON_DELETE: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CASCADE_ON_DELETE; - case EclipseLinkOrmV2_2Package.XML_ELEMENT_COLLECTION_22__NONCACHEABLE: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__NONCACHEABLE; - default: return -1; - } - } - if (baseClass == XmlElementCollection_2_3.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_3Package.XML_ELEMENT_COLLECTION_23__COMPOSITE_MEMBER: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__COMPOSITE_MEMBER; - default: return -1; - } - } - if (baseClass == XmlElementCollection_2_4.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_4Package.XML_ELEMENT_COLLECTION_24__FIELD: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__FIELD; - case EclipseLinkOrmV2_4Package.XML_ELEMENT_COLLECTION_24__DELETE_ALL: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__DELETE_ALL; - 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(", convert: "); - result.append(convert); - result.append(", mapKeyConvert: "); - result.append(mapKeyConvert); - result.append(", joinFetch: "); - result.append(joinFetch); - result.append(", partitioned: "); - result.append(partitioned); - result.append(", cascadeOnDelete: "); - result.append(cascadeOnDelete); - result.append(", noncacheable: "); - result.append(noncacheable); - result.append(", compositeMember: "); - result.append(compositeMember); - result.append(", deleteAll: "); - result.append(deleteAll); - result.append(')'); - return result.toString(); - } - - - // ********** validation ********** - - @Override - public TextRange getEnumeratedTextRange() { - return getAttributeTextRange(JPA.ENUMERATED); - } - - @Override - public TextRange getLobTextRange() { - return getAttributeTextRange(JPA.LOB); - } - - @Override - public TextRange getTemporalTextRange() { - return getAttributeTextRange(JPA.TEMPORAL); - } - - public TextRange getConvertTextRange() { - return getElementTextRange(EclipseLink.CONVERT); - } - - public TextRange getJoinFetchTextRange() { - return getElementTextRange(EclipseLink.JOIN_FETCH); - } - - 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.getXmlElementCollection(), - buildTranslatorChildren()); - } - - private static Translator[] buildTranslatorChildren() { - return new Translator[] { - buildNameTranslator(), - buildTargetClassTranslator(), - buildFetchTranslator(), - buildAccessTranslator(), - buildAttributeTypeTranslator(), - buildCompositeMemberTranslator(), - buildOrderByTranslator(), - buildOrderColumnTranslator(), - buildMapKeyTranslator(), - buildMapKeyClassTranslator(), - buildMapKeyTemporalTranslator(), - buildMapKeyEnumeratedTranslator(), - buildMapKeyConvertTranslator(), - buildMapKeyAttributeOverrideTranslator(), - buildMapKeyAssociationOverrideTranslator(), - XmlColumn.buildTranslator(JPA2_0.MAP_KEY_COLUMN, OrmV2_0Package.eINSTANCE.getXmlElementCollection_2_0_MapKeyColumn()), - XmlJoinColumn.buildTranslator(JPA2_0.MAP_KEY_JOIN_COLUMN, OrmV2_0Package.eINSTANCE.getXmlElementCollection_2_0_MapKeyJoinColumns()), - XmlColumn.buildTranslator(JPA.COLUMN, OrmV2_0Package.eINSTANCE.getXmlElementCollection_2_0_Column()), - buildTemporalTranslator(), - buildEnumeratedTranslator(), - buildLobTranslator(), - buildConvertTranslator(), - buildAttributeOverrideTranslator(), - buildAssociationOverrideTranslator(), - 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()), - XmlCollectionTable.buildTranslator(JPA2_0.COLLECTION_TABLE, OrmV2_0Package.eINSTANCE.getXmlElementCollection_2_0_CollectionTable()), - buildFieldTranslator(), - buildCascadeOnDeleteTranslator(), - buildJoinFetchTranslator(), - buildBatchFetchTranslator(), - buildPropertyTranslator(), - buildAccessMethodsTranslator(), - buildNoncacheableTranslator(), - buildDeleteAllTranslator(), - 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()), - }; - } - - protected static Translator buildMapKeyConvertTranslator() { - return new Translator(JPA2_0.MAP_KEY_CONVERT, EclipseLinkOrmV2_0Package.eINSTANCE.getXmlCollectionMapping_2_0_MapKeyConvert()); - } - - protected static Translator buildConvertTranslator() { - return new Translator(EclipseLink.CONVERT, EclipseLinkOrmPackage.eINSTANCE.getXmlConvertibleMapping_Convert()); - } - - 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 buildMapKeyAssociationOverrideTranslator() { - return XmlAssociationOverride.buildTranslator(EclipseLink2_0.MAP_KEY_ASSOCIATION_OVERRIDE, EclipseLinkOrmV2_0Package.eINSTANCE.getXmlMapKeyAssociationOverrideContainer_2_0_MapKeyAssociationOverrides()); - } - - protected static Translator buildAttributeTypeTranslator() { - return new Translator(EclipseLink2_1.ATTRIBUTE_TYPE, EclipseLinkOrmPackage.eINSTANCE.getXmlAttributeMapping_AttributeType(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildJoinFetchTranslator() { - return new Translator(EclipseLink.JOIN_FETCH, EclipseLinkOrmPackage.eINSTANCE.getXmlJoinFetch_JoinFetch()); - } - - protected static Translator buildBatchFetchTranslator() { - return XmlBatchFetch.buildTranslator(EclipseLink2_1.BATCH_FETCH, EclipseLinkOrmPackage.eINSTANCE.getXmlBatchFetchHolder_BatchFetch()); - } - - protected static Translator buildCascadeOnDeleteTranslator() { - return CascadeType.buildTranslator(EclipseLink2_2.CASCADE_ON_DELETE, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlElementCollection_2_2_CascadeOnDelete()); - } - - protected static Translator buildNoncacheableTranslator() { - return new EmptyTagBooleanTranslator(EclipseLink2_2.NONCACHEABLE, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlElementCollection_2_2_Noncacheable()); - } - - protected static Translator buildCompositeMemberTranslator() { - return new Translator(EclipseLink2_3.COMPOSITE_MEMBER, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlElementCollection_2_3_CompositeMember(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildDeleteAllTranslator() { - return new EmptyTagBooleanTranslator(EclipseLink2_4.DELETE_ALL, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlElementCollection_2_4_DeleteAll()); - } - - protected static Translator buildFieldTranslator() { - return XmlField.buildTranslator(EclipseLink2_4.FIELD, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlElementCollection_2_4_Field()); - } - - // *********** 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_1.ATTRIBUTE_TYPE); - } - - public boolean attributeTypeTouches(int pos) { - TextRange textRange = this.getAttributeTypeCodeAssistTextRange(); - return (textRange != null) && (textRange.touches(pos)); - } - - // ******** virtual attribute ************ - - public void setVirtualAttributeTypes(String attributeType, String targetClass) { - this.setAttributeType(attributeType); - this.setTargetClass(targetClass); - } -} diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlEmbeddable.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlEmbeddable.java deleted file mode 100644 index 04d6f2ee36..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlEmbeddable.java +++ /dev/null @@ -1,1728 +0,0 @@ -/******************************************************************************* - * 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.core.resource.orm.XmlAssociationOverride; -import org.eclipse.jpt.jpa.core.resource.orm.XmlAssociationOverrideContainer; -import org.eclipse.jpt.jpa.core.resource.orm.XmlAttributeOverride; -import org.eclipse.jpt.jpa.core.resource.orm.XmlAttributeOverrideContainer; -import org.eclipse.jpt.jpa.core.resource.orm.XmlClassReference; -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.XmlTypeMapping_2_1; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEmbeddable_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.XmlEmbeddable_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.XmlStruct_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.XmlEmbeddable_2_4; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlNoSql_2_4; -import org.eclipse.wst.common.internal.emf.resource.Translator; - -/** - * - * - * A representation of the model object 'Xml Embeddable'. - * - * 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 - * - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddable#getCopyPolicy Copy Policy}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddable#getInstantiationCopyPolicy Instantiation Copy Policy}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddable#getCloneCopyPolicy Clone Copy Policy}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddable#getExcludeDefaultMappings Exclude Default Mappings}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEmbeddable() - * @model kind="class" - * @generated - */ -public class XmlEmbeddable extends org.eclipse.jpt.jpa.core.resource.orm.XmlEmbeddable implements XmlTypeMapping, XmlEmbeddable_2_2, XmlEmbeddable_2_3, XmlEmbeddable_2_4, XmlCustomizerHolder, XmlChangeTrackingHolder, XmlConverterContainer, XmlPropertyContainer -{ - /** - * The cached value of the '{@link #getAccessMethods() Access Methods}' containment reference. - * - * - * @see #getAccessMethods() - * @generated - * @ordered - */ - protected XmlAccessMethods accessMethods; - - /** - * The default value of the '{@link #getParentClass() Parent Class}' attribute. - * - * - * @see #getParentClass() - * @generated - * @ordered - */ - protected static final String PARENT_CLASS_EDEFAULT = null; - - /** - * The cached value of the '{@link #getParentClass() Parent Class}' attribute. - * - * - * @see #getParentClass() - * @generated - * @ordered - */ - protected String parentClass = PARENT_CLASS_EDEFAULT; - - /** - * The cached value of the '{@link #getAttributeOverrides() Attribute Overrides}' containment reference list. - * - * - * @see #getAttributeOverrides() - * @generated - * @ordered - */ - protected EList attributeOverrides; - - /** - * The cached value of the '{@link #getAssociationOverrides() Association Overrides}' containment reference list. - * - * - * @see #getAssociationOverrides() - * @generated - * @ordered - */ - protected EList associationOverrides; - - /** - * The cached value of the '{@link #getPlsqlRecords() Plsql Records}' containment reference list. - * - * - * @see #getPlsqlRecords() - * @generated - * @ordered - */ - protected EList plsqlRecords; - - /** - * The cached value of the '{@link #getPlsqlTables() Plsql Tables}' containment reference list. - * - * - * @see #getPlsqlTables() - * @generated - * @ordered - */ - protected EList plsqlTables; - - /** - * The cached value of the '{@link #getStruct() Struct}' containment reference. - * - * - * @see #getStruct() - * @generated - * @ordered - */ - protected XmlStruct_2_3 struct; - - /** - * The cached value of the '{@link #getNoSql() No Sql}' containment reference. - * - * - * @see #getNoSql() - * @generated - * @ordered - */ - protected XmlNoSql_2_4 noSql; - - /** - * The cached value of the '{@link #getCustomizer() Customizer}' containment reference. - * - * - * @see #getCustomizer() - * @generated - * @ordered - */ - protected XmlClassReference customizer; - - /** - * The cached value of the '{@link #getChangeTracking() Change Tracking}' containment reference. - * - * - * @see #getChangeTracking() - * @generated - * @ordered - */ - protected XmlChangeTracking changeTracking; - - /** - * The cached value of the '{@link #getConverters() Converters}' containment reference list. - * - * - * @see #getConverters() - * @generated - * @ordered - */ - protected EList converters; - - /** - * The cached value of the '{@link #getTypeConverters() Type Converters}' containment reference list. - * - * - * @see #getTypeConverters() - * @generated - * @ordered - */ - protected EList typeConverters; - - /** - * The cached value of the '{@link #getObjectTypeConverters() Object Type Converters}' containment reference list. - * - * - * @see #getObjectTypeConverters() - * @generated - * @ordered - */ - protected EList objectTypeConverters; - - /** - * The cached value of the '{@link #getStructConverters() Struct Converters}' containment reference list. - * - * - * @see #getStructConverters() - * @generated - * @ordered - */ - protected EList structConverters; - - /** - * The cached value of the '{@link #getProperties() Properties}' containment reference list. - * - * - * @see #getProperties() - * @generated - * @ordered - */ - protected EList properties; - - /** - * The cached value of the '{@link #getCopyPolicy() Copy Policy}' containment reference. - * - * - * @see #getCopyPolicy() - * @generated - * @ordered - */ - protected XmlCopyPolicy copyPolicy; - - /** - * The cached value of the '{@link #getInstantiationCopyPolicy() Instantiation Copy Policy}' containment reference. - * - * - * @see #getInstantiationCopyPolicy() - * @generated - * @ordered - */ - protected XmlInstantiationCopyPolicy instantiationCopyPolicy; - - /** - * The cached value of the '{@link #getCloneCopyPolicy() Clone Copy Policy}' containment reference. - * - * - * @see #getCloneCopyPolicy() - * @generated - * @ordered - */ - protected XmlCloneCopyPolicy cloneCopyPolicy; - - /** - * The default value of the '{@link #getExcludeDefaultMappings() Exclude Default Mappings}' attribute. - * - * - * @see #getExcludeDefaultMappings() - * @generated - * @ordered - */ - protected static final Boolean EXCLUDE_DEFAULT_MAPPINGS_EDEFAULT = null; - - /** - * The cached value of the '{@link #getExcludeDefaultMappings() Exclude Default Mappings}' attribute. - * - * - * @see #getExcludeDefaultMappings() - * @generated - * @ordered - */ - protected Boolean excludeDefaultMappings = EXCLUDE_DEFAULT_MAPPINGS_EDEFAULT; - - /** - * - * - * @generated - */ - protected XmlEmbeddable() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_EMBEDDABLE; - } - - /** - * 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_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 getAttributeOverrides() - { - if (attributeOverrides == null) - { - attributeOverrides = new EObjectContainmentEList(XmlAttributeOverride.class, this, EclipseLinkOrmPackage.XML_EMBEDDABLE__ATTRIBUTE_OVERRIDES); - } - return attributeOverrides; - } - - /** - * Returns the value of the '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 '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 getAssociationOverrides() - { - if (associationOverrides == null) - { - associationOverrides = new EObjectContainmentEList(XmlAssociationOverride.class, this, EclipseLinkOrmPackage.XML_EMBEDDABLE__ASSOCIATION_OVERRIDES); - } - return associationOverrides; - } - - /** - * 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.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 getPlsqlRecords() - { - if (plsqlRecords == null) - { - plsqlRecords = new EObjectContainmentEList(XmlPlsqlRecord_2_3.class, this, EclipseLinkOrmPackage.XML_EMBEDDABLE__PLSQL_RECORDS); - } - return plsqlRecords; - } - - /** - * Returns the value of the 'Plsql Tables' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPlsqlTable}. - * - *

- * 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 getPlsqlTables() - { - if (plsqlTables == null) - { - plsqlTables = new EObjectContainmentEList(XmlPlsqlTable.class, this, EclipseLinkOrmPackage.XML_EMBEDDABLE__PLSQL_TABLES); - } - return plsqlTables; - } - - /** - * Returns the value of the 'Struct' containment reference. - * - *

- * 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 getConverters() - { - if (converters == null) - { - converters = new EObjectContainmentEList(XmlConverter.class, this, EclipseLinkOrmPackage.XML_EMBEDDABLE__CONVERTERS); - } - return converters; - } - - /** - * Returns the value of the 'Type Converters' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter}. - * - *

- * 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 getTypeConverters() - { - if (typeConverters == null) - { - typeConverters = new EObjectContainmentEList(XmlTypeConverter.class, this, EclipseLinkOrmPackage.XML_EMBEDDABLE__TYPE_CONVERTERS); - } - return typeConverters; - } - - /** - * Returns the value of the 'Object Type Converters' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter}. - * - *

- * 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 getObjectTypeConverters() - { - if (objectTypeConverters == null) - { - objectTypeConverters = new EObjectContainmentEList(XmlObjectTypeConverter.class, this, EclipseLinkOrmPackage.XML_EMBEDDABLE__OBJECT_TYPE_CONVERTERS); - } - return objectTypeConverters; - } - - /** - * Returns the value of the 'Struct Converters' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructConverter}. - * - *

- * 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 getStructConverters() - { - if (structConverters == null) - { - structConverters = new EObjectContainmentEList(XmlStructConverter.class, this, EclipseLinkOrmPackage.XML_EMBEDDABLE__STRUCT_CONVERTERS); - } - return structConverters; - } - - /** - * 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#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 getProperties() - { - if (properties == null) - { - properties = new EObjectContainmentEList(XmlProperty.class, this, EclipseLinkOrmPackage.XML_EMBEDDABLE__PROPERTIES); - } - return properties; - } - - /** - * 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#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)newValue); - return; - case EclipseLinkOrmPackage.XML_EMBEDDABLE__ASSOCIATION_OVERRIDES: - getAssociationOverrides().clear(); - getAssociationOverrides().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_EMBEDDABLE__PLSQL_RECORDS: - getPlsqlRecords().clear(); - getPlsqlRecords().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_EMBEDDABLE__PLSQL_TABLES: - getPlsqlTables().clear(); - getPlsqlTables().addAll((Collection)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)newValue); - return; - case EclipseLinkOrmPackage.XML_EMBEDDABLE__TYPE_CONVERTERS: - getTypeConverters().clear(); - getTypeConverters().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_EMBEDDABLE__OBJECT_TYPE_CONVERTERS: - getObjectTypeConverters().clear(); - getObjectTypeConverters().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_EMBEDDABLE__STRUCT_CONVERTERS: - getStructConverters().clear(); - getStructConverters().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_EMBEDDABLE__PROPERTIES: - getProperties().clear(); - getProperties().addAll((Collection)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/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlEmbedded.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlEmbedded.java deleted file mode 100644 index 50f3183734..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlEmbedded.java +++ /dev/null @@ -1,583 +0,0 @@ -/******************************************************************************* - * 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 properties; - - /** - * The default value of the '{@link #getAttributeType() Attribute Type}' attribute. - * - * - * @see #getAttributeType() - * @generated - * @ordered - */ - protected static final String ATTRIBUTE_TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getAttributeType() Attribute Type}' attribute. - * - * - * @see #getAttributeType() - * @generated - * @ordered - */ - protected String attributeType = ATTRIBUTE_TYPE_EDEFAULT; - - /** - * - * - * @generated - */ - protected XmlEmbedded() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_EMBEDDED; - } - - /** - * 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#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 getProperties() - { - if (properties == null) - { - properties = new EObjectContainmentEList(XmlProperty.class, this, EclipseLinkOrmPackage.XML_EMBEDDED__PROPERTIES); - } - return properties; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_EMBEDDED__FIELD: - return basicSetField(null, msgs); - case EclipseLinkOrmPackage.XML_EMBEDDED__ACCESS_METHODS: - return basicSetAccessMethods(null, msgs); - case EclipseLinkOrmPackage.XML_EMBEDDED__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_EMBEDDED__FIELD: - return getField(); - case EclipseLinkOrmPackage.XML_EMBEDDED__ACCESS_METHODS: - return getAccessMethods(); - case EclipseLinkOrmPackage.XML_EMBEDDED__PROPERTIES: - return getProperties(); - case EclipseLinkOrmPackage.XML_EMBEDDED__ATTRIBUTE_TYPE: - return getAttributeType(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_EMBEDDED__FIELD: - setField((XmlField_2_4)newValue); - return; - case EclipseLinkOrmPackage.XML_EMBEDDED__ACCESS_METHODS: - setAccessMethods((XmlAccessMethods)newValue); - return; - case EclipseLinkOrmPackage.XML_EMBEDDED__PROPERTIES: - getProperties().clear(); - getProperties().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_EMBEDDED__ATTRIBUTE_TYPE: - setAttributeType((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_EMBEDDED__FIELD: - setField((XmlField_2_4)null); - return; - case EclipseLinkOrmPackage.XML_EMBEDDED__ACCESS_METHODS: - setAccessMethods((XmlAccessMethods)null); - return; - case EclipseLinkOrmPackage.XML_EMBEDDED__PROPERTIES: - getProperties().clear(); - return; - case EclipseLinkOrmPackage.XML_EMBEDDED__ATTRIBUTE_TYPE: - setAttributeType(ATTRIBUTE_TYPE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_EMBEDDED__FIELD: - return field != null; - case EclipseLinkOrmPackage.XML_EMBEDDED__ACCESS_METHODS: - return accessMethods != null; - case EclipseLinkOrmPackage.XML_EMBEDDED__PROPERTIES: - return properties != null && !properties.isEmpty(); - case EclipseLinkOrmPackage.XML_EMBEDDED__ATTRIBUTE_TYPE: - return ATTRIBUTE_TYPE_EDEFAULT == null ? attributeType != null : !ATTRIBUTE_TYPE_EDEFAULT.equals(attributeType); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public int eBaseStructuralFeatureID(int derivedFeatureID, Class baseClass) - { - if (baseClass == XmlEmbedded_2_4.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_EMBEDDED__FIELD: return EclipseLinkOrmV2_4Package.XML_EMBEDDED_24__FIELD; - default: return -1; - } - } - if (baseClass == XmlAccessMethodsHolder.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_EMBEDDED__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS; - default: return -1; - } - } - if (baseClass == XmlPropertyContainer.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_EMBEDDED__PROPERTIES: return EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES; - default: return -1; - } - } - if (baseClass == XmlAttributeMapping.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_EMBEDDED__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE; - default: return -1; - } - } - return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); - } - - /** - * - * - * @generated - */ - @Override - public int eDerivedStructuralFeatureID(int baseFeatureID, Class baseClass) - { - if (baseClass == XmlEmbedded_2_4.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_4Package.XML_EMBEDDED_24__FIELD: return EclipseLinkOrmPackage.XML_EMBEDDED__FIELD; - default: return -1; - } - } - if (baseClass == XmlAccessMethodsHolder.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_EMBEDDED__ACCESS_METHODS; - default: return -1; - } - } - if (baseClass == XmlPropertyContainer.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES: return EclipseLinkOrmPackage.XML_EMBEDDED__PROPERTIES; - default: return -1; - } - } - if (baseClass == XmlAttributeMapping.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_EMBEDDED__ATTRIBUTE_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(" (attributeType: "); - result.append(attributeType); - result.append(')'); - return result.toString(); - } - - 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.getXmlEmbedded(), - buildTranslatorChildren()); - } - - private static Translator[] buildTranslatorChildren() { - return new Translator[] { - buildNameTranslator(), - buildAccessTranslator(), - buildAttributeTypeTranslator(), - buildAttributeOverrideTranslator(), - buildAssociationOverrideTranslator(), - buildPropertyTranslator(), - buildAccessMethodsTranslator(), - buildFieldTranslator() - }; - } - - 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 buildAttributeTypeTranslator() { - return new Translator(EclipseLink2_1.ATTRIBUTE_TYPE, EclipseLinkOrmPackage.eINSTANCE.getXmlAttributeMapping_AttributeType(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildFieldTranslator() { - return XmlField.buildTranslator(EclipseLink2_4.FIELD, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlEmbedded_2_4_Field()); - } - - // ******** 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/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlEmbeddedId.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlEmbeddedId.java deleted file mode 100644 index 88825fa27f..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlEmbeddedId.java +++ /dev/null @@ -1,476 +0,0 @@ -/******************************************************************************* - * 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.wst.common.internal.emf.resource.Translator; - -/** - * - * A representation of the model object 'Xml Embedded Id 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#getXmlEmbeddedId() - * @model kind="class" - * @generated - */ -public class XmlEmbeddedId extends org.eclipse.jpt.jpa.core.resource.orm.XmlEmbeddedId implements XmlAttributeMapping -{ - /** - * 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 properties; - - /** - * The default value of the '{@link #getAttributeType() Attribute Type}' attribute. - * - * - * @see #getAttributeType() - * @generated - * @ordered - */ - protected static final String ATTRIBUTE_TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getAttributeType() Attribute Type}' attribute. - * - * - * @see #getAttributeType() - * @generated - * @ordered - */ - protected String attributeType = ATTRIBUTE_TYPE_EDEFAULT; - - /** - * - * - * @generated - */ - protected XmlEmbeddedId() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_EMBEDDED_ID; - } - - /** - * 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.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 getProperties() - { - if (properties == null) - { - properties = new EObjectContainmentEList(XmlProperty.class, this, EclipseLinkOrmPackage.XML_EMBEDDED_ID__PROPERTIES); - } - return properties; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_EMBEDDED_ID__ACCESS_METHODS: - return basicSetAccessMethods(null, msgs); - case EclipseLinkOrmPackage.XML_EMBEDDED_ID__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_EMBEDDED_ID__ACCESS_METHODS: - return getAccessMethods(); - case EclipseLinkOrmPackage.XML_EMBEDDED_ID__PROPERTIES: - return getProperties(); - case EclipseLinkOrmPackage.XML_EMBEDDED_ID__ATTRIBUTE_TYPE: - return getAttributeType(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_EMBEDDED_ID__ACCESS_METHODS: - setAccessMethods((XmlAccessMethods)newValue); - return; - case EclipseLinkOrmPackage.XML_EMBEDDED_ID__PROPERTIES: - getProperties().clear(); - getProperties().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_EMBEDDED_ID__ATTRIBUTE_TYPE: - setAttributeType((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_EMBEDDED_ID__ACCESS_METHODS: - setAccessMethods((XmlAccessMethods)null); - return; - case EclipseLinkOrmPackage.XML_EMBEDDED_ID__PROPERTIES: - getProperties().clear(); - return; - case EclipseLinkOrmPackage.XML_EMBEDDED_ID__ATTRIBUTE_TYPE: - setAttributeType(ATTRIBUTE_TYPE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_EMBEDDED_ID__ACCESS_METHODS: - return accessMethods != null; - case EclipseLinkOrmPackage.XML_EMBEDDED_ID__PROPERTIES: - return properties != null && !properties.isEmpty(); - case EclipseLinkOrmPackage.XML_EMBEDDED_ID__ATTRIBUTE_TYPE: - return ATTRIBUTE_TYPE_EDEFAULT == null ? attributeType != null : !ATTRIBUTE_TYPE_EDEFAULT.equals(attributeType); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public int eBaseStructuralFeatureID(int derivedFeatureID, Class baseClass) - { - if (baseClass == XmlAccessMethodsHolder.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_EMBEDDED_ID__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS; - default: return -1; - } - } - if (baseClass == XmlPropertyContainer.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_EMBEDDED_ID__PROPERTIES: return EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES; - default: return -1; - } - } - if (baseClass == XmlAttributeMapping.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_EMBEDDED_ID__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE; - 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_EMBEDDED_ID__ACCESS_METHODS; - default: return -1; - } - } - if (baseClass == XmlPropertyContainer.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES: return EclipseLinkOrmPackage.XML_EMBEDDED_ID__PROPERTIES; - default: return -1; - } - } - if (baseClass == XmlAttributeMapping.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_EMBEDDED_ID__ATTRIBUTE_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(" (attributeType: "); - result.append(attributeType); - result.append(')'); - return result.toString(); - } - - - 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.getXmlEmbeddedId(), - buildTranslatorChildren()); - } - - private static Translator[] buildTranslatorChildren() { - return new Translator[] { - buildNameTranslator(), - buildAccessTranslator(), - buildAttributeTypeTranslator(), - buildAttributeOverrideTranslator(), - buildPropertyTranslator(), - buildAccessMethodsTranslator() - }; - } - - 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 buildAttributeTypeTranslator() { - return new Translator(EclipseLink2_1.ATTRIBUTE_TYPE, EclipseLinkOrmPackage.eINSTANCE.getXmlAttributeMapping_AttributeType(), Translator.DOM_ATTRIBUTE); - } - - // ******** 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/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlEntity.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlEntity.java deleted file mode 100644 index 4aaa925760..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlEntity.java +++ /dev/null @@ -1,3999 +0,0 @@ -/******************************************************************************* - * 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.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.XmlClassReference; -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.XmlEntity_1_1; -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.XmlEntity_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.EclipseLinkOrmV2_1Package; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlEntity_2_1; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroupContainer_2_1; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlTypeMapping_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.XmlAdditionalCriteria_2_2; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntity_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.XmlIndex_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_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.XmlEntity_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.XmlStruct_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.XmlCacheIndex_2_4; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntity_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.XmlNoSql_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 Entity'. - * - * 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 - * - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity#getOptimisticLocking Optimistic Locking}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity#getCopyPolicy Copy Policy}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity#getInstantiationCopyPolicy Instantiation Copy Policy}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity#getCloneCopyPolicy Clone Copy Policy}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity#getExcludeDefaultMappings Exclude Default Mappings}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntity() - * @model kind="class" - * @generated - */ -public class XmlEntity extends org.eclipse.jpt.jpa.core.resource.orm.XmlEntity implements XmlTypeMapping, XmlEntity_1_1, XmlEntity_2_0, XmlEntity_2_1, XmlEntity_2_2, XmlEntity_2_3, XmlEntity_2_4, XmlReadOnly, XmlCustomizerHolder, XmlChangeTrackingHolder, XmlCacheHolder, XmlConverterContainer, XmlQueryContainer, XmlPropertyContainer -{ - /** - * The cached value of the '{@link #getAccessMethods() Access Methods}' containment reference. - * - * - * @see #getAccessMethods() - * @generated - * @ordered - */ - protected XmlAccessMethods accessMethods; - - /** - * The default value of the '{@link #getParentClass() Parent Class}' attribute. - * - * - * @see #getParentClass() - * @generated - * @ordered - */ - protected static final String PARENT_CLASS_EDEFAULT = null; - - /** - * The cached value of the '{@link #getParentClass() Parent Class}' attribute. - * - * - * @see #getParentClass() - * @generated - * @ordered - */ - protected String parentClass = PARENT_CLASS_EDEFAULT; - - /** - * The cached value of the '{@link #getPrimaryKey() Primary Key}' containment reference. - * - * - * @see #getPrimaryKey() - * @generated - * @ordered - */ - protected XmlPrimaryKey primaryKey; - - /** - * The cached value of the '{@link #getCacheInterceptor() Cache Interceptor}' containment reference. - * - * - * @see #getCacheInterceptor() - * @generated - * @ordered - */ - protected XmlClassReference cacheInterceptor; - - /** - * The cached value of the '{@link #getQueryRedirectors() Query Redirectors}' containment reference. - * - * - * @see #getQueryRedirectors() - * @generated - * @ordered - */ - protected XmlQueryRedirectors queryRedirectors; - - /** - * The cached value of the '{@link #getFetchGroups() Fetch Groups}' containment reference list. - * - * - * @see #getFetchGroups() - * @generated - * @ordered - */ - protected EList fetchGroups; - - /** - * The cached value of the '{@link #getClassExtractor() Class Extractor}' containment reference. - * - * - * @see #getClassExtractor() - * @generated - * @ordered - */ - protected XmlClassReference classExtractor; - - /** - * The cached value of the '{@link #getPartitioning() Partitioning}' containment reference. - * - * - * @see #getPartitioning() - * @generated - * @ordered - */ - protected XmlPartitioning_2_2 partitioning; - - /** - * The cached value of the '{@link #getReplicationPartitioning() Replication Partitioning}' containment reference. - * - * - * @see #getReplicationPartitioning() - * @generated - * @ordered - */ - protected XmlReplicationPartitioning_2_2 replicationPartitioning; - - /** - * The cached value of the '{@link #getRoundRobinPartitioning() Round Robin Partitioning}' containment reference. - * - * - * @see #getRoundRobinPartitioning() - * @generated - * @ordered - */ - protected XmlRoundRobinPartitioning_2_2 roundRobinPartitioning; - - /** - * The cached value of the '{@link #getPinnedPartitioning() Pinned Partitioning}' containment reference. - * - * - * @see #getPinnedPartitioning() - * @generated - * @ordered - */ - protected XmlPinnedPartitioning_2_2 pinnedPartitioning; - - /** - * The cached value of the '{@link #getRangePartitioning() Range Partitioning}' containment reference. - * - * - * @see #getRangePartitioning() - * @generated - * @ordered - */ - protected XmlRangePartitioning_2_2 rangePartitioning; - - /** - * The cached value of the '{@link #getValuePartitioning() Value Partitioning}' containment reference. - * - * - * @see #getValuePartitioning() - * @generated - * @ordered - */ - protected XmlValuePartitioning_2_2 valuePartitioning; - - /** - * The cached value of the '{@link #getHashPartitioning() Hash Partitioning}' containment reference. - * - * - * @see #getHashPartitioning() - * @generated - * @ordered - */ - protected XmlHashPartitioning_2_2 hashPartitioning; - - /** - * The cached value of the '{@link #getUnionPartitioning() Union Partitioning}' containment reference. - * - * - * @see #getUnionPartitioning() - * @generated - * @ordered - */ - protected XmlUnionPartitioning_2_2 unionPartitioning; - - /** - * The default value of the '{@link #getPartitioned() Partitioned}' attribute. - * - * - * @see #getPartitioned() - * @generated - * @ordered - */ - protected static final String PARTITIONED_EDEFAULT = null; - - /** - * The cached value of the '{@link #getPartitioned() Partitioned}' attribute. - * - * - * @see #getPartitioned() - * @generated - * @ordered - */ - protected String partitioned = PARTITIONED_EDEFAULT; - - /** - * The cached value of the '{@link #getAdditionalCriteria() Additional Criteria}' containment reference. - * - * - * @see #getAdditionalCriteria() - * @generated - * @ordered - */ - protected XmlAdditionalCriteria_2_2 additionalCriteria; - - /** - * The default value of the '{@link #getCascadeOnDelete() Cascade On Delete}' attribute. - * - * - * @see #getCascadeOnDelete() - * @generated - * @ordered - */ - protected static final Boolean CASCADE_ON_DELETE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getCascadeOnDelete() Cascade On Delete}' attribute. - * - * - * @see #getCascadeOnDelete() - * @generated - * @ordered - */ - protected Boolean cascadeOnDelete = CASCADE_ON_DELETE_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 #getMultitenant() Multitenant}' containment reference. - * - * - * @see #getMultitenant() - * @generated - * @ordered - */ - protected XmlMultitenant multitenant; - - /** - * The cached value of the '{@link #getNamedStoredFunctionQueries() Named Stored Function Queries}' containment reference list. - * - * - * @see #getNamedStoredFunctionQueries() - * @generated - * @ordered - */ - protected EList namedStoredFunctionQueries; - - /** - * The cached value of the '{@link #getNamedPlsqlStoredFunctionQueries() Named Plsql Stored Function Queries}' containment reference list. - * - * - * @see #getNamedPlsqlStoredFunctionQueries() - * @generated - * @ordered - */ - protected EList namedPlsqlStoredFunctionQueries; - - /** - * The cached value of the '{@link #getNamedPlsqlStoredProcedureQueries() Named Plsql Stored Procedure Queries}' containment reference list. - * - * - * @see #getNamedPlsqlStoredProcedureQueries() - * @generated - * @ordered - */ - protected EList namedPlsqlStoredProcedureQueries; - - /** - * The cached value of the '{@link #getPlsqlRecords() Plsql Records}' containment reference list. - * - * - * @see #getPlsqlRecords() - * @generated - * @ordered - */ - protected EList plsqlRecords; - - /** - * The cached value of the '{@link #getPlsqlTables() Plsql Tables}' containment reference list. - * - * - * @see #getPlsqlTables() - * @generated - * @ordered - */ - protected EList plsqlTables; - - /** - * The cached value of the '{@link #getStruct() Struct}' containment reference. - * - * - * @see #getStruct() - * @generated - * @ordered - */ - protected XmlStruct_2_3 struct; - - /** - * 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 #getCacheIndex() Cache Index}' containment reference. - * - * - * @see #getCacheIndex() - * @generated - * @ordered - */ - protected XmlCacheIndex_2_4 cacheIndex; - - /** - * The cached value of the '{@link #getNoSql() No Sql}' containment reference. - * - * - * @see #getNoSql() - * @generated - * @ordered - */ - protected XmlNoSql_2_4 noSql; - - /** - * The default value of the '{@link #getReadOnly() Read Only}' attribute. - * - * - * @see #getReadOnly() - * @generated - * @ordered - */ - protected static final Boolean READ_ONLY_EDEFAULT = null; - - /** - * The cached value of the '{@link #getReadOnly() Read Only}' attribute. - * - * - * @see #getReadOnly() - * @generated - * @ordered - */ - protected Boolean readOnly = READ_ONLY_EDEFAULT; - - /** - * The cached value of the '{@link #getCustomizer() Customizer}' containment reference. - * - * - * @see #getCustomizer() - * @generated - * @ordered - */ - protected XmlClassReference customizer; - - /** - * The cached value of the '{@link #getChangeTracking() Change Tracking}' containment reference. - * - * - * @see #getChangeTracking() - * @generated - * @ordered - */ - protected XmlChangeTracking changeTracking; - - /** - * The cached value of the '{@link #getCache() Cache}' containment reference. - * - * - * @see #getCache() - * @generated - * @ordered - */ - protected XmlCache cache; - - /** - * 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 ExistenceType EXISTENCE_CHECKING_EDEFAULT = null; - - /** - * The cached value of the '{@link #getExistenceChecking() Existence Checking}' attribute. - * - * - * @see #getExistenceChecking() - * @generated - * @ordered - */ - protected ExistenceType existenceChecking = EXISTENCE_CHECKING_EDEFAULT; - - /** - * The cached value of the '{@link #getConverters() Converters}' containment reference list. - * - * - * @see #getConverters() - * @generated - * @ordered - */ - protected EList converters; - - /** - * The cached value of the '{@link #getTypeConverters() Type Converters}' containment reference list. - * - * - * @see #getTypeConverters() - * @generated - * @ordered - */ - protected EList typeConverters; - - /** - * The cached value of the '{@link #getObjectTypeConverters() Object Type Converters}' containment reference list. - * - * - * @see #getObjectTypeConverters() - * @generated - * @ordered - */ - protected EList objectTypeConverters; - - /** - * The cached value of the '{@link #getStructConverters() Struct Converters}' containment reference list. - * - * - * @see #getStructConverters() - * @generated - * @ordered - */ - protected EList structConverters; - - /** - * The cached value of the '{@link #getNamedStoredProcedureQueries() Named Stored Procedure Queries}' containment reference list. - * - * - * @see #getNamedStoredProcedureQueries() - * @generated - * @ordered - */ - protected EList namedStoredProcedureQueries; - - /** - * The cached value of the '{@link #getProperties() Properties}' containment reference list. - * - * - * @see #getProperties() - * @generated - * @ordered - */ - protected EList properties; - - /** - * The cached value of the '{@link #getOptimisticLocking() Optimistic Locking}' containment reference. - * - * - * @see #getOptimisticLocking() - * @generated - * @ordered - */ - protected XmlOptimisticLocking optimisticLocking; - - /** - * The cached value of the '{@link #getCopyPolicy() Copy Policy}' containment reference. - * - * - * @see #getCopyPolicy() - * @generated - * @ordered - */ - protected XmlCopyPolicy copyPolicy; - - /** - * The cached value of the '{@link #getInstantiationCopyPolicy() Instantiation Copy Policy}' containment reference. - * - * - * @see #getInstantiationCopyPolicy() - * @generated - * @ordered - */ - protected XmlInstantiationCopyPolicy instantiationCopyPolicy; - - /** - * The cached value of the '{@link #getCloneCopyPolicy() Clone Copy Policy}' containment reference. - * - * - * @see #getCloneCopyPolicy() - * @generated - * @ordered - */ - protected XmlCloneCopyPolicy cloneCopyPolicy; - - /** - * The default value of the '{@link #getExcludeDefaultMappings() Exclude Default Mappings}' attribute. - * - * - * @see #getExcludeDefaultMappings() - * @generated - * @ordered - */ - protected static final Boolean EXCLUDE_DEFAULT_MAPPINGS_EDEFAULT = null; - - /** - * The cached value of the '{@link #getExcludeDefaultMappings() Exclude Default Mappings}' attribute. - * - * - * @see #getExcludeDefaultMappings() - * @generated - * @ordered - */ - protected Boolean excludeDefaultMappings = EXCLUDE_DEFAULT_MAPPINGS_EDEFAULT; - - /** - * - * - * @generated - */ - protected XmlEntity() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_ENTITY; - } - - /** - * Returns the value of the 'Read Only' attribute. - * - *

- * 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 getConverters() - { - if (converters == null) - { - converters = new EObjectContainmentEList(XmlConverter.class, this, EclipseLinkOrmPackage.XML_ENTITY__CONVERTERS); - } - return converters; - } - - /** - * Returns the value of the 'Type Converters' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter}. - * - *

- * 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 getTypeConverters() - { - if (typeConverters == null) - { - typeConverters = new EObjectContainmentEList(XmlTypeConverter.class, this, EclipseLinkOrmPackage.XML_ENTITY__TYPE_CONVERTERS); - } - return typeConverters; - } - - /** - * Returns the value of the 'Object Type Converters' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter}. - * - *

- * 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 getObjectTypeConverters() - { - if (objectTypeConverters == null) - { - objectTypeConverters = new EObjectContainmentEList(XmlObjectTypeConverter.class, this, EclipseLinkOrmPackage.XML_ENTITY__OBJECT_TYPE_CONVERTERS); - } - return objectTypeConverters; - } - - /** - * Returns the value of the 'Struct Converters' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructConverter}. - * - *

- * 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 getStructConverters() - { - if (structConverters == null) - { - structConverters = new EObjectContainmentEList(XmlStructConverter.class, this, EclipseLinkOrmPackage.XML_ENTITY__STRUCT_CONVERTERS); - } - return structConverters; - } - - /** - * Returns the value of the 'Optimistic Locking' containment reference. - * - *

- * 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 getNamedStoredProcedureQueries() - { - if (namedStoredProcedureQueries == null) - { - namedStoredProcedureQueries = new EObjectContainmentEList(XmlNamedStoredProcedureQuery.class, this, EclipseLinkOrmPackage.XML_ENTITY__NAMED_STORED_PROCEDURE_QUERIES); - } - return namedStoredProcedureQueries; - } - - /** - * 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 getProperties() - { - if (properties == null) - { - properties = new EObjectContainmentEList(XmlProperty.class, this, EclipseLinkOrmPackage.XML_ENTITY__PROPERTIES); - } - return properties; - } - - /** - * Returns the value of the 'Primary Key' containment reference. - * - *

- * 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 getFetchGroups() - { - if (fetchGroups == null) - { - fetchGroups = new EObjectContainmentEList(XmlFetchGroup.class, this, EclipseLinkOrmPackage.XML_ENTITY__FETCH_GROUPS); - } - return fetchGroups; - } - - /** - * Returns the value of the 'Class Extractor' containment reference. - * - *

- * 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 getNamedStoredFunctionQueries() - { - if (namedStoredFunctionQueries == null) - { - namedStoredFunctionQueries = new EObjectContainmentEList(XmlNamedStoredFunctionQuery_2_3.class, this, EclipseLinkOrmPackage.XML_ENTITY__NAMED_STORED_FUNCTION_QUERIES); - } - return namedStoredFunctionQueries; - } - - /** - * Returns the value of the 'Named Plsql Stored Function Queries' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredFunctionQuery_2_3}. - * - *

- * 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 getNamedPlsqlStoredFunctionQueries() - { - if (namedPlsqlStoredFunctionQueries == null) - { - namedPlsqlStoredFunctionQueries = new EObjectContainmentEList(XmlNamedPlsqlStoredFunctionQuery_2_3.class, this, EclipseLinkOrmPackage.XML_ENTITY__NAMED_PLSQL_STORED_FUNCTION_QUERIES); - } - return namedPlsqlStoredFunctionQueries; - } - - /** - * Returns the value of the 'Named Plsql Stored Procedure Queries' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredProcedureQuery_2_3}. - * - *

- * 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 getNamedPlsqlStoredProcedureQueries() - { - if (namedPlsqlStoredProcedureQueries == null) - { - namedPlsqlStoredProcedureQueries = new EObjectContainmentEList(XmlNamedPlsqlStoredProcedureQuery_2_3.class, this, EclipseLinkOrmPackage.XML_ENTITY__NAMED_PLSQL_STORED_PROCEDURE_QUERIES); - } - return namedPlsqlStoredProcedureQueries; - } - - /** - * 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#getXmlEntity_2_3_PlsqlRecords() - * @model containment="true" - * @generated - */ - public EList getPlsqlRecords() - { - if (plsqlRecords == null) - { - plsqlRecords = new EObjectContainmentEList(XmlPlsqlRecord_2_3.class, this, EclipseLinkOrmPackage.XML_ENTITY__PLSQL_RECORDS); - } - return plsqlRecords; - } - - /** - * Returns the value of the 'Plsql Tables' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPlsqlTable}. - * - *

- * 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 getPlsqlTables() - { - if (plsqlTables == null) - { - plsqlTables = new EObjectContainmentEList(XmlPlsqlTable.class, this, EclipseLinkOrmPackage.XML_ENTITY__PLSQL_TABLES); - } - return plsqlTables; - } - - /** - * Returns the value of the 'Struct' containment reference. - * - *

- * 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)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)newValue); - return; - case EclipseLinkOrmPackage.XML_ENTITY__NAMED_PLSQL_STORED_FUNCTION_QUERIES: - getNamedPlsqlStoredFunctionQueries().clear(); - getNamedPlsqlStoredFunctionQueries().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ENTITY__NAMED_PLSQL_STORED_PROCEDURE_QUERIES: - getNamedPlsqlStoredProcedureQueries().clear(); - getNamedPlsqlStoredProcedureQueries().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ENTITY__PLSQL_RECORDS: - getPlsqlRecords().clear(); - getPlsqlRecords().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ENTITY__PLSQL_TABLES: - getPlsqlTables().clear(); - getPlsqlTables().addAll((Collection)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)newValue); - return; - case EclipseLinkOrmPackage.XML_ENTITY__TYPE_CONVERTERS: - getTypeConverters().clear(); - getTypeConverters().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ENTITY__OBJECT_TYPE_CONVERTERS: - getObjectTypeConverters().clear(); - getObjectTypeConverters().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ENTITY__STRUCT_CONVERTERS: - getStructConverters().clear(); - getStructConverters().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ENTITY__NAMED_STORED_PROCEDURE_QUERIES: - getNamedStoredProcedureQueries().clear(); - getNamedStoredProcedureQueries().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ENTITY__PROPERTIES: - getProperties().clear(); - getProperties().addAll((Collection)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/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlEntityMappings.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlEntityMappings.java deleted file mode 100644 index 3a60f1f597..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlEntityMappings.java +++ /dev/null @@ -1,1449 +0,0 @@ -/******************************************************************************* - * 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 partitioning; - - /** - * The cached value of the '{@link #getReplicationPartitioning() Replication Partitioning}' containment reference list. - * - * - * @see #getReplicationPartitioning() - * @generated - * @ordered - */ - protected EList replicationPartitioning; - - /** - * The cached value of the '{@link #getRoundRobinPartitioning() Round Robin Partitioning}' containment reference list. - * - * - * @see #getRoundRobinPartitioning() - * @generated - * @ordered - */ - protected EList roundRobinPartitioning; - - /** - * The cached value of the '{@link #getPinnedPartitioning() Pinned Partitioning}' containment reference list. - * - * - * @see #getPinnedPartitioning() - * @generated - * @ordered - */ - protected EList pinnedPartitioning; - - /** - * The cached value of the '{@link #getRangePartitioning() Range Partitioning}' containment reference list. - * - * - * @see #getRangePartitioning() - * @generated - * @ordered - */ - protected EList rangePartitioning; - - /** - * The cached value of the '{@link #getValuePartitioning() Value Partitioning}' containment reference list. - * - * - * @see #getValuePartitioning() - * @generated - * @ordered - */ - protected EList valuePartitioning; - - /** - * The cached value of the '{@link #getHashPartitioning() Hash Partitioning}' containment reference list. - * - * - * @see #getHashPartitioning() - * @generated - * @ordered - */ - protected EList hashPartitioning; - - /** - * The cached value of the '{@link #getUnionPartitioning() Union Partitioning}' containment reference list. - * - * - * @see #getUnionPartitioning() - * @generated - * @ordered - */ - protected EList unionPartitioning; - - /** - * The cached value of the '{@link #getTenantDiscriminatorColumns() Tenant Discriminator Columns}' containment reference list. - * - * - * @see #getTenantDiscriminatorColumns() - * @generated - * @ordered - */ - protected EList tenantDiscriminatorColumns; - - /** - * The cached value of the '{@link #getNamedStoredFunctionQueries() Named Stored Function Queries}' containment reference list. - * - * - * @see #getNamedStoredFunctionQueries() - * @generated - * @ordered - */ - protected EList namedStoredFunctionQueries; - - /** - * The cached value of the '{@link #getNamedPlsqlStoredFunctionQueries() Named Plsql Stored Function Queries}' containment reference list. - * - * - * @see #getNamedPlsqlStoredFunctionQueries() - * @generated - * @ordered - */ - protected EList namedPlsqlStoredFunctionQueries; - - /** - * The cached value of the '{@link #getNamedPlsqlStoredProcedureQueries() Named Plsql Stored Procedure Queries}' containment reference list. - * - * - * @see #getNamedPlsqlStoredProcedureQueries() - * @generated - * @ordered - */ - protected EList namedPlsqlStoredProcedureQueries; - - /** - * The cached value of the '{@link #getPlsqlRecords() Plsql Records}' containment reference list. - * - * - * @see #getPlsqlRecords() - * @generated - * @ordered - */ - protected EList plsqlRecords; - - /** - * The cached value of the '{@link #getPlsqlTables() Plsql Tables}' containment reference list. - * - * - * @see #getPlsqlTables() - * @generated - * @ordered - */ - protected EList plsqlTables; - - /** - * The cached value of the '{@link #getUuidGenerators() Uuid Generators}' containment reference list. - * - * - * @see #getUuidGenerators() - * @generated - * @ordered - */ - protected EList uuidGenerators; - - /** - * The cached value of the '{@link #getConverters() Converters}' containment reference list. - * - * - * @see #getConverters() - * @generated - * @ordered - */ - protected EList converters; - - /** - * The cached value of the '{@link #getTypeConverters() Type Converters}' containment reference list. - * - * - * @see #getTypeConverters() - * @generated - * @ordered - */ - protected EList typeConverters; - - /** - * The cached value of the '{@link #getObjectTypeConverters() Object Type Converters}' containment reference list. - * - * - * @see #getObjectTypeConverters() - * @generated - * @ordered - */ - protected EList objectTypeConverters; - - /** - * The cached value of the '{@link #getStructConverters() Struct Converters}' containment reference list. - * - * - * @see #getStructConverters() - * @generated - * @ordered - */ - protected EList structConverters; - - /** - * The cached value of the '{@link #getNamedStoredProcedureQueries() Named Stored Procedure Queries}' containment reference list. - * - * - * @see #getNamedStoredProcedureQueries() - * @generated - * @ordered - */ - protected EList namedStoredProcedureQueries; - - /** - * - * - * @generated - */ - protected XmlEntityMappings() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_ENTITY_MAPPINGS; - } - - /** - * 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_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 getPartitioning() - { - if (partitioning == null) - { - partitioning = new EObjectContainmentEList(XmlPartitioning_2_2.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PARTITIONING); - } - return partitioning; - } - - /** - * Returns the value of the 'Replication Partitioning' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlReplicationPartitioning_2_2}. - * - *

- * 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 getReplicationPartitioning() - { - if (replicationPartitioning == null) - { - replicationPartitioning = new EObjectContainmentEList(XmlReplicationPartitioning_2_2.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__REPLICATION_PARTITIONING); - } - return replicationPartitioning; - } - - /** - * Returns the value of the 'Round Robin Partitioning' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRoundRobinPartitioning_2_2}. - * - *

- * 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 getRoundRobinPartitioning() - { - if (roundRobinPartitioning == null) - { - roundRobinPartitioning = new EObjectContainmentEList(XmlRoundRobinPartitioning_2_2.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__ROUND_ROBIN_PARTITIONING); - } - return roundRobinPartitioning; - } - - /** - * Returns the value of the 'Pinned Partitioning' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPinnedPartitioning_2_2}. - * - *

- * 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 getPinnedPartitioning() - { - if (pinnedPartitioning == null) - { - pinnedPartitioning = new EObjectContainmentEList(XmlPinnedPartitioning_2_2.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PINNED_PARTITIONING); - } - return pinnedPartitioning; - } - - /** - * Returns the value of the 'Range Partitioning' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRangePartitioning_2_2}. - * - *

- * 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 getRangePartitioning() - { - if (rangePartitioning == null) - { - rangePartitioning = new EObjectContainmentEList(XmlRangePartitioning_2_2.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__RANGE_PARTITIONING); - } - return rangePartitioning; - } - - /** - * Returns the value of the 'Value Partitioning' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlValuePartitioning_2_2}. - * - *

- * 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 getValuePartitioning() - { - if (valuePartitioning == null) - { - valuePartitioning = new EObjectContainmentEList(XmlValuePartitioning_2_2.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__VALUE_PARTITIONING); - } - return valuePartitioning; - } - - /** - * Returns the value of the 'Hash Partitioning' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlHashPartitioning_2_2}. - * - *

- * 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 getHashPartitioning() - { - if (hashPartitioning == null) - { - hashPartitioning = new EObjectContainmentEList(XmlHashPartitioning_2_2.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__HASH_PARTITIONING); - } - return hashPartitioning; - } - - /** - * Returns the value of the 'Union Partitioning' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlUnionPartitioning_2_2}. - * - *

- * 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 getUnionPartitioning() - { - if (unionPartitioning == null) - { - unionPartitioning = new EObjectContainmentEList(XmlUnionPartitioning_2_2.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__UNION_PARTITIONING); - } - return unionPartitioning; - } - - /** - * Returns the value of the 'Tenant Discriminator Columns' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3}. - * - *

- * 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 getTenantDiscriminatorColumns() - { - if (tenantDiscriminatorColumns == null) - { - tenantDiscriminatorColumns = new EObjectContainmentEList(XmlTenantDiscriminatorColumn_2_3.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__TENANT_DISCRIMINATOR_COLUMNS); - } - return tenantDiscriminatorColumns; - } - - /** - * 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#getXmlEntityMappings_2_3_NamedStoredFunctionQueries() - * @model containment="true" - * @generated - */ - public EList getNamedStoredFunctionQueries() - { - if (namedStoredFunctionQueries == null) - { - namedStoredFunctionQueries = new EObjectContainmentEList(XmlNamedStoredFunctionQuery_2_3.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_STORED_FUNCTION_QUERIES); - } - return namedStoredFunctionQueries; - } - - /** - * Returns the value of the 'Named Plsql Stored Function Queries' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredFunctionQuery_2_3}. - * - *

- * 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 getNamedPlsqlStoredFunctionQueries() - { - if (namedPlsqlStoredFunctionQueries == null) - { - namedPlsqlStoredFunctionQueries = new EObjectContainmentEList(XmlNamedPlsqlStoredFunctionQuery_2_3.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_PLSQL_STORED_FUNCTION_QUERIES); - } - return namedPlsqlStoredFunctionQueries; - } - - /** - * Returns the value of the 'Named Plsql Stored Procedure Queries' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredProcedureQuery_2_3}. - * - *

- * 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 getNamedPlsqlStoredProcedureQueries() - { - if (namedPlsqlStoredProcedureQueries == null) - { - namedPlsqlStoredProcedureQueries = new EObjectContainmentEList(XmlNamedPlsqlStoredProcedureQuery_2_3.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_PLSQL_STORED_PROCEDURE_QUERIES); - } - return namedPlsqlStoredProcedureQueries; - } - - /** - * 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#getXmlEntityMappings_2_3_PlsqlRecords() - * @model containment="true" - * @generated - */ - public EList getPlsqlRecords() - { - if (plsqlRecords == null) - { - plsqlRecords = new EObjectContainmentEList(XmlPlsqlRecord_2_3.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PLSQL_RECORDS); - } - return plsqlRecords; - } - - /** - * Returns the value of the 'Plsql Tables' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPlsqlTable}. - * - *

- * 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 getPlsqlTables() - { - if (plsqlTables == null) - { - plsqlTables = new EObjectContainmentEList(XmlPlsqlTable.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PLSQL_TABLES); - } - return plsqlTables; - } - - /** - * Returns the value of the 'Uuid Generators' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlUuidGenerator_2_4}. - * - *

- * 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 getUuidGenerators() - { - if (uuidGenerators == null) - { - uuidGenerators = new EObjectContainmentEList(XmlUuidGenerator_2_4.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__UUID_GENERATORS); - } - return uuidGenerators; - } - - /** - * 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 getConverters() - { - if (converters == null) - { - converters = new EObjectContainmentEList(XmlConverter.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__CONVERTERS); - } - return converters; - } - - /** - * Returns the value of the 'Type Converters' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter}. - * - *

- * 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 getTypeConverters() - { - if (typeConverters == null) - { - typeConverters = new EObjectContainmentEList(XmlTypeConverter.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__TYPE_CONVERTERS); - } - return typeConverters; - } - - /** - * Returns the value of the 'Object Type Converters' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter}. - * - *

- * 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 getObjectTypeConverters() - { - if (objectTypeConverters == null) - { - objectTypeConverters = new EObjectContainmentEList(XmlObjectTypeConverter.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__OBJECT_TYPE_CONVERTERS); - } - return objectTypeConverters; - } - - /** - * Returns the value of the 'Struct Converters' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructConverter}. - * - *

- * 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 getStructConverters() - { - if (structConverters == null) - { - structConverters = new EObjectContainmentEList(XmlStructConverter.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__STRUCT_CONVERTERS); - } - return structConverters; - } - - /** - * 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 getNamedStoredProcedureQueries() - { - if (namedStoredProcedureQueries == null) - { - namedStoredProcedureQueries = new EObjectContainmentEList(XmlNamedStoredProcedureQuery.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_STORED_PROCEDURE_QUERIES); - } - return namedStoredProcedureQueries; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__ACCESS_METHODS: - return basicSetAccessMethods(null, msgs); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PARTITIONING: - return ((InternalEList)getPartitioning()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__REPLICATION_PARTITIONING: - return ((InternalEList)getReplicationPartitioning()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__ROUND_ROBIN_PARTITIONING: - return ((InternalEList)getRoundRobinPartitioning()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PINNED_PARTITIONING: - return ((InternalEList)getPinnedPartitioning()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__RANGE_PARTITIONING: - return ((InternalEList)getRangePartitioning()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__VALUE_PARTITIONING: - return ((InternalEList)getValuePartitioning()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__HASH_PARTITIONING: - return ((InternalEList)getHashPartitioning()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__UNION_PARTITIONING: - return ((InternalEList)getUnionPartitioning()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__TENANT_DISCRIMINATOR_COLUMNS: - return ((InternalEList)getTenantDiscriminatorColumns()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_STORED_FUNCTION_QUERIES: - return ((InternalEList)getNamedStoredFunctionQueries()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_PLSQL_STORED_FUNCTION_QUERIES: - return ((InternalEList)getNamedPlsqlStoredFunctionQueries()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_PLSQL_STORED_PROCEDURE_QUERIES: - return ((InternalEList)getNamedPlsqlStoredProcedureQueries()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PLSQL_RECORDS: - return ((InternalEList)getPlsqlRecords()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PLSQL_TABLES: - return ((InternalEList)getPlsqlTables()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__UUID_GENERATORS: - return ((InternalEList)getUuidGenerators()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__CONVERTERS: - return ((InternalEList)getConverters()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__TYPE_CONVERTERS: - return ((InternalEList)getTypeConverters()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__OBJECT_TYPE_CONVERTERS: - return ((InternalEList)getObjectTypeConverters()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__STRUCT_CONVERTERS: - return ((InternalEList)getStructConverters()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_STORED_PROCEDURE_QUERIES: - return ((InternalEList)getNamedStoredProcedureQueries()).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_ENTITY_MAPPINGS__ACCESS_METHODS: - return getAccessMethods(); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PARTITIONING: - return getPartitioning(); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__REPLICATION_PARTITIONING: - return getReplicationPartitioning(); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__ROUND_ROBIN_PARTITIONING: - return getRoundRobinPartitioning(); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PINNED_PARTITIONING: - return getPinnedPartitioning(); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__RANGE_PARTITIONING: - return getRangePartitioning(); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__VALUE_PARTITIONING: - return getValuePartitioning(); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__HASH_PARTITIONING: - return getHashPartitioning(); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__UNION_PARTITIONING: - return getUnionPartitioning(); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__TENANT_DISCRIMINATOR_COLUMNS: - return getTenantDiscriminatorColumns(); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_STORED_FUNCTION_QUERIES: - return getNamedStoredFunctionQueries(); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_PLSQL_STORED_FUNCTION_QUERIES: - return getNamedPlsqlStoredFunctionQueries(); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_PLSQL_STORED_PROCEDURE_QUERIES: - return getNamedPlsqlStoredProcedureQueries(); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PLSQL_RECORDS: - return getPlsqlRecords(); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PLSQL_TABLES: - return getPlsqlTables(); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__UUID_GENERATORS: - return getUuidGenerators(); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__CONVERTERS: - return getConverters(); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__TYPE_CONVERTERS: - return getTypeConverters(); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__OBJECT_TYPE_CONVERTERS: - return getObjectTypeConverters(); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__STRUCT_CONVERTERS: - return getStructConverters(); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_STORED_PROCEDURE_QUERIES: - return getNamedStoredProcedureQueries(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__ACCESS_METHODS: - setAccessMethods((XmlAccessMethods)newValue); - return; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PARTITIONING: - getPartitioning().clear(); - getPartitioning().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__REPLICATION_PARTITIONING: - getReplicationPartitioning().clear(); - getReplicationPartitioning().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__ROUND_ROBIN_PARTITIONING: - getRoundRobinPartitioning().clear(); - getRoundRobinPartitioning().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PINNED_PARTITIONING: - getPinnedPartitioning().clear(); - getPinnedPartitioning().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__RANGE_PARTITIONING: - getRangePartitioning().clear(); - getRangePartitioning().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__VALUE_PARTITIONING: - getValuePartitioning().clear(); - getValuePartitioning().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__HASH_PARTITIONING: - getHashPartitioning().clear(); - getHashPartitioning().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__UNION_PARTITIONING: - getUnionPartitioning().clear(); - getUnionPartitioning().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__TENANT_DISCRIMINATOR_COLUMNS: - getTenantDiscriminatorColumns().clear(); - getTenantDiscriminatorColumns().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_STORED_FUNCTION_QUERIES: - getNamedStoredFunctionQueries().clear(); - getNamedStoredFunctionQueries().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_PLSQL_STORED_FUNCTION_QUERIES: - getNamedPlsqlStoredFunctionQueries().clear(); - getNamedPlsqlStoredFunctionQueries().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_PLSQL_STORED_PROCEDURE_QUERIES: - getNamedPlsqlStoredProcedureQueries().clear(); - getNamedPlsqlStoredProcedureQueries().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PLSQL_RECORDS: - getPlsqlRecords().clear(); - getPlsqlRecords().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PLSQL_TABLES: - getPlsqlTables().clear(); - getPlsqlTables().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__UUID_GENERATORS: - getUuidGenerators().clear(); - getUuidGenerators().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__CONVERTERS: - getConverters().clear(); - getConverters().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__TYPE_CONVERTERS: - getTypeConverters().clear(); - getTypeConverters().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__OBJECT_TYPE_CONVERTERS: - getObjectTypeConverters().clear(); - getObjectTypeConverters().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__STRUCT_CONVERTERS: - getStructConverters().clear(); - getStructConverters().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_STORED_PROCEDURE_QUERIES: - getNamedStoredProcedureQueries().clear(); - getNamedStoredProcedureQueries().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__ACCESS_METHODS: - setAccessMethods((XmlAccessMethods)null); - return; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PARTITIONING: - getPartitioning().clear(); - return; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__REPLICATION_PARTITIONING: - getReplicationPartitioning().clear(); - return; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__ROUND_ROBIN_PARTITIONING: - getRoundRobinPartitioning().clear(); - return; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PINNED_PARTITIONING: - getPinnedPartitioning().clear(); - return; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__RANGE_PARTITIONING: - getRangePartitioning().clear(); - return; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__VALUE_PARTITIONING: - getValuePartitioning().clear(); - return; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__HASH_PARTITIONING: - getHashPartitioning().clear(); - return; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__UNION_PARTITIONING: - getUnionPartitioning().clear(); - return; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__TENANT_DISCRIMINATOR_COLUMNS: - getTenantDiscriminatorColumns().clear(); - return; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_STORED_FUNCTION_QUERIES: - getNamedStoredFunctionQueries().clear(); - return; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_PLSQL_STORED_FUNCTION_QUERIES: - getNamedPlsqlStoredFunctionQueries().clear(); - return; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_PLSQL_STORED_PROCEDURE_QUERIES: - getNamedPlsqlStoredProcedureQueries().clear(); - return; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PLSQL_RECORDS: - getPlsqlRecords().clear(); - return; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PLSQL_TABLES: - getPlsqlTables().clear(); - return; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__UUID_GENERATORS: - getUuidGenerators().clear(); - return; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__CONVERTERS: - getConverters().clear(); - return; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__TYPE_CONVERTERS: - getTypeConverters().clear(); - return; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__OBJECT_TYPE_CONVERTERS: - getObjectTypeConverters().clear(); - return; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__STRUCT_CONVERTERS: - getStructConverters().clear(); - return; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_STORED_PROCEDURE_QUERIES: - getNamedStoredProcedureQueries().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__ACCESS_METHODS: - return accessMethods != null; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PARTITIONING: - return partitioning != null && !partitioning.isEmpty(); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__REPLICATION_PARTITIONING: - return replicationPartitioning != null && !replicationPartitioning.isEmpty(); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__ROUND_ROBIN_PARTITIONING: - return roundRobinPartitioning != null && !roundRobinPartitioning.isEmpty(); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PINNED_PARTITIONING: - return pinnedPartitioning != null && !pinnedPartitioning.isEmpty(); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__RANGE_PARTITIONING: - return rangePartitioning != null && !rangePartitioning.isEmpty(); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__VALUE_PARTITIONING: - return valuePartitioning != null && !valuePartitioning.isEmpty(); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__HASH_PARTITIONING: - return hashPartitioning != null && !hashPartitioning.isEmpty(); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__UNION_PARTITIONING: - return unionPartitioning != null && !unionPartitioning.isEmpty(); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__TENANT_DISCRIMINATOR_COLUMNS: - return tenantDiscriminatorColumns != null && !tenantDiscriminatorColumns.isEmpty(); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_STORED_FUNCTION_QUERIES: - return namedStoredFunctionQueries != null && !namedStoredFunctionQueries.isEmpty(); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_PLSQL_STORED_FUNCTION_QUERIES: - return namedPlsqlStoredFunctionQueries != null && !namedPlsqlStoredFunctionQueries.isEmpty(); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_PLSQL_STORED_PROCEDURE_QUERIES: - return namedPlsqlStoredProcedureQueries != null && !namedPlsqlStoredProcedureQueries.isEmpty(); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PLSQL_RECORDS: - return plsqlRecords != null && !plsqlRecords.isEmpty(); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PLSQL_TABLES: - return plsqlTables != null && !plsqlTables.isEmpty(); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__UUID_GENERATORS: - return uuidGenerators != null && !uuidGenerators.isEmpty(); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__CONVERTERS: - return converters != null && !converters.isEmpty(); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__TYPE_CONVERTERS: - return typeConverters != null && !typeConverters.isEmpty(); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__OBJECT_TYPE_CONVERTERS: - return objectTypeConverters != null && !objectTypeConverters.isEmpty(); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__STRUCT_CONVERTERS: - return structConverters != null && !structConverters.isEmpty(); - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_STORED_PROCEDURE_QUERIES: - return namedStoredProcedureQueries != null && !namedStoredProcedureQueries.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public int eBaseStructuralFeatureID(int derivedFeatureID, Class baseClass) - { - if (baseClass == XmlAccessMethodsHolder.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS; - default: return -1; - } - } - if (baseClass == XmlEntityMappings_2_1.class) - { - switch (derivedFeatureID) - { - default: return -1; - } - } - if (baseClass == XmlEntityMappings_2_2.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PARTITIONING: return EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__PARTITIONING; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__REPLICATION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__REPLICATION_PARTITIONING; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__ROUND_ROBIN_PARTITIONING; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PINNED_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__PINNED_PARTITIONING; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__RANGE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__RANGE_PARTITIONING; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__VALUE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__VALUE_PARTITIONING; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__HASH_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__HASH_PARTITIONING; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__UNION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__UNION_PARTITIONING; - default: return -1; - } - } - if (baseClass == XmlEntityMappings_2_3.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__TENANT_DISCRIMINATOR_COLUMNS: return EclipseLinkOrmV2_3Package.XML_ENTITY_MAPPINGS_23__TENANT_DISCRIMINATOR_COLUMNS; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_STORED_FUNCTION_QUERIES: return EclipseLinkOrmV2_3Package.XML_ENTITY_MAPPINGS_23__NAMED_STORED_FUNCTION_QUERIES; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_PLSQL_STORED_FUNCTION_QUERIES: return EclipseLinkOrmV2_3Package.XML_ENTITY_MAPPINGS_23__NAMED_PLSQL_STORED_FUNCTION_QUERIES; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_PLSQL_STORED_PROCEDURE_QUERIES: return EclipseLinkOrmV2_3Package.XML_ENTITY_MAPPINGS_23__NAMED_PLSQL_STORED_PROCEDURE_QUERIES; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PLSQL_RECORDS: return EclipseLinkOrmV2_3Package.XML_ENTITY_MAPPINGS_23__PLSQL_RECORDS; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PLSQL_TABLES: return EclipseLinkOrmV2_3Package.XML_ENTITY_MAPPINGS_23__PLSQL_TABLES; - default: return -1; - } - } - if (baseClass == XmlEntityMappings_2_4.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__UUID_GENERATORS: return EclipseLinkOrmV2_4Package.XML_ENTITY_MAPPINGS_24__UUID_GENERATORS; - default: return -1; - } - } - if (baseClass == XmlConverterContainer.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__CONVERTERS; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__TYPE_CONVERTERS; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__OBJECT_TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS; - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__STRUCT_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS; - default: return -1; - } - } - if (baseClass == XmlQueryContainer.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_STORED_PROCEDURE_QUERIES: return EclipseLinkOrmPackage.XML_QUERY_CONTAINER__NAMED_STORED_PROCEDURE_QUERIES; - 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_MAPPINGS__ACCESS_METHODS; - default: return -1; - } - } - if (baseClass == XmlEntityMappings_2_1.class) - { - switch (baseFeatureID) - { - default: return -1; - } - } - if (baseClass == XmlEntityMappings_2_2.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__PARTITIONING: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__REPLICATION_PARTITIONING: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__REPLICATION_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__ROUND_ROBIN_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__PINNED_PARTITIONING: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PINNED_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__RANGE_PARTITIONING: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__RANGE_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__VALUE_PARTITIONING: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__VALUE_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__HASH_PARTITIONING: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__HASH_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__UNION_PARTITIONING: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__UNION_PARTITIONING; - default: return -1; - } - } - if (baseClass == XmlEntityMappings_2_3.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_3Package.XML_ENTITY_MAPPINGS_23__TENANT_DISCRIMINATOR_COLUMNS: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__TENANT_DISCRIMINATOR_COLUMNS; - case EclipseLinkOrmV2_3Package.XML_ENTITY_MAPPINGS_23__NAMED_STORED_FUNCTION_QUERIES: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_STORED_FUNCTION_QUERIES; - case EclipseLinkOrmV2_3Package.XML_ENTITY_MAPPINGS_23__NAMED_PLSQL_STORED_FUNCTION_QUERIES: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_PLSQL_STORED_FUNCTION_QUERIES; - case EclipseLinkOrmV2_3Package.XML_ENTITY_MAPPINGS_23__NAMED_PLSQL_STORED_PROCEDURE_QUERIES: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_PLSQL_STORED_PROCEDURE_QUERIES; - case EclipseLinkOrmV2_3Package.XML_ENTITY_MAPPINGS_23__PLSQL_RECORDS: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PLSQL_RECORDS; - case EclipseLinkOrmV2_3Package.XML_ENTITY_MAPPINGS_23__PLSQL_TABLES: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PLSQL_TABLES; - default: return -1; - } - } - if (baseClass == XmlEntityMappings_2_4.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_4Package.XML_ENTITY_MAPPINGS_24__UUID_GENERATORS: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__UUID_GENERATORS; - default: return -1; - } - } - if (baseClass == XmlConverterContainer.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__CONVERTERS: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__CONVERTERS; - case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__TYPE_CONVERTERS; - case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__OBJECT_TYPE_CONVERTERS; - case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__STRUCT_CONVERTERS; - default: return -1; - } - } - if (baseClass == XmlQueryContainer.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_QUERY_CONTAINER__NAMED_STORED_PROCEDURE_QUERIES: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__NAMED_STORED_PROCEDURE_QUERIES; - default: return -1; - } - } - return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass); - } - - - // ********** version -> schema location mapping ********** - - public static final HashMap SCHEMA_LOCATIONS = buildSchemaLocations(); - - private static HashMap buildSchemaLocations() { - HashMap map = new HashMap(); - map.put(EclipseLink.SCHEMA_VERSION, EclipseLink.SCHEMA_LOCATION); - map.put(EclipseLink1_1.SCHEMA_VERSION, EclipseLink1_1.SCHEMA_LOCATION); - map.put(EclipseLink1_2.SCHEMA_VERSION, EclipseLink1_2.SCHEMA_LOCATION); - map.put(EclipseLink2_0.SCHEMA_VERSION, EclipseLink2_0.SCHEMA_LOCATION); - map.put(EclipseLink2_1.SCHEMA_VERSION, EclipseLink2_1.SCHEMA_LOCATION); - map.put(EclipseLink2_2.SCHEMA_VERSION, EclipseLink2_2.SCHEMA_LOCATION); - map.put(EclipseLink2_3.SCHEMA_VERSION, EclipseLink2_3.SCHEMA_LOCATION); - map.put(EclipseLink2_4.SCHEMA_VERSION, EclipseLink2_4.SCHEMA_LOCATION); - map.put(EclipseLink2_5.SCHEMA_VERSION, EclipseLink2_5.SCHEMA_LOCATION); - return map; - } - - @Override - protected String getNamespace() { - return EclipseLink.SCHEMA_NAMESPACE; - } - - @Override - protected HashMap schemaLocations() { - return SCHEMA_LOCATIONS; - } - - - // ********** content/resource type ********** - - /** - * The content type for eclipselink-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/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlFetchAttribute.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlFetchAttribute.java deleted file mode 100644 index fe964a2c0e..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlFetchAttribute.java +++ /dev/null @@ -1,214 +0,0 @@ -/******************************************************************************* - * 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/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlFetchGroup.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlFetchGroup.java deleted file mode 100644 index d95739c98e..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlFetchGroup.java +++ /dev/null @@ -1,360 +0,0 @@ -/******************************************************************************* - * 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 attributes; - - /** - * - * - * @generated - */ - protected XmlFetchGroup() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_FETCH_GROUP; - } - - /** - * 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#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 getAttributes() - { - if (attributes == null) - { - attributes = new EObjectContainmentEList(XmlFetchAttribute.class, this, EclipseLinkOrmPackage.XML_FETCH_GROUP__ATTRIBUTES); - } - return attributes; - } - - /** - * Returns the value of the 'Load' attribute. - * - *

- * 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)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/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlField.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlField.java deleted file mode 100644 index cc9ed7f17f..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlField.java +++ /dev/null @@ -1,220 +0,0 @@ -/******************************************************************************* - * 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/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlHashPartitioning.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlHashPartitioning.java deleted file mode 100644 index a3b5f4b7fc..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlHashPartitioning.java +++ /dev/null @@ -1,219 +0,0 @@ -/******************************************************************************* - * 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/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlId.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlId.java deleted file mode 100644 index a37cb0c8fd..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlId.java +++ /dev/null @@ -1,1323 +0,0 @@ -/******************************************************************************* - * 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 properties; - - /** - * The default value of the '{@link #getAttributeType() Attribute Type}' attribute. - * - * - * @see #getAttributeType() - * @generated - * @ordered - */ - protected static final String ATTRIBUTE_TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getAttributeType() Attribute Type}' attribute. - * - * - * @see #getAttributeType() - * @generated - * @ordered - */ - protected String attributeType = ATTRIBUTE_TYPE_EDEFAULT; - - /** - * The default value of the '{@link #getMutable() Mutable}' attribute. - * - * - * @see #getMutable() - * @generated - * @ordered - */ - protected static final Boolean MUTABLE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getMutable() Mutable}' attribute. - * - * - * @see #getMutable() - * @generated - * @ordered - */ - protected Boolean mutable = MUTABLE_EDEFAULT; - - /** - * The default value of the '{@link #getConvert() Convert}' attribute. - * - * - * @see #getConvert() - * @generated - * @ordered - */ - protected static final String CONVERT_EDEFAULT = null; - - /** - * The cached value of the '{@link #getConvert() Convert}' attribute. - * - * - * @see #getConvert() - * @generated - * @ordered - */ - protected String convert = CONVERT_EDEFAULT; - - /** - * The cached value of the '{@link #getConverters() Converters}' containment reference list. - * - * - * @see #getConverters() - * @generated - * @ordered - */ - protected EList converters; - - /** - * The cached value of the '{@link #getTypeConverters() Type Converters}' containment reference list. - * - * - * @see #getTypeConverters() - * @generated - * @ordered - */ - protected EList typeConverters; - - /** - * The cached value of the '{@link #getObjectTypeConverters() Object Type Converters}' containment reference list. - * - * - * @see #getObjectTypeConverters() - * @generated - * @ordered - */ - protected EList objectTypeConverters; - - /** - * The cached value of the '{@link #getStructConverters() Struct Converters}' containment reference list. - * - * - * @see #getStructConverters() - * @generated - * @ordered - */ - protected EList structConverters; - - /** - * - * - * @generated - */ - protected XmlId() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_ID; - } - - /** - * 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.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 getConverters() - { - if (converters == null) - { - converters = new EObjectContainmentEList(XmlConverter.class, this, EclipseLinkOrmPackage.XML_ID__CONVERTERS); - } - return converters; - } - - /** - * Returns the value of the 'Type Converters' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter}. - * - *

- * 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 getTypeConverters() - { - if (typeConverters == null) - { - typeConverters = new EObjectContainmentEList(XmlTypeConverter.class, this, EclipseLinkOrmPackage.XML_ID__TYPE_CONVERTERS); - } - return typeConverters; - } - - /** - * Returns the value of the 'Object Type Converters' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter}. - * - *

- * 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 getObjectTypeConverters() - { - if (objectTypeConverters == null) - { - objectTypeConverters = new EObjectContainmentEList(XmlObjectTypeConverter.class, this, EclipseLinkOrmPackage.XML_ID__OBJECT_TYPE_CONVERTERS); - } - return objectTypeConverters; - } - - /** - * Returns the value of the 'Struct Converters' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructConverter}. - * - *

- * 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 getStructConverters() - { - if (structConverters == null) - { - structConverters = new EObjectContainmentEList(XmlStructConverter.class, this, EclipseLinkOrmPackage.XML_ID__STRUCT_CONVERTERS); - } - return structConverters; - } - - /** - * 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_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 getProperties() - { - if (properties == null) - { - properties = new EObjectContainmentEList(XmlProperty.class, this, EclipseLinkOrmPackage.XML_ID__PROPERTIES); - } - return properties; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_ID__INDEX: - return basicSetIndex(null, msgs); - case EclipseLinkOrmPackage.XML_ID__UUID_GENERATOR: - return basicSetUuidGenerator(null, msgs); - case EclipseLinkOrmPackage.XML_ID__FIELD: - return basicSetField(null, msgs); - case EclipseLinkOrmPackage.XML_ID__CACHE_INDEX: - return basicSetCacheIndex(null, msgs); - case EclipseLinkOrmPackage.XML_ID__ACCESS_METHODS: - return basicSetAccessMethods(null, msgs); - case EclipseLinkOrmPackage.XML_ID__PROPERTIES: - return ((InternalEList)getProperties()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_ID__CONVERTERS: - return ((InternalEList)getConverters()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_ID__TYPE_CONVERTERS: - return ((InternalEList)getTypeConverters()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_ID__OBJECT_TYPE_CONVERTERS: - return ((InternalEList)getObjectTypeConverters()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_ID__STRUCT_CONVERTERS: - return ((InternalEList)getStructConverters()).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_ID__INDEX: - return getIndex(); - case EclipseLinkOrmPackage.XML_ID__UUID_GENERATOR: - return getUuidGenerator(); - case EclipseLinkOrmPackage.XML_ID__FIELD: - return getField(); - case EclipseLinkOrmPackage.XML_ID__CACHE_INDEX: - return getCacheIndex(); - case EclipseLinkOrmPackage.XML_ID__ACCESS_METHODS: - return getAccessMethods(); - case EclipseLinkOrmPackage.XML_ID__PROPERTIES: - return getProperties(); - case EclipseLinkOrmPackage.XML_ID__ATTRIBUTE_TYPE: - return getAttributeType(); - case EclipseLinkOrmPackage.XML_ID__MUTABLE: - return getMutable(); - case EclipseLinkOrmPackage.XML_ID__CONVERT: - return getConvert(); - case EclipseLinkOrmPackage.XML_ID__CONVERTERS: - return getConverters(); - case EclipseLinkOrmPackage.XML_ID__TYPE_CONVERTERS: - return getTypeConverters(); - case EclipseLinkOrmPackage.XML_ID__OBJECT_TYPE_CONVERTERS: - return getObjectTypeConverters(); - case EclipseLinkOrmPackage.XML_ID__STRUCT_CONVERTERS: - return getStructConverters(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_ID__INDEX: - setIndex((XmlIndex_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_ID__UUID_GENERATOR: - setUuidGenerator((XmlUuidGenerator_2_4)newValue); - return; - case EclipseLinkOrmPackage.XML_ID__FIELD: - setField((XmlField_2_4)newValue); - return; - case EclipseLinkOrmPackage.XML_ID__CACHE_INDEX: - setCacheIndex((XmlCacheIndex_2_4)newValue); - return; - case EclipseLinkOrmPackage.XML_ID__ACCESS_METHODS: - setAccessMethods((XmlAccessMethods)newValue); - return; - case EclipseLinkOrmPackage.XML_ID__PROPERTIES: - getProperties().clear(); - getProperties().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ID__ATTRIBUTE_TYPE: - setAttributeType((String)newValue); - return; - case EclipseLinkOrmPackage.XML_ID__MUTABLE: - setMutable((Boolean)newValue); - return; - case EclipseLinkOrmPackage.XML_ID__CONVERT: - setConvert((String)newValue); - return; - case EclipseLinkOrmPackage.XML_ID__CONVERTERS: - getConverters().clear(); - getConverters().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ID__TYPE_CONVERTERS: - getTypeConverters().clear(); - getTypeConverters().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ID__OBJECT_TYPE_CONVERTERS: - getObjectTypeConverters().clear(); - getObjectTypeConverters().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ID__STRUCT_CONVERTERS: - getStructConverters().clear(); - getStructConverters().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_ID__INDEX: - setIndex((XmlIndex_2_2)null); - return; - case EclipseLinkOrmPackage.XML_ID__UUID_GENERATOR: - setUuidGenerator((XmlUuidGenerator_2_4)null); - return; - case EclipseLinkOrmPackage.XML_ID__FIELD: - setField((XmlField_2_4)null); - return; - case EclipseLinkOrmPackage.XML_ID__CACHE_INDEX: - setCacheIndex((XmlCacheIndex_2_4)null); - return; - case EclipseLinkOrmPackage.XML_ID__ACCESS_METHODS: - setAccessMethods((XmlAccessMethods)null); - return; - case EclipseLinkOrmPackage.XML_ID__PROPERTIES: - getProperties().clear(); - return; - case EclipseLinkOrmPackage.XML_ID__ATTRIBUTE_TYPE: - setAttributeType(ATTRIBUTE_TYPE_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_ID__MUTABLE: - setMutable(MUTABLE_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_ID__CONVERT: - setConvert(CONVERT_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_ID__CONVERTERS: - getConverters().clear(); - return; - case EclipseLinkOrmPackage.XML_ID__TYPE_CONVERTERS: - getTypeConverters().clear(); - return; - case EclipseLinkOrmPackage.XML_ID__OBJECT_TYPE_CONVERTERS: - getObjectTypeConverters().clear(); - return; - case EclipseLinkOrmPackage.XML_ID__STRUCT_CONVERTERS: - getStructConverters().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_ID__INDEX: - return index != null; - case EclipseLinkOrmPackage.XML_ID__UUID_GENERATOR: - return uuidGenerator != null; - case EclipseLinkOrmPackage.XML_ID__FIELD: - return field != null; - case EclipseLinkOrmPackage.XML_ID__CACHE_INDEX: - return cacheIndex != null; - case EclipseLinkOrmPackage.XML_ID__ACCESS_METHODS: - return accessMethods != null; - case EclipseLinkOrmPackage.XML_ID__PROPERTIES: - return properties != null && !properties.isEmpty(); - case EclipseLinkOrmPackage.XML_ID__ATTRIBUTE_TYPE: - return ATTRIBUTE_TYPE_EDEFAULT == null ? attributeType != null : !ATTRIBUTE_TYPE_EDEFAULT.equals(attributeType); - case EclipseLinkOrmPackage.XML_ID__MUTABLE: - return MUTABLE_EDEFAULT == null ? mutable != null : !MUTABLE_EDEFAULT.equals(mutable); - case EclipseLinkOrmPackage.XML_ID__CONVERT: - return CONVERT_EDEFAULT == null ? convert != null : !CONVERT_EDEFAULT.equals(convert); - case EclipseLinkOrmPackage.XML_ID__CONVERTERS: - return converters != null && !converters.isEmpty(); - case EclipseLinkOrmPackage.XML_ID__TYPE_CONVERTERS: - return typeConverters != null && !typeConverters.isEmpty(); - case EclipseLinkOrmPackage.XML_ID__OBJECT_TYPE_CONVERTERS: - return objectTypeConverters != null && !objectTypeConverters.isEmpty(); - case EclipseLinkOrmPackage.XML_ID__STRUCT_CONVERTERS: - return structConverters != null && !structConverters.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public int eBaseStructuralFeatureID(int derivedFeatureID, Class baseClass) - { - if (baseClass == XmlId_2_2.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ID__INDEX: return EclipseLinkOrmV2_2Package.XML_ID_22__INDEX; - default: return -1; - } - } - if (baseClass == XmlGeneratorContainer2_4.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ID__UUID_GENERATOR: return EclipseLinkOrmV2_4Package.XML_GENERATOR_CONTAINER2_4__UUID_GENERATOR; - default: return -1; - } - } - if (baseClass == XmlId_2_4.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ID__FIELD: return EclipseLinkOrmV2_4Package.XML_ID_24__FIELD; - case EclipseLinkOrmPackage.XML_ID__CACHE_INDEX: return EclipseLinkOrmV2_4Package.XML_ID_24__CACHE_INDEX; - default: return -1; - } - } - if (baseClass == XmlAccessMethodsHolder.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ID__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS; - default: return -1; - } - } - if (baseClass == XmlPropertyContainer.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ID__PROPERTIES: return EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES; - default: return -1; - } - } - if (baseClass == XmlAttributeMapping.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ID__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE; - default: return -1; - } - } - if (baseClass == XmlMutable.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ID__MUTABLE: return EclipseLinkOrmPackage.XML_MUTABLE__MUTABLE; - default: return -1; - } - } - if (baseClass == XmlConvertibleMapping.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ID__CONVERT: return EclipseLinkOrmPackage.XML_CONVERTIBLE_MAPPING__CONVERT; - default: return -1; - } - } - if (baseClass == XmlConverterContainer.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ID__CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__CONVERTERS; - case EclipseLinkOrmPackage.XML_ID__TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__TYPE_CONVERTERS; - case EclipseLinkOrmPackage.XML_ID__OBJECT_TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS; - case EclipseLinkOrmPackage.XML_ID__STRUCT_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS; - default: return -1; - } - } - return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); - } - - /** - * - * - * @generated - */ - @Override - public int eDerivedStructuralFeatureID(int baseFeatureID, Class baseClass) - { - if (baseClass == XmlId_2_2.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_2Package.XML_ID_22__INDEX: return EclipseLinkOrmPackage.XML_ID__INDEX; - default: return -1; - } - } - if (baseClass == XmlGeneratorContainer2_4.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_4Package.XML_GENERATOR_CONTAINER2_4__UUID_GENERATOR: return EclipseLinkOrmPackage.XML_ID__UUID_GENERATOR; - default: return -1; - } - } - if (baseClass == XmlId_2_4.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_4Package.XML_ID_24__FIELD: return EclipseLinkOrmPackage.XML_ID__FIELD; - case EclipseLinkOrmV2_4Package.XML_ID_24__CACHE_INDEX: return EclipseLinkOrmPackage.XML_ID__CACHE_INDEX; - default: return -1; - } - } - if (baseClass == XmlAccessMethodsHolder.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ID__ACCESS_METHODS; - default: return -1; - } - } - if (baseClass == XmlPropertyContainer.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES: return EclipseLinkOrmPackage.XML_ID__PROPERTIES; - default: return -1; - } - } - if (baseClass == XmlAttributeMapping.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_ID__ATTRIBUTE_TYPE; - default: return -1; - } - } - if (baseClass == XmlMutable.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_MUTABLE__MUTABLE: return EclipseLinkOrmPackage.XML_ID__MUTABLE; - default: return -1; - } - } - if (baseClass == XmlConvertibleMapping.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_CONVERTIBLE_MAPPING__CONVERT: return EclipseLinkOrmPackage.XML_ID__CONVERT; - default: return -1; - } - } - if (baseClass == XmlConverterContainer.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__CONVERTERS: return EclipseLinkOrmPackage.XML_ID__CONVERTERS; - case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_ID__TYPE_CONVERTERS; - case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_ID__OBJECT_TYPE_CONVERTERS; - case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS: return EclipseLinkOrmPackage.XML_ID__STRUCT_CONVERTERS; - 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(", mutable: "); - result.append(mutable); - result.append(", convert: "); - result.append(convert); - result.append(')'); - return result.toString(); - } - - public TextRange getMutableTextRange() { - return getAttributeTextRange(EclipseLink.MUTABLE); - } - - 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.getXmlId(), - buildTranslatorChildren()); - } - - private static Translator[] buildTranslatorChildren() { - return new Translator[] { - buildNameTranslator(), - buildAccessTranslator(), - buildMutableTranslator(), - buildAttributeTypeTranslator(), - buildColumnTranslator(), - buildFieldTranslator(), - buildIndexTranslator(), - buildCacheIndexTranslator(), - buildGeneratedValueTranslator(), - buildTemporalTranslator(), - buildEnumeratedTranslator(), - buildConvertTranslator(), - buildConverterTranslator(), - buildTypeConverterTranslator(), - buildObjectTypeConverterTranslator(), - buildStructConverterTranslator(), - buildTableGeneratorTranslator(), - buildSequenceGeneratorTranslator(), - buildUuidGeneratorTranslator(), - buildPropertyTranslator(), - buildAccessMethodsTranslator() - }; - } - - protected static Translator buildMutableTranslator() { - return new Translator(EclipseLink.MUTABLE, EclipseLinkOrmPackage.eINSTANCE.getXmlMutable_Mutable(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildIndexTranslator() { - return XmlIndex.buildTranslator(EclipseLink2_2.INDEX, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlId_2_2_Index()); - } - - protected static Translator buildCacheIndexTranslator() { - return XmlCacheIndex.buildTranslator(EclipseLink2_4.CACHE_INDEX, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlId_2_4_CacheIndex()); - } - - 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 buildAttributeTypeTranslator() { - return new Translator(EclipseLink2_1.ATTRIBUTE_TYPE, EclipseLinkOrmPackage.eINSTANCE.getXmlAttributeMapping_AttributeType(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildEnumeratedTranslator() { - return new Translator(JPA.ENUMERATED, OrmPackage.eINSTANCE.getXmlConvertibleMapping_Enumerated()); - } - - protected static Translator buildTableGeneratorTranslator() { - return XmlTableGenerator.buildTranslator(JPA.TABLE_GENERATOR, OrmPackage.eINSTANCE.getXmlGeneratorContainer_TableGenerator()); - } - - protected static Translator buildFieldTranslator() { - return XmlField.buildTranslator(EclipseLink2_4.FIELD, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlId_2_4_Field()); - } - - protected static Translator buildUuidGeneratorTranslator() { - return XmlUuidGenerator.buildTranslator(EclipseLink2_4.UUID_GENERATOR, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlGeneratorContainer2_4_UuidGenerator()); - } - - - // *********** content assist ************ - - protected TextRange getConvertCodeAssistTextRange() { - return getElementCodeAssistTextRange(EclipseLink.CONVERT); - } - - public boolean convertTouches(int pos) { - TextRange textRange = this.getConvertCodeAssistTextRange(); - return (textRange != null) && (textRange.touches(pos)); - } - - // ******** 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/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlIndex.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlIndex.java deleted file mode 100644 index 8bd9c1cbd4..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlIndex.java +++ /dev/null @@ -1,563 +0,0 @@ -/******************************************************************************* - * 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.util.EList; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.util.EDataTypeEList; -import org.eclipse.jpt.common.core.internal.utility.translators.BooleanTranslator; -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.XmlIndex_2_2; -import org.eclipse.wst.common.internal.emf.resource.Translator; - -/** - * - * A representation of the model object 'Xml Index'. - * - * 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#getXmlIndex() - * @model kind="class" - * @generated - */ -public class XmlIndex extends EBaseObjectImpl implements XmlIndex_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; - - /** - * The default value of the '{@link #getSchema() Schema}' attribute. - * - * - * @see #getSchema() - * @generated - * @ordered - */ - protected static final String SCHEMA_EDEFAULT = null; - - /** - * The cached value of the '{@link #getSchema() Schema}' attribute. - * - * - * @see #getSchema() - * @generated - * @ordered - */ - protected String schema = SCHEMA_EDEFAULT; - - /** - * The default value of the '{@link #getCatalog() Catalog}' attribute. - * - * - * @see #getCatalog() - * @generated - * @ordered - */ - protected static final String CATALOG_EDEFAULT = null; - - /** - * The cached value of the '{@link #getCatalog() Catalog}' attribute. - * - * - * @see #getCatalog() - * @generated - * @ordered - */ - protected String catalog = CATALOG_EDEFAULT; - - /** - * The default value of the '{@link #getTable() Table}' attribute. - * - * - * @see #getTable() - * @generated - * @ordered - */ - protected static final String TABLE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getTable() Table}' attribute. - * - * - * @see #getTable() - * @generated - * @ordered - */ - protected String table = TABLE_EDEFAULT; - - /** - * The default value of the '{@link #getUnique() Unique}' attribute. - * - * - * @see #getUnique() - * @generated - * @ordered - */ - protected static final Boolean UNIQUE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getUnique() Unique}' attribute. - * - * - * @see #getUnique() - * @generated - * @ordered - */ - protected Boolean unique = UNIQUE_EDEFAULT; - - /** - * The cached value of the '{@link #getColumnNames() Column Names}' attribute list. - * - * - * @see #getColumnNames() - * @generated - * @ordered - */ - protected EList columnNames; - - /** - * - * - * @generated - */ - protected XmlIndex() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_INDEX; - } - - /** - * 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#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 getColumnNames() - { - if (columnNames == null) - { - columnNames = new EDataTypeEList(String.class, this, EclipseLinkOrmPackage.XML_INDEX__COLUMN_NAMES); - } - return columnNames; - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_INDEX__NAME: - return getName(); - case EclipseLinkOrmPackage.XML_INDEX__SCHEMA: - return getSchema(); - case EclipseLinkOrmPackage.XML_INDEX__CATALOG: - return getCatalog(); - case EclipseLinkOrmPackage.XML_INDEX__TABLE: - return getTable(); - case EclipseLinkOrmPackage.XML_INDEX__UNIQUE: - return getUnique(); - case EclipseLinkOrmPackage.XML_INDEX__COLUMN_NAMES: - return getColumnNames(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_INDEX__NAME: - setName((String)newValue); - return; - case EclipseLinkOrmPackage.XML_INDEX__SCHEMA: - setSchema((String)newValue); - return; - case EclipseLinkOrmPackage.XML_INDEX__CATALOG: - setCatalog((String)newValue); - return; - case EclipseLinkOrmPackage.XML_INDEX__TABLE: - setTable((String)newValue); - return; - case EclipseLinkOrmPackage.XML_INDEX__UNIQUE: - setUnique((Boolean)newValue); - return; - case EclipseLinkOrmPackage.XML_INDEX__COLUMN_NAMES: - getColumnNames().clear(); - getColumnNames().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_INDEX__NAME: - setName(NAME_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_INDEX__SCHEMA: - setSchema(SCHEMA_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_INDEX__CATALOG: - setCatalog(CATALOG_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_INDEX__TABLE: - setTable(TABLE_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_INDEX__UNIQUE: - setUnique(UNIQUE_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_INDEX__COLUMN_NAMES: - getColumnNames().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_INDEX__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case EclipseLinkOrmPackage.XML_INDEX__SCHEMA: - return SCHEMA_EDEFAULT == null ? schema != null : !SCHEMA_EDEFAULT.equals(schema); - case EclipseLinkOrmPackage.XML_INDEX__CATALOG: - return CATALOG_EDEFAULT == null ? catalog != null : !CATALOG_EDEFAULT.equals(catalog); - case EclipseLinkOrmPackage.XML_INDEX__TABLE: - return TABLE_EDEFAULT == null ? table != null : !TABLE_EDEFAULT.equals(table); - case EclipseLinkOrmPackage.XML_INDEX__UNIQUE: - return UNIQUE_EDEFAULT == null ? unique != null : !UNIQUE_EDEFAULT.equals(unique); - case EclipseLinkOrmPackage.XML_INDEX__COLUMN_NAMES: - return columnNames != null && !columnNames.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(", schema: "); - result.append(schema); - result.append(", catalog: "); - result.append(catalog); - result.append(", table: "); - result.append(table); - result.append(", unique: "); - result.append(unique); - result.append(", columnNames: "); - result.append(columnNames); - result.append(')'); - return result.toString(); - } - - - // ********** translators ********** - - public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) { - return new SimpleTranslator( - elementName, - structuralFeature, - EclipseLinkOrmPackage.eINSTANCE.getXmlIndex(), - buildTranslatorChildren()); - } - - private static Translator[] buildTranslatorChildren() { - return new Translator[] { - buildColumnNameTranslator(), - buildNameTranslator(), - buildCatalogTranslator(), - buildSchemaTranslator(), - buildTableTranslator(), - buildUniqueTranslator() - }; - } - - protected static Translator buildColumnNameTranslator() { - return new Translator(EclipseLink2_2.INDEX__COLUMN_NAME, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlIndex_2_2_ColumnNames()); - } - protected static Translator buildNameTranslator() { - return new Translator(EclipseLink2_2.INDEX__NAME, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlIndex_2_2_Name(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildCatalogTranslator() { - return new Translator(EclipseLink2_2.INDEX__CATALOG, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlIndex_2_2_Catalog(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildSchemaTranslator() { - return new Translator(EclipseLink2_2.INDEX__SCHEMA, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlIndex_2_2_Schema(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildTableTranslator() { - return new Translator(EclipseLink2_2.INDEX__TABLE, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlIndex_2_2_Table(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildUniqueTranslator() { - return new BooleanTranslator(EclipseLink2_2.INDEX__UNIQUE, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlIndex_2_2_Unique(), Translator.DOM_ATTRIBUTE); - } -} // XmlIndex diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlInstantiationCopyPolicy.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlInstantiationCopyPolicy.java deleted file mode 100644 index 5a1597012e..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlInstantiationCopyPolicy.java +++ /dev/null @@ -1,74 +0,0 @@ -/******************************************************************************* - * 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.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; -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 Instantiation 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 - * - * - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlInstantiationCopyPolicy() - * @model kind="class" - * @extends EBaseObject - * @generated - */ -public class XmlInstantiationCopyPolicy extends EBaseObjectImpl implements EBaseObject -{ - /** - * - * - * @generated - */ - protected XmlInstantiationCopyPolicy() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_INSTANTIATION_COPY_POLICY; - } - - // ********** translators ********** - - public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) { - return new SimpleTranslator(elementName, structuralFeature, buildTranslatorChildren()); - } - - private static Translator[] buildTranslatorChildren() { - return new Translator[] {}; - } - -} // XmlInstantiationPolicy diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlJoinFetch.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlJoinFetch.java deleted file mode 100644 index 9135955dd6..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlJoinFetch.java +++ /dev/null @@ -1,79 +0,0 @@ -/******************************************************************************* - * 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; -import org.eclipse.jpt.common.core.utility.TextRange; - -/** - * - * - * A representation of the model object 'Xml Join 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.1 - * @since 2.1 - * - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinFetch#getJoinFetch Join Fetch}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlJoinFetch() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlJoinFetch extends EBaseObject -{ - /** - * 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 - */ - 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/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlJoinFetchType.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlJoinFetchType.java deleted file mode 100644 index aa19b9044f..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlJoinFetchType.java +++ /dev/null @@ -1,242 +0,0 @@ -/******************************************************************************* - * 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 VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the 'Xml Join Fetch Type' literal with the specified literal value. - * - * - * @generated - */ - public static XmlJoinFetchType get(String literal) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - XmlJoinFetchType result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) - { - return result; - } - } - return null; - } - - /** - * Returns the 'Xml Join Fetch Type' literal with the specified name. - * - * - * @generated - */ - public static XmlJoinFetchType getByName(String name) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - XmlJoinFetchType result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) - { - return result; - } - } - return null; - } - - /** - * Returns the 'Xml Join Fetch Type' literal with the specified integer value. - * - * - * @generated - */ - public static XmlJoinFetchType get(int value) - { - switch (value) - { - case INNER_VALUE: return INNER; - case OUTER_VALUE: return OUTER; - } - return null; - } - - /** - * - * - * @generated - */ - private final int value; - - /** - * - * - * @generated - */ - private final String name; - - /** - * - * - * @generated - */ - private final String literal; - - /** - * Only this class can construct instances. - * - * - * @generated - */ - private XmlJoinFetchType(int value, String name, String literal) - { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * - * - * @generated - */ - public int getValue() - { - return value; - } - - /** - * - * - * @generated - */ - public String getName() - { - return name; - } - - /** - * - * - * @generated - */ - public String getLiteral() - { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * - * - * @generated - */ - @Override - public String toString() - { - return literal; - } - -} //XmlJoinFetchType diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlJoinField.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlJoinField.java deleted file mode 100644 index c1904bf79c..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlJoinField.java +++ /dev/null @@ -1,291 +0,0 @@ -/******************************************************************************* - * 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.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.wst.common.internal.emf.resource.Translator; - -/** - * - * A representation of the model object 'Xml Join 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#getXmlJoinField() - * @model kind="class" - * @generated - */ -public class XmlJoinField extends EBaseObjectImpl implements XmlJoinField_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; - - /** - * The default value of the '{@link #getReferencedFieldName() Referenced Field Name}' attribute. - * - * - * @see #getReferencedFieldName() - * @generated - * @ordered - */ - protected static final String REFERENCED_FIELD_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getReferencedFieldName() Referenced Field Name}' attribute. - * - * - * @see #getReferencedFieldName() - * @generated - * @ordered - */ - protected String referencedFieldName = REFERENCED_FIELD_NAME_EDEFAULT; - - /** - * - * - * @generated - */ - protected XmlJoinField() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_JOIN_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#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/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlJoinTable.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlJoinTable.java deleted file mode 100644 index 2130b58880..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlJoinTable.java +++ /dev/null @@ -1,262 +0,0 @@ -/******************************************************************************* - * 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/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlManyToMany.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlManyToMany.java deleted file mode 100644 index 685591f9fd..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlManyToMany.java +++ /dev/null @@ -1,2129 +0,0 @@ -/******************************************************************************* - * 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 mapKeyAssociationOverrides; - - /** - * The cached value of the '{@link #getConverters() Converters}' containment reference list. - * - * - * @see #getConverters() - * @generated - * @ordered - */ - protected EList converters; - - /** - * The cached value of the '{@link #getTypeConverters() Type Converters}' containment reference list. - * - * - * @see #getTypeConverters() - * @generated - * @ordered - */ - protected EList typeConverters; - - /** - * The cached value of the '{@link #getObjectTypeConverters() Object Type Converters}' containment reference list. - * - * - * @see #getObjectTypeConverters() - * @generated - * @ordered - */ - protected EList objectTypeConverters; - - /** - * The cached value of the '{@link #getStructConverters() Struct Converters}' containment reference list. - * - * - * @see #getStructConverters() - * @generated - * @ordered - */ - protected EList structConverters; - - /** - * The default value of the '{@link #getMapKeyConvert() Map Key Convert}' attribute. - * - * - * @see #getMapKeyConvert() - * @generated - * @ordered - */ - protected static final String MAP_KEY_CONVERT_EDEFAULT = null; - - /** - * The cached value of the '{@link #getMapKeyConvert() Map Key Convert}' attribute. - * - * - * @see #getMapKeyConvert() - * @generated - * @ordered - */ - protected String mapKeyConvert = MAP_KEY_CONVERT_EDEFAULT; - - /** - * The cached value of the '{@link #getBatchFetch() Batch Fetch}' containment reference. - * - * - * @see #getBatchFetch() - * @generated - * @ordered - */ - protected XmlBatchFetch batchFetch; - - /** - * The cached value of the '{@link #getPartitioning() Partitioning}' containment reference. - * - * - * @see #getPartitioning() - * @generated - * @ordered - */ - protected XmlPartitioning_2_2 partitioning; - - /** - * The cached value of the '{@link #getReplicationPartitioning() Replication Partitioning}' containment reference. - * - * - * @see #getReplicationPartitioning() - * @generated - * @ordered - */ - protected XmlReplicationPartitioning_2_2 replicationPartitioning; - - /** - * The cached value of the '{@link #getRoundRobinPartitioning() Round Robin Partitioning}' containment reference. - * - * - * @see #getRoundRobinPartitioning() - * @generated - * @ordered - */ - protected XmlRoundRobinPartitioning_2_2 roundRobinPartitioning; - - /** - * The cached value of the '{@link #getPinnedPartitioning() Pinned Partitioning}' containment reference. - * - * - * @see #getPinnedPartitioning() - * @generated - * @ordered - */ - protected XmlPinnedPartitioning_2_2 pinnedPartitioning; - - /** - * The cached value of the '{@link #getRangePartitioning() Range Partitioning}' containment reference. - * - * - * @see #getRangePartitioning() - * @generated - * @ordered - */ - protected XmlRangePartitioning_2_2 rangePartitioning; - - /** - * The cached value of the '{@link #getValuePartitioning() Value Partitioning}' containment reference. - * - * - * @see #getValuePartitioning() - * @generated - * @ordered - */ - protected XmlValuePartitioning_2_2 valuePartitioning; - - /** - * The cached value of the '{@link #getHashPartitioning() Hash Partitioning}' containment reference. - * - * - * @see #getHashPartitioning() - * @generated - * @ordered - */ - protected XmlHashPartitioning_2_2 hashPartitioning; - - /** - * The cached value of the '{@link #getUnionPartitioning() Union Partitioning}' containment reference. - * - * - * @see #getUnionPartitioning() - * @generated - * @ordered - */ - protected XmlUnionPartitioning_2_2 unionPartitioning; - - /** - * The default value of the '{@link #getPartitioned() Partitioned}' attribute. - * - * - * @see #getPartitioned() - * @generated - * @ordered - */ - protected static final String PARTITIONED_EDEFAULT = null; - - /** - * The cached value of the '{@link #getPartitioned() Partitioned}' attribute. - * - * - * @see #getPartitioned() - * @generated - * @ordered - */ - protected String partitioned = PARTITIONED_EDEFAULT; - - /** - * The default value of the '{@link #getCascadeOnDelete() Cascade On Delete}' attribute. - * - * - * @see #getCascadeOnDelete() - * @generated - * @ordered - */ - protected static final Boolean CASCADE_ON_DELETE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getCascadeOnDelete() Cascade On Delete}' attribute. - * - * - * @see #getCascadeOnDelete() - * @generated - * @ordered - */ - protected Boolean cascadeOnDelete = CASCADE_ON_DELETE_EDEFAULT; - - /** - * The default value of the '{@link #isNonCacheable() Non Cacheable}' attribute. - * - * - * @see #isNonCacheable() - * @generated - * @ordered - */ - protected static final boolean NON_CACHEABLE_EDEFAULT = false; - - /** - * The cached value of the '{@link #isNonCacheable() Non Cacheable}' attribute. - * - * - * @see #isNonCacheable() - * @generated - * @ordered - */ - protected boolean nonCacheable = NON_CACHEABLE_EDEFAULT; - - /** - * The cached value of the '{@link #getJoinFields() Join Fields}' containment reference list. - * - * - * @see #getJoinFields() - * @generated - * @ordered - */ - protected EList joinFields; - - /** - * 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 properties; - - /** - * The default value of the '{@link #getAttributeType() Attribute Type}' attribute. - * - * - * @see #getAttributeType() - * @generated - * @ordered - */ - protected static final String ATTRIBUTE_TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getAttributeType() Attribute Type}' attribute. - * - * - * @see #getAttributeType() - * @generated - * @ordered - */ - protected String attributeType = ATTRIBUTE_TYPE_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 XmlJoinFetchType JOIN_FETCH_EDEFAULT = null; - - /** - * The cached value of the '{@link #getJoinFetch() Join Fetch}' attribute. - * - * - * @see #getJoinFetch() - * @generated - * @ordered - */ - protected XmlJoinFetchType joinFetch = JOIN_FETCH_EDEFAULT; - - /** - * - * - * @generated - */ - protected XmlManyToMany() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_MANY_TO_MANY; - } - - /** - * 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.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 getMapKeyAssociationOverrides() - { - if (mapKeyAssociationOverrides == null) - { - mapKeyAssociationOverrides = new EObjectContainmentEList(XmlAssociationOverride.class, this, EclipseLinkOrmPackage.XML_MANY_TO_MANY__MAP_KEY_ASSOCIATION_OVERRIDES); - } - return mapKeyAssociationOverrides; - } - - /** - * Returns the value of the 'Map Key Convert' attribute. - * - *

- * 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 getConverters() - { - if (converters == null) - { - converters = new EObjectContainmentEList(XmlConverter.class, this, EclipseLinkOrmPackage.XML_MANY_TO_MANY__CONVERTERS); - } - return converters; - } - - /** - * Returns the value of the 'Type Converters' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter}. - * - *

- * 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 getTypeConverters() - { - if (typeConverters == null) - { - typeConverters = new EObjectContainmentEList(XmlTypeConverter.class, this, EclipseLinkOrmPackage.XML_MANY_TO_MANY__TYPE_CONVERTERS); - } - return typeConverters; - } - - /** - * Returns the value of the 'Object Type Converters' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter}. - * - *

- * 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 getObjectTypeConverters() - { - if (objectTypeConverters == null) - { - objectTypeConverters = new EObjectContainmentEList(XmlObjectTypeConverter.class, this, EclipseLinkOrmPackage.XML_MANY_TO_MANY__OBJECT_TYPE_CONVERTERS); - } - return objectTypeConverters; - } - - /** - * Returns the value of the 'Struct Converters' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructConverter}. - * - *

- * 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 getStructConverters() - { - if (structConverters == null) - { - structConverters = new EObjectContainmentEList(XmlStructConverter.class, this, EclipseLinkOrmPackage.XML_MANY_TO_MANY__STRUCT_CONVERTERS); - } - return structConverters; - } - - /** - * 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_MANY_TO_MANY__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.XmlManyToMany#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_MANY_TO_MANY__BATCH_FETCH, null, msgs); - if (newBatchFetch != null) - msgs = ((InternalEObject)newBatchFetch).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_MANY__BATCH_FETCH, null, msgs); - msgs = basicSetBatchFetch(newBatchFetch, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_MANY__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.XmlManyToMany#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_MANY_TO_MANY__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_MANY_TO_MANY__PARTITIONING, oldPartitioning, newPartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToMany#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_MANY_TO_MANY__PARTITIONING, null, msgs); - if (newPartitioning != null) - msgs = ((InternalEObject)newPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONING, null, msgs); - msgs = basicSetPartitioning(newPartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONING, newPartitioning, newPartitioning)); - } - - /** - * Returns the value of the '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_MANY_TO_MANY__REPLICATION_PARTITIONING, oldReplicationPartitioning, newReplicationPartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToMany#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_MANY_TO_MANY__REPLICATION_PARTITIONING, null, msgs); - if (newReplicationPartitioning != null) - msgs = ((InternalEObject)newReplicationPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_MANY__REPLICATION_PARTITIONING, null, msgs); - msgs = basicSetReplicationPartitioning(newReplicationPartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_MANY__REPLICATION_PARTITIONING, newReplicationPartitioning, newReplicationPartitioning)); - } - - /** - * Returns the value of the '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_MANY_TO_MANY__ROUND_ROBIN_PARTITIONING, oldRoundRobinPartitioning, newRoundRobinPartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToMany#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_MANY_TO_MANY__ROUND_ROBIN_PARTITIONING, null, msgs); - if (newRoundRobinPartitioning != null) - msgs = ((InternalEObject)newRoundRobinPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_MANY__ROUND_ROBIN_PARTITIONING, null, msgs); - msgs = basicSetRoundRobinPartitioning(newRoundRobinPartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_MANY__ROUND_ROBIN_PARTITIONING, newRoundRobinPartitioning, newRoundRobinPartitioning)); - } - - /** - * Returns the value of the '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_MANY_TO_MANY__PINNED_PARTITIONING, oldPinnedPartitioning, newPinnedPartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToMany#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_MANY_TO_MANY__PINNED_PARTITIONING, null, msgs); - if (newPinnedPartitioning != null) - msgs = ((InternalEObject)newPinnedPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_MANY__PINNED_PARTITIONING, null, msgs); - msgs = basicSetPinnedPartitioning(newPinnedPartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_MANY__PINNED_PARTITIONING, newPinnedPartitioning, newPinnedPartitioning)); - } - - /** - * Returns the value of the '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_MANY_TO_MANY__RANGE_PARTITIONING, oldRangePartitioning, newRangePartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToMany#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_MANY_TO_MANY__RANGE_PARTITIONING, null, msgs); - if (newRangePartitioning != null) - msgs = ((InternalEObject)newRangePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_MANY__RANGE_PARTITIONING, null, msgs); - msgs = basicSetRangePartitioning(newRangePartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_MANY__RANGE_PARTITIONING, newRangePartitioning, newRangePartitioning)); - } - - /** - * Returns the value of the '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_MANY_TO_MANY__VALUE_PARTITIONING, oldValuePartitioning, newValuePartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToMany#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_MANY_TO_MANY__VALUE_PARTITIONING, null, msgs); - if (newValuePartitioning != null) - msgs = ((InternalEObject)newValuePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_MANY__VALUE_PARTITIONING, null, msgs); - msgs = basicSetValuePartitioning(newValuePartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_MANY__VALUE_PARTITIONING, newValuePartitioning, newValuePartitioning)); - } - - /** - * Returns the value of the '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_MANY_TO_MANY__HASH_PARTITIONING, oldHashPartitioning, newHashPartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToMany#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_MANY_TO_MANY__HASH_PARTITIONING, null, msgs); - if (newHashPartitioning != null) - msgs = ((InternalEObject)newHashPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_MANY__HASH_PARTITIONING, null, msgs); - msgs = basicSetHashPartitioning(newHashPartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_MANY__HASH_PARTITIONING, newHashPartitioning, newHashPartitioning)); - } - - /** - * Returns the value of the '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_MANY_TO_MANY__UNION_PARTITIONING, oldUnionPartitioning, newUnionPartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToMany#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_MANY_TO_MANY__UNION_PARTITIONING, null, msgs); - if (newUnionPartitioning != null) - msgs = ((InternalEObject)newUnionPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_MANY__UNION_PARTITIONING, null, msgs); - msgs = basicSetUnionPartitioning(newUnionPartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_MANY__UNION_PARTITIONING, newUnionPartitioning, newUnionPartitioning)); - } - - /** - * Returns the value of the '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.XmlManyToMany#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_MANY_TO_MANY__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#getXmlManyToMany_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.XmlManyToMany#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_MANY_TO_MANY__CASCADE_ON_DELETE, oldCascadeOnDelete, cascadeOnDelete)); - } - - /** - * Returns the value of the 'Non Cacheable' attribute. - * - *

- * If the meaning of the 'Non Cacheable' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Non Cacheable' attribute. - * @see #setNonCacheable(boolean) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlManyToMany_2_2_NonCacheable() - * @model dataType="org.eclipse.emf.ecore.xml.type.Boolean" - * @generated - */ - public boolean isNonCacheable() - { - return nonCacheable; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToMany#isNonCacheable Non Cacheable}' attribute. - * - * - * @param value the new value of the 'Non Cacheable' attribute. - * @see #isNonCacheable() - * @generated - */ - public void setNonCacheable(boolean newNonCacheable) - { - boolean oldNonCacheable = nonCacheable; - nonCacheable = newNonCacheable; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_MANY__NON_CACHEABLE, oldNonCacheable, nonCacheable)); - } - - /** - * Returns the value of the 'Join Fields' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlJoinField_2_4}. - * - *

- * If the meaning of the 'Join Fields' containment reference list isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Join Fields' containment reference list. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlManyToMany_2_4_JoinFields() - * @model containment="true" - * @generated - */ - public EList getJoinFields() - { - if (joinFields == null) - { - joinFields = new EObjectContainmentEList(XmlJoinField_2_4.class, this, EclipseLinkOrmPackage.XML_MANY_TO_MANY__JOIN_FIELDS); - } - return joinFields; - } - - /** - * 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_MANY_TO_MANY__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.XmlManyToMany#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_MANY_TO_MANY__ACCESS_METHODS, null, msgs); - if (newAccessMethods != null) - msgs = ((InternalEObject)newAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_MANY__ACCESS_METHODS, null, msgs); - msgs = basicSetAccessMethods(newAccessMethods, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_MANY__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 getProperties() - { - if (properties == null) - { - properties = new EObjectContainmentEList(XmlProperty.class, this, EclipseLinkOrmPackage.XML_MANY_TO_MANY__PROPERTIES); - } - return properties; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__MAP_KEY_ASSOCIATION_OVERRIDES: - return ((InternalEList)getMapKeyAssociationOverrides()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__CONVERTERS: - return ((InternalEList)getConverters()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__TYPE_CONVERTERS: - return ((InternalEList)getTypeConverters()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__OBJECT_TYPE_CONVERTERS: - return ((InternalEList)getObjectTypeConverters()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__STRUCT_CONVERTERS: - return ((InternalEList)getStructConverters()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__BATCH_FETCH: - return basicSetBatchFetch(null, msgs); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONING: - return basicSetPartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__REPLICATION_PARTITIONING: - return basicSetReplicationPartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ROUND_ROBIN_PARTITIONING: - return basicSetRoundRobinPartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PINNED_PARTITIONING: - return basicSetPinnedPartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__RANGE_PARTITIONING: - return basicSetRangePartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__VALUE_PARTITIONING: - return basicSetValuePartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__HASH_PARTITIONING: - return basicSetHashPartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__UNION_PARTITIONING: - return basicSetUnionPartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__JOIN_FIELDS: - return ((InternalEList)getJoinFields()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ACCESS_METHODS: - return basicSetAccessMethods(null, msgs); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__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_MANY_TO_MANY__MAP_KEY_ASSOCIATION_OVERRIDES: - return getMapKeyAssociationOverrides(); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__CONVERTERS: - return getConverters(); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__TYPE_CONVERTERS: - return getTypeConverters(); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__OBJECT_TYPE_CONVERTERS: - return getObjectTypeConverters(); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__STRUCT_CONVERTERS: - return getStructConverters(); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__MAP_KEY_CONVERT: - return getMapKeyConvert(); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__BATCH_FETCH: - return getBatchFetch(); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONING: - return getPartitioning(); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__REPLICATION_PARTITIONING: - return getReplicationPartitioning(); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ROUND_ROBIN_PARTITIONING: - return getRoundRobinPartitioning(); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PINNED_PARTITIONING: - return getPinnedPartitioning(); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__RANGE_PARTITIONING: - return getRangePartitioning(); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__VALUE_PARTITIONING: - return getValuePartitioning(); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__HASH_PARTITIONING: - return getHashPartitioning(); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__UNION_PARTITIONING: - return getUnionPartitioning(); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONED: - return getPartitioned(); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__CASCADE_ON_DELETE: - return getCascadeOnDelete(); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__NON_CACHEABLE: - return isNonCacheable(); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__JOIN_FIELDS: - return getJoinFields(); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ACCESS_METHODS: - return getAccessMethods(); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PROPERTIES: - return getProperties(); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ATTRIBUTE_TYPE: - return getAttributeType(); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__JOIN_FETCH: - return getJoinFetch(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__MAP_KEY_ASSOCIATION_OVERRIDES: - getMapKeyAssociationOverrides().clear(); - getMapKeyAssociationOverrides().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__CONVERTERS: - getConverters().clear(); - getConverters().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__TYPE_CONVERTERS: - getTypeConverters().clear(); - getTypeConverters().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__OBJECT_TYPE_CONVERTERS: - getObjectTypeConverters().clear(); - getObjectTypeConverters().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__STRUCT_CONVERTERS: - getStructConverters().clear(); - getStructConverters().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__MAP_KEY_CONVERT: - setMapKeyConvert((String)newValue); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__BATCH_FETCH: - setBatchFetch((XmlBatchFetch)newValue); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONING: - setPartitioning((XmlPartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__REPLICATION_PARTITIONING: - setReplicationPartitioning((XmlReplicationPartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ROUND_ROBIN_PARTITIONING: - setRoundRobinPartitioning((XmlRoundRobinPartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PINNED_PARTITIONING: - setPinnedPartitioning((XmlPinnedPartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__RANGE_PARTITIONING: - setRangePartitioning((XmlRangePartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__VALUE_PARTITIONING: - setValuePartitioning((XmlValuePartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__HASH_PARTITIONING: - setHashPartitioning((XmlHashPartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__UNION_PARTITIONING: - setUnionPartitioning((XmlUnionPartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONED: - setPartitioned((String)newValue); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__CASCADE_ON_DELETE: - setCascadeOnDelete((Boolean)newValue); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__NON_CACHEABLE: - setNonCacheable((Boolean)newValue); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__JOIN_FIELDS: - getJoinFields().clear(); - getJoinFields().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ACCESS_METHODS: - setAccessMethods((XmlAccessMethods)newValue); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PROPERTIES: - getProperties().clear(); - getProperties().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ATTRIBUTE_TYPE: - setAttributeType((String)newValue); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__JOIN_FETCH: - setJoinFetch((XmlJoinFetchType)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__MAP_KEY_ASSOCIATION_OVERRIDES: - getMapKeyAssociationOverrides().clear(); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__CONVERTERS: - getConverters().clear(); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__TYPE_CONVERTERS: - getTypeConverters().clear(); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__OBJECT_TYPE_CONVERTERS: - getObjectTypeConverters().clear(); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__STRUCT_CONVERTERS: - getStructConverters().clear(); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__MAP_KEY_CONVERT: - setMapKeyConvert(MAP_KEY_CONVERT_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__BATCH_FETCH: - setBatchFetch((XmlBatchFetch)null); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONING: - setPartitioning((XmlPartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__REPLICATION_PARTITIONING: - setReplicationPartitioning((XmlReplicationPartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ROUND_ROBIN_PARTITIONING: - setRoundRobinPartitioning((XmlRoundRobinPartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PINNED_PARTITIONING: - setPinnedPartitioning((XmlPinnedPartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__RANGE_PARTITIONING: - setRangePartitioning((XmlRangePartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__VALUE_PARTITIONING: - setValuePartitioning((XmlValuePartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__HASH_PARTITIONING: - setHashPartitioning((XmlHashPartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__UNION_PARTITIONING: - setUnionPartitioning((XmlUnionPartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONED: - setPartitioned(PARTITIONED_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__CASCADE_ON_DELETE: - setCascadeOnDelete(CASCADE_ON_DELETE_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__NON_CACHEABLE: - setNonCacheable(NON_CACHEABLE_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__JOIN_FIELDS: - getJoinFields().clear(); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ACCESS_METHODS: - setAccessMethods((XmlAccessMethods)null); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PROPERTIES: - getProperties().clear(); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ATTRIBUTE_TYPE: - setAttributeType(ATTRIBUTE_TYPE_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__JOIN_FETCH: - setJoinFetch(JOIN_FETCH_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__MAP_KEY_ASSOCIATION_OVERRIDES: - return mapKeyAssociationOverrides != null && !mapKeyAssociationOverrides.isEmpty(); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__CONVERTERS: - return converters != null && !converters.isEmpty(); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__TYPE_CONVERTERS: - return typeConverters != null && !typeConverters.isEmpty(); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__OBJECT_TYPE_CONVERTERS: - return objectTypeConverters != null && !objectTypeConverters.isEmpty(); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__STRUCT_CONVERTERS: - return structConverters != null && !structConverters.isEmpty(); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__MAP_KEY_CONVERT: - return MAP_KEY_CONVERT_EDEFAULT == null ? mapKeyConvert != null : !MAP_KEY_CONVERT_EDEFAULT.equals(mapKeyConvert); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__BATCH_FETCH: - return batchFetch != null; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONING: - return partitioning != null; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__REPLICATION_PARTITIONING: - return replicationPartitioning != null; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ROUND_ROBIN_PARTITIONING: - return roundRobinPartitioning != null; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PINNED_PARTITIONING: - return pinnedPartitioning != null; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__RANGE_PARTITIONING: - return rangePartitioning != null; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__VALUE_PARTITIONING: - return valuePartitioning != null; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__HASH_PARTITIONING: - return hashPartitioning != null; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__UNION_PARTITIONING: - return unionPartitioning != null; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONED: - return PARTITIONED_EDEFAULT == null ? partitioned != null : !PARTITIONED_EDEFAULT.equals(partitioned); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__CASCADE_ON_DELETE: - return CASCADE_ON_DELETE_EDEFAULT == null ? cascadeOnDelete != null : !CASCADE_ON_DELETE_EDEFAULT.equals(cascadeOnDelete); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__NON_CACHEABLE: - return nonCacheable != NON_CACHEABLE_EDEFAULT; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__JOIN_FIELDS: - return joinFields != null && !joinFields.isEmpty(); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ACCESS_METHODS: - return accessMethods != null; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PROPERTIES: - return properties != null && !properties.isEmpty(); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ATTRIBUTE_TYPE: - return ATTRIBUTE_TYPE_EDEFAULT == null ? attributeType != null : !ATTRIBUTE_TYPE_EDEFAULT.equals(attributeType); - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__JOIN_FETCH: - return joinFetch != JOIN_FETCH_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public int eBaseStructuralFeatureID(int derivedFeatureID, Class baseClass) - { - if (baseClass == XmlMapKeyAssociationOverrideContainer_2_0.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__MAP_KEY_ASSOCIATION_OVERRIDES: return EclipseLinkOrmV2_0Package.XML_MAP_KEY_ASSOCIATION_OVERRIDE_CONTAINER_20__MAP_KEY_ASSOCIATION_OVERRIDES; - default: return -1; - } - } - if (baseClass == XmlConverterContainer.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__CONVERTERS; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__TYPE_CONVERTERS; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__OBJECT_TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__STRUCT_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS; - default: return -1; - } - } - if (baseClass == XmlCollectionMapping_2_0.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__MAP_KEY_CONVERT: return EclipseLinkOrmV2_0Package.XML_COLLECTION_MAPPING_20__MAP_KEY_CONVERT; - default: return -1; - } - } - if (baseClass == XmlManyToMany_2_0.class) - { - switch (derivedFeatureID) - { - default: return -1; - } - } - if (baseClass == XmlBatchFetchHolder.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__BATCH_FETCH: return EclipseLinkOrmPackage.XML_BATCH_FETCH_HOLDER__BATCH_FETCH; - default: return -1; - } - } - if (baseClass == XmlManyToMany_2_1.class) - { - switch (derivedFeatureID) - { - default: return -1; - } - } - if (baseClass == XmlPartitioningGroup_2_2.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONING; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__REPLICATION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PINNED_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__RANGE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__VALUE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__HASH_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__HASH_PARTITIONING; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__UNION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__UNION_PARTITIONING; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONED: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONED; - default: return -1; - } - } - if (baseClass == XmlManyToMany_2_2.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__CASCADE_ON_DELETE: return EclipseLinkOrmV2_2Package.XML_MANY_TO_MANY_22__CASCADE_ON_DELETE; - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__NON_CACHEABLE: return EclipseLinkOrmV2_2Package.XML_MANY_TO_MANY_22__NON_CACHEABLE; - default: return -1; - } - } - if (baseClass == XmlManyToMany_2_4.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__JOIN_FIELDS: return EclipseLinkOrmV2_4Package.XML_MANY_TO_MANY_24__JOIN_FIELDS; - default: return -1; - } - } - if (baseClass == XmlAccessMethodsHolder.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS; - default: return -1; - } - } - if (baseClass == XmlPropertyContainer.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PROPERTIES: return EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES; - default: return -1; - } - } - if (baseClass == XmlAttributeMapping.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE; - default: return -1; - } - } - if (baseClass == XmlJoinFetch.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_MANY_TO_MANY__JOIN_FETCH: return EclipseLinkOrmPackage.XML_JOIN_FETCH__JOIN_FETCH; - default: return -1; - } - } - return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); - } - - /** - * - * - * @generated - */ - @Override - public int eDerivedStructuralFeatureID(int baseFeatureID, Class baseClass) - { - if (baseClass == XmlMapKeyAssociationOverrideContainer_2_0.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_0Package.XML_MAP_KEY_ASSOCIATION_OVERRIDE_CONTAINER_20__MAP_KEY_ASSOCIATION_OVERRIDES: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__MAP_KEY_ASSOCIATION_OVERRIDES; - default: return -1; - } - } - if (baseClass == XmlConverterContainer.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__CONVERTERS: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__CONVERTERS; - case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__TYPE_CONVERTERS; - case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__OBJECT_TYPE_CONVERTERS; - case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__STRUCT_CONVERTERS; - default: return -1; - } - } - if (baseClass == XmlCollectionMapping_2_0.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_0Package.XML_COLLECTION_MAPPING_20__MAP_KEY_CONVERT: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__MAP_KEY_CONVERT; - default: return -1; - } - } - if (baseClass == XmlManyToMany_2_0.class) - { - switch (baseFeatureID) - { - default: return -1; - } - } - if (baseClass == XmlBatchFetchHolder.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_BATCH_FETCH_HOLDER__BATCH_FETCH: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__BATCH_FETCH; - default: return -1; - } - } - if (baseClass == XmlManyToMany_2_1.class) - { - switch (baseFeatureID) - { - default: return -1; - } - } - if (baseClass == XmlPartitioningGroup_2_2.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__REPLICATION_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__ROUND_ROBIN_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__PINNED_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__RANGE_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__VALUE_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__HASH_PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__HASH_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__UNION_PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__UNION_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONED: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONED; - default: return -1; - } - } - if (baseClass == XmlManyToMany_2_2.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_2Package.XML_MANY_TO_MANY_22__CASCADE_ON_DELETE: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__CASCADE_ON_DELETE; - case EclipseLinkOrmV2_2Package.XML_MANY_TO_MANY_22__NON_CACHEABLE: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__NON_CACHEABLE; - default: return -1; - } - } - if (baseClass == XmlManyToMany_2_4.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_4Package.XML_MANY_TO_MANY_24__JOIN_FIELDS: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__JOIN_FIELDS; - default: return -1; - } - } - if (baseClass == XmlAccessMethodsHolder.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__ACCESS_METHODS; - default: return -1; - } - } - if (baseClass == XmlPropertyContainer.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__PROPERTIES; - default: return -1; - } - } - if (baseClass == XmlAttributeMapping.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__ATTRIBUTE_TYPE; - default: return -1; - } - } - if (baseClass == XmlJoinFetch.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_JOIN_FETCH__JOIN_FETCH: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__JOIN_FETCH; - 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(" (mapKeyConvert: "); - result.append(mapKeyConvert); - result.append(", partitioned: "); - result.append(partitioned); - result.append(", cascadeOnDelete: "); - result.append(cascadeOnDelete); - result.append(", nonCacheable: "); - result.append(nonCacheable); - result.append(", attributeType: "); - result.append(attributeType); - result.append(", joinFetch: "); - result.append(joinFetch); - result.append(')'); - return result.toString(); - } - - public TextRange getJoinFetchTextRange() { - return getElementTextRange(EclipseLink.JOIN_FETCH); - } - - 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.getXmlManyToMany(), - buildTranslatorChildren()); - } - - private static Translator[] buildTranslatorChildren() { - return new Translator[] { - buildNameTranslator(), - buildTargetEntityTranslator(), - buildFetchTranslator(), - buildAccessTranslator(), - buildMappedByTranslator(), - buildAttributeTypeTranslator(), - buildOrderByTranslator(), - XmlOrderColumn.buildTranslator(JPA2_0.ORDER_COLUMN, OrmV2_0Package.eINSTANCE.getXmlOrderable_2_0_OrderColumn()), - buildMapKeyTranslator(), - buildMapKeyClassTranslator(), - buildMapKeyTemporalTranslator(), - buildMapKeyEnumeratedTranslator(), - buildMapKeyConvertTranslator(), - buildMapKeyAttributeOverrideTranslator(), - buildMapKeyAssociationOverrideTranslator(), - buildMapKeyColumnTranslator(), - buildMapKeyJoinColumnTranslator(), - buildConverterTranslator(), - buildTypeConverterTranslator(), - buildObjectTypeConverterTranslator(), - buildStructConverterTranslator(), - buildJoinTableTranslator(), - buildJoinFieldTranslator(), - buildCascadeTranslator(), - buildCascadeOnDeleteTranslator(), - buildJoinFetchTranslator(), - buildBatchFetchTranslator(), - buildPropertyTranslator(), - buildAccessMethodsTranslator(), - buildNoncacheableTranslator(), - 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(), - }; - } - - protected static Translator buildMapKeyConvertTranslator() { - return new Translator(JPA2_0.MAP_KEY_CONVERT, EclipseLinkOrmV2_0Package.eINSTANCE.getXmlCollectionMapping_2_0_MapKeyConvert()); - } - - protected static Translator buildMapKeyAttributeOverrideTranslator() { - return XmlAttributeOverride.buildTranslator(JPA2_0.MAP_KEY_ATTRIBUTE_OVERRIDE, OrmV2_0Package.eINSTANCE.getXmlMapKeyAttributeOverrideContainer_2_0_MapKeyAttributeOverrides()); - } - - protected static Translator buildMapKeyAssociationOverrideTranslator() { - return XmlAssociationOverride.buildTranslator(EclipseLink2_0.MAP_KEY_ASSOCIATION_OVERRIDE, EclipseLinkOrmV2_0Package.eINSTANCE.getXmlMapKeyAssociationOverrideContainer_2_0_MapKeyAssociationOverrides()); - } - - 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 buildJoinFetchTranslator() { - return new Translator(EclipseLink.JOIN_FETCH, EclipseLinkOrmPackage.eINSTANCE.getXmlJoinFetch_JoinFetch()); - } - - 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 buildAttributeTypeTranslator() { - return new Translator(EclipseLink2_1.ATTRIBUTE_TYPE, EclipseLinkOrmPackage.eINSTANCE.getXmlAttributeMapping_AttributeType(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildBatchFetchTranslator() { - return XmlBatchFetch.buildTranslator(EclipseLink2_1.BATCH_FETCH, EclipseLinkOrmPackage.eINSTANCE.getXmlBatchFetchHolder_BatchFetch()); - } - - protected static Translator buildCascadeOnDeleteTranslator() { - return CascadeType.buildTranslator(EclipseLink2_2.CASCADE_ON_DELETE, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlManyToMany_2_2_CascadeOnDelete()); - } - - protected static Translator buildJoinTableTranslator() { - return XmlJoinTable.buildTranslator(JPA.JOIN_TABLE, OrmPackage.eINSTANCE.getXmlJoinTableContainer_JoinTable()); - } - - protected static Translator buildNoncacheableTranslator() { - return new EmptyTagBooleanTranslator(EclipseLink2_2.NONCACHEABLE, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlManyToMany_2_2_NonCacheable()); - } - - protected static Translator buildPartitionedTranslator() { - return new Translator(EclipseLink2_2.PARTITIONING_GROUP__PARTITIONED, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlPartitioningGroup_2_2_Partitioned()); - } - - protected static Translator buildJoinFieldTranslator() { - return XmlJoinField.buildTranslator(EclipseLink2_4.JOIN_FIELD, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlManyToMany_2_4_JoinFields()); - } - - // ******** virtual attribute ************ - - public void setVirtualAttributeTypes(String attributeType, String targetEntity) { - this.setAttributeType(attributeType); - this.setTargetEntity(targetEntity); - } - - // *********** 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/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlManyToOne.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlManyToOne.java deleted file mode 100644 index 721b00a218..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlManyToOne.java +++ /dev/null @@ -1,1628 +0,0 @@ -/******************************************************************************* - * 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.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_1.XmlManyToOne_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.XmlManyToOne_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.XmlManyToOne_2_4; -import org.eclipse.wst.common.internal.emf.resource.Translator; - -/** - * - * - * A representation of the model object 'Xml Many To One'. - * - * 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#getXmlManyToOne() - * @model kind="class" - * @generated - */ -public class XmlManyToOne extends org.eclipse.jpt.jpa.core.resource.orm.XmlManyToOne implements XmlManyToOne_2_1, XmlManyToOne_2_2, XmlManyToOne_2_4, XmlAttributeMapping, XmlJoinFetch -{ - /** - * The cached value of the '{@link #getBatchFetch() Batch Fetch}' containment reference. - * - * - * @see #getBatchFetch() - * @generated - * @ordered - */ - protected XmlBatchFetch batchFetch; - - /** - * The cached value of the '{@link #getPartitioning() Partitioning}' containment reference. - * - * - * @see #getPartitioning() - * @generated - * @ordered - */ - protected XmlPartitioning_2_2 partitioning; - - /** - * The cached value of the '{@link #getReplicationPartitioning() Replication Partitioning}' containment reference. - * - * - * @see #getReplicationPartitioning() - * @generated - * @ordered - */ - protected XmlReplicationPartitioning_2_2 replicationPartitioning; - - /** - * The cached value of the '{@link #getRoundRobinPartitioning() Round Robin Partitioning}' containment reference. - * - * - * @see #getRoundRobinPartitioning() - * @generated - * @ordered - */ - protected XmlRoundRobinPartitioning_2_2 roundRobinPartitioning; - - /** - * The cached value of the '{@link #getPinnedPartitioning() Pinned Partitioning}' containment reference. - * - * - * @see #getPinnedPartitioning() - * @generated - * @ordered - */ - protected XmlPinnedPartitioning_2_2 pinnedPartitioning; - - /** - * The cached value of the '{@link #getRangePartitioning() Range Partitioning}' containment reference. - * - * - * @see #getRangePartitioning() - * @generated - * @ordered - */ - protected XmlRangePartitioning_2_2 rangePartitioning; - - /** - * The cached value of the '{@link #getValuePartitioning() Value Partitioning}' containment reference. - * - * - * @see #getValuePartitioning() - * @generated - * @ordered - */ - protected XmlValuePartitioning_2_2 valuePartitioning; - - /** - * The cached value of the '{@link #getHashPartitioning() Hash Partitioning}' containment reference. - * - * - * @see #getHashPartitioning() - * @generated - * @ordered - */ - protected XmlHashPartitioning_2_2 hashPartitioning; - - /** - * The cached value of the '{@link #getUnionPartitioning() Union Partitioning}' containment reference. - * - * - * @see #getUnionPartitioning() - * @generated - * @ordered - */ - protected XmlUnionPartitioning_2_2 unionPartitioning; - - /** - * The default value of the '{@link #getPartitioned() Partitioned}' attribute. - * - * - * @see #getPartitioned() - * @generated - * @ordered - */ - protected static final String PARTITIONED_EDEFAULT = null; - - /** - * The cached value of the '{@link #getPartitioned() Partitioned}' attribute. - * - * - * @see #getPartitioned() - * @generated - * @ordered - */ - protected String partitioned = PARTITIONED_EDEFAULT; - - /** - * The default value of the '{@link #isNonCacheable() Non Cacheable}' attribute. - * - * - * @see #isNonCacheable() - * @generated - * @ordered - */ - protected static final boolean NON_CACHEABLE_EDEFAULT = false; - - /** - * The cached value of the '{@link #isNonCacheable() Non Cacheable}' attribute. - * - * - * @see #isNonCacheable() - * @generated - * @ordered - */ - protected boolean nonCacheable = NON_CACHEABLE_EDEFAULT; - - /** - * The cached value of the '{@link #getJoinFields() Join Fields}' containment reference list. - * - * - * @see #getJoinFields() - * @generated - * @ordered - */ - protected EList joinFields; - - /** - * 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 properties; - - /** - * The default value of the '{@link #getAttributeType() Attribute Type}' attribute. - * - * - * @see #getAttributeType() - * @generated - * @ordered - */ - protected static final String ATTRIBUTE_TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getAttributeType() Attribute Type}' attribute. - * - * - * @see #getAttributeType() - * @generated - * @ordered - */ - protected String attributeType = ATTRIBUTE_TYPE_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 XmlJoinFetchType JOIN_FETCH_EDEFAULT = null; - - /** - * The cached value of the '{@link #getJoinFetch() Join Fetch}' attribute. - * - * - * @see #getJoinFetch() - * @generated - * @ordered - */ - protected XmlJoinFetchType joinFetch = JOIN_FETCH_EDEFAULT; - - /** - * - * - * @generated - */ - protected XmlManyToOne() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_MANY_TO_ONE; - } - - /** - * 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_MANY_TO_ONE__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.XmlManyToOne#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_MANY_TO_ONE__BATCH_FETCH, null, msgs); - if (newBatchFetch != null) - msgs = ((InternalEObject)newBatchFetch).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_ONE__BATCH_FETCH, null, msgs); - msgs = basicSetBatchFetch(newBatchFetch, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_ONE__BATCH_FETCH, newBatchFetch, newBatchFetch)); - } - - /** - * 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_MANY_TO_ONE__PARTITIONING, oldPartitioning, newPartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToOne#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_MANY_TO_ONE__PARTITIONING, null, msgs); - if (newPartitioning != null) - msgs = ((InternalEObject)newPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONING, null, msgs); - msgs = basicSetPartitioning(newPartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONING, newPartitioning, newPartitioning)); - } - - /** - * Returns the value of the '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_MANY_TO_ONE__REPLICATION_PARTITIONING, oldReplicationPartitioning, newReplicationPartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToOne#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_MANY_TO_ONE__REPLICATION_PARTITIONING, null, msgs); - if (newReplicationPartitioning != null) - msgs = ((InternalEObject)newReplicationPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_ONE__REPLICATION_PARTITIONING, null, msgs); - msgs = basicSetReplicationPartitioning(newReplicationPartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_ONE__REPLICATION_PARTITIONING, newReplicationPartitioning, newReplicationPartitioning)); - } - - /** - * Returns the value of the '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_MANY_TO_ONE__ROUND_ROBIN_PARTITIONING, oldRoundRobinPartitioning, newRoundRobinPartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToOne#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_MANY_TO_ONE__ROUND_ROBIN_PARTITIONING, null, msgs); - if (newRoundRobinPartitioning != null) - msgs = ((InternalEObject)newRoundRobinPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_ONE__ROUND_ROBIN_PARTITIONING, null, msgs); - msgs = basicSetRoundRobinPartitioning(newRoundRobinPartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_ONE__ROUND_ROBIN_PARTITIONING, newRoundRobinPartitioning, newRoundRobinPartitioning)); - } - - /** - * Returns the value of the '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_MANY_TO_ONE__PINNED_PARTITIONING, oldPinnedPartitioning, newPinnedPartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToOne#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_MANY_TO_ONE__PINNED_PARTITIONING, null, msgs); - if (newPinnedPartitioning != null) - msgs = ((InternalEObject)newPinnedPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_ONE__PINNED_PARTITIONING, null, msgs); - msgs = basicSetPinnedPartitioning(newPinnedPartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_ONE__PINNED_PARTITIONING, newPinnedPartitioning, newPinnedPartitioning)); - } - - /** - * Returns the value of the '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_MANY_TO_ONE__RANGE_PARTITIONING, oldRangePartitioning, newRangePartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToOne#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_MANY_TO_ONE__RANGE_PARTITIONING, null, msgs); - if (newRangePartitioning != null) - msgs = ((InternalEObject)newRangePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_ONE__RANGE_PARTITIONING, null, msgs); - msgs = basicSetRangePartitioning(newRangePartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_ONE__RANGE_PARTITIONING, newRangePartitioning, newRangePartitioning)); - } - - /** - * Returns the value of the '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_MANY_TO_ONE__VALUE_PARTITIONING, oldValuePartitioning, newValuePartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToOne#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_MANY_TO_ONE__VALUE_PARTITIONING, null, msgs); - if (newValuePartitioning != null) - msgs = ((InternalEObject)newValuePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_ONE__VALUE_PARTITIONING, null, msgs); - msgs = basicSetValuePartitioning(newValuePartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_ONE__VALUE_PARTITIONING, newValuePartitioning, newValuePartitioning)); - } - - /** - * Returns the value of the '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_MANY_TO_ONE__HASH_PARTITIONING, oldHashPartitioning, newHashPartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToOne#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_MANY_TO_ONE__HASH_PARTITIONING, null, msgs); - if (newHashPartitioning != null) - msgs = ((InternalEObject)newHashPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_ONE__HASH_PARTITIONING, null, msgs); - msgs = basicSetHashPartitioning(newHashPartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_ONE__HASH_PARTITIONING, newHashPartitioning, newHashPartitioning)); - } - - /** - * Returns the value of the '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_MANY_TO_ONE__UNION_PARTITIONING, oldUnionPartitioning, newUnionPartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToOne#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_MANY_TO_ONE__UNION_PARTITIONING, null, msgs); - if (newUnionPartitioning != null) - msgs = ((InternalEObject)newUnionPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_ONE__UNION_PARTITIONING, null, msgs); - msgs = basicSetUnionPartitioning(newUnionPartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_ONE__UNION_PARTITIONING, newUnionPartitioning, newUnionPartitioning)); - } - - /** - * Returns the value of the '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.XmlManyToOne#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_MANY_TO_ONE__PARTITIONED, oldPartitioned, partitioned)); - } - - /** - * Returns the value of the 'Non Cacheable' attribute. - * - *

- * If the meaning of the 'Non Cacheable' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Non Cacheable' attribute. - * @see #setNonCacheable(boolean) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlManyToOne_2_2_NonCacheable() - * @model dataType="org.eclipse.emf.ecore.xml.type.Boolean" - * @generated - */ - public boolean isNonCacheable() - { - return nonCacheable; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToOne#isNonCacheable Non Cacheable}' attribute. - * - * - * @param value the new value of the 'Non Cacheable' attribute. - * @see #isNonCacheable() - * @generated - */ - public void setNonCacheable(boolean newNonCacheable) - { - boolean oldNonCacheable = nonCacheable; - nonCacheable = newNonCacheable; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_ONE__NON_CACHEABLE, oldNonCacheable, nonCacheable)); - } - - /** - * Returns the value of the 'Join Fields' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlJoinField_2_4}. - * - *

- * If the meaning of the 'Join Fields' containment reference list isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Join Fields' containment reference list. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlManyToOne_2_4_JoinFields() - * @model containment="true" - * @generated - */ - public EList getJoinFields() - { - if (joinFields == null) - { - joinFields = new EObjectContainmentEList(XmlJoinField_2_4.class, this, EclipseLinkOrmPackage.XML_MANY_TO_ONE__JOIN_FIELDS); - } - return joinFields; - } - - /** - * 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.XmlManyToOne#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_ONE__JOIN_FETCH, oldJoinFetch, joinFetch)); - } - - /** - * 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_MANY_TO_ONE__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.XmlManyToOne#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_MANY_TO_ONE__ACCESS_METHODS, null, msgs); - if (newAccessMethods != null) - msgs = ((InternalEObject)newAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_ONE__ACCESS_METHODS, null, msgs); - msgs = basicSetAccessMethods(newAccessMethods, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_ONE__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 getProperties() - { - if (properties == null) - { - properties = new EObjectContainmentEList(XmlProperty.class, this, EclipseLinkOrmPackage.XML_MANY_TO_ONE__PROPERTIES); - } - return properties; - } - - /** - * 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.XmlManyToOne#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_MANY_TO_ONE__ATTRIBUTE_TYPE, oldAttributeType, attributeType)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__BATCH_FETCH: - return basicSetBatchFetch(null, msgs); - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONING: - return basicSetPartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__REPLICATION_PARTITIONING: - return basicSetReplicationPartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__ROUND_ROBIN_PARTITIONING: - return basicSetRoundRobinPartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PINNED_PARTITIONING: - return basicSetPinnedPartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__RANGE_PARTITIONING: - return basicSetRangePartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__VALUE_PARTITIONING: - return basicSetValuePartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__HASH_PARTITIONING: - return basicSetHashPartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__UNION_PARTITIONING: - return basicSetUnionPartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__JOIN_FIELDS: - return ((InternalEList)getJoinFields()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__ACCESS_METHODS: - return basicSetAccessMethods(null, msgs); - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__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_MANY_TO_ONE__BATCH_FETCH: - return getBatchFetch(); - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONING: - return getPartitioning(); - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__REPLICATION_PARTITIONING: - return getReplicationPartitioning(); - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__ROUND_ROBIN_PARTITIONING: - return getRoundRobinPartitioning(); - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PINNED_PARTITIONING: - return getPinnedPartitioning(); - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__RANGE_PARTITIONING: - return getRangePartitioning(); - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__VALUE_PARTITIONING: - return getValuePartitioning(); - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__HASH_PARTITIONING: - return getHashPartitioning(); - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__UNION_PARTITIONING: - return getUnionPartitioning(); - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONED: - return getPartitioned(); - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__NON_CACHEABLE: - return isNonCacheable(); - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__JOIN_FIELDS: - return getJoinFields(); - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__ACCESS_METHODS: - return getAccessMethods(); - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PROPERTIES: - return getProperties(); - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__ATTRIBUTE_TYPE: - return getAttributeType(); - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__JOIN_FETCH: - return getJoinFetch(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__BATCH_FETCH: - setBatchFetch((XmlBatchFetch)newValue); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONING: - setPartitioning((XmlPartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__REPLICATION_PARTITIONING: - setReplicationPartitioning((XmlReplicationPartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__ROUND_ROBIN_PARTITIONING: - setRoundRobinPartitioning((XmlRoundRobinPartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PINNED_PARTITIONING: - setPinnedPartitioning((XmlPinnedPartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__RANGE_PARTITIONING: - setRangePartitioning((XmlRangePartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__VALUE_PARTITIONING: - setValuePartitioning((XmlValuePartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__HASH_PARTITIONING: - setHashPartitioning((XmlHashPartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__UNION_PARTITIONING: - setUnionPartitioning((XmlUnionPartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONED: - setPartitioned((String)newValue); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__NON_CACHEABLE: - setNonCacheable((Boolean)newValue); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__JOIN_FIELDS: - getJoinFields().clear(); - getJoinFields().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__ACCESS_METHODS: - setAccessMethods((XmlAccessMethods)newValue); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PROPERTIES: - getProperties().clear(); - getProperties().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__ATTRIBUTE_TYPE: - setAttributeType((String)newValue); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__JOIN_FETCH: - setJoinFetch((XmlJoinFetchType)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__BATCH_FETCH: - setBatchFetch((XmlBatchFetch)null); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONING: - setPartitioning((XmlPartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__REPLICATION_PARTITIONING: - setReplicationPartitioning((XmlReplicationPartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__ROUND_ROBIN_PARTITIONING: - setRoundRobinPartitioning((XmlRoundRobinPartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PINNED_PARTITIONING: - setPinnedPartitioning((XmlPinnedPartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__RANGE_PARTITIONING: - setRangePartitioning((XmlRangePartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__VALUE_PARTITIONING: - setValuePartitioning((XmlValuePartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__HASH_PARTITIONING: - setHashPartitioning((XmlHashPartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__UNION_PARTITIONING: - setUnionPartitioning((XmlUnionPartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONED: - setPartitioned(PARTITIONED_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__NON_CACHEABLE: - setNonCacheable(NON_CACHEABLE_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__JOIN_FIELDS: - getJoinFields().clear(); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__ACCESS_METHODS: - setAccessMethods((XmlAccessMethods)null); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PROPERTIES: - getProperties().clear(); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__ATTRIBUTE_TYPE: - setAttributeType(ATTRIBUTE_TYPE_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__JOIN_FETCH: - setJoinFetch(JOIN_FETCH_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__BATCH_FETCH: - return batchFetch != null; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONING: - return partitioning != null; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__REPLICATION_PARTITIONING: - return replicationPartitioning != null; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__ROUND_ROBIN_PARTITIONING: - return roundRobinPartitioning != null; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PINNED_PARTITIONING: - return pinnedPartitioning != null; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__RANGE_PARTITIONING: - return rangePartitioning != null; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__VALUE_PARTITIONING: - return valuePartitioning != null; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__HASH_PARTITIONING: - return hashPartitioning != null; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__UNION_PARTITIONING: - return unionPartitioning != null; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONED: - return PARTITIONED_EDEFAULT == null ? partitioned != null : !PARTITIONED_EDEFAULT.equals(partitioned); - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__NON_CACHEABLE: - return nonCacheable != NON_CACHEABLE_EDEFAULT; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__JOIN_FIELDS: - return joinFields != null && !joinFields.isEmpty(); - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__ACCESS_METHODS: - return accessMethods != null; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PROPERTIES: - return properties != null && !properties.isEmpty(); - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__ATTRIBUTE_TYPE: - return ATTRIBUTE_TYPE_EDEFAULT == null ? attributeType != null : !ATTRIBUTE_TYPE_EDEFAULT.equals(attributeType); - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__JOIN_FETCH: - return joinFetch != JOIN_FETCH_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public int eBaseStructuralFeatureID(int derivedFeatureID, Class baseClass) - { - if (baseClass == XmlBatchFetchHolder.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__BATCH_FETCH: return EclipseLinkOrmPackage.XML_BATCH_FETCH_HOLDER__BATCH_FETCH; - default: return -1; - } - } - if (baseClass == XmlManyToOne_2_1.class) - { - switch (derivedFeatureID) - { - default: return -1; - } - } - if (baseClass == XmlPartitioningGroup_2_2.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONING; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__REPLICATION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PINNED_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__RANGE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__VALUE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__HASH_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__HASH_PARTITIONING; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__UNION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__UNION_PARTITIONING; - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONED: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONED; - default: return -1; - } - } - if (baseClass == XmlManyToOne_2_2.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__NON_CACHEABLE: return EclipseLinkOrmV2_2Package.XML_MANY_TO_ONE_22__NON_CACHEABLE; - default: return -1; - } - } - if (baseClass == XmlManyToOne_2_4.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__JOIN_FIELDS: return EclipseLinkOrmV2_4Package.XML_MANY_TO_ONE_24__JOIN_FIELDS; - default: return -1; - } - } - if (baseClass == XmlAccessMethodsHolder.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS; - default: return -1; - } - } - if (baseClass == XmlPropertyContainer.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PROPERTIES: return EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES; - default: return -1; - } - } - if (baseClass == XmlAttributeMapping.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE; - default: return -1; - } - } - if (baseClass == XmlJoinFetch.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_MANY_TO_ONE__JOIN_FETCH: return EclipseLinkOrmPackage.XML_JOIN_FETCH__JOIN_FETCH; - default: return -1; - } - } - return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); - } - - /** - * - * - * @generated - */ - @Override - public int eDerivedStructuralFeatureID(int baseFeatureID, Class baseClass) - { - if (baseClass == XmlBatchFetchHolder.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_BATCH_FETCH_HOLDER__BATCH_FETCH: return EclipseLinkOrmPackage.XML_MANY_TO_ONE__BATCH_FETCH; - default: return -1; - } - } - if (baseClass == XmlManyToOne_2_1.class) - { - switch (baseFeatureID) - { - default: return -1; - } - } - if (baseClass == XmlPartitioningGroup_2_2.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_ONE__REPLICATION_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_ONE__ROUND_ROBIN_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_ONE__PINNED_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_ONE__RANGE_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_ONE__VALUE_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__HASH_PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_ONE__HASH_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__UNION_PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_ONE__UNION_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONED: return EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONED; - default: return -1; - } - } - if (baseClass == XmlManyToOne_2_2.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_2Package.XML_MANY_TO_ONE_22__NON_CACHEABLE: return EclipseLinkOrmPackage.XML_MANY_TO_ONE__NON_CACHEABLE; - default: return -1; - } - } - if (baseClass == XmlManyToOne_2_4.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_4Package.XML_MANY_TO_ONE_24__JOIN_FIELDS: return EclipseLinkOrmPackage.XML_MANY_TO_ONE__JOIN_FIELDS; - default: return -1; - } - } - if (baseClass == XmlAccessMethodsHolder.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_MANY_TO_ONE__ACCESS_METHODS; - default: return -1; - } - } - if (baseClass == XmlPropertyContainer.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES: return EclipseLinkOrmPackage.XML_MANY_TO_ONE__PROPERTIES; - default: return -1; - } - } - if (baseClass == XmlAttributeMapping.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_MANY_TO_ONE__ATTRIBUTE_TYPE; - default: return -1; - } - } - if (baseClass == XmlJoinFetch.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_JOIN_FETCH__JOIN_FETCH: return EclipseLinkOrmPackage.XML_MANY_TO_ONE__JOIN_FETCH; - 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(" (partitioned: "); - result.append(partitioned); - result.append(", nonCacheable: "); - result.append(nonCacheable); - result.append(", attributeType: "); - result.append(attributeType); - result.append(", joinFetch: "); - result.append(joinFetch); - result.append(')'); - return result.toString(); - } - - public TextRange getJoinFetchTextRange() { - return getElementTextRange(EclipseLink.JOIN_FETCH); - } - - public TextRange getAttributeTypeTextRange() { - //no attribute-type for many-to-one - return getValidationTextRange(); - } - - - // ********** translators ********** - - public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) { - return new SimpleTranslator( - elementName, - structuralFeature, - EclipseLinkOrmPackage.eINSTANCE.getXmlManyToOne(), - buildTranslatorChildren()); - } - - private static Translator[] buildTranslatorChildren() { - return new Translator[] { - buildNameTranslator(), - buildTargetEntityTranslator(), - buildFetchTranslator(), - buildOptionalTranslator(), - buildAccessTranslator(), - buildMapsIdTranslator(), - buildIdTranslator(), - buildJoinColumnTranslator(), - buildJoinTableTranslator(), - buildJoinFieldTranslator(), - buildCascadeTranslator(), - buildJoinFetchTranslator(), - buildBatchFetchTranslator(), - buildPropertyTranslator(), - buildAccessMethodsTranslator(), - buildNoncacheableTranslator(), - 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(), - }; - } - - protected static Translator buildPrivateOwnedTranslator() { - return new EmptyTagBooleanTranslator(EclipseLink.PRIVATE_OWNED, EclipseLinkOrmPackage.eINSTANCE.getXmlPrivateOwned_PrivateOwned()); - } - - protected static Translator buildJoinFetchTranslator() { - return new Translator(EclipseLink.JOIN_FETCH, EclipseLinkOrmPackage.eINSTANCE.getXmlJoinFetch_JoinFetch()); - } - - 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 buildBatchFetchTranslator() { - return XmlBatchFetch.buildTranslator(EclipseLink2_1.BATCH_FETCH, EclipseLinkOrmPackage.eINSTANCE.getXmlBatchFetchHolder_BatchFetch()); - } - - protected static Translator buildJoinTableTranslator() { - return XmlJoinTable.buildTranslator(JPA.JOIN_TABLE, OrmPackage.eINSTANCE.getXmlJoinTableContainer_JoinTable()); - } - - protected static Translator buildNoncacheableTranslator() { - return new EmptyTagBooleanTranslator(EclipseLink2_2.NONCACHEABLE, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlManyToOne_2_2_NonCacheable()); - } - - protected static Translator buildPartitionedTranslator() { - return new Translator(EclipseLink2_2.PARTITIONING_GROUP__PARTITIONED, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlPartitioningGroup_2_2_Partitioned()); - } - - protected static Translator buildJoinFieldTranslator() { - return XmlJoinField.buildTranslator(EclipseLink2_4.JOIN_FIELD, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlManyToOne_2_4_JoinFields()); - } - - // ******** virtual attribute ************ - - public void setVirtualAttributeTypes(String attributeType, String targetEntity) { - this.setTargetEntity(targetEntity); - } -} diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlMappedSuperclass.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlMappedSuperclass.java deleted file mode 100644 index cd7c996127..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlMappedSuperclass.java +++ /dev/null @@ -1,4136 +0,0 @@ -/******************************************************************************* - * 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.core.resource.orm.SqlResultSetMapping; -import org.eclipse.jpt.jpa.core.resource.orm.XmlAssociationOverride; -import org.eclipse.jpt.jpa.core.resource.orm.XmlAssociationOverrideContainer; -import org.eclipse.jpt.jpa.core.resource.orm.XmlAttributeOverride; -import org.eclipse.jpt.jpa.core.resource.orm.XmlAttributeOverrideContainer; -import org.eclipse.jpt.jpa.core.resource.orm.XmlClassReference; -import org.eclipse.jpt.jpa.core.resource.orm.XmlGeneratorContainer; -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.XmlQueryContainer; -import org.eclipse.jpt.jpa.core.resource.orm.XmlSequenceGenerator; -import org.eclipse.jpt.jpa.core.resource.orm.XmlTableGenerator; -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.core.resource.orm.v2_0.XmlCacheable_2_0; -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.XmlMappedSuperclass_1_1; -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.XmlMappedSuperclass_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.EclipseLinkOrmV2_1Package; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroupContainer_2_1; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlMappedSuperclass_2_1; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlTypeMapping_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.XmlAdditionalCriteria_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.XmlMappedSuperclass_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_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.XmlMappedSuperclass_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_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.XmlGeneratorContainer2_4; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMappedSuperclass_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 Mapped Superclass'. - * - * 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 - * - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass#getOptimisticLocking Optimistic Locking}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass#getCopyPolicy Copy Policy}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass#getInstantiationCopyPolicy Instantiation Copy Policy}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass#getCloneCopyPolicy Clone Copy Policy}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass#getExcludeDefaultMappings Exclude Default Mappings}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlMappedSuperclass() - * @model kind="class" - * @generated - */ -public class XmlMappedSuperclass extends org.eclipse.jpt.jpa.core.resource.orm.XmlMappedSuperclass implements XmlTypeMapping, XmlMappedSuperclass_1_1, XmlMappedSuperclass_2_0, XmlMappedSuperclass_2_1, XmlMappedSuperclass_2_2, XmlMappedSuperclass_2_3, XmlMappedSuperclass_2_4, XmlReadOnly, XmlCustomizerHolder, XmlChangeTrackingHolder, XmlCacheHolder, XmlConverterContainer, XmlPropertyContainer -{ - /** - * The cached value of the '{@link #getAccessMethods() Access Methods}' containment reference. - * - * - * @see #getAccessMethods() - * @generated - * @ordered - */ - protected XmlAccessMethods accessMethods; - - /** - * The default value of the '{@link #getParentClass() Parent Class}' attribute. - * - * - * @see #getParentClass() - * @generated - * @ordered - */ - protected static final String PARENT_CLASS_EDEFAULT = null; - - /** - * The cached value of the '{@link #getParentClass() Parent Class}' attribute. - * - * - * @see #getParentClass() - * @generated - * @ordered - */ - protected String parentClass = PARENT_CLASS_EDEFAULT; - - /** - * The cached value of the '{@link #getPrimaryKey() Primary Key}' containment reference. - * - * - * @see #getPrimaryKey() - * @generated - * @ordered - */ - protected XmlPrimaryKey primaryKey; - - /** - * The default value of the '{@link #getCacheable() Cacheable}' attribute. - * - * - * @see #getCacheable() - * @generated - * @ordered - */ - protected static final Boolean CACHEABLE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getCacheable() Cacheable}' attribute. - * - * - * @see #getCacheable() - * @generated - * @ordered - */ - protected Boolean cacheable = CACHEABLE_EDEFAULT; - - /** - * The cached value of the '{@link #getCacheInterceptor() Cache Interceptor}' containment reference. - * - * - * @see #getCacheInterceptor() - * @generated - * @ordered - */ - protected XmlClassReference cacheInterceptor; - - /** - * The cached value of the '{@link #getAssociationOverrides() Association Overrides}' containment reference list. - * - * - * @see #getAssociationOverrides() - * @generated - * @ordered - */ - protected EList associationOverrides; - - /** - * The cached value of the '{@link #getAttributeOverrides() Attribute Overrides}' containment reference list. - * - * - * @see #getAttributeOverrides() - * @generated - * @ordered - */ - protected EList attributeOverrides; - - /** - * The cached value of the '{@link #getFetchGroups() Fetch Groups}' containment reference list. - * - * - * @see #getFetchGroups() - * @generated - * @ordered - */ - protected EList fetchGroups; - - /** - * 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 #getNamedQueries() Named Queries}' containment reference list. - * - * - * @see #getNamedQueries() - * @generated - * @ordered - */ - protected EList namedQueries; - - /** - * The cached value of the '{@link #getNamedNativeQueries() Named Native Queries}' containment reference list. - * - * - * @see #getNamedNativeQueries() - * @generated - * @ordered - */ - protected EList namedNativeQueries; - - /** - * The cached value of the '{@link #getNamedStoredProcedureQueries() Named Stored Procedure Queries}' containment reference list. - * - * - * @see #getNamedStoredProcedureQueries() - * @generated - * @ordered - */ - protected EList namedStoredProcedureQueries; - - /** - * The cached value of the '{@link #getSqlResultSetMappings() Sql Result Set Mappings}' containment reference list. - * - * - * @see #getSqlResultSetMappings() - * @generated - * @ordered - */ - protected EList sqlResultSetMappings; - - /** - * The cached value of the '{@link #getQueryRedirectors() Query Redirectors}' containment reference. - * - * - * @see #getQueryRedirectors() - * @generated - * @ordered - */ - protected XmlQueryRedirectors queryRedirectors; - - /** - * The cached value of the '{@link #getPartitioning() Partitioning}' containment reference. - * - * - * @see #getPartitioning() - * @generated - * @ordered - */ - protected XmlPartitioning_2_2 partitioning; - - /** - * The cached value of the '{@link #getReplicationPartitioning() Replication Partitioning}' containment reference. - * - * - * @see #getReplicationPartitioning() - * @generated - * @ordered - */ - protected XmlReplicationPartitioning_2_2 replicationPartitioning; - - /** - * The cached value of the '{@link #getRoundRobinPartitioning() Round Robin Partitioning}' containment reference. - * - * - * @see #getRoundRobinPartitioning() - * @generated - * @ordered - */ - protected XmlRoundRobinPartitioning_2_2 roundRobinPartitioning; - - /** - * The cached value of the '{@link #getPinnedPartitioning() Pinned Partitioning}' containment reference. - * - * - * @see #getPinnedPartitioning() - * @generated - * @ordered - */ - protected XmlPinnedPartitioning_2_2 pinnedPartitioning; - - /** - * The cached value of the '{@link #getRangePartitioning() Range Partitioning}' containment reference. - * - * - * @see #getRangePartitioning() - * @generated - * @ordered - */ - protected XmlRangePartitioning_2_2 rangePartitioning; - - /** - * The cached value of the '{@link #getValuePartitioning() Value Partitioning}' containment reference. - * - * - * @see #getValuePartitioning() - * @generated - * @ordered - */ - protected XmlValuePartitioning_2_2 valuePartitioning; - - /** - * The cached value of the '{@link #getHashPartitioning() Hash Partitioning}' containment reference. - * - * - * @see #getHashPartitioning() - * @generated - * @ordered - */ - protected XmlHashPartitioning_2_2 hashPartitioning; - - /** - * The cached value of the '{@link #getUnionPartitioning() Union Partitioning}' containment reference. - * - * - * @see #getUnionPartitioning() - * @generated - * @ordered - */ - protected XmlUnionPartitioning_2_2 unionPartitioning; - - /** - * The default value of the '{@link #getPartitioned() Partitioned}' attribute. - * - * - * @see #getPartitioned() - * @generated - * @ordered - */ - protected static final String PARTITIONED_EDEFAULT = null; - - /** - * The cached value of the '{@link #getPartitioned() Partitioned}' attribute. - * - * - * @see #getPartitioned() - * @generated - * @ordered - */ - protected String partitioned = PARTITIONED_EDEFAULT; - - /** - * The cached value of the '{@link #getAdditionalCriteria() Additional Criteria}' containment reference. - * - * - * @see #getAdditionalCriteria() - * @generated - * @ordered - */ - protected XmlAdditionalCriteria_2_2 additionalCriteria; - - /** - * The cached value of the '{@link #getMultitenant() Multitenant}' containment reference. - * - * - * @see #getMultitenant() - * @generated - * @ordered - */ - protected XmlMultitenant multitenant; - - /** - * The cached value of the '{@link #getNamedStoredFunctionQueries() Named Stored Function Queries}' containment reference list. - * - * - * @see #getNamedStoredFunctionQueries() - * @generated - * @ordered - */ - protected EList namedStoredFunctionQueries; - - /** - * The cached value of the '{@link #getNamedPlsqlStoredFunctionQueries() Named Plsql Stored Function Queries}' containment reference list. - * - * - * @see #getNamedPlsqlStoredFunctionQueries() - * @generated - * @ordered - */ - protected EList namedPlsqlStoredFunctionQueries; - - /** - * The cached value of the '{@link #getNamedPlsqlStoredProcedureQueries() Named Plsql Stored Procedure Queries}' containment reference list. - * - * - * @see #getNamedPlsqlStoredProcedureQueries() - * @generated - * @ordered - */ - protected EList namedPlsqlStoredProcedureQueries; - - /** - * The cached value of the '{@link #getPlsqlRecords() Plsql Records}' containment reference list. - * - * - * @see #getPlsqlRecords() - * @generated - * @ordered - */ - protected EList plsqlRecords; - - /** - * The cached value of the '{@link #getPlsqlTables() Plsql Tables}' containment reference list. - * - * - * @see #getPlsqlTables() - * @generated - * @ordered - */ - protected EList plsqlTables; - - /** - * 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 #getCacheIndex() Cache Index}' containment reference. - * - * - * @see #getCacheIndex() - * @generated - * @ordered - */ - protected XmlCacheIndex_2_4 cacheIndex; - - /** - * The default value of the '{@link #getReadOnly() Read Only}' attribute. - * - * - * @see #getReadOnly() - * @generated - * @ordered - */ - protected static final Boolean READ_ONLY_EDEFAULT = null; - - /** - * The cached value of the '{@link #getReadOnly() Read Only}' attribute. - * - * - * @see #getReadOnly() - * @generated - * @ordered - */ - protected Boolean readOnly = READ_ONLY_EDEFAULT; - - /** - * The cached value of the '{@link #getCustomizer() Customizer}' containment reference. - * - * - * @see #getCustomizer() - * @generated - * @ordered - */ - protected XmlClassReference customizer; - - /** - * The cached value of the '{@link #getChangeTracking() Change Tracking}' containment reference. - * - * - * @see #getChangeTracking() - * @generated - * @ordered - */ - protected XmlChangeTracking changeTracking; - - /** - * The cached value of the '{@link #getCache() Cache}' containment reference. - * - * - * @see #getCache() - * @generated - * @ordered - */ - protected XmlCache cache; - - /** - * 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 ExistenceType EXISTENCE_CHECKING_EDEFAULT = null; - - /** - * The cached value of the '{@link #getExistenceChecking() Existence Checking}' attribute. - * - * - * @see #getExistenceChecking() - * @generated - * @ordered - */ - protected ExistenceType existenceChecking = EXISTENCE_CHECKING_EDEFAULT; - - /** - * The cached value of the '{@link #getConverters() Converters}' containment reference list. - * - * - * @see #getConverters() - * @generated - * @ordered - */ - protected EList converters; - - /** - * The cached value of the '{@link #getTypeConverters() Type Converters}' containment reference list. - * - * - * @see #getTypeConverters() - * @generated - * @ordered - */ - protected EList typeConverters; - - /** - * The cached value of the '{@link #getObjectTypeConverters() Object Type Converters}' containment reference list. - * - * - * @see #getObjectTypeConverters() - * @generated - * @ordered - */ - protected EList objectTypeConverters; - - /** - * The cached value of the '{@link #getStructConverters() Struct Converters}' containment reference list. - * - * - * @see #getStructConverters() - * @generated - * @ordered - */ - protected EList structConverters; - - /** - * The cached value of the '{@link #getProperties() Properties}' containment reference list. - * - * - * @see #getProperties() - * @generated - * @ordered - */ - protected EList properties; - - /** - * The cached value of the '{@link #getOptimisticLocking() Optimistic Locking}' containment reference. - * - * - * @see #getOptimisticLocking() - * @generated - * @ordered - */ - protected XmlOptimisticLocking optimisticLocking; - - /** - * The cached value of the '{@link #getCopyPolicy() Copy Policy}' containment reference. - * - * - * @see #getCopyPolicy() - * @generated - * @ordered - */ - protected XmlCopyPolicy copyPolicy; - - /** - * The cached value of the '{@link #getInstantiationCopyPolicy() Instantiation Copy Policy}' containment reference. - * - * - * @see #getInstantiationCopyPolicy() - * @generated - * @ordered - */ - protected XmlInstantiationCopyPolicy instantiationCopyPolicy; - - /** - * The cached value of the '{@link #getCloneCopyPolicy() Clone Copy Policy}' containment reference. - * - * - * @see #getCloneCopyPolicy() - * @generated - * @ordered - */ - protected XmlCloneCopyPolicy cloneCopyPolicy; - - /** - * The default value of the '{@link #getExcludeDefaultMappings() Exclude Default Mappings}' attribute. - * - * - * @see #getExcludeDefaultMappings() - * @generated - * @ordered - */ - protected static final Boolean EXCLUDE_DEFAULT_MAPPINGS_EDEFAULT = null; - - /** - * The cached value of the '{@link #getExcludeDefaultMappings() Exclude Default Mappings}' attribute. - * - * - * @see #getExcludeDefaultMappings() - * @generated - * @ordered - */ - protected Boolean excludeDefaultMappings = EXCLUDE_DEFAULT_MAPPINGS_EDEFAULT; - - /** - * - * - * @generated - */ - protected XmlMappedSuperclass() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_MAPPED_SUPERCLASS; - } - - /** - * Returns the value of the 'Read Only' attribute. - * - *

- * 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.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__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_MAPPED_SUPERCLASS__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.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__CUSTOMIZER, null, msgs); - if (newCustomizer != null) - msgs = ((InternalEObject)newCustomizer).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CUSTOMIZER, null, msgs); - msgs = basicSetCustomizer(newCustomizer, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__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_MAPPED_SUPERCLASS__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.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__CHANGE_TRACKING, null, msgs); - if (newChangeTracking != null) - msgs = ((InternalEObject)newChangeTracking).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CHANGE_TRACKING, null, msgs); - msgs = basicSetChangeTracking(newChangeTracking, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__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_MAPPED_SUPERCLASS__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.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__CACHE, null, msgs); - if (newCache != null) - msgs = ((InternalEObject)newCache).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE, null, msgs); - msgs = basicSetCache(newCache, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__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.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__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 getConverters() - { - if (converters == null) - { - converters = new EObjectContainmentEList(XmlConverter.class, this, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CONVERTERS); - } - return converters; - } - - /** - * Returns the value of the 'Type Converters' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter}. - * - *

- * 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 getTypeConverters() - { - if (typeConverters == null) - { - typeConverters = new EObjectContainmentEList(XmlTypeConverter.class, this, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__TYPE_CONVERTERS); - } - return typeConverters; - } - - /** - * Returns the value of the 'Object Type Converters' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter}. - * - *

- * 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 getObjectTypeConverters() - { - if (objectTypeConverters == null) - { - objectTypeConverters = new EObjectContainmentEList(XmlObjectTypeConverter.class, this, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__OBJECT_TYPE_CONVERTERS); - } - return objectTypeConverters; - } - - /** - * Returns the value of the 'Struct Converters' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructConverter}. - * - *

- * 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 getStructConverters() - { - if (structConverters == null) - { - structConverters = new EObjectContainmentEList(XmlStructConverter.class, this, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__STRUCT_CONVERTERS); - } - return structConverters; - } - - /** - * Returns the value of the 'Optimistic Locking' containment reference. - * - *

- * 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#getXmlMappedSuperclass_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_MAPPED_SUPERCLASS__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.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__OPTIMISTIC_LOCKING, null, msgs); - if (newOptimisticLocking != null) - msgs = ((InternalEObject)newOptimisticLocking).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__OPTIMISTIC_LOCKING, null, msgs); - msgs = basicSetOptimisticLocking(newOptimisticLocking, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__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#getXmlMappedSuperclass_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_MAPPED_SUPERCLASS__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.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__COPY_POLICY, null, msgs); - if (newCopyPolicy != null) - msgs = ((InternalEObject)newCopyPolicy).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__COPY_POLICY, null, msgs); - msgs = basicSetCopyPolicy(newCopyPolicy, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__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#getXmlMappedSuperclass_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_MAPPED_SUPERCLASS__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.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__INSTANTIATION_COPY_POLICY, null, msgs); - if (newInstantiationCopyPolicy != null) - msgs = ((InternalEObject)newInstantiationCopyPolicy).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__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_MAPPED_SUPERCLASS__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#getXmlMappedSuperclass_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_MAPPED_SUPERCLASS__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.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__CLONE_COPY_POLICY, null, msgs); - if (newCloneCopyPolicy != null) - msgs = ((InternalEObject)newCloneCopyPolicy).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__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_MAPPED_SUPERCLASS__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 getProperties() - { - if (properties == null) - { - properties = new EObjectContainmentEList(XmlProperty.class, this, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PROPERTIES); - } - return properties; - } - - /** - * Returns the value of the 'Primary Key' containment reference. - * - *

- * 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#getXmlMappedSuperclass_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_MAPPED_SUPERCLASS__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.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__PRIMARY_KEY, null, msgs); - if (newPrimaryKey != null) - msgs = ((InternalEObject)newPrimaryKey).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PRIMARY_KEY, null, msgs); - msgs = basicSetPrimaryKey(newPrimaryKey, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PRIMARY_KEY, newPrimaryKey, newPrimaryKey)); - } - - /** - * Returns the value of the 'Cacheable' attribute. - * - *

- * If the meaning of the 'Cacheable' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Cacheable' attribute. - * @see #setCacheable(Boolean) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCacheable_2_0_Cacheable() - * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" - * @generated - */ - public Boolean getCacheable() - { - return cacheable; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass#getCacheable Cacheable}' attribute. - * - * - * @param value the new value of the 'Cacheable' attribute. - * @see #getCacheable() - * @generated - */ - public void setCacheable(Boolean newCacheable) - { - Boolean oldCacheable = cacheable; - cacheable = newCacheable; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHEABLE, oldCacheable, cacheable)); - } - - /** - * 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#getXmlMappedSuperclass_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_MAPPED_SUPERCLASS__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.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__CACHE_INTERCEPTOR, null, msgs); - if (newCacheInterceptor != null) - msgs = ((InternalEObject)newCacheInterceptor).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE_INTERCEPTOR, null, msgs); - msgs = basicSetCacheInterceptor(newCacheInterceptor, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE_INTERCEPTOR, newCacheInterceptor, newCacheInterceptor)); - } - - /** - * Returns the value of the '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 '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 getAssociationOverrides() - { - if (associationOverrides == null) - { - associationOverrides = new EObjectContainmentEList(XmlAssociationOverride.class, this, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ASSOCIATION_OVERRIDES); - } - return associationOverrides; - } - - /** - * 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 getAttributeOverrides() - { - if (attributeOverrides == null) - { - attributeOverrides = new EObjectContainmentEList(XmlAttributeOverride.class, this, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ATTRIBUTE_OVERRIDES); - } - return attributeOverrides; - } - - /** - * 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 getFetchGroups() - { - if (fetchGroups == null) - { - fetchGroups = new EObjectContainmentEList(XmlFetchGroup.class, this, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__FETCH_GROUPS); - } - return fetchGroups; - } - - /** - * Returns the value of the 'Sequence Generator' containment reference. - * - *

- * 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_MAPPED_SUPERCLASS__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.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__SEQUENCE_GENERATOR, null, msgs); - if (newSequenceGenerator != null) - msgs = ((InternalEObject)newSequenceGenerator).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__SEQUENCE_GENERATOR, null, msgs); - msgs = basicSetSequenceGenerator(newSequenceGenerator, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__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_MAPPED_SUPERCLASS__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.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__TABLE_GENERATOR, null, msgs); - if (newTableGenerator != null) - msgs = ((InternalEObject)newTableGenerator).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__TABLE_GENERATOR, null, msgs); - msgs = basicSetTableGenerator(newTableGenerator, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__TABLE_GENERATOR, newTableGenerator, newTableGenerator)); - } - - /** - * Returns the value of the 'Named Queries' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.core.resource.orm.XmlNamedQuery}. - * - *

- * If the meaning of the 'Named Queries' containment reference list isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Named Queries' containment reference list. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlQueryContainer_NamedQueries() - * @model containment="true" - * @generated - */ - public EList getNamedQueries() - { - if (namedQueries == null) - { - namedQueries = new EObjectContainmentEList(XmlNamedQuery.class, this, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_QUERIES); - } - return namedQueries; - } - - /** - * Returns the value of the 'Named Native Queries' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.core.resource.orm.XmlNamedNativeQuery}. - * - *

- * If the meaning of the 'Named Native Queries' containment reference list isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Named Native Queries' containment reference list. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlQueryContainer_NamedNativeQueries() - * @model containment="true" - * @generated - */ - public EList getNamedNativeQueries() - { - if (namedNativeQueries == null) - { - namedNativeQueries = new EObjectContainmentEList(XmlNamedNativeQuery.class, this, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_NATIVE_QUERIES); - } - return namedNativeQueries; - } - - /** - * 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 getNamedStoredProcedureQueries() - { - if (namedStoredProcedureQueries == null) - { - namedStoredProcedureQueries = new EObjectContainmentEList(XmlNamedStoredProcedureQuery.class, this, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_STORED_PROCEDURE_QUERIES); - } - return namedStoredProcedureQueries; - } - - /** - * 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_MAPPED_SUPERCLASS__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.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__ACCESS_METHODS, null, msgs); - if (newAccessMethods != null) - msgs = ((InternalEObject)newAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ACCESS_METHODS, null, msgs); - msgs = basicSetAccessMethods(newAccessMethods, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ACCESS_METHODS, newAccessMethods, newAccessMethods)); - } - - /** - * Returns the value of the 'Sql Result Set Mappings' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.core.resource.orm.SqlResultSetMapping}. - * - *

- * If the meaning of the 'Sql Result Set Mappings' containment reference list isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Sql Result Set Mappings' containment reference list. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlMappedSuperclass_2_1_SqlResultSetMappings() - * @model containment="true" - * @generated - */ - public EList getSqlResultSetMappings() - { - if (sqlResultSetMappings == null) - { - sqlResultSetMappings = new EObjectContainmentEList(SqlResultSetMapping.class, this, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__SQL_RESULT_SET_MAPPINGS); - } - return sqlResultSetMappings; - } - - /** - * 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#getXmlMappedSuperclass_2_1_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_MAPPED_SUPERCLASS__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.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__QUERY_REDIRECTORS, null, msgs); - if (newQueryRedirectors != null) - msgs = ((InternalEObject)newQueryRedirectors).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__QUERY_REDIRECTORS, null, msgs); - msgs = basicSetQueryRedirectors(newQueryRedirectors, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__QUERY_REDIRECTORS, newQueryRedirectors, newQueryRedirectors)); - } - - /** - * 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.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__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_MAPPED_SUPERCLASS__PARTITIONING, oldPartitioning, newPartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__PARTITIONING, null, msgs); - if (newPartitioning != null) - msgs = ((InternalEObject)newPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONING, null, msgs); - msgs = basicSetPartitioning(newPartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONING, newPartitioning, newPartitioning)); - } - - /** - * Returns the value of the '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_MAPPED_SUPERCLASS__REPLICATION_PARTITIONING, oldReplicationPartitioning, newReplicationPartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__REPLICATION_PARTITIONING, null, msgs); - if (newReplicationPartitioning != null) - msgs = ((InternalEObject)newReplicationPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__REPLICATION_PARTITIONING, null, msgs); - msgs = basicSetReplicationPartitioning(newReplicationPartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__REPLICATION_PARTITIONING, newReplicationPartitioning, newReplicationPartitioning)); - } - - /** - * Returns the value of the '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_MAPPED_SUPERCLASS__ROUND_ROBIN_PARTITIONING, oldRoundRobinPartitioning, newRoundRobinPartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__ROUND_ROBIN_PARTITIONING, null, msgs); - if (newRoundRobinPartitioning != null) - msgs = ((InternalEObject)newRoundRobinPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ROUND_ROBIN_PARTITIONING, null, msgs); - msgs = basicSetRoundRobinPartitioning(newRoundRobinPartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ROUND_ROBIN_PARTITIONING, newRoundRobinPartitioning, newRoundRobinPartitioning)); - } - - /** - * Returns the value of the '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_MAPPED_SUPERCLASS__PINNED_PARTITIONING, oldPinnedPartitioning, newPinnedPartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__PINNED_PARTITIONING, null, msgs); - if (newPinnedPartitioning != null) - msgs = ((InternalEObject)newPinnedPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PINNED_PARTITIONING, null, msgs); - msgs = basicSetPinnedPartitioning(newPinnedPartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PINNED_PARTITIONING, newPinnedPartitioning, newPinnedPartitioning)); - } - - /** - * Returns the value of the '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_MAPPED_SUPERCLASS__RANGE_PARTITIONING, oldRangePartitioning, newRangePartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__RANGE_PARTITIONING, null, msgs); - if (newRangePartitioning != null) - msgs = ((InternalEObject)newRangePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__RANGE_PARTITIONING, null, msgs); - msgs = basicSetRangePartitioning(newRangePartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__RANGE_PARTITIONING, newRangePartitioning, newRangePartitioning)); - } - - /** - * Returns the value of the '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_MAPPED_SUPERCLASS__VALUE_PARTITIONING, oldValuePartitioning, newValuePartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__VALUE_PARTITIONING, null, msgs); - if (newValuePartitioning != null) - msgs = ((InternalEObject)newValuePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__VALUE_PARTITIONING, null, msgs); - msgs = basicSetValuePartitioning(newValuePartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__VALUE_PARTITIONING, newValuePartitioning, newValuePartitioning)); - } - - /** - * Returns the value of the '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_MAPPED_SUPERCLASS__HASH_PARTITIONING, oldHashPartitioning, newHashPartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__HASH_PARTITIONING, null, msgs); - if (newHashPartitioning != null) - msgs = ((InternalEObject)newHashPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__HASH_PARTITIONING, null, msgs); - msgs = basicSetHashPartitioning(newHashPartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__HASH_PARTITIONING, newHashPartitioning, newHashPartitioning)); - } - - /** - * Returns the value of the '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_MAPPED_SUPERCLASS__UNION_PARTITIONING, oldUnionPartitioning, newUnionPartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__UNION_PARTITIONING, null, msgs); - if (newUnionPartitioning != null) - msgs = ((InternalEObject)newUnionPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UNION_PARTITIONING, null, msgs); - msgs = basicSetUnionPartitioning(newUnionPartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UNION_PARTITIONING, newUnionPartitioning, newUnionPartitioning)); - } - - /** - * Returns the value of the '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.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__PARTITIONED, oldPartitioned, partitioned)); - } - - /** - * 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#getXmlMappedSuperclass_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_MAPPED_SUPERCLASS__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.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__ADDITIONAL_CRITERIA, null, msgs); - if (newAdditionalCriteria != null) - msgs = ((InternalEObject)newAdditionalCriteria).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ADDITIONAL_CRITERIA, null, msgs); - msgs = basicSetAdditionalCriteria(newAdditionalCriteria, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ADDITIONAL_CRITERIA, newAdditionalCriteria, newAdditionalCriteria)); - } - - /** - * 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_MAPPED_SUPERCLASS__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.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__MULTITENANT, null, msgs); - if (newMultitenant != null) - msgs = ((InternalEObject)newMultitenant).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__MULTITENANT, null, msgs); - msgs = basicSetMultitenant(newMultitenant, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__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#getXmlMappedSuperclass_2_3_NamedStoredFunctionQueries() - * @model containment="true" - * @generated - */ - public EList getNamedStoredFunctionQueries() - { - if (namedStoredFunctionQueries == null) - { - namedStoredFunctionQueries = new EObjectContainmentEList(XmlNamedStoredFunctionQuery_2_3.class, this, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_STORED_FUNCTION_QUERIES); - } - return namedStoredFunctionQueries; - } - - /** - * Returns the value of the 'Named Plsql Stored Function Queries' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredFunctionQuery_2_3}. - * - *

- * 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#getXmlMappedSuperclass_2_3_NamedPlsqlStoredFunctionQueries() - * @model containment="true" - * @generated - */ - public EList getNamedPlsqlStoredFunctionQueries() - { - if (namedPlsqlStoredFunctionQueries == null) - { - namedPlsqlStoredFunctionQueries = new EObjectContainmentEList(XmlNamedPlsqlStoredFunctionQuery_2_3.class, this, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_PLSQL_STORED_FUNCTION_QUERIES); - } - return namedPlsqlStoredFunctionQueries; - } - - /** - * Returns the value of the 'Named Plsql Stored Procedure Queries' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredProcedureQuery_2_3}. - * - *

- * 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#getXmlMappedSuperclass_2_3_NamedPlsqlStoredProcedureQueries() - * @model containment="true" - * @generated - */ - public EList getNamedPlsqlStoredProcedureQueries() - { - if (namedPlsqlStoredProcedureQueries == null) - { - namedPlsqlStoredProcedureQueries = new EObjectContainmentEList(XmlNamedPlsqlStoredProcedureQuery_2_3.class, this, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_PLSQL_STORED_PROCEDURE_QUERIES); - } - return namedPlsqlStoredProcedureQueries; - } - - /** - * 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#getXmlMappedSuperclass_2_3_PlsqlRecords() - * @model containment="true" - * @generated - */ - public EList getPlsqlRecords() - { - if (plsqlRecords == null) - { - plsqlRecords = new EObjectContainmentEList(XmlPlsqlRecord_2_3.class, this, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PLSQL_RECORDS); - } - return plsqlRecords; - } - - /** - * Returns the value of the 'Plsql Tables' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPlsqlTable}. - * - *

- * 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#getXmlMappedSuperclass_2_3_PlsqlTables() - * @model containment="true" - * @generated - */ - public EList getPlsqlTables() - { - if (plsqlTables == null) - { - plsqlTables = new EObjectContainmentEList(XmlPlsqlTable.class, this, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PLSQL_TABLES); - } - return plsqlTables; - } - - /** - * 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#getXmlMappedSuperclass_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_MAPPED_SUPERCLASS__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.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__CACHE_INDEX, null, msgs); - if (newCacheIndex != null) - msgs = ((InternalEObject)newCacheIndex).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE_INDEX, null, msgs); - msgs = basicSetCacheIndex(newCacheIndex, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__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_MAPPED_SUPERCLASS__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.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__UUID_GENERATOR, null, msgs); - if (newUuidGenerator != null) - msgs = ((InternalEObject)newUuidGenerator).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UUID_GENERATOR, null, msgs); - msgs = basicSetUuidGenerator(newUuidGenerator, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UUID_GENERATOR, newUuidGenerator, newUuidGenerator)); - } - - /** - * 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#getXmlMappedSuperclass_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.XmlMappedSuperclass#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_MAPPED_SUPERCLASS__EXCLUDE_DEFAULT_MAPPINGS, oldExcludeDefaultMappings, excludeDefaultMappings)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ACCESS_METHODS: - return basicSetAccessMethods(null, msgs); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PRIMARY_KEY: - return basicSetPrimaryKey(null, msgs); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE_INTERCEPTOR: - return basicSetCacheInterceptor(null, msgs); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ASSOCIATION_OVERRIDES: - return ((InternalEList)getAssociationOverrides()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ATTRIBUTE_OVERRIDES: - return ((InternalEList)getAttributeOverrides()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__FETCH_GROUPS: - return ((InternalEList)getFetchGroups()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__SEQUENCE_GENERATOR: - return basicSetSequenceGenerator(null, msgs); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__TABLE_GENERATOR: - return basicSetTableGenerator(null, msgs); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_QUERIES: - return ((InternalEList)getNamedQueries()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_NATIVE_QUERIES: - return ((InternalEList)getNamedNativeQueries()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_STORED_PROCEDURE_QUERIES: - return ((InternalEList)getNamedStoredProcedureQueries()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__SQL_RESULT_SET_MAPPINGS: - return ((InternalEList)getSqlResultSetMappings()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__QUERY_REDIRECTORS: - return basicSetQueryRedirectors(null, msgs); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONING: - return basicSetPartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__REPLICATION_PARTITIONING: - return basicSetReplicationPartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ROUND_ROBIN_PARTITIONING: - return basicSetRoundRobinPartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PINNED_PARTITIONING: - return basicSetPinnedPartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__RANGE_PARTITIONING: - return basicSetRangePartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__VALUE_PARTITIONING: - return basicSetValuePartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__HASH_PARTITIONING: - return basicSetHashPartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UNION_PARTITIONING: - return basicSetUnionPartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ADDITIONAL_CRITERIA: - return basicSetAdditionalCriteria(null, msgs); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__MULTITENANT: - return basicSetMultitenant(null, msgs); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_STORED_FUNCTION_QUERIES: - return ((InternalEList)getNamedStoredFunctionQueries()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_PLSQL_STORED_FUNCTION_QUERIES: - return ((InternalEList)getNamedPlsqlStoredFunctionQueries()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_PLSQL_STORED_PROCEDURE_QUERIES: - return ((InternalEList)getNamedPlsqlStoredProcedureQueries()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PLSQL_RECORDS: - return ((InternalEList)getPlsqlRecords()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PLSQL_TABLES: - return ((InternalEList)getPlsqlTables()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UUID_GENERATOR: - return basicSetUuidGenerator(null, msgs); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE_INDEX: - return basicSetCacheIndex(null, msgs); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CUSTOMIZER: - return basicSetCustomizer(null, msgs); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CHANGE_TRACKING: - return basicSetChangeTracking(null, msgs); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE: - return basicSetCache(null, msgs); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CONVERTERS: - return ((InternalEList)getConverters()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__TYPE_CONVERTERS: - return ((InternalEList)getTypeConverters()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__OBJECT_TYPE_CONVERTERS: - return ((InternalEList)getObjectTypeConverters()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__STRUCT_CONVERTERS: - return ((InternalEList)getStructConverters()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PROPERTIES: - return ((InternalEList)getProperties()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__OPTIMISTIC_LOCKING: - return basicSetOptimisticLocking(null, msgs); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__COPY_POLICY: - return basicSetCopyPolicy(null, msgs); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__INSTANTIATION_COPY_POLICY: - return basicSetInstantiationCopyPolicy(null, msgs); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__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_MAPPED_SUPERCLASS__ACCESS_METHODS: - return getAccessMethods(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARENT_CLASS: - return getParentClass(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PRIMARY_KEY: - return getPrimaryKey(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHEABLE: - return getCacheable(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE_INTERCEPTOR: - return getCacheInterceptor(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ASSOCIATION_OVERRIDES: - return getAssociationOverrides(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ATTRIBUTE_OVERRIDES: - return getAttributeOverrides(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__FETCH_GROUPS: - return getFetchGroups(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__SEQUENCE_GENERATOR: - return getSequenceGenerator(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__TABLE_GENERATOR: - return getTableGenerator(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_QUERIES: - return getNamedQueries(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_NATIVE_QUERIES: - return getNamedNativeQueries(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_STORED_PROCEDURE_QUERIES: - return getNamedStoredProcedureQueries(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__SQL_RESULT_SET_MAPPINGS: - return getSqlResultSetMappings(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__QUERY_REDIRECTORS: - return getQueryRedirectors(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONING: - return getPartitioning(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__REPLICATION_PARTITIONING: - return getReplicationPartitioning(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ROUND_ROBIN_PARTITIONING: - return getRoundRobinPartitioning(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PINNED_PARTITIONING: - return getPinnedPartitioning(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__RANGE_PARTITIONING: - return getRangePartitioning(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__VALUE_PARTITIONING: - return getValuePartitioning(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__HASH_PARTITIONING: - return getHashPartitioning(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UNION_PARTITIONING: - return getUnionPartitioning(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONED: - return getPartitioned(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ADDITIONAL_CRITERIA: - return getAdditionalCriteria(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__MULTITENANT: - return getMultitenant(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_STORED_FUNCTION_QUERIES: - return getNamedStoredFunctionQueries(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_PLSQL_STORED_FUNCTION_QUERIES: - return getNamedPlsqlStoredFunctionQueries(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_PLSQL_STORED_PROCEDURE_QUERIES: - return getNamedPlsqlStoredProcedureQueries(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PLSQL_RECORDS: - return getPlsqlRecords(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PLSQL_TABLES: - return getPlsqlTables(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UUID_GENERATOR: - return getUuidGenerator(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE_INDEX: - return getCacheIndex(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__READ_ONLY: - return getReadOnly(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CUSTOMIZER: - return getCustomizer(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CHANGE_TRACKING: - return getChangeTracking(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE: - return getCache(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__EXISTENCE_CHECKING: - return getExistenceChecking(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CONVERTERS: - return getConverters(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__TYPE_CONVERTERS: - return getTypeConverters(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__OBJECT_TYPE_CONVERTERS: - return getObjectTypeConverters(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__STRUCT_CONVERTERS: - return getStructConverters(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PROPERTIES: - return getProperties(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__OPTIMISTIC_LOCKING: - return getOptimisticLocking(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__COPY_POLICY: - return getCopyPolicy(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__INSTANTIATION_COPY_POLICY: - return getInstantiationCopyPolicy(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CLONE_COPY_POLICY: - return getCloneCopyPolicy(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__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_MAPPED_SUPERCLASS__ACCESS_METHODS: - setAccessMethods((XmlAccessMethods)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARENT_CLASS: - setParentClass((String)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PRIMARY_KEY: - setPrimaryKey((XmlPrimaryKey)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHEABLE: - setCacheable((Boolean)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE_INTERCEPTOR: - setCacheInterceptor((XmlClassReference)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ASSOCIATION_OVERRIDES: - getAssociationOverrides().clear(); - getAssociationOverrides().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ATTRIBUTE_OVERRIDES: - getAttributeOverrides().clear(); - getAttributeOverrides().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__FETCH_GROUPS: - getFetchGroups().clear(); - getFetchGroups().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__SEQUENCE_GENERATOR: - setSequenceGenerator((XmlSequenceGenerator)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__TABLE_GENERATOR: - setTableGenerator((XmlTableGenerator)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_QUERIES: - getNamedQueries().clear(); - getNamedQueries().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_NATIVE_QUERIES: - getNamedNativeQueries().clear(); - getNamedNativeQueries().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_STORED_PROCEDURE_QUERIES: - getNamedStoredProcedureQueries().clear(); - getNamedStoredProcedureQueries().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__SQL_RESULT_SET_MAPPINGS: - getSqlResultSetMappings().clear(); - getSqlResultSetMappings().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__QUERY_REDIRECTORS: - setQueryRedirectors((XmlQueryRedirectors)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONING: - setPartitioning((XmlPartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__REPLICATION_PARTITIONING: - setReplicationPartitioning((XmlReplicationPartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ROUND_ROBIN_PARTITIONING: - setRoundRobinPartitioning((XmlRoundRobinPartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PINNED_PARTITIONING: - setPinnedPartitioning((XmlPinnedPartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__RANGE_PARTITIONING: - setRangePartitioning((XmlRangePartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__VALUE_PARTITIONING: - setValuePartitioning((XmlValuePartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__HASH_PARTITIONING: - setHashPartitioning((XmlHashPartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UNION_PARTITIONING: - setUnionPartitioning((XmlUnionPartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONED: - setPartitioned((String)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ADDITIONAL_CRITERIA: - setAdditionalCriteria((XmlAdditionalCriteria_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__MULTITENANT: - setMultitenant((XmlMultitenant)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_STORED_FUNCTION_QUERIES: - getNamedStoredFunctionQueries().clear(); - getNamedStoredFunctionQueries().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_PLSQL_STORED_FUNCTION_QUERIES: - getNamedPlsqlStoredFunctionQueries().clear(); - getNamedPlsqlStoredFunctionQueries().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_PLSQL_STORED_PROCEDURE_QUERIES: - getNamedPlsqlStoredProcedureQueries().clear(); - getNamedPlsqlStoredProcedureQueries().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PLSQL_RECORDS: - getPlsqlRecords().clear(); - getPlsqlRecords().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PLSQL_TABLES: - getPlsqlTables().clear(); - getPlsqlTables().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UUID_GENERATOR: - setUuidGenerator((XmlUuidGenerator_2_4)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE_INDEX: - setCacheIndex((XmlCacheIndex_2_4)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__READ_ONLY: - setReadOnly((Boolean)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CUSTOMIZER: - setCustomizer((XmlClassReference)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CHANGE_TRACKING: - setChangeTracking((XmlChangeTracking)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE: - setCache((XmlCache)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__EXISTENCE_CHECKING: - setExistenceChecking((ExistenceType)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CONVERTERS: - getConverters().clear(); - getConverters().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__TYPE_CONVERTERS: - getTypeConverters().clear(); - getTypeConverters().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__OBJECT_TYPE_CONVERTERS: - getObjectTypeConverters().clear(); - getObjectTypeConverters().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__STRUCT_CONVERTERS: - getStructConverters().clear(); - getStructConverters().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PROPERTIES: - getProperties().clear(); - getProperties().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__OPTIMISTIC_LOCKING: - setOptimisticLocking((XmlOptimisticLocking)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__COPY_POLICY: - setCopyPolicy((XmlCopyPolicy)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__INSTANTIATION_COPY_POLICY: - setInstantiationCopyPolicy((XmlInstantiationCopyPolicy)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CLONE_COPY_POLICY: - setCloneCopyPolicy((XmlCloneCopyPolicy)newValue); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__EXCLUDE_DEFAULT_MAPPINGS: - setExcludeDefaultMappings((Boolean)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ACCESS_METHODS: - setAccessMethods((XmlAccessMethods)null); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARENT_CLASS: - setParentClass(PARENT_CLASS_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PRIMARY_KEY: - setPrimaryKey((XmlPrimaryKey)null); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHEABLE: - setCacheable(CACHEABLE_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE_INTERCEPTOR: - setCacheInterceptor((XmlClassReference)null); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ASSOCIATION_OVERRIDES: - getAssociationOverrides().clear(); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ATTRIBUTE_OVERRIDES: - getAttributeOverrides().clear(); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__FETCH_GROUPS: - getFetchGroups().clear(); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__SEQUENCE_GENERATOR: - setSequenceGenerator((XmlSequenceGenerator)null); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__TABLE_GENERATOR: - setTableGenerator((XmlTableGenerator)null); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_QUERIES: - getNamedQueries().clear(); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_NATIVE_QUERIES: - getNamedNativeQueries().clear(); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_STORED_PROCEDURE_QUERIES: - getNamedStoredProcedureQueries().clear(); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__SQL_RESULT_SET_MAPPINGS: - getSqlResultSetMappings().clear(); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__QUERY_REDIRECTORS: - setQueryRedirectors((XmlQueryRedirectors)null); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONING: - setPartitioning((XmlPartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__REPLICATION_PARTITIONING: - setReplicationPartitioning((XmlReplicationPartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ROUND_ROBIN_PARTITIONING: - setRoundRobinPartitioning((XmlRoundRobinPartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PINNED_PARTITIONING: - setPinnedPartitioning((XmlPinnedPartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__RANGE_PARTITIONING: - setRangePartitioning((XmlRangePartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__VALUE_PARTITIONING: - setValuePartitioning((XmlValuePartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__HASH_PARTITIONING: - setHashPartitioning((XmlHashPartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UNION_PARTITIONING: - setUnionPartitioning((XmlUnionPartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONED: - setPartitioned(PARTITIONED_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ADDITIONAL_CRITERIA: - setAdditionalCriteria((XmlAdditionalCriteria_2_2)null); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__MULTITENANT: - setMultitenant((XmlMultitenant)null); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_STORED_FUNCTION_QUERIES: - getNamedStoredFunctionQueries().clear(); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_PLSQL_STORED_FUNCTION_QUERIES: - getNamedPlsqlStoredFunctionQueries().clear(); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_PLSQL_STORED_PROCEDURE_QUERIES: - getNamedPlsqlStoredProcedureQueries().clear(); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PLSQL_RECORDS: - getPlsqlRecords().clear(); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PLSQL_TABLES: - getPlsqlTables().clear(); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UUID_GENERATOR: - setUuidGenerator((XmlUuidGenerator_2_4)null); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE_INDEX: - setCacheIndex((XmlCacheIndex_2_4)null); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__READ_ONLY: - setReadOnly(READ_ONLY_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CUSTOMIZER: - setCustomizer((XmlClassReference)null); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CHANGE_TRACKING: - setChangeTracking((XmlChangeTracking)null); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE: - setCache((XmlCache)null); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__EXISTENCE_CHECKING: - setExistenceChecking(EXISTENCE_CHECKING_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CONVERTERS: - getConverters().clear(); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__TYPE_CONVERTERS: - getTypeConverters().clear(); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__OBJECT_TYPE_CONVERTERS: - getObjectTypeConverters().clear(); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__STRUCT_CONVERTERS: - getStructConverters().clear(); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PROPERTIES: - getProperties().clear(); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__OPTIMISTIC_LOCKING: - setOptimisticLocking((XmlOptimisticLocking)null); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__COPY_POLICY: - setCopyPolicy((XmlCopyPolicy)null); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__INSTANTIATION_COPY_POLICY: - setInstantiationCopyPolicy((XmlInstantiationCopyPolicy)null); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CLONE_COPY_POLICY: - setCloneCopyPolicy((XmlCloneCopyPolicy)null); - return; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__EXCLUDE_DEFAULT_MAPPINGS: - setExcludeDefaultMappings(EXCLUDE_DEFAULT_MAPPINGS_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ACCESS_METHODS: - return accessMethods != null; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARENT_CLASS: - return PARENT_CLASS_EDEFAULT == null ? parentClass != null : !PARENT_CLASS_EDEFAULT.equals(parentClass); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PRIMARY_KEY: - return primaryKey != null; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHEABLE: - return CACHEABLE_EDEFAULT == null ? cacheable != null : !CACHEABLE_EDEFAULT.equals(cacheable); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE_INTERCEPTOR: - return cacheInterceptor != null; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ASSOCIATION_OVERRIDES: - return associationOverrides != null && !associationOverrides.isEmpty(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ATTRIBUTE_OVERRIDES: - return attributeOverrides != null && !attributeOverrides.isEmpty(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__FETCH_GROUPS: - return fetchGroups != null && !fetchGroups.isEmpty(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__SEQUENCE_GENERATOR: - return sequenceGenerator != null; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__TABLE_GENERATOR: - return tableGenerator != null; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_QUERIES: - return namedQueries != null && !namedQueries.isEmpty(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_NATIVE_QUERIES: - return namedNativeQueries != null && !namedNativeQueries.isEmpty(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_STORED_PROCEDURE_QUERIES: - return namedStoredProcedureQueries != null && !namedStoredProcedureQueries.isEmpty(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__SQL_RESULT_SET_MAPPINGS: - return sqlResultSetMappings != null && !sqlResultSetMappings.isEmpty(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__QUERY_REDIRECTORS: - return queryRedirectors != null; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONING: - return partitioning != null; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__REPLICATION_PARTITIONING: - return replicationPartitioning != null; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ROUND_ROBIN_PARTITIONING: - return roundRobinPartitioning != null; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PINNED_PARTITIONING: - return pinnedPartitioning != null; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__RANGE_PARTITIONING: - return rangePartitioning != null; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__VALUE_PARTITIONING: - return valuePartitioning != null; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__HASH_PARTITIONING: - return hashPartitioning != null; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UNION_PARTITIONING: - return unionPartitioning != null; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONED: - return PARTITIONED_EDEFAULT == null ? partitioned != null : !PARTITIONED_EDEFAULT.equals(partitioned); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ADDITIONAL_CRITERIA: - return additionalCriteria != null; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__MULTITENANT: - return multitenant != null; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_STORED_FUNCTION_QUERIES: - return namedStoredFunctionQueries != null && !namedStoredFunctionQueries.isEmpty(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_PLSQL_STORED_FUNCTION_QUERIES: - return namedPlsqlStoredFunctionQueries != null && !namedPlsqlStoredFunctionQueries.isEmpty(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_PLSQL_STORED_PROCEDURE_QUERIES: - return namedPlsqlStoredProcedureQueries != null && !namedPlsqlStoredProcedureQueries.isEmpty(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PLSQL_RECORDS: - return plsqlRecords != null && !plsqlRecords.isEmpty(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PLSQL_TABLES: - return plsqlTables != null && !plsqlTables.isEmpty(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UUID_GENERATOR: - return uuidGenerator != null; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE_INDEX: - return cacheIndex != null; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__READ_ONLY: - return READ_ONLY_EDEFAULT == null ? readOnly != null : !READ_ONLY_EDEFAULT.equals(readOnly); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CUSTOMIZER: - return customizer != null; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CHANGE_TRACKING: - return changeTracking != null; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE: - return cache != null; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__EXISTENCE_CHECKING: - return existenceChecking != EXISTENCE_CHECKING_EDEFAULT; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CONVERTERS: - return converters != null && !converters.isEmpty(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__TYPE_CONVERTERS: - return typeConverters != null && !typeConverters.isEmpty(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__OBJECT_TYPE_CONVERTERS: - return objectTypeConverters != null && !objectTypeConverters.isEmpty(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__STRUCT_CONVERTERS: - return structConverters != null && !structConverters.isEmpty(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PROPERTIES: - return properties != null && !properties.isEmpty(); - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__OPTIMISTIC_LOCKING: - return optimisticLocking != null; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__COPY_POLICY: - return copyPolicy != null; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__INSTANTIATION_COPY_POLICY: - return instantiationCopyPolicy != null; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CLONE_COPY_POLICY: - return cloneCopyPolicy != null; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__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_MAPPED_SUPERCLASS__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS; - default: return -1; - } - } - if (baseClass == XmlTypeMapping_2_1.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__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 == XmlMappedSuperclass_1_1.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PRIMARY_KEY: return EclipseLinkOrmV1_1Package.XML_MAPPED_SUPERCLASS_11__PRIMARY_KEY; - default: return -1; - } - } - if (baseClass == XmlCacheable_2_0.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHEABLE: return OrmV2_0Package.XML_CACHEABLE_20__CACHEABLE; - default: return -1; - } - } - if (baseClass == XmlMappedSuperclass_2_0.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE_INTERCEPTOR: return EclipseLinkOrmV2_0Package.XML_MAPPED_SUPERCLASS_20__CACHE_INTERCEPTOR; - default: return -1; - } - } - if (baseClass == XmlAssociationOverrideContainer.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ASSOCIATION_OVERRIDES: return OrmPackage.XML_ASSOCIATION_OVERRIDE_CONTAINER__ASSOCIATION_OVERRIDES; - default: return -1; - } - } - if (baseClass == XmlAttributeOverrideContainer.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ATTRIBUTE_OVERRIDES: return OrmPackage.XML_ATTRIBUTE_OVERRIDE_CONTAINER__ATTRIBUTE_OVERRIDES; - default: return -1; - } - } - if (baseClass == XmlFetchGroupContainer_2_1.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__FETCH_GROUPS: return EclipseLinkOrmV2_1Package.XML_FETCH_GROUP_CONTAINER_21__FETCH_GROUPS; - default: return -1; - } - } - if (baseClass == XmlGeneratorContainer.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__SEQUENCE_GENERATOR: return OrmPackage.XML_GENERATOR_CONTAINER__SEQUENCE_GENERATOR; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__TABLE_GENERATOR: return OrmPackage.XML_GENERATOR_CONTAINER__TABLE_GENERATOR; - default: return -1; - } - } - if (baseClass == XmlQueryContainer.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_QUERIES: return OrmPackage.XML_QUERY_CONTAINER__NAMED_QUERIES; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_NATIVE_QUERIES: return OrmPackage.XML_QUERY_CONTAINER__NAMED_NATIVE_QUERIES; - default: return -1; - } - } - if (baseClass == org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryContainer.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_STORED_PROCEDURE_QUERIES: return EclipseLinkOrmPackage.XML_QUERY_CONTAINER__NAMED_STORED_PROCEDURE_QUERIES; - default: return -1; - } - } - if (baseClass == XmlMappedSuperclass_2_1.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__SQL_RESULT_SET_MAPPINGS: return EclipseLinkOrmV2_1Package.XML_MAPPED_SUPERCLASS_21__SQL_RESULT_SET_MAPPINGS; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__QUERY_REDIRECTORS: return EclipseLinkOrmV2_1Package.XML_MAPPED_SUPERCLASS_21__QUERY_REDIRECTORS; - default: return -1; - } - } - if (baseClass == XmlPartitioningGroup_2_2.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONING; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__REPLICATION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PINNED_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__RANGE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__VALUE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__HASH_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__HASH_PARTITIONING; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UNION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__UNION_PARTITIONING; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONED: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONED; - default: return -1; - } - } - if (baseClass == XmlMappedSuperclass_2_2.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ADDITIONAL_CRITERIA: return EclipseLinkOrmV2_2Package.XML_MAPPED_SUPERCLASS_22__ADDITIONAL_CRITERIA; - default: return -1; - } - } - if (baseClass == XmlMultitenantHolder.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__MULTITENANT: return EclipseLinkOrmPackage.XML_MULTITENANT_HOLDER__MULTITENANT; - default: return -1; - } - } - if (baseClass == XmlMappedSuperclass_2_3.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_STORED_FUNCTION_QUERIES: return EclipseLinkOrmV2_3Package.XML_MAPPED_SUPERCLASS_23__NAMED_STORED_FUNCTION_QUERIES; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_PLSQL_STORED_FUNCTION_QUERIES: return EclipseLinkOrmV2_3Package.XML_MAPPED_SUPERCLASS_23__NAMED_PLSQL_STORED_FUNCTION_QUERIES; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_PLSQL_STORED_PROCEDURE_QUERIES: return EclipseLinkOrmV2_3Package.XML_MAPPED_SUPERCLASS_23__NAMED_PLSQL_STORED_PROCEDURE_QUERIES; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PLSQL_RECORDS: return EclipseLinkOrmV2_3Package.XML_MAPPED_SUPERCLASS_23__PLSQL_RECORDS; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PLSQL_TABLES: return EclipseLinkOrmV2_3Package.XML_MAPPED_SUPERCLASS_23__PLSQL_TABLES; - default: return -1; - } - } - if (baseClass == XmlGeneratorContainer2_4.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UUID_GENERATOR: return EclipseLinkOrmV2_4Package.XML_GENERATOR_CONTAINER2_4__UUID_GENERATOR; - default: return -1; - } - } - if (baseClass == XmlMappedSuperclass_2_4.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE_INDEX: return EclipseLinkOrmV2_4Package.XML_MAPPED_SUPERCLASS_24__CACHE_INDEX; - default: return -1; - } - } - if (baseClass == XmlReadOnly.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__READ_ONLY: return EclipseLinkOrmPackage.XML_READ_ONLY__READ_ONLY; - default: return -1; - } - } - if (baseClass == XmlCustomizerHolder.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CUSTOMIZER: return EclipseLinkOrmPackage.XML_CUSTOMIZER_HOLDER__CUSTOMIZER; - default: return -1; - } - } - if (baseClass == XmlChangeTrackingHolder.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CHANGE_TRACKING: return EclipseLinkOrmPackage.XML_CHANGE_TRACKING_HOLDER__CHANGE_TRACKING; - default: return -1; - } - } - if (baseClass == XmlCacheHolder.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE: return EclipseLinkOrmPackage.XML_CACHE_HOLDER__CACHE; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__EXISTENCE_CHECKING: return EclipseLinkOrmPackage.XML_CACHE_HOLDER__EXISTENCE_CHECKING; - default: return -1; - } - } - if (baseClass == XmlConverterContainer.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__CONVERTERS; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__TYPE_CONVERTERS; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__OBJECT_TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS; - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__STRUCT_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS; - default: return -1; - } - } - if (baseClass == XmlPropertyContainer.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__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_MAPPED_SUPERCLASS__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_MAPPED_SUPERCLASS__PARENT_CLASS; - default: return -1; - } - } - if (baseClass == XmlTypeMapping.class) - { - switch (baseFeatureID) - { - default: return -1; - } - } - if (baseClass == XmlMappedSuperclass_1_1.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV1_1Package.XML_MAPPED_SUPERCLASS_11__PRIMARY_KEY: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PRIMARY_KEY; - default: return -1; - } - } - if (baseClass == XmlCacheable_2_0.class) - { - switch (baseFeatureID) - { - case OrmV2_0Package.XML_CACHEABLE_20__CACHEABLE: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHEABLE; - default: return -1; - } - } - if (baseClass == XmlMappedSuperclass_2_0.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_0Package.XML_MAPPED_SUPERCLASS_20__CACHE_INTERCEPTOR: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE_INTERCEPTOR; - default: return -1; - } - } - if (baseClass == XmlAssociationOverrideContainer.class) - { - switch (baseFeatureID) - { - case OrmPackage.XML_ASSOCIATION_OVERRIDE_CONTAINER__ASSOCIATION_OVERRIDES: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ASSOCIATION_OVERRIDES; - default: return -1; - } - } - if (baseClass == XmlAttributeOverrideContainer.class) - { - switch (baseFeatureID) - { - case OrmPackage.XML_ATTRIBUTE_OVERRIDE_CONTAINER__ATTRIBUTE_OVERRIDES: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ATTRIBUTE_OVERRIDES; - default: return -1; - } - } - if (baseClass == XmlFetchGroupContainer_2_1.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_1Package.XML_FETCH_GROUP_CONTAINER_21__FETCH_GROUPS: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__FETCH_GROUPS; - default: return -1; - } - } - if (baseClass == XmlGeneratorContainer.class) - { - switch (baseFeatureID) - { - case OrmPackage.XML_GENERATOR_CONTAINER__SEQUENCE_GENERATOR: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__SEQUENCE_GENERATOR; - case OrmPackage.XML_GENERATOR_CONTAINER__TABLE_GENERATOR: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__TABLE_GENERATOR; - default: return -1; - } - } - if (baseClass == XmlQueryContainer.class) - { - switch (baseFeatureID) - { - case OrmPackage.XML_QUERY_CONTAINER__NAMED_QUERIES: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_QUERIES; - case OrmPackage.XML_QUERY_CONTAINER__NAMED_NATIVE_QUERIES: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_NATIVE_QUERIES; - default: return -1; - } - } - if (baseClass == org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryContainer.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_QUERY_CONTAINER__NAMED_STORED_PROCEDURE_QUERIES: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_STORED_PROCEDURE_QUERIES; - default: return -1; - } - } - if (baseClass == XmlMappedSuperclass_2_1.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_1Package.XML_MAPPED_SUPERCLASS_21__SQL_RESULT_SET_MAPPINGS: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__SQL_RESULT_SET_MAPPINGS; - case EclipseLinkOrmV2_1Package.XML_MAPPED_SUPERCLASS_21__QUERY_REDIRECTORS: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__QUERY_REDIRECTORS; - default: return -1; - } - } - if (baseClass == XmlPartitioningGroup_2_2.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONING: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__REPLICATION_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ROUND_ROBIN_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PINNED_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__RANGE_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__VALUE_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__HASH_PARTITIONING: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__HASH_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__UNION_PARTITIONING: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UNION_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONED: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONED; - default: return -1; - } - } - if (baseClass == XmlMappedSuperclass_2_2.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_2Package.XML_MAPPED_SUPERCLASS_22__ADDITIONAL_CRITERIA: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ADDITIONAL_CRITERIA; - default: return -1; - } - } - if (baseClass == XmlMultitenantHolder.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_MULTITENANT_HOLDER__MULTITENANT: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__MULTITENANT; - default: return -1; - } - } - if (baseClass == XmlMappedSuperclass_2_3.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_3Package.XML_MAPPED_SUPERCLASS_23__NAMED_STORED_FUNCTION_QUERIES: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_STORED_FUNCTION_QUERIES; - case EclipseLinkOrmV2_3Package.XML_MAPPED_SUPERCLASS_23__NAMED_PLSQL_STORED_FUNCTION_QUERIES: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_PLSQL_STORED_FUNCTION_QUERIES; - case EclipseLinkOrmV2_3Package.XML_MAPPED_SUPERCLASS_23__NAMED_PLSQL_STORED_PROCEDURE_QUERIES: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__NAMED_PLSQL_STORED_PROCEDURE_QUERIES; - case EclipseLinkOrmV2_3Package.XML_MAPPED_SUPERCLASS_23__PLSQL_RECORDS: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PLSQL_RECORDS; - case EclipseLinkOrmV2_3Package.XML_MAPPED_SUPERCLASS_23__PLSQL_TABLES: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PLSQL_TABLES; - default: return -1; - } - } - if (baseClass == XmlGeneratorContainer2_4.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_4Package.XML_GENERATOR_CONTAINER2_4__UUID_GENERATOR: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UUID_GENERATOR; - default: return -1; - } - } - if (baseClass == XmlMappedSuperclass_2_4.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_4Package.XML_MAPPED_SUPERCLASS_24__CACHE_INDEX: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE_INDEX; - default: return -1; - } - } - if (baseClass == XmlReadOnly.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_READ_ONLY__READ_ONLY: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__READ_ONLY; - default: return -1; - } - } - if (baseClass == XmlCustomizerHolder.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_CUSTOMIZER_HOLDER__CUSTOMIZER: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CUSTOMIZER; - default: return -1; - } - } - if (baseClass == XmlChangeTrackingHolder.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_CHANGE_TRACKING_HOLDER__CHANGE_TRACKING: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CHANGE_TRACKING; - default: return -1; - } - } - if (baseClass == XmlCacheHolder.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_CACHE_HOLDER__CACHE: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE; - case EclipseLinkOrmPackage.XML_CACHE_HOLDER__EXISTENCE_CHECKING: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__EXISTENCE_CHECKING; - default: return -1; - } - } - if (baseClass == XmlConverterContainer.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__CONVERTERS: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CONVERTERS; - case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__TYPE_CONVERTERS; - case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__OBJECT_TYPE_CONVERTERS; - case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__STRUCT_CONVERTERS; - default: return -1; - } - } - if (baseClass == XmlPropertyContainer.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__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(", cacheable: "); - result.append(cacheable); - result.append(", partitioned: "); - result.append(partitioned); - 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 getCacheableTextRange() { - return getAttributeTextRange(JPA2_0.CACHEABLE); - } - - 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.getXmlMappedSuperclass(), - buildTranslatorChildren()); - } - - private static Translator[] buildTranslatorChildren() { - return new Translator[] { - buildClassTranslator(), - buildParentClassTranslator(), - buildAccessTranslator(), - buildCacheableTranslator(), - buildMetadataCompleteTranslator(), - buildReadOnlyTranslator(), - buildExistenceCheckingTranslator(), - buildExcludeDefaultMappingsTranslator(), - buildDescriptionTranslator(), - buildAccessMethodsTranslator(), - XmlMultitenant.buildTranslator(EclipseLink2_3.MULTITENANT, EclipseLinkOrmPackage.eINSTANCE.getXmlMultitenantHolder_Multitenant()), - buildAdditionalCriteriaTranslator(), - buildCustomizerTranslator(), - buildChangeTrackingTranslator(), - buildIdClassTranslator(), - buildPrimaryKeyTranslator(), - buildOptimisticLockingTranslator(), - buildCacheTranslator(), - buildCacheInterceptorTranslator(), - buildCacheIndexTranslator(), - buildFetchGroupsTranslator(), - buildConverterTranslator(), - buildTypeConverterTranslator(), - buildObjectTypeConverterTranslator(), - buildStructConverterTranslator(), - buildCopyPolicyTranslator(), - buildInstantiationCoypPolicyTranslator(), - buildCloneCopyPolicyTranslator(), - buildSequenceGeneratorTranslator(), - buildTableGeneratorTranslator(), - buildUuidGeneratorTranslator(), - buildNamedQueryTranslator(), - buildNamedNativeQueryTranslator(), - buildNamedStoredProcedureQueryTranslator(), - XmlNamedStoredFunctionQuery.buildTranslator(EclipseLink2_3.NAMED_STORED_FUNCTION_QUERY, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlMappedSuperclass_2_3_NamedStoredFunctionQueries()), - XmlNamedPlsqlStoredProcedureQuery.buildTranslator(EclipseLink2_3.NAMED_PLSQL_STORED_PROCEDURE_QUERY, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlMappedSuperclass_2_3_NamedPlsqlStoredProcedureQueries()), - XmlNamedPlsqlStoredFunctionQuery.buildTranslator(EclipseLink2_3.NAMED_PLSQL_STORED_FUNCTION_QUERY, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlMappedSuperclass_2_3_NamedPlsqlStoredFunctionQueries()), - XmlPlsqlRecord.buildTranslator(EclipseLink2_3.PLSQL_RECORD, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlMappedSuperclass_2_3_PlsqlRecords()), - XmlPlsqlTable.buildTranslator(EclipseLink2_3.PLSQL_TABLE, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlMappedSuperclass_2_3_PlsqlTables()), - buildSqlResultSetMappingTranslator(), - buildQueryRedirectorsTranslator(), - buildExcludeDefaultListenersTranslator(), - buildExcludeSuperclassListenersTranslator(), - buildEntityListenersTranslator(), - buildPrePersistTranslator(), - buildPostPersistTranslator(), - buildPreRemoveTranslator(), - buildPostRemoveTranslator(), - buildPreUpdateTranslator(), - buildPostUpdateTranslator(), - buildPostLoadTranslator(), - buildPropertyTranslator(), - buildAttributeOverrideTranslator(), - buildAssociationOverrideTranslator(), - Attributes.buildTranslator()}; - } - - protected static Translator buildCacheableTranslator() { - return new Translator(JPA2_0.CACHEABLE, OrmV2_0Package.eINSTANCE.getXmlCacheable_2_0_Cacheable(), Translator.DOM_ATTRIBUTE); - } - - 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.getXmlMappedSuperclass_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 buildPrimaryKeyTranslator() { - return XmlPrimaryKey.buildTranslator(EclipseLink1_1.PRIMARY_KEY, EclipseLinkOrmV1_1Package.eINSTANCE.getXmlMappedSuperclass_1_1_PrimaryKey()); - } - - protected static Translator buildOptimisticLockingTranslator() { - return XmlOptimisticLocking.buildTranslator(EclipseLink.OPTIMISTIC_LOCKING, EclipseLinkOrmPackage.eINSTANCE.getXmlMappedSuperclass_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.getXmlMappedSuperclass_2_0_CacheInterceptor()); - } - - protected static Translator buildCacheIndexTranslator() { - return XmlCacheIndex.buildTranslator(EclipseLink2_4.CACHE_INDEX, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlMappedSuperclass_2_4_CacheIndex()); - } - - protected static Translator buildFetchGroupsTranslator() { - return XmlFetchGroup.buildTranslator(EclipseLink2_1.FETCH_GROUP, EclipseLinkOrmV2_1Package.eINSTANCE.getXmlFetchGroupContainer_2_1_FetchGroups()); - } - - 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.getXmlMappedSuperclass_CopyPolicy()); - } - - protected static Translator buildInstantiationCoypPolicyTranslator() { - return XmlInstantiationCopyPolicy.buildTranslator(EclipseLink.INSTANTIATION_COPY_POLICY, EclipseLinkOrmPackage.eINSTANCE.getXmlMappedSuperclass_InstantiationCopyPolicy()); - } - - protected static Translator buildCloneCopyPolicyTranslator() { - return XmlCloneCopyPolicy.buildTranslator(EclipseLink.CLONE_COPY_POLICY, EclipseLinkOrmPackage.eINSTANCE.getXmlMappedSuperclass_CloneCopyPolicy()); - } - - protected static Translator buildSequenceGeneratorTranslator() { - return XmlSequenceGenerator.buildTranslator(JPA.SEQUENCE_GENERATOR, OrmPackage.eINSTANCE.getXmlGeneratorContainer_SequenceGenerator()); - } - - protected static Translator buildTableGeneratorTranslator() { - return org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTableGenerator.buildTranslator(JPA.TABLE_GENERATOR, OrmPackage.eINSTANCE.getXmlGeneratorContainer_TableGenerator()); - } - - protected static Translator buildNamedQueryTranslator() { - return XmlNamedQuery.buildTranslator(JPA.NAMED_QUERY, OrmPackage.eINSTANCE.getXmlQueryContainer_NamedQueries()); - } - - protected static Translator buildNamedNativeQueryTranslator() { - return XmlNamedNativeQuery.buildTranslator(JPA.NAMED_NATIVE_QUERY, OrmPackage.eINSTANCE.getXmlQueryContainer_NamedNativeQueries()); - } - - protected static Translator buildNamedStoredProcedureQueryTranslator() { - return XmlNamedStoredProcedureQuery.buildTranslator(EclipseLink.NAMED_STORED_PROCEDURE_QUERY, EclipseLinkOrmPackage.eINSTANCE.getXmlQueryContainer_NamedStoredProcedureQueries()); - } - - protected static Translator buildSqlResultSetMappingTranslator() { - return SqlResultSetMapping.buildTranslator(JPA.SQL_RESULT_SET_MAPPING, EclipseLinkOrmV2_1Package.eINSTANCE.getXmlMappedSuperclass_2_1_SqlResultSetMappings()); - } - - protected static Translator buildQueryRedirectorsTranslator() { - return XmlQueryRedirectors.buildTranslator(EclipseLink2_0.QUERY_REDIRECTORS, EclipseLinkOrmV2_1Package.eINSTANCE.getXmlMappedSuperclass_2_1_QueryRedirectors()); - } - - protected static Translator buildPropertyTranslator() { - return XmlProperty.buildTranslator(EclipseLink.PROPERTY, EclipseLinkOrmPackage.eINSTANCE.getXmlPropertyContainer_Properties()); - } - - 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 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.getXmlMappedSuperclass_2_2_AdditionalCriteria()); - } - - protected static Translator buildUuidGeneratorTranslator() { - return XmlUuidGenerator.buildTranslator(EclipseLink2_4.UUID_GENERATOR, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlGeneratorContainer2_4_UuidGenerator()); - } - - // *********** 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/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlMultitenant.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlMultitenant.java deleted file mode 100644 index d5d3206ee7..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlMultitenant.java +++ /dev/null @@ -1,494 +0,0 @@ -/******************************************************************************* - * 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.SimpleTranslator; -import org.eclipse.jpt.common.core.resource.xml.EBaseObjectImpl; -import org.eclipse.jpt.common.core.utility.TextRange; -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.MultitenantType; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMultitenant_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.XmlMultitenant_2_4; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlTenantTableDiscriminator_2_4; -import org.eclipse.wst.common.internal.emf.resource.Translator; - -/** - * - * A representation of the model object 'Xml Multitenant'. - * - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlMultitenant() - * @model kind="class" - * @generated - */ -public class XmlMultitenant extends EBaseObjectImpl implements XmlMultitenant_2_3, XmlMultitenant_2_4 -{ - /** - * 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 MultitenantType TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getType() Type}' attribute. - * - * - * @see #getType() - * @generated - * @ordered - */ - protected MultitenantType type = TYPE_EDEFAULT; - - /** - * The cached value of the '{@link #getTenantDiscriminatorColumns() Tenant Discriminator Columns}' containment reference list. - * - * - * @see #getTenantDiscriminatorColumns() - * @generated - * @ordered - */ - protected EList tenantDiscriminatorColumns; - - /** - * The default value of the '{@link #getIncludeCriteria() Include Criteria}' attribute. - * - * - * @see #getIncludeCriteria() - * @generated - * @ordered - */ - protected static final Boolean INCLUDE_CRITERIA_EDEFAULT = null; - /** - * The cached value of the '{@link #getIncludeCriteria() Include Criteria}' attribute. - * - * - * @see #getIncludeCriteria() - * @generated - * @ordered - */ - protected Boolean includeCriteria = INCLUDE_CRITERIA_EDEFAULT; - - /** - * The cached value of the '{@link #getTenantTableDiscriminator() Tenant Table Discriminator}' containment reference. - * - * - * @see #getTenantTableDiscriminator() - * @generated - * @ordered - */ - protected XmlTenantTableDiscriminator_2_4 tenantTableDiscriminator; - - /** - * - * - * @generated - */ - protected XmlMultitenant() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_MULTITENANT; - } - - /** - * Returns the value of the 'Type' attribute. - * The literals are from the enumeration {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.MultitenantType}. - * - *

- * 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.v2_3.MultitenantType - * @see #setType(MultitenantType) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlMultitenant_2_3_Type() - * @model - * @generated - */ - public MultitenantType getType() - { - return type; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMultitenant#getType Type}' attribute. - * - * - * @param value the new value of the 'Type' attribute. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.MultitenantType - * @see #getType() - * @generated - */ - public void setType(MultitenantType newType) - { - MultitenantType oldType = type; - type = newType == null ? TYPE_EDEFAULT : newType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MULTITENANT__TYPE, oldType, type)); - } - - /** - * Returns the value of the 'Tenant Discriminator Columns' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3}. - * - *

- * 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#getXmlMultitenant_2_3_TenantDiscriminatorColumns() - * @model containment="true" - * @generated - */ - public EList getTenantDiscriminatorColumns() - { - if (tenantDiscriminatorColumns == null) - { - tenantDiscriminatorColumns = new EObjectContainmentEList(XmlTenantDiscriminatorColumn_2_3.class, this, EclipseLinkOrmPackage.XML_MULTITENANT__TENANT_DISCRIMINATOR_COLUMNS); - } - return tenantDiscriminatorColumns; - } - - /** - * Returns the value of the 'Include Criteria' attribute. - * - *

- * If the meaning of the 'Include Criteria' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Include Criteria' attribute. - * @see #setIncludeCriteria(Boolean) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlMultitenant_2_4_IncludeCriteria() - * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" - * @generated - */ - public Boolean getIncludeCriteria() - { - return includeCriteria; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMultitenant#getIncludeCriteria Include Criteria}' attribute. - * - * - * @param value the new value of the 'Include Criteria' attribute. - * @see #getIncludeCriteria() - * @generated - */ - public void setIncludeCriteria(Boolean newIncludeCriteria) - { - Boolean oldIncludeCriteria = includeCriteria; - includeCriteria = newIncludeCriteria; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MULTITENANT__INCLUDE_CRITERIA, oldIncludeCriteria, includeCriteria)); - } - - /** - * Returns the value of the 'Tenant Table Discriminator' containment reference. - * - *

- * If the meaning of the 'Tenant Table Discriminator' containment reference isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Tenant Table Discriminator' containment reference. - * @see #setTenantTableDiscriminator(XmlTenantTableDiscriminator_2_4) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlMultitenant_2_4_TenantTableDiscriminator() - * @model containment="true" - * @generated - */ - public XmlTenantTableDiscriminator_2_4 getTenantTableDiscriminator() - { - return tenantTableDiscriminator; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetTenantTableDiscriminator(XmlTenantTableDiscriminator_2_4 newTenantTableDiscriminator, NotificationChain msgs) - { - XmlTenantTableDiscriminator_2_4 oldTenantTableDiscriminator = tenantTableDiscriminator; - tenantTableDiscriminator = newTenantTableDiscriminator; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MULTITENANT__TENANT_TABLE_DISCRIMINATOR, oldTenantTableDiscriminator, newTenantTableDiscriminator); - 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.XmlMultitenant#getTenantTableDiscriminator Tenant Table Discriminator}' containment reference. - * - * - * @param value the new value of the 'Tenant Table Discriminator' containment reference. - * @see #getTenantTableDiscriminator() - * @generated - */ - public void setTenantTableDiscriminator(XmlTenantTableDiscriminator_2_4 newTenantTableDiscriminator) - { - if (newTenantTableDiscriminator != tenantTableDiscriminator) - { - NotificationChain msgs = null; - if (tenantTableDiscriminator != null) - msgs = ((InternalEObject)tenantTableDiscriminator).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MULTITENANT__TENANT_TABLE_DISCRIMINATOR, null, msgs); - if (newTenantTableDiscriminator != null) - msgs = ((InternalEObject)newTenantTableDiscriminator).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MULTITENANT__TENANT_TABLE_DISCRIMINATOR, null, msgs); - msgs = basicSetTenantTableDiscriminator(newTenantTableDiscriminator, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MULTITENANT__TENANT_TABLE_DISCRIMINATOR, newTenantTableDiscriminator, newTenantTableDiscriminator)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_MULTITENANT__TENANT_DISCRIMINATOR_COLUMNS: - return ((InternalEList)getTenantDiscriminatorColumns()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_MULTITENANT__TENANT_TABLE_DISCRIMINATOR: - return basicSetTenantTableDiscriminator(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_MULTITENANT__TYPE: - return getType(); - case EclipseLinkOrmPackage.XML_MULTITENANT__TENANT_DISCRIMINATOR_COLUMNS: - return getTenantDiscriminatorColumns(); - case EclipseLinkOrmPackage.XML_MULTITENANT__INCLUDE_CRITERIA: - return getIncludeCriteria(); - case EclipseLinkOrmPackage.XML_MULTITENANT__TENANT_TABLE_DISCRIMINATOR: - return getTenantTableDiscriminator(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_MULTITENANT__TYPE: - setType((MultitenantType)newValue); - return; - case EclipseLinkOrmPackage.XML_MULTITENANT__TENANT_DISCRIMINATOR_COLUMNS: - getTenantDiscriminatorColumns().clear(); - getTenantDiscriminatorColumns().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_MULTITENANT__INCLUDE_CRITERIA: - setIncludeCriteria((Boolean)newValue); - return; - case EclipseLinkOrmPackage.XML_MULTITENANT__TENANT_TABLE_DISCRIMINATOR: - setTenantTableDiscriminator((XmlTenantTableDiscriminator_2_4)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_MULTITENANT__TYPE: - setType(TYPE_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_MULTITENANT__TENANT_DISCRIMINATOR_COLUMNS: - getTenantDiscriminatorColumns().clear(); - return; - case EclipseLinkOrmPackage.XML_MULTITENANT__INCLUDE_CRITERIA: - setIncludeCriteria(INCLUDE_CRITERIA_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_MULTITENANT__TENANT_TABLE_DISCRIMINATOR: - setTenantTableDiscriminator((XmlTenantTableDiscriminator_2_4)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_MULTITENANT__TYPE: - return type != TYPE_EDEFAULT; - case EclipseLinkOrmPackage.XML_MULTITENANT__TENANT_DISCRIMINATOR_COLUMNS: - return tenantDiscriminatorColumns != null && !tenantDiscriminatorColumns.isEmpty(); - case EclipseLinkOrmPackage.XML_MULTITENANT__INCLUDE_CRITERIA: - return INCLUDE_CRITERIA_EDEFAULT == null ? includeCriteria != null : !INCLUDE_CRITERIA_EDEFAULT.equals(includeCriteria); - case EclipseLinkOrmPackage.XML_MULTITENANT__TENANT_TABLE_DISCRIMINATOR: - return tenantTableDiscriminator != null; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public int eBaseStructuralFeatureID(int derivedFeatureID, Class baseClass) - { - if (baseClass == XmlMultitenant_2_4.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_MULTITENANT__INCLUDE_CRITERIA: return EclipseLinkOrmV2_4Package.XML_MULTITENANT_24__INCLUDE_CRITERIA; - case EclipseLinkOrmPackage.XML_MULTITENANT__TENANT_TABLE_DISCRIMINATOR: return EclipseLinkOrmV2_4Package.XML_MULTITENANT_24__TENANT_TABLE_DISCRIMINATOR; - default: return -1; - } - } - return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); - } - - /** - * - * - * @generated - */ - @Override - public int eDerivedStructuralFeatureID(int baseFeatureID, Class baseClass) - { - if (baseClass == XmlMultitenant_2_4.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_4Package.XML_MULTITENANT_24__INCLUDE_CRITERIA: return EclipseLinkOrmPackage.XML_MULTITENANT__INCLUDE_CRITERIA; - case EclipseLinkOrmV2_4Package.XML_MULTITENANT_24__TENANT_TABLE_DISCRIMINATOR: return EclipseLinkOrmPackage.XML_MULTITENANT__TENANT_TABLE_DISCRIMINATOR; - 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(" (type: "); - result.append(type); - result.append(", includeCriteria: "); - result.append(includeCriteria); - result.append(')'); - return result.toString(); - } - - public TextRange getIncludeCriteriaTextRange() { - return getAttributeTextRange(EclipseLink2_4.MULTITENANT__INCLUDE_CRITERIA); - } - - // ********** translators ********** - - public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) { - return new SimpleTranslator( - elementName, - structuralFeature, - EclipseLinkOrmPackage.eINSTANCE.getXmlMultitenant(), - buildTranslatorChildren()); - } - - private static Translator[] buildTranslatorChildren() { - return new Translator[] { - buildTypeTranslator(), - buildIncludeCriteriaTranslator(), - buildTenantDiscriminatorColumnsTranslator(), - buildTenantTableDiscriminatorTranslator() - }; - } - - protected static Translator buildTypeTranslator() { - return new Translator(EclipseLink2_3.MULTITENANT__TYPE, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlMultitenant_2_3_Type(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildTenantDiscriminatorColumnsTranslator() { - return XmlTenantDiscriminatorColumn.buildTranslator(EclipseLink2_3.TENANT_DISCRIMINATOR_COLUMN, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlMultitenant_2_3_TenantDiscriminatorColumns()); - } - - protected static Translator buildIncludeCriteriaTranslator() { - return new Translator(EclipseLink2_4.MULTITENANT__INCLUDE_CRITERIA, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlMultitenant_2_4_IncludeCriteria(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildTenantTableDiscriminatorTranslator() { - return XmlTenantTableDiscriminator.buildTranslator(EclipseLink2_4.TENANT_TABLE_DISCRIMINATOR, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlMultitenant_2_4_TenantTableDiscriminator()); - } - -} // XmlMultitenant diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlMultitenantHolder.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlMultitenantHolder.java deleted file mode 100644 index 6ee8fbd001..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlMultitenantHolder.java +++ /dev/null @@ -1,59 +0,0 @@ -/******************************************************************************* - * 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 org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Multitenant Holder'. - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMultitenantHolder#getMultitenant Multitenant}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlMultitenantHolder() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlMultitenantHolder extends EBaseObject -{ - /** - * 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 - */ - XmlMultitenant getMultitenant(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMultitenantHolder#getMultitenant Multitenant}' containment reference. - * - * - * @param value the new value of the 'Multitenant' containment reference. - * @see #getMultitenant() - * @generated - */ - void setMultitenant(XmlMultitenant value); - -} // XmlMultitenantHolder diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlMutable.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlMutable.java deleted file mode 100644 index 59bbc606c6..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlMutable.java +++ /dev/null @@ -1,76 +0,0 @@ -/******************************************************************************* - * 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; -import org.eclipse.jpt.common.core.utility.TextRange; - -/** - * - * - * A representation of the model object 'Xml Mutable'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMutable#getMutable Mutable}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlMutable() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlMutable extends EBaseObject -{ - /** - * 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 - */ - Boolean getMutable(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMutable#getMutable Mutable}' attribute. - * - * - * @param value the new value of the 'Mutable' attribute. - * @see #getMutable() - * @generated - */ - void setMutable(Boolean value); - - /** - * Return the {@link TextRange} for the mutable attibute. - */ - TextRange getMutableTextRange(); -} \ No newline at end of file diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNamedConverter.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNamedConverter.java deleted file mode 100644 index 7dfa55f740..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNamedConverter.java +++ /dev/null @@ -1,218 +0,0 @@ -/******************************************************************************* - * 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.impl.ENotificationImpl; -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.jpt.jpa.core.resource.orm.JPA; -import org.eclipse.wst.common.internal.emf.resource.Translator; - -/** - * - * - * A representation of the model object 'Xml Named Converter'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedConverter#getName Name}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedConverter() - * @model kind="class" - * @extends EBaseObject - * @generated - */ -public class XmlNamedConverter extends EBaseObjectImpl implements EBaseObject -{ - /** - * 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 XmlNamedConverter() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_NAMED_CONVERTER; - } - - /** - * 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#getXmlNamedConverter_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.XmlNamedConverter#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_NAMED_CONVERTER__NAME, oldName, name)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_NAMED_CONVERTER__NAME: - return getName(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_NAMED_CONVERTER__NAME: - setName((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_NAMED_CONVERTER__NAME: - setName(NAME_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_NAMED_CONVERTER__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(); - } - - public TextRange getNameTextRange() { - return getAttributeTextRange(JPA.NAME); - } - - // ********** translators ********** - - protected static Translator buildNameTranslator() { - return new Translator(EclipseLink.CONVERTER__NAME, EclipseLinkOrmPackage.eINSTANCE.getXmlNamedConverter_Name(), Translator.DOM_ATTRIBUTE); - } - -} // XmlNamedConverter diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNamedPlsqlStoredFunctionQuery.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNamedPlsqlStoredFunctionQuery.java deleted file mode 100644 index 964ad620ba..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNamedPlsqlStoredFunctionQuery.java +++ /dev/null @@ -1,212 +0,0 @@ -/******************************************************************************* - * 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 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_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.XmlNamedPlsqlStoredFunctionQuery_2_3; -import org.eclipse.wst.common.internal.emf.resource.Translator; - -/** - * - * A representation of the model object 'Xml Named Plsql Stored Function Query'. - * - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedPlsqlStoredFunctionQuery() - * @model kind="class" - * @generated - */ -public class XmlNamedPlsqlStoredFunctionQuery extends EBaseObjectImpl implements XmlNamedPlsqlStoredFunctionQuery_2_3 -{ - /** - * 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 XmlNamedPlsqlStoredFunctionQuery() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_NAMED_PLSQL_STORED_FUNCTION_QUERY; - } - - /** - * 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#getXmlNamedPlsqlStoredFunctionQuery_2_3_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.XmlNamedPlsqlStoredFunctionQuery#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_NAMED_PLSQL_STORED_FUNCTION_QUERY__NAME, oldName, name)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_NAMED_PLSQL_STORED_FUNCTION_QUERY__NAME: - return getName(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_NAMED_PLSQL_STORED_FUNCTION_QUERY__NAME: - setName((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_NAMED_PLSQL_STORED_FUNCTION_QUERY__NAME: - setName(NAME_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_NAMED_PLSQL_STORED_FUNCTION_QUERY__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.getXmlNamedPlsqlStoredFunctionQuery(), - buildTranslatorChildren()); - } - - private static Translator[] buildTranslatorChildren() { - return new Translator[] { - buildNameTranslator(), - }; - } - - protected static Translator buildNameTranslator() { - return new Translator(EclipseLink2_3.NAMED_PLSQL_STORED_FUNCTION_QUERY__NAME, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlNamedPlsqlStoredFunctionQuery_2_3_Name(), Translator.DOM_ATTRIBUTE); - } -} // XmlNamedPlsqlStoredFunctionQuery diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNamedPlsqlStoredProcedureQuery.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNamedPlsqlStoredProcedureQuery.java deleted file mode 100644 index 557b97030e..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNamedPlsqlStoredProcedureQuery.java +++ /dev/null @@ -1,212 +0,0 @@ -/******************************************************************************* - * 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 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_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.XmlNamedPlsqlStoredProcedureQuery_2_3; -import org.eclipse.wst.common.internal.emf.resource.Translator; - -/** - * - * A representation of the model object 'Xml Named Plsql Stored Procedure Query'. - * - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedPlsqlStoredProcedureQuery() - * @model kind="class" - * @generated - */ -public class XmlNamedPlsqlStoredProcedureQuery extends EBaseObjectImpl implements XmlNamedPlsqlStoredProcedureQuery_2_3 -{ - /** - * 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 XmlNamedPlsqlStoredProcedureQuery() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_NAMED_PLSQL_STORED_PROCEDURE_QUERY; - } - - /** - * 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#getXmlNamedPlsqlStoredProcedureQuery_2_3_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.XmlNamedPlsqlStoredProcedureQuery#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_NAMED_PLSQL_STORED_PROCEDURE_QUERY__NAME, oldName, name)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_NAMED_PLSQL_STORED_PROCEDURE_QUERY__NAME: - return getName(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_NAMED_PLSQL_STORED_PROCEDURE_QUERY__NAME: - setName((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_NAMED_PLSQL_STORED_PROCEDURE_QUERY__NAME: - setName(NAME_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_NAMED_PLSQL_STORED_PROCEDURE_QUERY__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.getXmlNamedPlsqlStoredProcedureQuery(), - buildTranslatorChildren()); - } - - private static Translator[] buildTranslatorChildren() { - return new Translator[] { - buildNameTranslator(), - }; - } - - protected static Translator buildNameTranslator() { - return new Translator(EclipseLink2_3.NAMED_PLSQL_STORED_PROCEDURE_QUERY__NAME, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlNamedPlsqlStoredProcedureQuery_2_3_Name(), Translator.DOM_ATTRIBUTE); - } -} // XmlNamedPlsqlStoredProcedureQuery diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNamedStoredFunctionQuery.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNamedStoredFunctionQuery.java deleted file mode 100644 index 23c00d1da0..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNamedStoredFunctionQuery.java +++ /dev/null @@ -1,212 +0,0 @@ -/******************************************************************************* - * 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 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_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.XmlNamedStoredFunctionQuery_2_3; -import org.eclipse.wst.common.internal.emf.resource.Translator; - -/** - * - * A representation of the model object 'Xml Named Stored Function Query'. - * - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedStoredFunctionQuery() - * @model kind="class" - * @generated - */ -public class XmlNamedStoredFunctionQuery extends EBaseObjectImpl implements XmlNamedStoredFunctionQuery_2_3 -{ - /** - * 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 XmlNamedStoredFunctionQuery() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_NAMED_STORED_FUNCTION_QUERY; - } - - /** - * 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#getXmlNamedStoredFunctionQuery_2_3_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.XmlNamedStoredFunctionQuery#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_NAMED_STORED_FUNCTION_QUERY__NAME, oldName, name)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_NAMED_STORED_FUNCTION_QUERY__NAME: - return getName(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_NAMED_STORED_FUNCTION_QUERY__NAME: - setName((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_NAMED_STORED_FUNCTION_QUERY__NAME: - setName(NAME_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_NAMED_STORED_FUNCTION_QUERY__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.getXmlNamedStoredFunctionQuery(), - buildTranslatorChildren()); - } - - private static Translator[] buildTranslatorChildren() { - return new Translator[] { - buildNameTranslator(), - }; - } - - protected static Translator buildNameTranslator() { - return new Translator(EclipseLink2_3.NAMED_STORED_FUNCTION_QUERY__NAME, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlNamedStoredFunctionQuery_2_3_Name(), Translator.DOM_ATTRIBUTE); - } -} // XmlNamedStoredFunctionQuery diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNamedStoredProcedureQuery.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNamedStoredProcedureQuery.java deleted file mode 100644 index 17b66966d9..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNamedStoredProcedureQuery.java +++ /dev/null @@ -1,644 +0,0 @@ -/******************************************************************************* - * 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.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.BooleanTranslator; -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.jpa.core.resource.orm.XmlQueryHint; -import org.eclipse.wst.common.internal.emf.resource.Translator; - -/** - * - * A representation of the model object 'Xml Named Stored Procedure Query'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery#getName Name}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery#getResultClass Result Class}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery#getResultSetMapping Result Set Mapping}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery#getProcedureName Procedure Name}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery#getReturnsResultSet Returns Result Set}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery#getHints Hints}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery#getParameters Parameters}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedStoredProcedureQuery() - * @model kind="class" - * @extends EBaseObject - * @generated - */ -public class XmlNamedStoredProcedureQuery extends EBaseObjectImpl implements EBaseObject -{ - /** - * 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 #getResultClass() Result Class}' attribute. - * - * - * @see #getResultClass() - * @generated - * @ordered - */ - protected static final String RESULT_CLASS_EDEFAULT = null; - - /** - * The cached value of the '{@link #getResultClass() Result Class}' attribute. - * - * - * @see #getResultClass() - * @generated - * @ordered - */ - protected String resultClass = RESULT_CLASS_EDEFAULT; - - /** - * The default value of the '{@link #getResultSetMapping() Result Set Mapping}' attribute. - * - * - * @see #getResultSetMapping() - * @generated - * @ordered - */ - protected static final String RESULT_SET_MAPPING_EDEFAULT = null; - - /** - * The cached value of the '{@link #getResultSetMapping() Result Set Mapping}' attribute. - * - * - * @see #getResultSetMapping() - * @generated - * @ordered - */ - protected String resultSetMapping = RESULT_SET_MAPPING_EDEFAULT; - - /** - * The default value of the '{@link #getProcedureName() Procedure Name}' attribute. - * - * - * @see #getProcedureName() - * @generated - * @ordered - */ - protected static final String PROCEDURE_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getProcedureName() Procedure Name}' attribute. - * - * - * @see #getProcedureName() - * @generated - * @ordered - */ - protected String procedureName = PROCEDURE_NAME_EDEFAULT; - - /** - * The default value of the '{@link #getReturnsResultSet() Returns Result Set}' attribute. - * - * - * @see #getReturnsResultSet() - * @generated - * @ordered - */ - protected static final Boolean RETURNS_RESULT_SET_EDEFAULT = null; - - /** - * The cached value of the '{@link #getReturnsResultSet() Returns Result Set}' attribute. - * - * - * @see #getReturnsResultSet() - * @generated - * @ordered - */ - protected Boolean returnsResultSet = RETURNS_RESULT_SET_EDEFAULT; - - /** - * The cached value of the '{@link #getHints() Hints}' containment reference list. - * - * - * @see #getHints() - * @generated - * @ordered - */ - protected EList hints; - - /** - * The cached value of the '{@link #getParameters() Parameters}' containment reference list. - * - * - * @see #getParameters() - * @generated - * @ordered - */ - protected EList parameters; - - /** - * - * - * @generated - */ - protected XmlNamedStoredProcedureQuery() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_NAMED_STORED_PROCEDURE_QUERY; - } - - /** - * 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#getXmlNamedStoredProcedureQuery_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.XmlNamedStoredProcedureQuery#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_NAMED_STORED_PROCEDURE_QUERY__NAME, oldName, name)); - } - - /** - * Returns the value of the 'Result Class' attribute. - * - *

- * If the meaning of the 'Result Class' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Result Class' attribute. - * @see #setResultClass(String) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedStoredProcedureQuery_ResultClass() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - public String getResultClass() - { - return resultClass; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery#getResultClass Result Class}' attribute. - * - * - * @param value the new value of the 'Result Class' attribute. - * @see #getResultClass() - * @generated - */ - public void setResultClass(String newResultClass) - { - String oldResultClass = resultClass; - resultClass = newResultClass; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__RESULT_CLASS, oldResultClass, resultClass)); - } - - /** - * Returns the value of the 'Result Set Mapping' attribute. - * - *

- * If the meaning of the 'Result Set Mapping' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Result Set Mapping' attribute. - * @see #setResultSetMapping(String) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedStoredProcedureQuery_ResultSetMapping() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - public String getResultSetMapping() - { - return resultSetMapping; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery#getResultSetMapping Result Set Mapping}' attribute. - * - * - * @param value the new value of the 'Result Set Mapping' attribute. - * @see #getResultSetMapping() - * @generated - */ - public void setResultSetMapping(String newResultSetMapping) - { - String oldResultSetMapping = resultSetMapping; - resultSetMapping = newResultSetMapping; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__RESULT_SET_MAPPING, oldResultSetMapping, resultSetMapping)); - } - - /** - * Returns the value of the 'Procedure Name' attribute. - * - *

- * If the meaning of the 'Procedure Name' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Procedure Name' attribute. - * @see #setProcedureName(String) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedStoredProcedureQuery_ProcedureName() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - public String getProcedureName() - { - return procedureName; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery#getProcedureName Procedure Name}' attribute. - * - * - * @param value the new value of the 'Procedure Name' attribute. - * @see #getProcedureName() - * @generated - */ - public void setProcedureName(String newProcedureName) - { - String oldProcedureName = procedureName; - procedureName = newProcedureName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__PROCEDURE_NAME, oldProcedureName, procedureName)); - } - - /** - * Returns the value of the 'Returns Result Set' attribute. - * - *

- * If the meaning of the 'Returns Result Set' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Returns Result Set' attribute. - * @see #setReturnsResultSet(Boolean) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedStoredProcedureQuery_ReturnsResultSet() - * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" - * @generated - */ - public Boolean getReturnsResultSet() - { - return returnsResultSet; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery#getReturnsResultSet Returns Result Set}' attribute. - * - * - * @param value the new value of the 'Returns Result Set' attribute. - * @see #getReturnsResultSet() - * @generated - */ - public void setReturnsResultSet(Boolean newReturnsResultSet) - { - Boolean oldReturnsResultSet = returnsResultSet; - returnsResultSet = newReturnsResultSet; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__RETURNS_RESULT_SET, oldReturnsResultSet, returnsResultSet)); - } - - /** - * Returns the value of the 'Hints' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.core.resource.orm.XmlQueryHint}. - * - *

- * If the meaning of the 'Hints' containment reference list isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Hints' containment reference list. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedStoredProcedureQuery_Hints() - * @model containment="true" - * @generated - */ - public EList getHints() - { - if (hints == null) - { - hints = new EObjectContainmentEList(XmlQueryHint.class, this, EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__HINTS); - } - return hints; - } - - /** - * Returns the value of the 'Parameters' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter}. - * - *

- * If the meaning of the 'Parameters' containment reference list isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Parameters' containment reference list. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedStoredProcedureQuery_Parameters() - * @model containment="true" - * @generated - */ - public EList getParameters() - { - if (parameters == null) - { - parameters = new EObjectContainmentEList(XmlStoredProcedureParameter.class, this, EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__PARAMETERS); - } - return parameters; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__HINTS: - return ((InternalEList)getHints()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__PARAMETERS: - return ((InternalEList)getParameters()).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_NAMED_STORED_PROCEDURE_QUERY__NAME: - return getName(); - case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__RESULT_CLASS: - return getResultClass(); - case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__RESULT_SET_MAPPING: - return getResultSetMapping(); - case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__PROCEDURE_NAME: - return getProcedureName(); - case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__RETURNS_RESULT_SET: - return getReturnsResultSet(); - case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__HINTS: - return getHints(); - case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__PARAMETERS: - return getParameters(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__NAME: - setName((String)newValue); - return; - case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__RESULT_CLASS: - setResultClass((String)newValue); - return; - case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__RESULT_SET_MAPPING: - setResultSetMapping((String)newValue); - return; - case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__PROCEDURE_NAME: - setProcedureName((String)newValue); - return; - case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__RETURNS_RESULT_SET: - setReturnsResultSet((Boolean)newValue); - return; - case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__HINTS: - getHints().clear(); - getHints().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__PARAMETERS: - getParameters().clear(); - getParameters().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__NAME: - setName(NAME_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__RESULT_CLASS: - setResultClass(RESULT_CLASS_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__RESULT_SET_MAPPING: - setResultSetMapping(RESULT_SET_MAPPING_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__PROCEDURE_NAME: - setProcedureName(PROCEDURE_NAME_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__RETURNS_RESULT_SET: - setReturnsResultSet(RETURNS_RESULT_SET_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__HINTS: - getHints().clear(); - return; - case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__PARAMETERS: - getParameters().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__RESULT_CLASS: - return RESULT_CLASS_EDEFAULT == null ? resultClass != null : !RESULT_CLASS_EDEFAULT.equals(resultClass); - case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__RESULT_SET_MAPPING: - return RESULT_SET_MAPPING_EDEFAULT == null ? resultSetMapping != null : !RESULT_SET_MAPPING_EDEFAULT.equals(resultSetMapping); - case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__PROCEDURE_NAME: - return PROCEDURE_NAME_EDEFAULT == null ? procedureName != null : !PROCEDURE_NAME_EDEFAULT.equals(procedureName); - case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__RETURNS_RESULT_SET: - return RETURNS_RESULT_SET_EDEFAULT == null ? returnsResultSet != null : !RETURNS_RESULT_SET_EDEFAULT.equals(returnsResultSet); - case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__HINTS: - return hints != null && !hints.isEmpty(); - case EclipseLinkOrmPackage.XML_NAMED_STORED_PROCEDURE_QUERY__PARAMETERS: - return parameters != null && !parameters.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(", resultClass: "); - result.append(resultClass); - result.append(", resultSetMapping: "); - result.append(resultSetMapping); - result.append(", procedureName: "); - result.append(procedureName); - result.append(", returnsResultSet: "); - result.append(returnsResultSet); - 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(), - buildResultClassTranslator(), - buildResultSetMappingTranslator(), - buildProcedureNameTranslator(), - buildReturnResultSetTranslator(), - buildHintTranslator(), - buildParameterTranslator(), - }; - } - - protected static Translator buildNameTranslator() { - return new Translator(EclipseLink.NAMED_STORED_PROCEDURE_QUERY__NAME, EclipseLinkOrmPackage.eINSTANCE.getXmlNamedStoredProcedureQuery_Name(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildResultClassTranslator() { - return new Translator(EclipseLink.NAMED_STORED_PROCEDURE_QUERY__RESULT_CLASS, EclipseLinkOrmPackage.eINSTANCE.getXmlNamedStoredProcedureQuery_ResultClass(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildResultSetMappingTranslator() { - return new Translator(EclipseLink.NAMED_STORED_PROCEDURE_QUERY__RESULT_SET_MAPPING, EclipseLinkOrmPackage.eINSTANCE.getXmlNamedStoredProcedureQuery_ResultSetMapping(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildProcedureNameTranslator() { - return new Translator(EclipseLink.NAMED_STORED_PROCEDURE_QUERY__PROCEDURE_NAME, EclipseLinkOrmPackage.eINSTANCE.getXmlNamedStoredProcedureQuery_ProcedureName(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildReturnResultSetTranslator() { - return new BooleanTranslator(EclipseLink.NAMED_STORED_PROCEDURE_QUERY__RETURNS_RESULT_SET, EclipseLinkOrmPackage.eINSTANCE.getXmlNamedStoredProcedureQuery_ReturnsResultSet(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildHintTranslator() { - return XmlQueryHint.buildTranslator(EclipseLink.NAMED_STORED_PROCEDURE_QUERY__HINT, EclipseLinkOrmPackage.eINSTANCE.getXmlNamedStoredProcedureQuery_Hints()); - } - - protected static Translator buildParameterTranslator() { - return XmlStoredProcedureParameter.buildTranslator(EclipseLink.NAMED_STORED_PROCEDURE_QUERY__PARAMETER, EclipseLinkOrmPackage.eINSTANCE.getXmlNamedStoredProcedureQuery_Parameters()); - } -} // XmlNamedStoredProcedureQuery diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNoSql.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNoSql.java deleted file mode 100644 index 1e87b64d5b..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNoSql.java +++ /dev/null @@ -1,290 +0,0 @@ -/******************************************************************************* - * 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.eclipselink.core.resource.orm.v2_4.DataFormatType; -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.XmlNoSql_2_4; -import org.eclipse.wst.common.internal.emf.resource.Translator; - -/** - * - * A representation of the model object 'Xml No Sql'. - * - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNoSql() - * @model kind="class" - * @generated - */ -public class XmlNoSql extends EBaseObjectImpl implements XmlNoSql_2_4 -{ - /** - * The default value of the '{@link #getDataType() Data Type}' attribute. - * - * - * @see #getDataType() - * @generated - * @ordered - */ - protected static final String DATA_TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getDataType() Data Type}' attribute. - * - * - * @see #getDataType() - * @generated - * @ordered - */ - protected String dataType = DATA_TYPE_EDEFAULT; - - /** - * The default value of the '{@link #getDataFormat() Data Format}' attribute. - * - * - * @see #getDataFormat() - * @generated - * @ordered - */ - protected static final DataFormatType DATA_FORMAT_EDEFAULT = DataFormatType.XML; - - /** - * The cached value of the '{@link #getDataFormat() Data Format}' attribute. - * - * - * @see #getDataFormat() - * @generated - * @ordered - */ - protected DataFormatType dataFormat = DATA_FORMAT_EDEFAULT; - - /** - * - * - * @generated - */ - protected XmlNoSql() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_NO_SQL; - } - - /** - * Returns the value of the 'Data Type' attribute. - * - *

- * If the meaning of the 'Data Type' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Data Type' attribute. - * @see #setDataType(String) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNoSql_2_4_DataType() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - public String getDataType() - { - return dataType; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNoSql#getDataType Data Type}' attribute. - * - * - * @param value the new value of the 'Data Type' attribute. - * @see #getDataType() - * @generated - */ - public void setDataType(String newDataType) - { - String oldDataType = dataType; - dataType = newDataType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_NO_SQL__DATA_TYPE, oldDataType, dataType)); - } - - /** - * Returns the value of the 'Data Format' attribute. - * The default value is "". - * The literals are from the enumeration {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.DataFormatType}. - * - *

- * If the meaning of the 'Data Format' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Data Format' attribute. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.DataFormatType - * @see #setDataFormat(DataFormatType) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNoSql_2_4_DataFormat() - * @model default="" - * @generated - */ - public DataFormatType getDataFormat() - { - return dataFormat; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNoSql#getDataFormat Data Format}' attribute. - * - * - * @param value the new value of the 'Data Format' attribute. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.DataFormatType - * @see #getDataFormat() - * @generated - */ - public void setDataFormat(DataFormatType newDataFormat) - { - DataFormatType oldDataFormat = dataFormat; - dataFormat = newDataFormat == null ? DATA_FORMAT_EDEFAULT : newDataFormat; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_NO_SQL__DATA_FORMAT, oldDataFormat, dataFormat)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_NO_SQL__DATA_TYPE: - return getDataType(); - case EclipseLinkOrmPackage.XML_NO_SQL__DATA_FORMAT: - return getDataFormat(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_NO_SQL__DATA_TYPE: - setDataType((String)newValue); - return; - case EclipseLinkOrmPackage.XML_NO_SQL__DATA_FORMAT: - setDataFormat((DataFormatType)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_NO_SQL__DATA_TYPE: - setDataType(DATA_TYPE_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_NO_SQL__DATA_FORMAT: - setDataFormat(DATA_FORMAT_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_NO_SQL__DATA_TYPE: - return DATA_TYPE_EDEFAULT == null ? dataType != null : !DATA_TYPE_EDEFAULT.equals(dataType); - case EclipseLinkOrmPackage.XML_NO_SQL__DATA_FORMAT: - return dataFormat != DATA_FORMAT_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (dataType: "); - result.append(dataType); - result.append(", dataFormat: "); - result.append(dataFormat); - result.append(')'); - return result.toString(); - } - - // ********** translators ********** - - public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) { - return new SimpleTranslator( - elementName, - structuralFeature, - EclipseLinkOrmPackage.eINSTANCE.getXmlNoSql(), - buildTranslatorChildren()); - } - - private static Translator[] buildTranslatorChildren() { - return new Translator[] { - buildDataTypeTranslator(), - buildDataFormatTranslator(), - }; - } - - protected static Translator buildDataTypeTranslator() { - return new Translator(EclipseLink2_4.NO_SQL__DATA_TYPE, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlNoSql_2_4_DataType(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildDataFormatTranslator() { - return new Translator(EclipseLink2_4.NO_SQL__DATA_FORMAT, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlNoSql_2_4_DataFormat(), Translator.DOM_ATTRIBUTE); - } -} // XmlNoSql diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlObjectTypeConverter.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlObjectTypeConverter.java deleted file mode 100644 index bea986dce2..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlObjectTypeConverter.java +++ /dev/null @@ -1,516 +0,0 @@ -/******************************************************************************* - * 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.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 Object Type 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter#getDataType Data Type}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter#getObjectType Object Type}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter#getConversionValues Conversion Values}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter#getDefaultObjectValue Default Object Value}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlObjectTypeConverter() - * @model kind="class" - * @generated - */ -public class XmlObjectTypeConverter extends XmlNamedConverter -{ - /** - * The default value of the '{@link #getDataType() Data Type}' attribute. - * - * - * @see #getDataType() - * @generated - * @ordered - */ - protected static final String DATA_TYPE_EDEFAULT = null; - /** - * The cached value of the '{@link #getDataType() Data Type}' attribute. - * - * - * @see #getDataType() - * @generated - * @ordered - */ - protected String dataType = DATA_TYPE_EDEFAULT; - /** - * The default value of the '{@link #getObjectType() Object Type}' attribute. - * - * - * @see #getObjectType() - * @generated - * @ordered - */ - protected static final String OBJECT_TYPE_EDEFAULT = null; - /** - * The cached value of the '{@link #getObjectType() Object Type}' attribute. - * - * - * @see #getObjectType() - * @generated - * @ordered - */ - protected String objectType = OBJECT_TYPE_EDEFAULT; - /** - * The cached value of the '{@link #getConversionValues() Conversion Values}' containment reference list. - * - * - * @see #getConversionValues() - * @generated - * @ordered - */ - protected EList conversionValues; - /** - * The default value of the '{@link #getDefaultObjectValue() Default Object Value}' attribute. - * - * - * @see #getDefaultObjectValue() - * @generated - * @ordered - */ - protected static final String DEFAULT_OBJECT_VALUE_EDEFAULT = null; - /** - * The cached value of the '{@link #getDefaultObjectValue() Default Object Value}' attribute. - * - * - * @see #getDefaultObjectValue() - * @generated - * @ordered - */ - protected String defaultObjectValue = DEFAULT_OBJECT_VALUE_EDEFAULT; - - /** - * - * - * @generated - */ - protected XmlObjectTypeConverter() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_OBJECT_TYPE_CONVERTER; - } - - /** - * Returns the value of the 'Data Type' attribute. - * - *

- * If the meaning of the 'Data Type' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Data Type' attribute. - * @see #setDataType(String) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlObjectTypeConverter_DataType() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - public String getDataType() - { - return dataType; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter#getDataType Data Type}' attribute. - * - * - * @param value the new value of the 'Data Type' attribute. - * @see #getDataType() - * @generated - */ - public void setDataType(String newDataType) - { - String oldDataType = dataType; - dataType = newDataType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_OBJECT_TYPE_CONVERTER__DATA_TYPE, oldDataType, dataType)); - } - - /** - * Returns the value of the 'Object Type' attribute. - * - *

- * If the meaning of the 'Object Type' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Object Type' attribute. - * @see #setObjectType(String) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlObjectTypeConverter_ObjectType() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - public String getObjectType() - { - return objectType; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter#getObjectType Object Type}' attribute. - * - * - * @param value the new value of the 'Object Type' attribute. - * @see #getObjectType() - * @generated - */ - public void setObjectType(String newObjectType) - { - String oldObjectType = objectType; - objectType = newObjectType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_OBJECT_TYPE_CONVERTER__OBJECT_TYPE, oldObjectType, objectType)); - } - - /** - * Returns the value of the 'Conversion Values' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConversionValue}. - * - *

- * If the meaning of the 'Conversion Values' containment reference list isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Conversion Values' containment reference list. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlObjectTypeConverter_ConversionValues() - * @model containment="true" - * @generated - */ - public EList getConversionValues() - { - if (conversionValues == null) - { - conversionValues = new EObjectContainmentEList(XmlConversionValue.class, this, EclipseLinkOrmPackage.XML_OBJECT_TYPE_CONVERTER__CONVERSION_VALUES); - } - return conversionValues; - } - - /** - * Returns the value of the 'Default Object Value' attribute. - * - *

- * If the meaning of the 'Default Object Value' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Default Object Value' attribute. - * @see #setDefaultObjectValue(String) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlObjectTypeConverter_DefaultObjectValue() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - public String getDefaultObjectValue() - { - return defaultObjectValue; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter#getDefaultObjectValue Default Object Value}' attribute. - * - * - * @param value the new value of the 'Default Object Value' attribute. - * @see #getDefaultObjectValue() - * @generated - */ - public void setDefaultObjectValue(String newDefaultObjectValue) - { - String oldDefaultObjectValue = defaultObjectValue; - defaultObjectValue = newDefaultObjectValue; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_OBJECT_TYPE_CONVERTER__DEFAULT_OBJECT_VALUE, oldDefaultObjectValue, defaultObjectValue)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_OBJECT_TYPE_CONVERTER__CONVERSION_VALUES: - return ((InternalEList)getConversionValues()).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_OBJECT_TYPE_CONVERTER__DATA_TYPE: - return getDataType(); - case EclipseLinkOrmPackage.XML_OBJECT_TYPE_CONVERTER__OBJECT_TYPE: - return getObjectType(); - case EclipseLinkOrmPackage.XML_OBJECT_TYPE_CONVERTER__CONVERSION_VALUES: - return getConversionValues(); - case EclipseLinkOrmPackage.XML_OBJECT_TYPE_CONVERTER__DEFAULT_OBJECT_VALUE: - return getDefaultObjectValue(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_OBJECT_TYPE_CONVERTER__DATA_TYPE: - setDataType((String)newValue); - return; - case EclipseLinkOrmPackage.XML_OBJECT_TYPE_CONVERTER__OBJECT_TYPE: - setObjectType((String)newValue); - return; - case EclipseLinkOrmPackage.XML_OBJECT_TYPE_CONVERTER__CONVERSION_VALUES: - getConversionValues().clear(); - getConversionValues().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_OBJECT_TYPE_CONVERTER__DEFAULT_OBJECT_VALUE: - setDefaultObjectValue((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_OBJECT_TYPE_CONVERTER__DATA_TYPE: - setDataType(DATA_TYPE_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_OBJECT_TYPE_CONVERTER__OBJECT_TYPE: - setObjectType(OBJECT_TYPE_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_OBJECT_TYPE_CONVERTER__CONVERSION_VALUES: - getConversionValues().clear(); - return; - case EclipseLinkOrmPackage.XML_OBJECT_TYPE_CONVERTER__DEFAULT_OBJECT_VALUE: - setDefaultObjectValue(DEFAULT_OBJECT_VALUE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_OBJECT_TYPE_CONVERTER__DATA_TYPE: - return DATA_TYPE_EDEFAULT == null ? dataType != null : !DATA_TYPE_EDEFAULT.equals(dataType); - case EclipseLinkOrmPackage.XML_OBJECT_TYPE_CONVERTER__OBJECT_TYPE: - return OBJECT_TYPE_EDEFAULT == null ? objectType != null : !OBJECT_TYPE_EDEFAULT.equals(objectType); - case EclipseLinkOrmPackage.XML_OBJECT_TYPE_CONVERTER__CONVERSION_VALUES: - return conversionValues != null && !conversionValues.isEmpty(); - case EclipseLinkOrmPackage.XML_OBJECT_TYPE_CONVERTER__DEFAULT_OBJECT_VALUE: - return DEFAULT_OBJECT_VALUE_EDEFAULT == null ? defaultObjectValue != null : !DEFAULT_OBJECT_VALUE_EDEFAULT.equals(defaultObjectValue); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (dataType: "); - result.append(dataType); - result.append(", objectType: "); - result.append(objectType); - result.append(", defaultObjectValue: "); - result.append(defaultObjectValue); - 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[] { - buildConversionValueTranslator(), - buildDefaultObjectValueTranslator(), - buildNameTranslator(), - buildDataTypeTranslator(), - buildObjectTypeTranslator(), - }; - } - - protected static Translator buildConversionValueTranslator() { - return XmlConversionValue.buildTranslator(EclipseLink.CONVERSION_VALUE, EclipseLinkOrmPackage.eINSTANCE.getXmlObjectTypeConverter_ConversionValues()); - } - - protected static Translator buildDefaultObjectValueTranslator() { - return new Translator(EclipseLink.OBJECT_TYPE_CONVERTER__DEFAULT_OBJECT_VALUE, EclipseLinkOrmPackage.eINSTANCE.getXmlObjectTypeConverter_DefaultObjectValue()); - } - - protected static Translator buildDataTypeTranslator() { - return new Translator(EclipseLink.OBJECT_TYPE_CONVERTER__DATA_TYPE, EclipseLinkOrmPackage.eINSTANCE.getXmlObjectTypeConverter_DataType(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildObjectTypeTranslator() { - return new Translator(EclipseLink.OBJECT_TYPE_CONVERTER__OBJECT_TYPE, EclipseLinkOrmPackage.eINSTANCE.getXmlObjectTypeConverter_ObjectType(), Translator.DOM_ATTRIBUTE); - } - - - // ********** refactoring ********** - - public ReplaceEdit createRenameDataTypeEdit(IType originalType, String newName) { - String originalName = originalType.getTypeQualifiedName(); - int nameIndex = this.dataType.lastIndexOf(originalName); - int offset = getAttributeNode(EclipseLink.OBJECT_TYPE_CONVERTER__DATA_TYPE).getValueRegionStartOffset() + 1; // +1 = opening double quote - return new ReplaceEdit(offset + nameIndex, originalName.length(), newName); - } - - public ReplaceEdit createRenameDataTypePackageEdit(String newPackageName) { - int packageLength = this.dataType.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.OBJECT_TYPE_CONVERTER__DATA_TYPE).getValueRegionStartOffset() + 1; // +1 = opening double quote - return new ReplaceEdit(offset, packageLength, newPackageName); - } - - public ReplaceEdit createRenameObjectTypeEdit(IType originalType, String newName) { - String originalName = originalType.getTypeQualifiedName(); - int nameIndex = this.objectType.lastIndexOf(originalName); - int offset = getAttributeNode(EclipseLink.OBJECT_TYPE_CONVERTER__OBJECT_TYPE).getValueRegionStartOffset() + 1; // +1 = opening double quote - return new ReplaceEdit(offset + nameIndex, originalName.length(), newName); - } - - public ReplaceEdit createRenameObjectTypePackageEdit(String newPackageName) { - int packageLength = this.objectType.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.OBJECT_TYPE_CONVERTER__OBJECT_TYPE).getValueRegionStartOffset() + 1; // +1 = opening double quote - return new ReplaceEdit(offset, packageLength, newPackageName); - } - - // ********** content assist *************** - - public TextRange getObjectTypeCodeAssistTextRange() { - return getAttributeCodeAssistTextRange(EclipseLink.OBJECT_TYPE_CONVERTER__OBJECT_TYPE); - } - - public boolean objectTypeTouches(int pos) { - TextRange textRange = this.getObjectTypeCodeAssistTextRange(); - return (textRange != null) && textRange.touches(pos); - } - - public TextRange getDataTypeCodeAssistTextRange() { - return getAttributeCodeAssistTextRange(EclipseLink.OBJECT_TYPE_CONVERTER__DATA_TYPE); - } - - public boolean dataTypeTouches(int pos) { - TextRange textRange = this.getDataTypeCodeAssistTextRange(); - return (textRange != null) && textRange.touches(pos); - } - - public TextRange getDefaultObjectValueCodeAssistTextRange() { - return getElementCodeAssistTextRange(EclipseLink.OBJECT_TYPE_CONVERTER__DEFAULT_OBJECT_VALUE); - } - - public boolean defaultObjectValueTouches(int pos) { - TextRange textRange = this.getDefaultObjectValueCodeAssistTextRange(); - return (textRange != null) && textRange.touches(pos); - } -} // XmlObjectTypeConverter diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlOneToMany.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlOneToMany.java deleted file mode 100644 index f612ab7824..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlOneToMany.java +++ /dev/null @@ -1,2292 +0,0 @@ -/******************************************************************************* - * 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.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.XmlMapKeyAssociationOverrideContainer_2_0; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlOneToMany_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.XmlOneToMany_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.XmlOneToMany_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.XmlOneToMany_2_4; -import org.eclipse.wst.common.internal.emf.resource.Translator; - -/** - * - * - * A representation of the model object 'Xml One 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#getXmlOneToMany() - * @model kind="class" - * @generated - */ -public class XmlOneToMany extends org.eclipse.jpt.jpa.core.resource.orm.XmlOneToMany implements XmlOneToMany_2_0, XmlOneToMany_2_1, XmlOneToMany_2_2, XmlOneToMany_2_4, XmlAttributeMapping, XmlPrivateOwned, XmlJoinFetch -{ - /** - * The cached value of the '{@link #getMapKeyAssociationOverrides() Map Key Association Overrides}' containment reference list. - * - * - * @see #getMapKeyAssociationOverrides() - * @generated - * @ordered - */ - protected EList mapKeyAssociationOverrides; - - /** - * The cached value of the '{@link #getConverters() Converters}' containment reference list. - * - * - * @see #getConverters() - * @generated - * @ordered - */ - protected EList converters; - - /** - * The cached value of the '{@link #getTypeConverters() Type Converters}' containment reference list. - * - * - * @see #getTypeConverters() - * @generated - * @ordered - */ - protected EList typeConverters; - - /** - * The cached value of the '{@link #getObjectTypeConverters() Object Type Converters}' containment reference list. - * - * - * @see #getObjectTypeConverters() - * @generated - * @ordered - */ - protected EList objectTypeConverters; - - /** - * The cached value of the '{@link #getStructConverters() Struct Converters}' containment reference list. - * - * - * @see #getStructConverters() - * @generated - * @ordered - */ - protected EList structConverters; - - /** - * The default value of the '{@link #getMapKeyConvert() Map Key Convert}' attribute. - * - * - * @see #getMapKeyConvert() - * @generated - * @ordered - */ - protected static final String MAP_KEY_CONVERT_EDEFAULT = null; - - /** - * The cached value of the '{@link #getMapKeyConvert() Map Key Convert}' attribute. - * - * - * @see #getMapKeyConvert() - * @generated - * @ordered - */ - protected String mapKeyConvert = MAP_KEY_CONVERT_EDEFAULT; - - /** - * The cached value of the '{@link #getBatchFetch() Batch Fetch}' containment reference. - * - * - * @see #getBatchFetch() - * @generated - * @ordered - */ - protected XmlBatchFetch batchFetch; - - /** - * The cached value of the '{@link #getPartitioning() Partitioning}' containment reference. - * - * - * @see #getPartitioning() - * @generated - * @ordered - */ - protected XmlPartitioning_2_2 partitioning; - - /** - * The cached value of the '{@link #getReplicationPartitioning() Replication Partitioning}' containment reference. - * - * - * @see #getReplicationPartitioning() - * @generated - * @ordered - */ - protected XmlReplicationPartitioning_2_2 replicationPartitioning; - - /** - * The cached value of the '{@link #getRoundRobinPartitioning() Round Robin Partitioning}' containment reference. - * - * - * @see #getRoundRobinPartitioning() - * @generated - * @ordered - */ - protected XmlRoundRobinPartitioning_2_2 roundRobinPartitioning; - - /** - * The cached value of the '{@link #getPinnedPartitioning() Pinned Partitioning}' containment reference. - * - * - * @see #getPinnedPartitioning() - * @generated - * @ordered - */ - protected XmlPinnedPartitioning_2_2 pinnedPartitioning; - - /** - * The cached value of the '{@link #getRangePartitioning() Range Partitioning}' containment reference. - * - * - * @see #getRangePartitioning() - * @generated - * @ordered - */ - protected XmlRangePartitioning_2_2 rangePartitioning; - - /** - * The cached value of the '{@link #getValuePartitioning() Value Partitioning}' containment reference. - * - * - * @see #getValuePartitioning() - * @generated - * @ordered - */ - protected XmlValuePartitioning_2_2 valuePartitioning; - - /** - * The cached value of the '{@link #getHashPartitioning() Hash Partitioning}' containment reference. - * - * - * @see #getHashPartitioning() - * @generated - * @ordered - */ - protected XmlHashPartitioning_2_2 hashPartitioning; - - /** - * The cached value of the '{@link #getUnionPartitioning() Union Partitioning}' containment reference. - * - * - * @see #getUnionPartitioning() - * @generated - * @ordered - */ - protected XmlUnionPartitioning_2_2 unionPartitioning; - - /** - * The default value of the '{@link #getPartitioned() Partitioned}' attribute. - * - * - * @see #getPartitioned() - * @generated - * @ordered - */ - protected static final String PARTITIONED_EDEFAULT = null; - - /** - * The cached value of the '{@link #getPartitioned() Partitioned}' attribute. - * - * - * @see #getPartitioned() - * @generated - * @ordered - */ - protected String partitioned = PARTITIONED_EDEFAULT; - - /** - * The default value of the '{@link #getCascadeOnDelete() Cascade On Delete}' attribute. - * - * - * @see #getCascadeOnDelete() - * @generated - * @ordered - */ - protected static final Boolean CASCADE_ON_DELETE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getCascadeOnDelete() Cascade On Delete}' attribute. - * - * - * @see #getCascadeOnDelete() - * @generated - * @ordered - */ - protected Boolean cascadeOnDelete = CASCADE_ON_DELETE_EDEFAULT; - - /** - * The default value of the '{@link #isNoncacheable() Noncacheable}' attribute. - * - * - * @see #isNoncacheable() - * @generated - * @ordered - */ - protected static final boolean NONCACHEABLE_EDEFAULT = false; - - /** - * The cached value of the '{@link #isNoncacheable() Noncacheable}' attribute. - * - * - * @see #isNoncacheable() - * @generated - * @ordered - */ - protected boolean noncacheable = NONCACHEABLE_EDEFAULT; - - /** - * The cached value of the '{@link #getJoinFields() Join Fields}' containment reference list. - * - * - * @see #getJoinFields() - * @generated - * @ordered - */ - protected EList joinFields; - - /** - * The default value of the '{@link #isDeleteAll() Delete All}' attribute. - * - * - * @see #isDeleteAll() - * @generated - * @ordered - */ - protected static final boolean DELETE_ALL_EDEFAULT = false; - - /** - * The cached value of the '{@link #isDeleteAll() Delete All}' attribute. - * - * - * @see #isDeleteAll() - * @generated - * @ordered - */ - protected boolean deleteAll = DELETE_ALL_EDEFAULT; - - /** - * 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 properties; - - /** - * The default value of the '{@link #getAttributeType() Attribute Type}' attribute. - * - * - * @see #getAttributeType() - * @generated - * @ordered - */ - protected static final String ATTRIBUTE_TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getAttributeType() Attribute Type}' attribute. - * - * - * @see #getAttributeType() - * @generated - * @ordered - */ - protected String attributeType = ATTRIBUTE_TYPE_EDEFAULT; - - /** - * The default value of the '{@link #isPrivateOwned() Private Owned}' attribute. - * - * - * @see #isPrivateOwned() - * @generated - * @ordered - */ - protected static final boolean PRIVATE_OWNED_EDEFAULT = false; - - /** - * The cached value of the '{@link #isPrivateOwned() Private Owned}' attribute. - * - * - * @see #isPrivateOwned() - * @generated - * @ordered - */ - protected boolean privateOwned = PRIVATE_OWNED_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 XmlJoinFetchType JOIN_FETCH_EDEFAULT = null; - - /** - * The cached value of the '{@link #getJoinFetch() Join Fetch}' attribute. - * - * - * @see #getJoinFetch() - * @generated - * @ordered - */ - protected XmlJoinFetchType joinFetch = JOIN_FETCH_EDEFAULT; - - /** - * - * - * @generated - */ - protected XmlOneToMany() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_ONE_TO_MANY; - } - - /** - * Returns the value of the 'Private Owned' attribute. - * - *

- * If the meaning of the 'Private Owned' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Private Owned' attribute. - * @see #setPrivateOwned(boolean) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPrivateOwned_PrivateOwned() - * @model dataType="org.eclipse.emf.ecore.xml.type.Boolean" - * @generated - */ - public boolean isPrivateOwned() - { - return privateOwned; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToMany#isPrivateOwned Private Owned}' attribute. - * - * - * @param value the new value of the 'Private Owned' attribute. - * @see #isPrivateOwned() - * @generated - */ - public void setPrivateOwned(boolean newPrivateOwned) - { - boolean oldPrivateOwned = privateOwned; - privateOwned = newPrivateOwned; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_MANY__PRIVATE_OWNED, oldPrivateOwned, privateOwned)); - } - - /** - * 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.XmlOneToMany#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_ONE_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 getMapKeyAssociationOverrides() - { - if (mapKeyAssociationOverrides == null) - { - mapKeyAssociationOverrides = new EObjectContainmentEList(XmlAssociationOverride.class, this, EclipseLinkOrmPackage.XML_ONE_TO_MANY__MAP_KEY_ASSOCIATION_OVERRIDES); - } - return mapKeyAssociationOverrides; - } - - /** - * Returns the value of the 'Map Key Convert' attribute. - * - *

- * 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.XmlOneToMany#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_ONE_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 getConverters() - { - if (converters == null) - { - converters = new EObjectContainmentEList(XmlConverter.class, this, EclipseLinkOrmPackage.XML_ONE_TO_MANY__CONVERTERS); - } - return converters; - } - - /** - * Returns the value of the 'Type Converters' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter}. - * - *

- * 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 getTypeConverters() - { - if (typeConverters == null) - { - typeConverters = new EObjectContainmentEList(XmlTypeConverter.class, this, EclipseLinkOrmPackage.XML_ONE_TO_MANY__TYPE_CONVERTERS); - } - return typeConverters; - } - - /** - * Returns the value of the 'Object Type Converters' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter}. - * - *

- * 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 getObjectTypeConverters() - { - if (objectTypeConverters == null) - { - objectTypeConverters = new EObjectContainmentEList(XmlObjectTypeConverter.class, this, EclipseLinkOrmPackage.XML_ONE_TO_MANY__OBJECT_TYPE_CONVERTERS); - } - return objectTypeConverters; - } - - /** - * Returns the value of the 'Struct Converters' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructConverter}. - * - *

- * 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 getStructConverters() - { - if (structConverters == null) - { - structConverters = new EObjectContainmentEList(XmlStructConverter.class, this, EclipseLinkOrmPackage.XML_ONE_TO_MANY__STRUCT_CONVERTERS); - } - return structConverters; - } - - /** - * 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_ONE_TO_MANY__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.XmlOneToMany#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_ONE_TO_MANY__BATCH_FETCH, null, msgs); - if (newBatchFetch != null) - msgs = ((InternalEObject)newBatchFetch).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_MANY__BATCH_FETCH, null, msgs); - msgs = basicSetBatchFetch(newBatchFetch, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_MANY__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.XmlOneToMany#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_ONE_TO_MANY__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_ONE_TO_MANY__PARTITIONING, oldPartitioning, newPartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToMany#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_ONE_TO_MANY__PARTITIONING, null, msgs); - if (newPartitioning != null) - msgs = ((InternalEObject)newPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONING, null, msgs); - msgs = basicSetPartitioning(newPartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONING, newPartitioning, newPartitioning)); - } - - /** - * Returns the value of the '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_ONE_TO_MANY__REPLICATION_PARTITIONING, oldReplicationPartitioning, newReplicationPartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToMany#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_ONE_TO_MANY__REPLICATION_PARTITIONING, null, msgs); - if (newReplicationPartitioning != null) - msgs = ((InternalEObject)newReplicationPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_MANY__REPLICATION_PARTITIONING, null, msgs); - msgs = basicSetReplicationPartitioning(newReplicationPartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_MANY__REPLICATION_PARTITIONING, newReplicationPartitioning, newReplicationPartitioning)); - } - - /** - * Returns the value of the '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_ONE_TO_MANY__ROUND_ROBIN_PARTITIONING, oldRoundRobinPartitioning, newRoundRobinPartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToMany#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_ONE_TO_MANY__ROUND_ROBIN_PARTITIONING, null, msgs); - if (newRoundRobinPartitioning != null) - msgs = ((InternalEObject)newRoundRobinPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_MANY__ROUND_ROBIN_PARTITIONING, null, msgs); - msgs = basicSetRoundRobinPartitioning(newRoundRobinPartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_MANY__ROUND_ROBIN_PARTITIONING, newRoundRobinPartitioning, newRoundRobinPartitioning)); - } - - /** - * Returns the value of the '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_ONE_TO_MANY__PINNED_PARTITIONING, oldPinnedPartitioning, newPinnedPartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToMany#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_ONE_TO_MANY__PINNED_PARTITIONING, null, msgs); - if (newPinnedPartitioning != null) - msgs = ((InternalEObject)newPinnedPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_MANY__PINNED_PARTITIONING, null, msgs); - msgs = basicSetPinnedPartitioning(newPinnedPartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_MANY__PINNED_PARTITIONING, newPinnedPartitioning, newPinnedPartitioning)); - } - - /** - * Returns the value of the '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_ONE_TO_MANY__RANGE_PARTITIONING, oldRangePartitioning, newRangePartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToMany#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_ONE_TO_MANY__RANGE_PARTITIONING, null, msgs); - if (newRangePartitioning != null) - msgs = ((InternalEObject)newRangePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_MANY__RANGE_PARTITIONING, null, msgs); - msgs = basicSetRangePartitioning(newRangePartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_MANY__RANGE_PARTITIONING, newRangePartitioning, newRangePartitioning)); - } - - /** - * Returns the value of the '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_ONE_TO_MANY__VALUE_PARTITIONING, oldValuePartitioning, newValuePartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToMany#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_ONE_TO_MANY__VALUE_PARTITIONING, null, msgs); - if (newValuePartitioning != null) - msgs = ((InternalEObject)newValuePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_MANY__VALUE_PARTITIONING, null, msgs); - msgs = basicSetValuePartitioning(newValuePartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_MANY__VALUE_PARTITIONING, newValuePartitioning, newValuePartitioning)); - } - - /** - * Returns the value of the '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_ONE_TO_MANY__HASH_PARTITIONING, oldHashPartitioning, newHashPartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToMany#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_ONE_TO_MANY__HASH_PARTITIONING, null, msgs); - if (newHashPartitioning != null) - msgs = ((InternalEObject)newHashPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_MANY__HASH_PARTITIONING, null, msgs); - msgs = basicSetHashPartitioning(newHashPartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_MANY__HASH_PARTITIONING, newHashPartitioning, newHashPartitioning)); - } - - /** - * Returns the value of the '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_ONE_TO_MANY__UNION_PARTITIONING, oldUnionPartitioning, newUnionPartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToMany#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_ONE_TO_MANY__UNION_PARTITIONING, null, msgs); - if (newUnionPartitioning != null) - msgs = ((InternalEObject)newUnionPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_MANY__UNION_PARTITIONING, null, msgs); - msgs = basicSetUnionPartitioning(newUnionPartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_MANY__UNION_PARTITIONING, newUnionPartitioning, newUnionPartitioning)); - } - - /** - * Returns the value of the '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.XmlOneToMany#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_ONE_TO_MANY__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#getXmlOneToMany_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.XmlOneToMany#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_ONE_TO_MANY__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#getXmlOneToMany_2_2_Noncacheable() - * @model dataType="org.eclipse.emf.ecore.xml.type.Boolean" - * @generated - */ - public boolean isNoncacheable() - { - return noncacheable; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToMany#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_ONE_TO_MANY__NONCACHEABLE, oldNoncacheable, noncacheable)); - } - - /** - * Returns the value of the 'Join Fields' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlJoinField_2_4}. - * - *

- * If the meaning of the 'Join Fields' containment reference list isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Join Fields' containment reference list. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOneToMany_2_4_JoinFields() - * @model containment="true" - * @generated - */ - public EList getJoinFields() - { - if (joinFields == null) - { - joinFields = new EObjectContainmentEList(XmlJoinField_2_4.class, this, EclipseLinkOrmPackage.XML_ONE_TO_MANY__JOIN_FIELDS); - } - return joinFields; - } - - /** - * 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#getXmlOneToMany_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.XmlOneToMany#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_ONE_TO_MANY__DELETE_ALL, oldDeleteAll, deleteAll)); - } - - /** - * 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_ONE_TO_MANY__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.XmlOneToMany#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_ONE_TO_MANY__ACCESS_METHODS, null, msgs); - if (newAccessMethods != null) - msgs = ((InternalEObject)newAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_MANY__ACCESS_METHODS, null, msgs); - msgs = basicSetAccessMethods(newAccessMethods, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_MANY__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 getProperties() - { - if (properties == null) - { - properties = new EObjectContainmentEList(XmlProperty.class, this, EclipseLinkOrmPackage.XML_ONE_TO_MANY__PROPERTIES); - } - return properties; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__MAP_KEY_ASSOCIATION_OVERRIDES: - return ((InternalEList)getMapKeyAssociationOverrides()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__CONVERTERS: - return ((InternalEList)getConverters()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__TYPE_CONVERTERS: - return ((InternalEList)getTypeConverters()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__OBJECT_TYPE_CONVERTERS: - return ((InternalEList)getObjectTypeConverters()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__STRUCT_CONVERTERS: - return ((InternalEList)getStructConverters()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__BATCH_FETCH: - return basicSetBatchFetch(null, msgs); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONING: - return basicSetPartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__REPLICATION_PARTITIONING: - return basicSetReplicationPartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ROUND_ROBIN_PARTITIONING: - return basicSetRoundRobinPartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PINNED_PARTITIONING: - return basicSetPinnedPartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__RANGE_PARTITIONING: - return basicSetRangePartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__VALUE_PARTITIONING: - return basicSetValuePartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__HASH_PARTITIONING: - return basicSetHashPartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__UNION_PARTITIONING: - return basicSetUnionPartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__JOIN_FIELDS: - return ((InternalEList)getJoinFields()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ACCESS_METHODS: - return basicSetAccessMethods(null, msgs); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__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_ONE_TO_MANY__MAP_KEY_ASSOCIATION_OVERRIDES: - return getMapKeyAssociationOverrides(); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__CONVERTERS: - return getConverters(); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__TYPE_CONVERTERS: - return getTypeConverters(); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__OBJECT_TYPE_CONVERTERS: - return getObjectTypeConverters(); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__STRUCT_CONVERTERS: - return getStructConverters(); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__MAP_KEY_CONVERT: - return getMapKeyConvert(); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__BATCH_FETCH: - return getBatchFetch(); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONING: - return getPartitioning(); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__REPLICATION_PARTITIONING: - return getReplicationPartitioning(); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ROUND_ROBIN_PARTITIONING: - return getRoundRobinPartitioning(); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PINNED_PARTITIONING: - return getPinnedPartitioning(); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__RANGE_PARTITIONING: - return getRangePartitioning(); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__VALUE_PARTITIONING: - return getValuePartitioning(); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__HASH_PARTITIONING: - return getHashPartitioning(); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__UNION_PARTITIONING: - return getUnionPartitioning(); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONED: - return getPartitioned(); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__CASCADE_ON_DELETE: - return getCascadeOnDelete(); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__NONCACHEABLE: - return isNoncacheable(); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__JOIN_FIELDS: - return getJoinFields(); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__DELETE_ALL: - return isDeleteAll(); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ACCESS_METHODS: - return getAccessMethods(); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PROPERTIES: - return getProperties(); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ATTRIBUTE_TYPE: - return getAttributeType(); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PRIVATE_OWNED: - return isPrivateOwned(); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__JOIN_FETCH: - return getJoinFetch(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__MAP_KEY_ASSOCIATION_OVERRIDES: - getMapKeyAssociationOverrides().clear(); - getMapKeyAssociationOverrides().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__CONVERTERS: - getConverters().clear(); - getConverters().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__TYPE_CONVERTERS: - getTypeConverters().clear(); - getTypeConverters().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__OBJECT_TYPE_CONVERTERS: - getObjectTypeConverters().clear(); - getObjectTypeConverters().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__STRUCT_CONVERTERS: - getStructConverters().clear(); - getStructConverters().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__MAP_KEY_CONVERT: - setMapKeyConvert((String)newValue); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__BATCH_FETCH: - setBatchFetch((XmlBatchFetch)newValue); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONING: - setPartitioning((XmlPartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__REPLICATION_PARTITIONING: - setReplicationPartitioning((XmlReplicationPartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ROUND_ROBIN_PARTITIONING: - setRoundRobinPartitioning((XmlRoundRobinPartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PINNED_PARTITIONING: - setPinnedPartitioning((XmlPinnedPartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__RANGE_PARTITIONING: - setRangePartitioning((XmlRangePartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__VALUE_PARTITIONING: - setValuePartitioning((XmlValuePartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__HASH_PARTITIONING: - setHashPartitioning((XmlHashPartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__UNION_PARTITIONING: - setUnionPartitioning((XmlUnionPartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONED: - setPartitioned((String)newValue); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__CASCADE_ON_DELETE: - setCascadeOnDelete((Boolean)newValue); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__NONCACHEABLE: - setNoncacheable((Boolean)newValue); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__JOIN_FIELDS: - getJoinFields().clear(); - getJoinFields().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__DELETE_ALL: - setDeleteAll((Boolean)newValue); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ACCESS_METHODS: - setAccessMethods((XmlAccessMethods)newValue); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PROPERTIES: - getProperties().clear(); - getProperties().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ATTRIBUTE_TYPE: - setAttributeType((String)newValue); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PRIVATE_OWNED: - setPrivateOwned((Boolean)newValue); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__JOIN_FETCH: - setJoinFetch((XmlJoinFetchType)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__MAP_KEY_ASSOCIATION_OVERRIDES: - getMapKeyAssociationOverrides().clear(); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__CONVERTERS: - getConverters().clear(); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__TYPE_CONVERTERS: - getTypeConverters().clear(); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__OBJECT_TYPE_CONVERTERS: - getObjectTypeConverters().clear(); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__STRUCT_CONVERTERS: - getStructConverters().clear(); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__MAP_KEY_CONVERT: - setMapKeyConvert(MAP_KEY_CONVERT_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__BATCH_FETCH: - setBatchFetch((XmlBatchFetch)null); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONING: - setPartitioning((XmlPartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__REPLICATION_PARTITIONING: - setReplicationPartitioning((XmlReplicationPartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ROUND_ROBIN_PARTITIONING: - setRoundRobinPartitioning((XmlRoundRobinPartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PINNED_PARTITIONING: - setPinnedPartitioning((XmlPinnedPartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__RANGE_PARTITIONING: - setRangePartitioning((XmlRangePartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__VALUE_PARTITIONING: - setValuePartitioning((XmlValuePartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__HASH_PARTITIONING: - setHashPartitioning((XmlHashPartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__UNION_PARTITIONING: - setUnionPartitioning((XmlUnionPartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONED: - setPartitioned(PARTITIONED_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__CASCADE_ON_DELETE: - setCascadeOnDelete(CASCADE_ON_DELETE_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__NONCACHEABLE: - setNoncacheable(NONCACHEABLE_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__JOIN_FIELDS: - getJoinFields().clear(); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__DELETE_ALL: - setDeleteAll(DELETE_ALL_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ACCESS_METHODS: - setAccessMethods((XmlAccessMethods)null); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PROPERTIES: - getProperties().clear(); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ATTRIBUTE_TYPE: - setAttributeType(ATTRIBUTE_TYPE_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PRIVATE_OWNED: - setPrivateOwned(PRIVATE_OWNED_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__JOIN_FETCH: - setJoinFetch(JOIN_FETCH_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__MAP_KEY_ASSOCIATION_OVERRIDES: - return mapKeyAssociationOverrides != null && !mapKeyAssociationOverrides.isEmpty(); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__CONVERTERS: - return converters != null && !converters.isEmpty(); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__TYPE_CONVERTERS: - return typeConverters != null && !typeConverters.isEmpty(); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__OBJECT_TYPE_CONVERTERS: - return objectTypeConverters != null && !objectTypeConverters.isEmpty(); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__STRUCT_CONVERTERS: - return structConverters != null && !structConverters.isEmpty(); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__MAP_KEY_CONVERT: - return MAP_KEY_CONVERT_EDEFAULT == null ? mapKeyConvert != null : !MAP_KEY_CONVERT_EDEFAULT.equals(mapKeyConvert); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__BATCH_FETCH: - return batchFetch != null; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONING: - return partitioning != null; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__REPLICATION_PARTITIONING: - return replicationPartitioning != null; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ROUND_ROBIN_PARTITIONING: - return roundRobinPartitioning != null; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PINNED_PARTITIONING: - return pinnedPartitioning != null; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__RANGE_PARTITIONING: - return rangePartitioning != null; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__VALUE_PARTITIONING: - return valuePartitioning != null; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__HASH_PARTITIONING: - return hashPartitioning != null; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__UNION_PARTITIONING: - return unionPartitioning != null; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONED: - return PARTITIONED_EDEFAULT == null ? partitioned != null : !PARTITIONED_EDEFAULT.equals(partitioned); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__CASCADE_ON_DELETE: - return CASCADE_ON_DELETE_EDEFAULT == null ? cascadeOnDelete != null : !CASCADE_ON_DELETE_EDEFAULT.equals(cascadeOnDelete); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__NONCACHEABLE: - return noncacheable != NONCACHEABLE_EDEFAULT; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__JOIN_FIELDS: - return joinFields != null && !joinFields.isEmpty(); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__DELETE_ALL: - return deleteAll != DELETE_ALL_EDEFAULT; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ACCESS_METHODS: - return accessMethods != null; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PROPERTIES: - return properties != null && !properties.isEmpty(); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ATTRIBUTE_TYPE: - return ATTRIBUTE_TYPE_EDEFAULT == null ? attributeType != null : !ATTRIBUTE_TYPE_EDEFAULT.equals(attributeType); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PRIVATE_OWNED: - return privateOwned != PRIVATE_OWNED_EDEFAULT; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__JOIN_FETCH: - return joinFetch != JOIN_FETCH_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public int eBaseStructuralFeatureID(int derivedFeatureID, Class baseClass) - { - if (baseClass == XmlMapKeyAssociationOverrideContainer_2_0.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__MAP_KEY_ASSOCIATION_OVERRIDES: return EclipseLinkOrmV2_0Package.XML_MAP_KEY_ASSOCIATION_OVERRIDE_CONTAINER_20__MAP_KEY_ASSOCIATION_OVERRIDES; - default: return -1; - } - } - if (baseClass == XmlConverterContainer.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__CONVERTERS; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__TYPE_CONVERTERS; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__OBJECT_TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__STRUCT_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS; - default: return -1; - } - } - if (baseClass == XmlCollectionMapping_2_0.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__MAP_KEY_CONVERT: return EclipseLinkOrmV2_0Package.XML_COLLECTION_MAPPING_20__MAP_KEY_CONVERT; - default: return -1; - } - } - if (baseClass == XmlOneToMany_2_0.class) - { - switch (derivedFeatureID) - { - default: return -1; - } - } - if (baseClass == XmlBatchFetchHolder.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__BATCH_FETCH: return EclipseLinkOrmPackage.XML_BATCH_FETCH_HOLDER__BATCH_FETCH; - default: return -1; - } - } - if (baseClass == XmlOneToMany_2_1.class) - { - switch (derivedFeatureID) - { - default: return -1; - } - } - if (baseClass == XmlPartitioningGroup_2_2.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONING; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__REPLICATION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PINNED_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__RANGE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__VALUE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__HASH_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__HASH_PARTITIONING; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__UNION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__UNION_PARTITIONING; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONED: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONED; - default: return -1; - } - } - if (baseClass == XmlOneToMany_2_2.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__CASCADE_ON_DELETE: return EclipseLinkOrmV2_2Package.XML_ONE_TO_MANY_22__CASCADE_ON_DELETE; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__NONCACHEABLE: return EclipseLinkOrmV2_2Package.XML_ONE_TO_MANY_22__NONCACHEABLE; - default: return -1; - } - } - if (baseClass == XmlOneToMany_2_4.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__JOIN_FIELDS: return EclipseLinkOrmV2_4Package.XML_ONE_TO_MANY_24__JOIN_FIELDS; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__DELETE_ALL: return EclipseLinkOrmV2_4Package.XML_ONE_TO_MANY_24__DELETE_ALL; - default: return -1; - } - } - if (baseClass == XmlAccessMethodsHolder.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS; - default: return -1; - } - } - if (baseClass == XmlPropertyContainer.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PROPERTIES: return EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES; - default: return -1; - } - } - if (baseClass == XmlAttributeMapping.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE; - default: return -1; - } - } - if (baseClass == XmlPrivateOwned.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PRIVATE_OWNED: return EclipseLinkOrmPackage.XML_PRIVATE_OWNED__PRIVATE_OWNED; - default: return -1; - } - } - if (baseClass == XmlJoinFetch.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__JOIN_FETCH: return EclipseLinkOrmPackage.XML_JOIN_FETCH__JOIN_FETCH; - default: return -1; - } - } - return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); - } - - /** - * - * - * @generated - */ - @Override - public int eDerivedStructuralFeatureID(int baseFeatureID, Class baseClass) - { - if (baseClass == XmlMapKeyAssociationOverrideContainer_2_0.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_0Package.XML_MAP_KEY_ASSOCIATION_OVERRIDE_CONTAINER_20__MAP_KEY_ASSOCIATION_OVERRIDES: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__MAP_KEY_ASSOCIATION_OVERRIDES; - default: return -1; - } - } - if (baseClass == XmlConverterContainer.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__CONVERTERS: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__CONVERTERS; - case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__TYPE_CONVERTERS; - case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__OBJECT_TYPE_CONVERTERS; - case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__STRUCT_CONVERTERS; - default: return -1; - } - } - if (baseClass == XmlCollectionMapping_2_0.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_0Package.XML_COLLECTION_MAPPING_20__MAP_KEY_CONVERT: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__MAP_KEY_CONVERT; - default: return -1; - } - } - if (baseClass == XmlOneToMany_2_0.class) - { - switch (baseFeatureID) - { - default: return -1; - } - } - if (baseClass == XmlBatchFetchHolder.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_BATCH_FETCH_HOLDER__BATCH_FETCH: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__BATCH_FETCH; - default: return -1; - } - } - if (baseClass == XmlOneToMany_2_1.class) - { - switch (baseFeatureID) - { - default: return -1; - } - } - if (baseClass == XmlPartitioningGroup_2_2.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__REPLICATION_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__ROUND_ROBIN_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__PINNED_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__RANGE_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__VALUE_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__HASH_PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__HASH_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__UNION_PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__UNION_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONED: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONED; - default: return -1; - } - } - if (baseClass == XmlOneToMany_2_2.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_2Package.XML_ONE_TO_MANY_22__CASCADE_ON_DELETE: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__CASCADE_ON_DELETE; - case EclipseLinkOrmV2_2Package.XML_ONE_TO_MANY_22__NONCACHEABLE: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__NONCACHEABLE; - default: return -1; - } - } - if (baseClass == XmlOneToMany_2_4.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_4Package.XML_ONE_TO_MANY_24__JOIN_FIELDS: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__JOIN_FIELDS; - case EclipseLinkOrmV2_4Package.XML_ONE_TO_MANY_24__DELETE_ALL: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__DELETE_ALL; - default: return -1; - } - } - if (baseClass == XmlAccessMethodsHolder.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__ACCESS_METHODS; - default: return -1; - } - } - if (baseClass == XmlPropertyContainer.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__PROPERTIES; - default: return -1; - } - } - if (baseClass == XmlAttributeMapping.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__ATTRIBUTE_TYPE; - default: return -1; - } - } - if (baseClass == XmlPrivateOwned.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_PRIVATE_OWNED__PRIVATE_OWNED: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__PRIVATE_OWNED; - default: return -1; - } - } - if (baseClass == XmlJoinFetch.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_JOIN_FETCH__JOIN_FETCH: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__JOIN_FETCH; - 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(" (mapKeyConvert: "); - result.append(mapKeyConvert); - result.append(", partitioned: "); - result.append(partitioned); - result.append(", cascadeOnDelete: "); - result.append(cascadeOnDelete); - result.append(", noncacheable: "); - result.append(noncacheable); - result.append(", deleteAll: "); - result.append(deleteAll); - result.append(", attributeType: "); - result.append(attributeType); - result.append(", privateOwned: "); - result.append(privateOwned); - result.append(", joinFetch: "); - result.append(joinFetch); - result.append(')'); - return result.toString(); - } - - public TextRange getPrivateOwnedTextRange() { - return getElementTextRange(EclipseLink.PRIVATE_OWNED); - } - - public TextRange getJoinFetchTextRange() { - return getElementTextRange(EclipseLink.JOIN_FETCH); - } - - 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.getXmlOneToMany(), - buildTranslatorChildren()); - } - - private static Translator[] buildTranslatorChildren() { - return new Translator[] { - buildNameTranslator(), - buildTargetEntityTranslator(), - buildFetchTranslator(), - buildAccessTranslator(), - buildMappedByTranslator(), - buildOrphanRemovalTranslator(), - buildAttributeTypeTranslator(), - buildOrderByTranslator(), - XmlOrderColumn.buildTranslator(JPA2_0.ORDER_COLUMN, OrmV2_0Package.eINSTANCE.getXmlOrderable_2_0_OrderColumn()), - buildMapKeyTranslator(), - buildMapKeyClassTranslator(), - buildMapKeyTemporalTranslator(), - buildMapKeyEnumeratedTranslator(), - buildMapKeyConvertTranslator(), - buildMapKeyAttributeOverrideTranslator(), - buildMapKeyAssociationOverrideTranslator(), - buildMapKeyColumnTranslator(), - buildMapKeyJoinColumnTranslator(), - buildConverterTranslator(), - buildTypeConverterTranslator(), - buildObjectTypeConverterTranslator(), - buildStructConverterTranslator(), - buildJoinTableTranslator(), - buildJoinColumnTranslator(), - buildJoinFieldTranslator(), - buildCascadeTranslator(), - buildCascadeOnDeleteTranslator(), - buildPrivateOwnedTranslator(), - buildJoinFetchTranslator(), - buildBatchFetchTranslator(), - buildPropertyTranslator(), - buildAccessMethodsTranslator(), - buildNoncacheableTranslator(), - buildDeleteAllTranslator(), - 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(), - }; - } - - protected static Translator buildMapKeyConvertTranslator() { - return new Translator(JPA2_0.MAP_KEY_CONVERT, EclipseLinkOrmV2_0Package.eINSTANCE.getXmlCollectionMapping_2_0_MapKeyConvert()); - } - - protected static Translator buildMapKeyAssociationOverrideTranslator() { - return XmlAssociationOverride.buildTranslator(EclipseLink2_0.MAP_KEY_ASSOCIATION_OVERRIDE, EclipseLinkOrmV2_0Package.eINSTANCE.getXmlMapKeyAssociationOverrideContainer_2_0_MapKeyAssociationOverrides()); - } - - 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 buildPrivateOwnedTranslator() { - return new EmptyTagBooleanTranslator(EclipseLink.PRIVATE_OWNED, EclipseLinkOrmPackage.eINSTANCE.getXmlPrivateOwned_PrivateOwned()); - } - - protected static Translator buildJoinFetchTranslator() { - return new Translator(EclipseLink.JOIN_FETCH, EclipseLinkOrmPackage.eINSTANCE.getXmlJoinFetch_JoinFetch()); - } - - 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 buildAttributeTypeTranslator() { - return new Translator(EclipseLink2_1.ATTRIBUTE_TYPE, EclipseLinkOrmPackage.eINSTANCE.getXmlAttributeMapping_AttributeType(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildBatchFetchTranslator() { - return XmlBatchFetch.buildTranslator(EclipseLink2_1.BATCH_FETCH, EclipseLinkOrmPackage.eINSTANCE.getXmlBatchFetchHolder_BatchFetch()); - } - - protected static Translator buildCascadeOnDeleteTranslator() { - return CascadeType.buildTranslator(EclipseLink2_2.CASCADE_ON_DELETE, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlOneToMany_2_2_CascadeOnDelete()); - } - - protected static Translator buildJoinTableTranslator() { - return XmlJoinTable.buildTranslator(JPA.JOIN_TABLE, OrmPackage.eINSTANCE.getXmlJoinTableContainer_JoinTable()); - } - - protected static Translator buildNoncacheableTranslator() { - return new EmptyTagBooleanTranslator(EclipseLink2_2.NONCACHEABLE, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlOneToMany_2_2_Noncacheable()); - } - - protected static Translator buildPartitionedTranslator() { - return new Translator(EclipseLink2_2.PARTITIONING_GROUP__PARTITIONED, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlPartitioningGroup_2_2_Partitioned()); - } - - protected static Translator buildDeleteAllTranslator() { - return new EmptyTagBooleanTranslator(EclipseLink2_4.DELETE_ALL, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlOneToMany_2_4_DeleteAll()); - } - - protected static Translator buildJoinFieldTranslator() { - return XmlJoinField.buildTranslator(EclipseLink2_4.JOIN_FIELD, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlOneToMany_2_4_JoinFields()); - } - - // ******** virtual attribute ************ - - public void setVirtualAttributeTypes(String attributeType, String targetEntity) { - this.setAttributeType(attributeType); - this.setTargetEntity(targetEntity); - } - - // *********** 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/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlOneToOne.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlOneToOne.java deleted file mode 100644 index b94f1fe3bc..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlOneToOne.java +++ /dev/null @@ -1,1794 +0,0 @@ -/******************************************************************************* - * 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.eclipselink.core.resource.orm.v2_1.EclipseLink2_1; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlOneToOne_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.XmlOneToOne_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.XmlOneToOne_2_4; -import org.eclipse.wst.common.internal.emf.resource.Translator; - -/** - * - * - * A representation of the model object 'Xml One To One'. - * - * 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#getXmlOneToOne() - * @model kind="class" - * @generated - */ -public class XmlOneToOne extends org.eclipse.jpt.jpa.core.resource.orm.XmlOneToOne implements XmlOneToOne_2_1, XmlOneToOne_2_2, XmlOneToOne_2_4, XmlAttributeMapping, XmlPrivateOwned, XmlJoinFetch -{ - /** - * The cached value of the '{@link #getBatchFetch() Batch Fetch}' containment reference. - * - * - * @see #getBatchFetch() - * @generated - * @ordered - */ - protected XmlBatchFetch batchFetch; - - /** - * The cached value of the '{@link #getPartitioning() Partitioning}' containment reference. - * - * - * @see #getPartitioning() - * @generated - * @ordered - */ - protected XmlPartitioning_2_2 partitioning; - - /** - * The cached value of the '{@link #getReplicationPartitioning() Replication Partitioning}' containment reference. - * - * - * @see #getReplicationPartitioning() - * @generated - * @ordered - */ - protected XmlReplicationPartitioning_2_2 replicationPartitioning; - - /** - * The cached value of the '{@link #getRoundRobinPartitioning() Round Robin Partitioning}' containment reference. - * - * - * @see #getRoundRobinPartitioning() - * @generated - * @ordered - */ - protected XmlRoundRobinPartitioning_2_2 roundRobinPartitioning; - - /** - * The cached value of the '{@link #getPinnedPartitioning() Pinned Partitioning}' containment reference. - * - * - * @see #getPinnedPartitioning() - * @generated - * @ordered - */ - protected XmlPinnedPartitioning_2_2 pinnedPartitioning; - - /** - * The cached value of the '{@link #getRangePartitioning() Range Partitioning}' containment reference. - * - * - * @see #getRangePartitioning() - * @generated - * @ordered - */ - protected XmlRangePartitioning_2_2 rangePartitioning; - - /** - * The cached value of the '{@link #getValuePartitioning() Value Partitioning}' containment reference. - * - * - * @see #getValuePartitioning() - * @generated - * @ordered - */ - protected XmlValuePartitioning_2_2 valuePartitioning; - - /** - * The cached value of the '{@link #getHashPartitioning() Hash Partitioning}' containment reference. - * - * - * @see #getHashPartitioning() - * @generated - * @ordered - */ - protected XmlHashPartitioning_2_2 hashPartitioning; - - /** - * The cached value of the '{@link #getUnionPartitioning() Union Partitioning}' containment reference. - * - * - * @see #getUnionPartitioning() - * @generated - * @ordered - */ - protected XmlUnionPartitioning_2_2 unionPartitioning; - - /** - * The default value of the '{@link #getPartitioned() Partitioned}' attribute. - * - * - * @see #getPartitioned() - * @generated - * @ordered - */ - protected static final String PARTITIONED_EDEFAULT = null; - - /** - * The cached value of the '{@link #getPartitioned() Partitioned}' attribute. - * - * - * @see #getPartitioned() - * @generated - * @ordered - */ - protected String partitioned = PARTITIONED_EDEFAULT; - - /** - * The default value of the '{@link #getCascadeOnDelete() Cascade On Delete}' attribute. - * - * - * @see #getCascadeOnDelete() - * @generated - * @ordered - */ - protected static final Boolean CASCADE_ON_DELETE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getCascadeOnDelete() Cascade On Delete}' attribute. - * - * - * @see #getCascadeOnDelete() - * @generated - * @ordered - */ - protected Boolean cascadeOnDelete = CASCADE_ON_DELETE_EDEFAULT; - - /** - * The default value of the '{@link #isNonCacheable() Non Cacheable}' attribute. - * - * - * @see #isNonCacheable() - * @generated - * @ordered - */ - protected static final boolean NON_CACHEABLE_EDEFAULT = false; - - /** - * The cached value of the '{@link #isNonCacheable() Non Cacheable}' attribute. - * - * - * @see #isNonCacheable() - * @generated - * @ordered - */ - protected boolean nonCacheable = NON_CACHEABLE_EDEFAULT; - - /** - * The cached value of the '{@link #getJoinFields() Join Fields}' containment reference list. - * - * - * @see #getJoinFields() - * @generated - * @ordered - */ - protected EList joinFields; - - /** - * 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 properties; - - /** - * The default value of the '{@link #getAttributeType() Attribute Type}' attribute. - * - * - * @see #getAttributeType() - * @generated - * @ordered - */ - protected static final String ATTRIBUTE_TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getAttributeType() Attribute Type}' attribute. - * - * - * @see #getAttributeType() - * @generated - * @ordered - */ - protected String attributeType = ATTRIBUTE_TYPE_EDEFAULT; - - /** - * The default value of the '{@link #isPrivateOwned() Private Owned}' attribute. - * - * - * @see #isPrivateOwned() - * @generated - * @ordered - */ - protected static final boolean PRIVATE_OWNED_EDEFAULT = false; - - /** - * The cached value of the '{@link #isPrivateOwned() Private Owned}' attribute. - * - * - * @see #isPrivateOwned() - * @generated - * @ordered - */ - protected boolean privateOwned = PRIVATE_OWNED_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 XmlJoinFetchType JOIN_FETCH_EDEFAULT = null; - - /** - * The cached value of the '{@link #getJoinFetch() Join Fetch}' attribute. - * - * - * @see #getJoinFetch() - * @generated - * @ordered - */ - protected XmlJoinFetchType joinFetch = JOIN_FETCH_EDEFAULT; - - /** - * - * - * @generated - */ - protected XmlOneToOne() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_ONE_TO_ONE; - } - - /** - * 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_ONE_TO_ONE__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.XmlOneToOne#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_ONE_TO_ONE__BATCH_FETCH, null, msgs); - if (newBatchFetch != null) - msgs = ((InternalEObject)newBatchFetch).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_ONE__BATCH_FETCH, null, msgs); - msgs = basicSetBatchFetch(newBatchFetch, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_ONE__BATCH_FETCH, newBatchFetch, newBatchFetch)); - } - - /** - * 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_ONE_TO_ONE__PARTITIONING, oldPartitioning, newPartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToOne#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_ONE_TO_ONE__PARTITIONING, null, msgs); - if (newPartitioning != null) - msgs = ((InternalEObject)newPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONING, null, msgs); - msgs = basicSetPartitioning(newPartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONING, newPartitioning, newPartitioning)); - } - - /** - * Returns the value of the '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_ONE_TO_ONE__REPLICATION_PARTITIONING, oldReplicationPartitioning, newReplicationPartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToOne#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_ONE_TO_ONE__REPLICATION_PARTITIONING, null, msgs); - if (newReplicationPartitioning != null) - msgs = ((InternalEObject)newReplicationPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_ONE__REPLICATION_PARTITIONING, null, msgs); - msgs = basicSetReplicationPartitioning(newReplicationPartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_ONE__REPLICATION_PARTITIONING, newReplicationPartitioning, newReplicationPartitioning)); - } - - /** - * Returns the value of the '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_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING, oldRoundRobinPartitioning, newRoundRobinPartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToOne#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_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING, null, msgs); - if (newRoundRobinPartitioning != null) - msgs = ((InternalEObject)newRoundRobinPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING, null, msgs); - msgs = basicSetRoundRobinPartitioning(newRoundRobinPartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING, newRoundRobinPartitioning, newRoundRobinPartitioning)); - } - - /** - * Returns the value of the '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_ONE_TO_ONE__PINNED_PARTITIONING, oldPinnedPartitioning, newPinnedPartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToOne#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_ONE_TO_ONE__PINNED_PARTITIONING, null, msgs); - if (newPinnedPartitioning != null) - msgs = ((InternalEObject)newPinnedPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_ONE__PINNED_PARTITIONING, null, msgs); - msgs = basicSetPinnedPartitioning(newPinnedPartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_ONE__PINNED_PARTITIONING, newPinnedPartitioning, newPinnedPartitioning)); - } - - /** - * Returns the value of the '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_ONE_TO_ONE__RANGE_PARTITIONING, oldRangePartitioning, newRangePartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToOne#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_ONE_TO_ONE__RANGE_PARTITIONING, null, msgs); - if (newRangePartitioning != null) - msgs = ((InternalEObject)newRangePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_ONE__RANGE_PARTITIONING, null, msgs); - msgs = basicSetRangePartitioning(newRangePartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_ONE__RANGE_PARTITIONING, newRangePartitioning, newRangePartitioning)); - } - - /** - * Returns the value of the '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_ONE_TO_ONE__VALUE_PARTITIONING, oldValuePartitioning, newValuePartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToOne#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_ONE_TO_ONE__VALUE_PARTITIONING, null, msgs); - if (newValuePartitioning != null) - msgs = ((InternalEObject)newValuePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_ONE__VALUE_PARTITIONING, null, msgs); - msgs = basicSetValuePartitioning(newValuePartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_ONE__VALUE_PARTITIONING, newValuePartitioning, newValuePartitioning)); - } - - /** - * Returns the value of the '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_ONE_TO_ONE__HASH_PARTITIONING, oldHashPartitioning, newHashPartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToOne#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_ONE_TO_ONE__HASH_PARTITIONING, null, msgs); - if (newHashPartitioning != null) - msgs = ((InternalEObject)newHashPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_ONE__HASH_PARTITIONING, null, msgs); - msgs = basicSetHashPartitioning(newHashPartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_ONE__HASH_PARTITIONING, newHashPartitioning, newHashPartitioning)); - } - - /** - * Returns the value of the '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_ONE_TO_ONE__UNION_PARTITIONING, oldUnionPartitioning, newUnionPartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToOne#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_ONE_TO_ONE__UNION_PARTITIONING, null, msgs); - if (newUnionPartitioning != null) - msgs = ((InternalEObject)newUnionPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_ONE__UNION_PARTITIONING, null, msgs); - msgs = basicSetUnionPartitioning(newUnionPartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_ONE__UNION_PARTITIONING, newUnionPartitioning, newUnionPartitioning)); - } - - /** - * Returns the value of the '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.XmlOneToOne#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_ONE_TO_ONE__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#getXmlOneToOne_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.XmlOneToOne#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_ONE_TO_ONE__CASCADE_ON_DELETE, oldCascadeOnDelete, cascadeOnDelete)); - } - - /** - * Returns the value of the 'Non Cacheable' attribute. - * - *

- * If the meaning of the 'Non Cacheable' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Non Cacheable' attribute. - * @see #setNonCacheable(boolean) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOneToOne_2_2_NonCacheable() - * @model dataType="org.eclipse.emf.ecore.xml.type.Boolean" - * @generated - */ - public boolean isNonCacheable() - { - return nonCacheable; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToOne#isNonCacheable Non Cacheable}' attribute. - * - * - * @param value the new value of the 'Non Cacheable' attribute. - * @see #isNonCacheable() - * @generated - */ - public void setNonCacheable(boolean newNonCacheable) - { - boolean oldNonCacheable = nonCacheable; - nonCacheable = newNonCacheable; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_ONE__NON_CACHEABLE, oldNonCacheable, nonCacheable)); - } - - /** - * Returns the value of the 'Join Fields' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlJoinField_2_4}. - * - *

- * If the meaning of the 'Join Fields' containment reference list isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Join Fields' containment reference list. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOneToOne_2_4_JoinFields() - * @model containment="true" - * @generated - */ - public EList getJoinFields() - { - if (joinFields == null) - { - joinFields = new EObjectContainmentEList(XmlJoinField_2_4.class, this, EclipseLinkOrmPackage.XML_ONE_TO_ONE__JOIN_FIELDS); - } - return joinFields; - } - - /** - * Returns the value of the 'Private Owned' attribute. - * - *

- * If the meaning of the 'Private Owned' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Private Owned' attribute. - * @see #setPrivateOwned(boolean) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPrivateOwned_PrivateOwned() - * @model dataType="org.eclipse.emf.ecore.xml.type.Boolean" - * @generated - */ - public boolean isPrivateOwned() - { - return privateOwned; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToOne#isPrivateOwned Private Owned}' attribute. - * - * - * @param value the new value of the 'Private Owned' attribute. - * @see #isPrivateOwned() - * @generated - */ - public void setPrivateOwned(boolean newPrivateOwned) - { - boolean oldPrivateOwned = privateOwned; - privateOwned = newPrivateOwned; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_ONE__PRIVATE_OWNED, oldPrivateOwned, privateOwned)); - } - - /** - * 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.XmlOneToOne#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_ONE_TO_ONE__JOIN_FETCH, oldJoinFetch, joinFetch)); - } - - /** - * 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_ONE_TO_ONE__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.XmlOneToOne#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_ONE_TO_ONE__ACCESS_METHODS, null, msgs); - if (newAccessMethods != null) - msgs = ((InternalEObject)newAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_ONE__ACCESS_METHODS, null, msgs); - msgs = basicSetAccessMethods(newAccessMethods, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_ONE__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 getProperties() - { - if (properties == null) - { - properties = new EObjectContainmentEList(XmlProperty.class, this, EclipseLinkOrmPackage.XML_ONE_TO_ONE__PROPERTIES); - } - return properties; - } - - /** - * 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.XmlOneToOne#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_ONE_TO_ONE__ATTRIBUTE_TYPE, oldAttributeType, attributeType)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__BATCH_FETCH: - return basicSetBatchFetch(null, msgs); - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONING: - return basicSetPartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__REPLICATION_PARTITIONING: - return basicSetReplicationPartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING: - return basicSetRoundRobinPartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PINNED_PARTITIONING: - return basicSetPinnedPartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__RANGE_PARTITIONING: - return basicSetRangePartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__VALUE_PARTITIONING: - return basicSetValuePartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__HASH_PARTITIONING: - return basicSetHashPartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__UNION_PARTITIONING: - return basicSetUnionPartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__JOIN_FIELDS: - return ((InternalEList)getJoinFields()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__ACCESS_METHODS: - return basicSetAccessMethods(null, msgs); - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__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_ONE_TO_ONE__BATCH_FETCH: - return getBatchFetch(); - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONING: - return getPartitioning(); - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__REPLICATION_PARTITIONING: - return getReplicationPartitioning(); - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING: - return getRoundRobinPartitioning(); - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PINNED_PARTITIONING: - return getPinnedPartitioning(); - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__RANGE_PARTITIONING: - return getRangePartitioning(); - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__VALUE_PARTITIONING: - return getValuePartitioning(); - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__HASH_PARTITIONING: - return getHashPartitioning(); - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__UNION_PARTITIONING: - return getUnionPartitioning(); - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONED: - return getPartitioned(); - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__CASCADE_ON_DELETE: - return getCascadeOnDelete(); - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__NON_CACHEABLE: - return isNonCacheable(); - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__JOIN_FIELDS: - return getJoinFields(); - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__ACCESS_METHODS: - return getAccessMethods(); - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PROPERTIES: - return getProperties(); - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__ATTRIBUTE_TYPE: - return getAttributeType(); - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PRIVATE_OWNED: - return isPrivateOwned(); - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__JOIN_FETCH: - return getJoinFetch(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__BATCH_FETCH: - setBatchFetch((XmlBatchFetch)newValue); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONING: - setPartitioning((XmlPartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__REPLICATION_PARTITIONING: - setReplicationPartitioning((XmlReplicationPartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING: - setRoundRobinPartitioning((XmlRoundRobinPartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PINNED_PARTITIONING: - setPinnedPartitioning((XmlPinnedPartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__RANGE_PARTITIONING: - setRangePartitioning((XmlRangePartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__VALUE_PARTITIONING: - setValuePartitioning((XmlValuePartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__HASH_PARTITIONING: - setHashPartitioning((XmlHashPartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__UNION_PARTITIONING: - setUnionPartitioning((XmlUnionPartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONED: - setPartitioned((String)newValue); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__CASCADE_ON_DELETE: - setCascadeOnDelete((Boolean)newValue); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__NON_CACHEABLE: - setNonCacheable((Boolean)newValue); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__JOIN_FIELDS: - getJoinFields().clear(); - getJoinFields().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__ACCESS_METHODS: - setAccessMethods((XmlAccessMethods)newValue); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PROPERTIES: - getProperties().clear(); - getProperties().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__ATTRIBUTE_TYPE: - setAttributeType((String)newValue); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PRIVATE_OWNED: - setPrivateOwned((Boolean)newValue); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__JOIN_FETCH: - setJoinFetch((XmlJoinFetchType)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__BATCH_FETCH: - setBatchFetch((XmlBatchFetch)null); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONING: - setPartitioning((XmlPartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__REPLICATION_PARTITIONING: - setReplicationPartitioning((XmlReplicationPartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING: - setRoundRobinPartitioning((XmlRoundRobinPartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PINNED_PARTITIONING: - setPinnedPartitioning((XmlPinnedPartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__RANGE_PARTITIONING: - setRangePartitioning((XmlRangePartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__VALUE_PARTITIONING: - setValuePartitioning((XmlValuePartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__HASH_PARTITIONING: - setHashPartitioning((XmlHashPartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__UNION_PARTITIONING: - setUnionPartitioning((XmlUnionPartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONED: - setPartitioned(PARTITIONED_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__CASCADE_ON_DELETE: - setCascadeOnDelete(CASCADE_ON_DELETE_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__NON_CACHEABLE: - setNonCacheable(NON_CACHEABLE_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__JOIN_FIELDS: - getJoinFields().clear(); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__ACCESS_METHODS: - setAccessMethods((XmlAccessMethods)null); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PROPERTIES: - getProperties().clear(); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__ATTRIBUTE_TYPE: - setAttributeType(ATTRIBUTE_TYPE_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PRIVATE_OWNED: - setPrivateOwned(PRIVATE_OWNED_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__JOIN_FETCH: - setJoinFetch(JOIN_FETCH_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__BATCH_FETCH: - return batchFetch != null; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONING: - return partitioning != null; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__REPLICATION_PARTITIONING: - return replicationPartitioning != null; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING: - return roundRobinPartitioning != null; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PINNED_PARTITIONING: - return pinnedPartitioning != null; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__RANGE_PARTITIONING: - return rangePartitioning != null; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__VALUE_PARTITIONING: - return valuePartitioning != null; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__HASH_PARTITIONING: - return hashPartitioning != null; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__UNION_PARTITIONING: - return unionPartitioning != null; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONED: - return PARTITIONED_EDEFAULT == null ? partitioned != null : !PARTITIONED_EDEFAULT.equals(partitioned); - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__CASCADE_ON_DELETE: - return CASCADE_ON_DELETE_EDEFAULT == null ? cascadeOnDelete != null : !CASCADE_ON_DELETE_EDEFAULT.equals(cascadeOnDelete); - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__NON_CACHEABLE: - return nonCacheable != NON_CACHEABLE_EDEFAULT; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__JOIN_FIELDS: - return joinFields != null && !joinFields.isEmpty(); - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__ACCESS_METHODS: - return accessMethods != null; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PROPERTIES: - return properties != null && !properties.isEmpty(); - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__ATTRIBUTE_TYPE: - return ATTRIBUTE_TYPE_EDEFAULT == null ? attributeType != null : !ATTRIBUTE_TYPE_EDEFAULT.equals(attributeType); - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PRIVATE_OWNED: - return privateOwned != PRIVATE_OWNED_EDEFAULT; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__JOIN_FETCH: - return joinFetch != JOIN_FETCH_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public int eBaseStructuralFeatureID(int derivedFeatureID, Class baseClass) - { - if (baseClass == XmlBatchFetchHolder.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__BATCH_FETCH: return EclipseLinkOrmPackage.XML_BATCH_FETCH_HOLDER__BATCH_FETCH; - default: return -1; - } - } - if (baseClass == XmlOneToOne_2_1.class) - { - switch (derivedFeatureID) - { - default: return -1; - } - } - if (baseClass == XmlPartitioningGroup_2_2.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONING; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__REPLICATION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PINNED_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__RANGE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__VALUE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__HASH_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__HASH_PARTITIONING; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__UNION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__UNION_PARTITIONING; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONED: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONED; - default: return -1; - } - } - if (baseClass == XmlOneToOne_2_2.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__CASCADE_ON_DELETE: return EclipseLinkOrmV2_2Package.XML_ONE_TO_ONE_22__CASCADE_ON_DELETE; - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__NON_CACHEABLE: return EclipseLinkOrmV2_2Package.XML_ONE_TO_ONE_22__NON_CACHEABLE; - default: return -1; - } - } - if (baseClass == XmlOneToOne_2_4.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__JOIN_FIELDS: return EclipseLinkOrmV2_4Package.XML_ONE_TO_ONE_24__JOIN_FIELDS; - default: return -1; - } - } - if (baseClass == XmlAccessMethodsHolder.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS; - default: return -1; - } - } - if (baseClass == XmlPropertyContainer.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PROPERTIES: return EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES; - default: return -1; - } - } - if (baseClass == XmlAttributeMapping.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE; - default: return -1; - } - } - if (baseClass == XmlPrivateOwned.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PRIVATE_OWNED: return EclipseLinkOrmPackage.XML_PRIVATE_OWNED__PRIVATE_OWNED; - default: return -1; - } - } - if (baseClass == XmlJoinFetch.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ONE_TO_ONE__JOIN_FETCH: return EclipseLinkOrmPackage.XML_JOIN_FETCH__JOIN_FETCH; - default: return -1; - } - } - return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); - } - - /** - * - * - * @generated - */ - @Override - public int eDerivedStructuralFeatureID(int baseFeatureID, Class baseClass) - { - if (baseClass == XmlBatchFetchHolder.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_BATCH_FETCH_HOLDER__BATCH_FETCH: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__BATCH_FETCH; - default: return -1; - } - } - if (baseClass == XmlOneToOne_2_1.class) - { - switch (baseFeatureID) - { - default: return -1; - } - } - if (baseClass == XmlPartitioningGroup_2_2.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__REPLICATION_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__PINNED_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__RANGE_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__VALUE_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__HASH_PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__HASH_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__UNION_PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__UNION_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONED: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONED; - default: return -1; - } - } - if (baseClass == XmlOneToOne_2_2.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_2Package.XML_ONE_TO_ONE_22__CASCADE_ON_DELETE: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__CASCADE_ON_DELETE; - case EclipseLinkOrmV2_2Package.XML_ONE_TO_ONE_22__NON_CACHEABLE: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__NON_CACHEABLE; - default: return -1; - } - } - if (baseClass == XmlOneToOne_2_4.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_4Package.XML_ONE_TO_ONE_24__JOIN_FIELDS: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__JOIN_FIELDS; - default: return -1; - } - } - if (baseClass == XmlAccessMethodsHolder.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__ACCESS_METHODS; - default: return -1; - } - } - if (baseClass == XmlPropertyContainer.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__PROPERTIES; - default: return -1; - } - } - if (baseClass == XmlAttributeMapping.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__ATTRIBUTE_TYPE; - default: return -1; - } - } - if (baseClass == XmlPrivateOwned.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_PRIVATE_OWNED__PRIVATE_OWNED: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__PRIVATE_OWNED; - default: return -1; - } - } - if (baseClass == XmlJoinFetch.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_JOIN_FETCH__JOIN_FETCH: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__JOIN_FETCH; - 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(" (partitioned: "); - result.append(partitioned); - result.append(", cascadeOnDelete: "); - result.append(cascadeOnDelete); - result.append(", nonCacheable: "); - result.append(nonCacheable); - result.append(", attributeType: "); - result.append(attributeType); - result.append(", privateOwned: "); - result.append(privateOwned); - result.append(", joinFetch: "); - result.append(joinFetch); - result.append(')'); - return result.toString(); - } - - public TextRange getPrivateOwnedTextRange() { - return getElementTextRange(EclipseLink.PRIVATE_OWNED); - } - - public TextRange getJoinFetchTextRange() { - return getElementTextRange(EclipseLink.JOIN_FETCH); - } - - public TextRange getAttributeTypeTextRange() { - //no attribute-type for one-to-one - return getValidationTextRange(); - } - - - // ********** translators ********** - - public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) { - return new SimpleTranslator( - elementName, - structuralFeature, - EclipseLinkOrmPackage.eINSTANCE.getXmlOneToOne(), - buildTranslatorChildren()); - } - - private static Translator[] buildTranslatorChildren() { - return new Translator[] { - buildNameTranslator(), - buildTargetEntityTranslator(), - buildFetchTranslator(), - buildOptionalTranslator(), - buildAccessTranslator(), - buildMappedByTranslator(), - buildOrphanRemovalTranslator(), - buildMapsIdTranslator(), - buildIdTranslator(), - buildPrimaryKeyJoinColumnTranslator(), - buildJoinColumnTranslator(), - buildJoinTableTranslator(), - buildJoinFieldTranslator(), - buildCascadeTranslator(), - buildCascadeOnDeleteTranslator(), - buildPrivateOwnedTranslator(), - buildJoinFetchTranslator(), - buildBatchFetchTranslator(), - buildPropertyTranslator(), - buildAccessMethodsTranslator(), - buildNoncacheableTranslator(), - 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(), - }; - } - - protected static Translator buildPrivateOwnedTranslator() { - return new EmptyTagBooleanTranslator(EclipseLink.PRIVATE_OWNED, EclipseLinkOrmPackage.eINSTANCE.getXmlPrivateOwned_PrivateOwned()); - } - - protected static Translator buildJoinFetchTranslator() { - return new Translator(EclipseLink.JOIN_FETCH, EclipseLinkOrmPackage.eINSTANCE.getXmlJoinFetch_JoinFetch()); - } - - 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 buildBatchFetchTranslator() { - return XmlBatchFetch.buildTranslator(EclipseLink2_1.BATCH_FETCH, EclipseLinkOrmPackage.eINSTANCE.getXmlBatchFetchHolder_BatchFetch()); - } - - protected static Translator buildCascadeOnDeleteTranslator() { - return CascadeType.buildTranslator(EclipseLink2_2.CASCADE_ON_DELETE, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlOneToOne_2_2_CascadeOnDelete()); - } - - protected static Translator buildJoinTableTranslator() { - return XmlJoinTable.buildTranslator(JPA.JOIN_TABLE, OrmPackage.eINSTANCE.getXmlJoinTableContainer_JoinTable()); - } - - protected static Translator buildNoncacheableTranslator() { - return new EmptyTagBooleanTranslator(EclipseLink2_2.NONCACHEABLE, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlOneToOne_2_2_NonCacheable()); - } - - protected static Translator buildPartitionedTranslator() { - return new Translator(EclipseLink2_2.PARTITIONING_GROUP__PARTITIONED, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlPartitioningGroup_2_2_Partitioned()); - } - - protected static Translator buildJoinFieldTranslator() { - return XmlJoinField.buildTranslator(EclipseLink2_4.JOIN_FIELD, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlOneToOne_2_4_JoinFields()); - } - - // ******** virtual attribute ************ - - public void setVirtualAttributeTypes(String attributeType, String targetEntity) { - this.setTargetEntity(targetEntity); - } -} diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlOptimisticLocking.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlOptimisticLocking.java deleted file mode 100644 index a881f3c721..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlOptimisticLocking.java +++ /dev/null @@ -1,373 +0,0 @@ -/******************************************************************************* - * 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.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.BooleanTranslator; -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.jpa.core.resource.orm.XmlColumn; -import org.eclipse.wst.common.internal.emf.resource.Translator; - -/** - * - * A representation of the model object 'Xml Optimistic Locking'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOptimisticLocking#getType Type}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOptimisticLocking#getCascade Cascade}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOptimisticLocking#getSelectedColumns Selected Columns}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOptimisticLocking() - * @model kind="class" - * @extends EBaseObject - * @generated - */ -public class XmlOptimisticLocking extends EBaseObjectImpl implements EBaseObject -{ - /** - * 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 XmlOptimisticLockingType TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getType() Type}' attribute. - * - * - * @see #getType() - * @generated - * @ordered - */ - protected XmlOptimisticLockingType type = TYPE_EDEFAULT; - - /** - * The default value of the '{@link #getCascade() Cascade}' attribute. - * - * - * @see #getCascade() - * @generated - * @ordered - */ - protected static final Boolean CASCADE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getCascade() Cascade}' attribute. - * - * - * @see #getCascade() - * @generated - * @ordered - */ - protected Boolean cascade = CASCADE_EDEFAULT; - - /** - * The cached value of the '{@link #getSelectedColumns() Selected Columns}' containment reference list. - * - * - * @see #getSelectedColumns() - * @generated - * @ordered - */ - protected EList selectedColumns; - - /** - * - * - * @generated - */ - protected XmlOptimisticLocking() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_OPTIMISTIC_LOCKING; - } - - /** - * Returns the value of the 'Type' attribute. - * The literals are from the enumeration {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOptimisticLockingType}. - * - *

- * 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.XmlOptimisticLockingType - * @see #setType(XmlOptimisticLockingType) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOptimisticLocking_Type() - * @model - * @generated - */ - public XmlOptimisticLockingType getType() - { - return type; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOptimisticLocking#getType Type}' attribute. - * - * - * @param value the new value of the 'Type' attribute. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOptimisticLockingType - * @see #getType() - * @generated - */ - public void setType(XmlOptimisticLockingType newType) - { - XmlOptimisticLockingType oldType = type; - type = newType == null ? TYPE_EDEFAULT : newType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_OPTIMISTIC_LOCKING__TYPE, oldType, type)); - } - - /** - * Returns the value of the 'Cascade' attribute. - * - *

- * If the meaning of the 'Cascade' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Cascade' attribute. - * @see #setCascade(Boolean) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOptimisticLocking_Cascade() - * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" - * @generated - */ - public Boolean getCascade() - { - return cascade; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOptimisticLocking#getCascade Cascade}' attribute. - * - * - * @param value the new value of the 'Cascade' attribute. - * @see #getCascade() - * @generated - */ - public void setCascade(Boolean newCascade) - { - Boolean oldCascade = cascade; - cascade = newCascade; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_OPTIMISTIC_LOCKING__CASCADE, oldCascade, cascade)); - } - - /** - * Returns the value of the 'Selected Columns' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.core.resource.orm.XmlColumn}. - * - *

- * If the meaning of the 'Selected Columns' containment reference list isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Selected Columns' containment reference list. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOptimisticLocking_SelectedColumns() - * @model containment="true" - * @generated - */ - public EList getSelectedColumns() - { - if (selectedColumns == null) - { - selectedColumns = new EObjectContainmentEList(XmlColumn.class, this, EclipseLinkOrmPackage.XML_OPTIMISTIC_LOCKING__SELECTED_COLUMNS); - } - return selectedColumns; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_OPTIMISTIC_LOCKING__SELECTED_COLUMNS: - return ((InternalEList)getSelectedColumns()).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_OPTIMISTIC_LOCKING__TYPE: - return getType(); - case EclipseLinkOrmPackage.XML_OPTIMISTIC_LOCKING__CASCADE: - return getCascade(); - case EclipseLinkOrmPackage.XML_OPTIMISTIC_LOCKING__SELECTED_COLUMNS: - return getSelectedColumns(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_OPTIMISTIC_LOCKING__TYPE: - setType((XmlOptimisticLockingType)newValue); - return; - case EclipseLinkOrmPackage.XML_OPTIMISTIC_LOCKING__CASCADE: - setCascade((Boolean)newValue); - return; - case EclipseLinkOrmPackage.XML_OPTIMISTIC_LOCKING__SELECTED_COLUMNS: - getSelectedColumns().clear(); - getSelectedColumns().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_OPTIMISTIC_LOCKING__TYPE: - setType(TYPE_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_OPTIMISTIC_LOCKING__CASCADE: - setCascade(CASCADE_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_OPTIMISTIC_LOCKING__SELECTED_COLUMNS: - getSelectedColumns().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_OPTIMISTIC_LOCKING__TYPE: - return type != TYPE_EDEFAULT; - case EclipseLinkOrmPackage.XML_OPTIMISTIC_LOCKING__CASCADE: - return CASCADE_EDEFAULT == null ? cascade != null : !CASCADE_EDEFAULT.equals(cascade); - case EclipseLinkOrmPackage.XML_OPTIMISTIC_LOCKING__SELECTED_COLUMNS: - return selectedColumns != null && !selectedColumns.isEmpty(); - } - 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(", cascade: "); - result.append(cascade); - 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[] { - buildTypeTranslator(), - buildCascadeTranslator(), - buildSelectedColumnTranslator(), - }; - } - - protected static Translator buildTypeTranslator() { - return new Translator(EclipseLink.OPTIMISTIC_LOCKING__TYPE, EclipseLinkOrmPackage.eINSTANCE.getXmlOptimisticLocking_Type(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildCascadeTranslator() { - return new BooleanTranslator(EclipseLink.OPTIMISTIC_LOCKING__CASCADE, EclipseLinkOrmPackage.eINSTANCE.getXmlOptimisticLocking_Cascade(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildSelectedColumnTranslator() { - return XmlColumn.buildTranslator(EclipseLink.OPTIMISTIC_LOCKING__SELECTED_COLUMN, EclipseLinkOrmPackage.eINSTANCE.getXmlOptimisticLocking_SelectedColumns()); - } - -} // XmlOptimisticLocking diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlOptimisticLockingType.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlOptimisticLockingType.java deleted file mode 100644 index 508934af9b..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlOptimisticLockingType.java +++ /dev/null @@ -1,294 +0,0 @@ -/******************************************************************************* - * 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 Optimistic Locking 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.2 - * @since 2.2 - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOptimisticLockingType() - * @model - * @generated - */ -public enum XmlOptimisticLockingType implements Enumerator -{ - /** - * The 'ALL COLUMNS' literal object. - * - * - * @see #ALL_COLUMNS_VALUE - * @generated - * @ordered - */ - ALL_COLUMNS(0, "ALL_COLUMNS", "ALL_COLUMNS"), - - /** - * The 'CHANGED COLUMNS' literal object. - * - * - * @see #CHANGED_COLUMNS_VALUE - * @generated - * @ordered - */ - CHANGED_COLUMNS(1, "CHANGED_COLUMNS", "CHANGED_COLUMNS"), - - /** - * The 'SELECTED COLUMNS' literal object. - * - * - * @see #SELECTED_COLUMNS_VALUE - * @generated - * @ordered - */ - SELECTED_COLUMNS(2, "SELECTED_COLUMNS", "SELECTED_COLUMNS"), - - /** - * The 'VERSION COLUMN' literal object. - * - * - * @see #VERSION_COLUMN_VALUE - * @generated - * @ordered - */ - VERSION_COLUMN(3, "VERSION_COLUMN", "VERSION_COLUMN"); - - /** - * The 'ALL COLUMNS' literal value. - * - *

- * If the meaning of 'ALL COLUMNS' literal object isn't clear, - * there really should be more of a description here... - *

- * - * @see #ALL_COLUMNS - * @model - * @generated - * @ordered - */ - public static final int ALL_COLUMNS_VALUE = 0; - - /** - * The 'CHANGED COLUMNS' literal value. - * - *

- * If the meaning of 'CHANGED COLUMNS' literal object isn't clear, - * there really should be more of a description here... - *

- * - * @see #CHANGED_COLUMNS - * @model - * @generated - * @ordered - */ - public static final int CHANGED_COLUMNS_VALUE = 1; - - /** - * The 'SELECTED COLUMNS' literal value. - * - *

- * If the meaning of 'SELECTED COLUMNS' literal object isn't clear, - * there really should be more of a description here... - *

- * - * @see #SELECTED_COLUMNS - * @model - * @generated - * @ordered - */ - public static final int SELECTED_COLUMNS_VALUE = 2; - - /** - * The 'VERSION COLUMN' literal value. - * - *

- * If the meaning of 'VERSION COLUMN' literal object isn't clear, - * there really should be more of a description here... - *

- * - * @see #VERSION_COLUMN - * @model - * @generated - * @ordered - */ - public static final int VERSION_COLUMN_VALUE = 3; - - /** - * An array of all the 'Xml Optimistic Locking Type' enumerators. - * - * - * @generated - */ - private static final XmlOptimisticLockingType[] VALUES_ARRAY = - new XmlOptimisticLockingType[] - { - ALL_COLUMNS, - CHANGED_COLUMNS, - SELECTED_COLUMNS, - VERSION_COLUMN, - }; - - /** - * A public read-only list of all the 'Xml Optimistic Locking Type' enumerators. - * - * - * @generated - */ - public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the 'Xml Optimistic Locking Type' literal with the specified literal value. - * - * - * @generated - */ - public static XmlOptimisticLockingType get(String literal) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - XmlOptimisticLockingType result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) - { - return result; - } - } - return null; - } - - /** - * Returns the 'Xml Optimistic Locking Type' literal with the specified name. - * - * - * @generated - */ - public static XmlOptimisticLockingType getByName(String name) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - XmlOptimisticLockingType result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) - { - return result; - } - } - return null; - } - - /** - * Returns the 'Xml Optimistic Locking Type' literal with the specified integer value. - * - * - * @generated - */ - public static XmlOptimisticLockingType get(int value) - { - switch (value) - { - case ALL_COLUMNS_VALUE: return ALL_COLUMNS; - case CHANGED_COLUMNS_VALUE: return CHANGED_COLUMNS; - case SELECTED_COLUMNS_VALUE: return SELECTED_COLUMNS; - case VERSION_COLUMN_VALUE: return VERSION_COLUMN; - } - return null; - } - - /** - * - * - * @generated - */ - private final int value; - - /** - * - * - * @generated - */ - private final String name; - - /** - * - * - * @generated - */ - private final String literal; - - /** - * Only this class can construct instances. - * - * - * @generated - */ - private XmlOptimisticLockingType(int value, String name, String literal) - { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * - * - * @generated - */ - public int getValue() - { - return value; - } - - /** - * - * - * @generated - */ - public String getName() - { - return name; - } - - /** - * - * - * @generated - */ - public String getLiteral() - { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * - * - * @generated - */ - @Override - public String toString() - { - return literal; - } - -} //XmlOptimisticLockingType diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlOrderColumn.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlOrderColumn.java deleted file mode 100644 index f6273a9229..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlOrderColumn.java +++ /dev/null @@ -1,260 +0,0 @@ -/******************************************************************************* - * 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.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.OrderCorrectionType_2_0; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlOrderColumn_2_0; -import org.eclipse.wst.common.internal.emf.resource.Translator; - -/** - * - * A representation of the model object 'Xml Order Column'. - * - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOrderColumn() - * @model kind="class" - * @generated - */ -public class XmlOrderColumn extends org.eclipse.jpt.jpa.core.resource.orm.XmlOrderColumn implements XmlOrderColumn_2_0 -{ - - /** - * 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 OrderCorrectionType_2_0 CORRECTION_TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getCorrectionType() Correction Type}' attribute. - * - * - * @see #getCorrectionType() - * @generated - * @ordered - */ - protected OrderCorrectionType_2_0 correctionType = CORRECTION_TYPE_EDEFAULT; - - /** - * - * - * @generated - */ - protected XmlOrderColumn() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_ORDER_COLUMN; - } - - /** - * Returns the value of the 'Correction Type' attribute. - * The literals are from the enumeration {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.OrderCorrectionType_2_0}. - * - *

- * If the meaning of the 'Correction Type' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Correction Type' attribute. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.OrderCorrectionType_2_0 - * @see #setCorrectionType(OrderCorrectionType_2_0) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOrderColumn_2_0_CorrectionType() - * @model - * @generated - */ - public OrderCorrectionType_2_0 getCorrectionType() - { - return correctionType; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOrderColumn#getCorrectionType Correction Type}' attribute. - * - * - * @param value the new value of the 'Correction Type' attribute. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.OrderCorrectionType_2_0 - * @see #getCorrectionType() - * @generated - */ - public void setCorrectionType(OrderCorrectionType_2_0 newCorrectionType) - { - OrderCorrectionType_2_0 oldCorrectionType = correctionType; - correctionType = newCorrectionType == null ? CORRECTION_TYPE_EDEFAULT : newCorrectionType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ORDER_COLUMN__CORRECTION_TYPE, oldCorrectionType, correctionType)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_ORDER_COLUMN__CORRECTION_TYPE: - return getCorrectionType(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_ORDER_COLUMN__CORRECTION_TYPE: - setCorrectionType((OrderCorrectionType_2_0)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_ORDER_COLUMN__CORRECTION_TYPE: - setCorrectionType(CORRECTION_TYPE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_ORDER_COLUMN__CORRECTION_TYPE: - return correctionType != CORRECTION_TYPE_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public int eBaseStructuralFeatureID(int derivedFeatureID, Class baseClass) - { - if (baseClass == XmlOrderColumn_2_0.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_ORDER_COLUMN__CORRECTION_TYPE: return EclipseLinkOrmV2_0Package.XML_ORDER_COLUMN_20__CORRECTION_TYPE; - default: return -1; - } - } - return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); - } - - /** - * - * - * @generated - */ - @Override - public int eDerivedStructuralFeatureID(int baseFeatureID, Class baseClass) - { - if (baseClass == XmlOrderColumn_2_0.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_0Package.XML_ORDER_COLUMN_20__CORRECTION_TYPE: return EclipseLinkOrmPackage.XML_ORDER_COLUMN__CORRECTION_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(" (correctionType: "); - result.append(correctionType); - 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[] { - buildNameTranslator(), - buildNullableTranslator(), - buildInsertableTranslator(), - buildUpdatableTranslator(), - buildColumnDefinitionTranslator(), - buildCorrectionTypeTranslator(), - }; - } - - protected static Translator buildCorrectionTypeTranslator() { - return new Translator(EclipseLink2_0.CORRECTION_TYPE, EclipseLinkOrmV2_0Package.eINSTANCE.getXmlOrderColumn_2_0_CorrectionType(), Translator.DOM_ATTRIBUTE); - } -} diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPartitioning.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPartitioning.java deleted file mode 100644 index be862dc95e..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPartitioning.java +++ /dev/null @@ -1,220 +0,0 @@ -/******************************************************************************* - * 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.XmlPartitioning_2_2; -import org.eclipse.wst.common.internal.emf.resource.Translator; - -/** - * - * A representation of the model object 'Xml 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#getXmlPartitioning() - * @model kind="class" - * @generated - */ -public class XmlPartitioning extends EBaseObjectImpl implements XmlPartitioning_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 XmlPartitioning() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_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#getXmlPartitioning_2_2_Name() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - public String getName() - { - return name; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPartitioning#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_PARTITIONING__NAME, oldName, name)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_PARTITIONING__NAME: - return getName(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_PARTITIONING__NAME: - setName((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_PARTITIONING__NAME: - setName(NAME_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_PARTITIONING__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @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.getXmlPartitioning(), - buildTranslatorChildren()); - } - - private static Translator[] buildTranslatorChildren() { - return new Translator[] { - buildNameTranslator(), - }; - } - - protected static Translator buildNameTranslator() { - return new Translator(JPA.NAME, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlPartitioning_2_2_Name(), Translator.DOM_ATTRIBUTE); - } - -} // XmlPartitioning diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPersistenceUnitDefaults.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPersistenceUnitDefaults.java deleted file mode 100644 index 6e63a219d4..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPersistenceUnitDefaults.java +++ /dev/null @@ -1,371 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2010, 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.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.jpa.eclipselink.core.resource.orm.v2_1.XmlPersistenceUnitDefaults_2_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.XmlPersistenceUnitDefaults_2_3; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3; -import org.eclipse.wst.common.internal.emf.resource.Translator; - -/** - * - * A representation of the model object 'Xml Persistence Unit Defaults'. - * - * 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#getXmlPersistenceUnitDefaults() - * @model kind="class" - * @generated - */ -public class XmlPersistenceUnitDefaults extends org.eclipse.jpt.jpa.core.resource.orm.XmlPersistenceUnitDefaults implements XmlPersistenceUnitDefaults_2_1, XmlPersistenceUnitDefaults_2_3 -{ - /** - * The cached value of the '{@link #getAccessMethods() Access Methods}' containment reference. - * - * - * @see #getAccessMethods() - * @generated - * @ordered - */ - protected XmlAccessMethods accessMethods; - - /** - * The cached value of the '{@link #getTenantDiscriminatorColumns() Tenant Discriminator Columns}' containment reference list. - * - * - * @see #getTenantDiscriminatorColumns() - * @generated - * @ordered - */ - protected EList tenantDiscriminatorColumns; - - /** - * - * - * @generated - */ - protected XmlPersistenceUnitDefaults() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_PERSISTENCE_UNIT_DEFAULTS; - } - - /** - * 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_PERSISTENCE_UNIT_DEFAULTS__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.XmlPersistenceUnitDefaults#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_PERSISTENCE_UNIT_DEFAULTS__ACCESS_METHODS, null, msgs); - if (newAccessMethods != null) - msgs = ((InternalEObject)newAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS__ACCESS_METHODS, null, msgs); - msgs = basicSetAccessMethods(newAccessMethods, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS__ACCESS_METHODS, newAccessMethods, newAccessMethods)); - } - - /** - * Returns the value of the 'Tenant Discriminator Columns' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3}. - * - *

- * 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#getXmlPersistenceUnitDefaults_2_3_TenantDiscriminatorColumns() - * @model containment="true" - * @generated - */ - public EList getTenantDiscriminatorColumns() - { - if (tenantDiscriminatorColumns == null) - { - tenantDiscriminatorColumns = new EObjectContainmentEList(XmlTenantDiscriminatorColumn_2_3.class, this, EclipseLinkOrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS__TENANT_DISCRIMINATOR_COLUMNS); - } - return tenantDiscriminatorColumns; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS__ACCESS_METHODS: - return basicSetAccessMethods(null, msgs); - case EclipseLinkOrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS__TENANT_DISCRIMINATOR_COLUMNS: - return ((InternalEList)getTenantDiscriminatorColumns()).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_PERSISTENCE_UNIT_DEFAULTS__ACCESS_METHODS: - return getAccessMethods(); - case EclipseLinkOrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS__TENANT_DISCRIMINATOR_COLUMNS: - return getTenantDiscriminatorColumns(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS__ACCESS_METHODS: - setAccessMethods((XmlAccessMethods)newValue); - return; - case EclipseLinkOrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS__TENANT_DISCRIMINATOR_COLUMNS: - getTenantDiscriminatorColumns().clear(); - getTenantDiscriminatorColumns().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS__ACCESS_METHODS: - setAccessMethods((XmlAccessMethods)null); - return; - case EclipseLinkOrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS__TENANT_DISCRIMINATOR_COLUMNS: - getTenantDiscriminatorColumns().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS__ACCESS_METHODS: - return accessMethods != null; - case EclipseLinkOrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS__TENANT_DISCRIMINATOR_COLUMNS: - return tenantDiscriminatorColumns != null && !tenantDiscriminatorColumns.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public int eBaseStructuralFeatureID(int derivedFeatureID, Class baseClass) - { - if (baseClass == XmlAccessMethodsHolder.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS; - default: return -1; - } - } - if (baseClass == XmlPersistenceUnitDefaults_2_1.class) - { - switch (derivedFeatureID) - { - default: return -1; - } - } - if (baseClass == XmlPersistenceUnitDefaults_2_3.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS__TENANT_DISCRIMINATOR_COLUMNS: return EclipseLinkOrmV2_3Package.XML_PERSISTENCE_UNIT_DEFAULTS_23__TENANT_DISCRIMINATOR_COLUMNS; - 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_PERSISTENCE_UNIT_DEFAULTS__ACCESS_METHODS; - default: return -1; - } - } - if (baseClass == XmlPersistenceUnitDefaults_2_1.class) - { - switch (baseFeatureID) - { - default: return -1; - } - } - if (baseClass == XmlPersistenceUnitDefaults_2_3.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_3Package.XML_PERSISTENCE_UNIT_DEFAULTS_23__TENANT_DISCRIMINATOR_COLUMNS: return EclipseLinkOrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS__TENANT_DISCRIMINATOR_COLUMNS; - default: return -1; - } - } - return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass); - } - - - // ********** translators ********** - - public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) { - return new SimpleTranslator( - elementName, - structuralFeature, - EclipseLinkOrmPackage.eINSTANCE.getXmlPersistenceUnitDefaults(), - buildTranslatorChildren()); - } - - private static Translator[] buildTranslatorChildren() { - return new Translator[] { - buildDescriptionTranslator(), - buildSchemaTranslator(), - buildCatalogTranslator(), - buildDelimitedIdentifiersTranslator(), - buildAccessTranslator(), - buildAccessMethodsTranslator(), - buildCascadePersistTranslator(), - buildTenantDiscriminatorColumnsTranslator(), - buildEntityListenersTranslator() - }; - } - - protected static Translator buildAccessMethodsTranslator() { - return XmlAccessMethods.buildTranslator(EclipseLink.ACCESS_METHODS, EclipseLinkOrmPackage.eINSTANCE.getXmlAccessMethodsHolder_AccessMethods()); - } - - protected static Translator buildTenantDiscriminatorColumnsTranslator() { - return XmlTenantDiscriminatorColumn.buildTranslator(EclipseLink2_3.TENANT_DISCRIMINATOR_COLUMN, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlPersistenceUnitDefaults_2_3_TenantDiscriminatorColumns()); - } -} // XmlPersistenceUnitDefaults diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPersistenceUnitMetadata.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPersistenceUnitMetadata.java deleted file mode 100644 index fcec1babc6..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPersistenceUnitMetadata.java +++ /dev/null @@ -1,233 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2009, 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.EmptyTagBooleanTranslator; -import org.eclipse.jpt.common.core.internal.utility.translators.SimpleTranslator; -import org.eclipse.jpt.jpa.core.resource.orm.JPA; -import org.eclipse.jpt.jpa.core.resource.orm.OrmPackage; -import org.eclipse.wst.common.internal.emf.resource.Translator; - -/** - * - * A representation of the model object 'Xml Persistence Unit Metadata'. - * - * 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.2 - * - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPersistenceUnitMetadata#isExcludeDefaultMappings Exclude Default Mappings}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPersistenceUnitMetadata() - * @model kind="class" - * @generated - */ -public class XmlPersistenceUnitMetadata extends org.eclipse.jpt.jpa.core.resource.orm.XmlPersistenceUnitMetadata -{ - /** - * The default value of the '{@link #isExcludeDefaultMappings() Exclude Default Mappings}' attribute. - * - * - * @see #isExcludeDefaultMappings() - * @generated - * @ordered - */ - protected static final boolean EXCLUDE_DEFAULT_MAPPINGS_EDEFAULT = false; - - /** - * The cached value of the '{@link #isExcludeDefaultMappings() Exclude Default Mappings}' attribute. - * - * - * @see #isExcludeDefaultMappings() - * @generated - * @ordered - */ - protected boolean excludeDefaultMappings = EXCLUDE_DEFAULT_MAPPINGS_EDEFAULT; - - /** - * - * - * @generated - */ - protected XmlPersistenceUnitMetadata() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_PERSISTENCE_UNIT_METADATA; - } - - /** - * 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#getXmlPersistenceUnitMetadata_ExcludeDefaultMappings() - * @model dataType="org.eclipse.emf.ecore.xml.type.Boolean" - * @generated - */ - public boolean isExcludeDefaultMappings() - { - return excludeDefaultMappings; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPersistenceUnitMetadata#isExcludeDefaultMappings Exclude Default Mappings}' attribute. - * - * - * @param value the new value of the 'Exclude Default Mappings' attribute. - * @see #isExcludeDefaultMappings() - * @generated - */ - public void setExcludeDefaultMappings(boolean newExcludeDefaultMappings) - { - boolean oldExcludeDefaultMappings = excludeDefaultMappings; - excludeDefaultMappings = newExcludeDefaultMappings; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_PERSISTENCE_UNIT_METADATA__EXCLUDE_DEFAULT_MAPPINGS, oldExcludeDefaultMappings, excludeDefaultMappings)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_PERSISTENCE_UNIT_METADATA__EXCLUDE_DEFAULT_MAPPINGS: - return isExcludeDefaultMappings(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_PERSISTENCE_UNIT_METADATA__EXCLUDE_DEFAULT_MAPPINGS: - setExcludeDefaultMappings((Boolean)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_PERSISTENCE_UNIT_METADATA__EXCLUDE_DEFAULT_MAPPINGS: - setExcludeDefaultMappings(EXCLUDE_DEFAULT_MAPPINGS_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_PERSISTENCE_UNIT_METADATA__EXCLUDE_DEFAULT_MAPPINGS: - return excludeDefaultMappings != EXCLUDE_DEFAULT_MAPPINGS_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (excludeDefaultMappings: "); - result.append(excludeDefaultMappings); - result.append(')'); - return result.toString(); - } - - - // ********** translators ********** - - public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) { - return new SimpleTranslator( - elementName, - structuralFeature, - EclipseLinkOrmPackage.eINSTANCE.getXmlPersistenceUnitMetadata(), - buildTranslatorChildren()); - } - - private static Translator[] buildTranslatorChildren() { - return new Translator[] { - buildDescriptionTranslator(), - buildXmlMappingMetadataCompleteTranslator(), - buildExcludeDefaultMappingsTranslator(), - XmlPersistenceUnitDefaults.buildTranslator(JPA.PERSISTENCE_UNIT_DEFAULTS, OrmPackage.eINSTANCE.getXmlPersistenceUnitMetadata_PersistenceUnitDefaults()) - }; - } - - protected static Translator buildExcludeDefaultMappingsTranslator() { - return new EmptyTagBooleanTranslator(EclipseLink.EXCLUDE_DEFAULT_MAPPINGS, EclipseLinkOrmPackage.eINSTANCE.getXmlPersistenceUnitMetadata_ExcludeDefaultMappings()); - } -} diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPinnedPartitioning.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPinnedPartitioning.java deleted file mode 100644 index b34b9182cb..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPinnedPartitioning.java +++ /dev/null @@ -1,219 +0,0 @@ -/******************************************************************************* - * 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.XmlPinnedPartitioning_2_2; -import org.eclipse.wst.common.internal.emf.resource.Translator; - -/** - * - * A representation of the model object 'Xml Pinned 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#getXmlPinnedPartitioning() - * @model kind="class" - * @generated - */ -public class XmlPinnedPartitioning extends EBaseObjectImpl implements XmlPinnedPartitioning_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 XmlPinnedPartitioning() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_PINNED_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#getXmlPinnedPartitioning_2_2_Name() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - public String getName() - { - return name; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPinnedPartitioning#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_PINNED_PARTITIONING__NAME, oldName, name)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_PINNED_PARTITIONING__NAME: - return getName(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_PINNED_PARTITIONING__NAME: - setName((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_PINNED_PARTITIONING__NAME: - setName(NAME_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_PINNED_PARTITIONING__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @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.getXmlPinnedPartitioning(), - buildTranslatorChildren()); - } - - private static Translator[] buildTranslatorChildren() { - return new Translator[] { - buildNameTranslator() - }; - } - - protected static Translator buildNameTranslator() { - return new Translator(JPA.NAME, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlPinnedPartitioning_2_2_Name(), Translator.DOM_ATTRIBUTE); - } -} // XmlPinnedPartitioning diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPlsqlRecord.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPlsqlRecord.java deleted file mode 100644 index 28674465bd..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPlsqlRecord.java +++ /dev/null @@ -1,213 +0,0 @@ -/******************************************************************************* - * 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 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_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.XmlPlsqlRecord_2_3; -import org.eclipse.wst.common.internal.emf.resource.Translator; - -/** - * - * A representation of the model object 'Xml Plsql Record'. - * - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPlsqlRecord() - * @model kind="class" - * @generated - */ -public class XmlPlsqlRecord extends EBaseObjectImpl implements XmlPlsqlRecord_2_3 -{ - /** - * 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 XmlPlsqlRecord() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_PLSQL_RECORD; - } - - /** - * 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#getXmlPlsqlRecord_2_3_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.XmlPlsqlRecord#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_PLSQL_RECORD__NAME, oldName, name)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_PLSQL_RECORD__NAME: - return getName(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_PLSQL_RECORD__NAME: - setName((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_PLSQL_RECORD__NAME: - setName(NAME_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_PLSQL_RECORD__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.getXmlPlsqlRecord(), - buildTranslatorChildren()); - } - - private static Translator[] buildTranslatorChildren() { - return new Translator[] { - buildNameTranslator(), - }; - } - - protected static Translator buildNameTranslator() { - return new Translator(EclipseLink2_3.PLSQL_RECORD__NAME, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlPlsqlRecord_2_3_Name(), Translator.DOM_ATTRIBUTE); - } - -} // XmlPlsqlRecord diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPlsqlTable.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPlsqlTable.java deleted file mode 100644 index 172b8fbef1..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPlsqlTable.java +++ /dev/null @@ -1,213 +0,0 @@ -/******************************************************************************* - * 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 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_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.XmlPlsqlTable_2_3; -import org.eclipse.wst.common.internal.emf.resource.Translator; - -/** - * - * A representation of the model object 'Xml Plsql Table'. - * - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPlsqlTable() - * @model kind="class" - * @generated - */ -public class XmlPlsqlTable extends EBaseObjectImpl implements XmlPlsqlTable_2_3 -{ - /** - * 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 XmlPlsqlTable() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_PLSQL_TABLE; - } - - /** - * 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#getXmlPlsqlTable_2_3_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.XmlPlsqlTable#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_PLSQL_TABLE__NAME, oldName, name)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_PLSQL_TABLE__NAME: - return getName(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_PLSQL_TABLE__NAME: - setName((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_PLSQL_TABLE__NAME: - setName(NAME_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_PLSQL_TABLE__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.getXmlPlsqlTable(), - buildTranslatorChildren()); - } - - - private static Translator[] buildTranslatorChildren() { - return new Translator[] { - buildNameTranslator(), - }; - } - - protected static Translator buildNameTranslator() { - return new Translator(EclipseLink2_3.PLSQL_TABLE__NAME, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlPlsqlTable_2_3_Name(), Translator.DOM_ATTRIBUTE); - } -} // XmlPlsqlTable diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPrimaryKey.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPrimaryKey.java deleted file mode 100644 index 86f48d051a..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPrimaryKey.java +++ /dev/null @@ -1,406 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2009, 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.XmlColumn; -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.IdValidationType_1_1; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlPrimaryKey_1_1; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.CacheKeyType_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.XmlPrimaryKey_2_1; -import org.eclipse.wst.common.internal.emf.resource.Translator; - -/** - * - * A representation of the model object 'Xml Primary Key'. - * - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPrimaryKey() - * @model kind="class" - * @generated - */ -public class XmlPrimaryKey extends EBaseObjectImpl implements XmlPrimaryKey_1_1, XmlPrimaryKey_2_1 -{ - /** - * 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 IdValidationType_1_1 VALIDATION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValidation() Validation}' attribute. - * - * - * @see #getValidation() - * @generated - * @ordered - */ - protected IdValidationType_1_1 validation = VALIDATION_EDEFAULT; - - /** - * The cached value of the '{@link #getColumns() Columns}' containment reference list. - * - * - * @see #getColumns() - * @generated - * @ordered - */ - protected EList columns; - - /** - * The default value of the '{@link #getCacheKeyType() Cache Key Type}' attribute. - * - * - * @see #getCacheKeyType() - * @generated - * @ordered - */ - protected static final CacheKeyType_2_1 CACHE_KEY_TYPE_EDEFAULT = CacheKeyType_2_1.ID_VALUE; - - /** - * The cached value of the '{@link #getCacheKeyType() Cache Key Type}' attribute. - * - * - * @see #getCacheKeyType() - * @generated - * @ordered - */ - protected CacheKeyType_2_1 cacheKeyType = CACHE_KEY_TYPE_EDEFAULT; - - /** - * - * - * @generated - */ - protected XmlPrimaryKey() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_PRIMARY_KEY; - } - - /** - * Returns the value of the 'Validation' attribute. - * The literals are from the enumeration {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.IdValidationType_1_1}. - * - *

- * If the meaning of the 'Validation' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Validation' attribute. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.IdValidationType_1_1 - * @see #setValidation(IdValidationType_1_1) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPrimaryKey_1_1_Validation() - * @model - * @generated - */ - public IdValidationType_1_1 getValidation() - { - return validation; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPrimaryKey#getValidation Validation}' attribute. - * - * - * @param value the new value of the 'Validation' attribute. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.IdValidationType_1_1 - * @see #getValidation() - * @generated - */ - public void setValidation(IdValidationType_1_1 newValidation) - { - IdValidationType_1_1 oldValidation = validation; - validation = newValidation == null ? VALIDATION_EDEFAULT : newValidation; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_PRIMARY_KEY__VALIDATION, oldValidation, validation)); - } - - /** - * Returns the value of the 'Columns' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.core.resource.orm.XmlColumn}. - * - *

- * If the meaning of the 'Columns' containment reference list isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Columns' containment reference list. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPrimaryKey_1_1_Columns() - * @model containment="true" - * @generated - */ - public EList getColumns() - { - if (columns == null) - { - columns = new EObjectContainmentEList(XmlColumn.class, this, EclipseLinkOrmPackage.XML_PRIMARY_KEY__COLUMNS); - } - return columns; - } - - /** - * Returns the value of the 'Cache Key Type' attribute. - * The literals are from the enumeration {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.CacheKeyType_2_1}. - * - *

- * If the meaning of the 'Cache Key Type' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Cache Key Type' attribute. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.CacheKeyType_2_1 - * @see #setCacheKeyType(CacheKeyType_2_1) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPrimaryKey_2_1_CacheKeyType() - * @model - * @generated - */ - public CacheKeyType_2_1 getCacheKeyType() - { - return cacheKeyType; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPrimaryKey#getCacheKeyType Cache Key Type}' attribute. - * - * - * @param value the new value of the 'Cache Key Type' attribute. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.CacheKeyType_2_1 - * @see #getCacheKeyType() - * @generated - */ - public void setCacheKeyType(CacheKeyType_2_1 newCacheKeyType) - { - CacheKeyType_2_1 oldCacheKeyType = cacheKeyType; - cacheKeyType = newCacheKeyType == null ? CACHE_KEY_TYPE_EDEFAULT : newCacheKeyType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_PRIMARY_KEY__CACHE_KEY_TYPE, oldCacheKeyType, cacheKeyType)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_PRIMARY_KEY__COLUMNS: - return ((InternalEList)getColumns()).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_PRIMARY_KEY__VALIDATION: - return getValidation(); - case EclipseLinkOrmPackage.XML_PRIMARY_KEY__COLUMNS: - return getColumns(); - case EclipseLinkOrmPackage.XML_PRIMARY_KEY__CACHE_KEY_TYPE: - return getCacheKeyType(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_PRIMARY_KEY__VALIDATION: - setValidation((IdValidationType_1_1)newValue); - return; - case EclipseLinkOrmPackage.XML_PRIMARY_KEY__COLUMNS: - getColumns().clear(); - getColumns().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_PRIMARY_KEY__CACHE_KEY_TYPE: - setCacheKeyType((CacheKeyType_2_1)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_PRIMARY_KEY__VALIDATION: - setValidation(VALIDATION_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_PRIMARY_KEY__COLUMNS: - getColumns().clear(); - return; - case EclipseLinkOrmPackage.XML_PRIMARY_KEY__CACHE_KEY_TYPE: - setCacheKeyType(CACHE_KEY_TYPE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_PRIMARY_KEY__VALIDATION: - return validation != VALIDATION_EDEFAULT; - case EclipseLinkOrmPackage.XML_PRIMARY_KEY__COLUMNS: - return columns != null && !columns.isEmpty(); - case EclipseLinkOrmPackage.XML_PRIMARY_KEY__CACHE_KEY_TYPE: - return cacheKeyType != CACHE_KEY_TYPE_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public int eBaseStructuralFeatureID(int derivedFeatureID, Class baseClass) - { - if (baseClass == XmlPrimaryKey_2_1.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_PRIMARY_KEY__CACHE_KEY_TYPE: return EclipseLinkOrmV2_1Package.XML_PRIMARY_KEY_21__CACHE_KEY_TYPE; - default: return -1; - } - } - return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); - } - - /** - * - * - * @generated - */ - @Override - public int eDerivedStructuralFeatureID(int baseFeatureID, Class baseClass) - { - if (baseClass == XmlPrimaryKey_2_1.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_1Package.XML_PRIMARY_KEY_21__CACHE_KEY_TYPE: return EclipseLinkOrmPackage.XML_PRIMARY_KEY__CACHE_KEY_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(" (validation: "); - result.append(validation); - result.append(", cacheKeyType: "); - result.append(cacheKeyType); - result.append(')'); - return result.toString(); - } - - - // ********** translators ********** - - public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) { - return new SimpleTranslator( - elementName, - structuralFeature, - EclipseLinkOrmPackage.eINSTANCE.getXmlPrimaryKey(), - buildTranslatorChildren()); - } - - private static Translator[] buildTranslatorChildren() { - return new Translator[] { - buildValidationTranslator(), - buildCacheKeyTypeTranslator(), - buildColumnTranslator() - }; - } - - protected static Translator buildValidationTranslator() { - return new Translator(EclipseLink1_1.PRIMARY_KEY__VALIDATION, EclipseLinkOrmV1_1Package.eINSTANCE.getXmlPrimaryKey_1_1_Validation(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildCacheKeyTypeTranslator() { - return new Translator(EclipseLink2_1.CACHE_KEY_TYPE, EclipseLinkOrmV2_1Package.eINSTANCE.getXmlPrimaryKey_2_1_CacheKeyType(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildColumnTranslator() { - return XmlColumn.buildTranslator(EclipseLink1_1.PRIMARY_KEY__COLUMN, EclipseLinkOrmV1_1Package.eINSTANCE.getXmlPrimaryKey_1_1_Columns()); - } -} diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPrivateOwned.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPrivateOwned.java deleted file mode 100644 index 0b2f753406..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPrivateOwned.java +++ /dev/null @@ -1,76 +0,0 @@ -/******************************************************************************* - * 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; -import org.eclipse.jpt.common.core.utility.TextRange; - -/** - * - * - * A representation of the model object 'Xml Private Owned'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPrivateOwned#isPrivateOwned Private Owned}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPrivateOwned() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlPrivateOwned extends EBaseObject -{ - /** - * Returns the value of the 'Private Owned' attribute. - * - *

- * If the meaning of the 'Private Owned' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Private Owned' attribute. - * @see #setPrivateOwned(boolean) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPrivateOwned_PrivateOwned() - * @model dataType="org.eclipse.emf.ecore.xml.type.Boolean" - * @generated - */ - boolean isPrivateOwned(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPrivateOwned#isPrivateOwned Private Owned}' attribute. - * - * - * @param value the new value of the 'Private Owned' attribute. - * @see #isPrivateOwned() - * @generated - */ - void setPrivateOwned(boolean value); - - /** - * Return the {@link TextRange} for the private-owned attibute. - */ - TextRange getPrivateOwnedTextRange(); -} \ No newline at end of file diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlProperty.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlProperty.java deleted file mode 100644 index e609273886..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlProperty.java +++ /dev/null @@ -1,362 +0,0 @@ -/******************************************************************************* - * 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 Property'. - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlProperty#getName Name}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlProperty#getValue Value}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlProperty#getValueType Value Type}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlProperty() - * @model kind="class" - * @extends EBaseObject - * @generated - */ -public class XmlProperty extends EBaseObjectImpl implements EBaseObject -{ - /** - * 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 #getValue() Value}' attribute. - * - * - * @see #getValue() - * @generated - * @ordered - */ - protected static final String VALUE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValue() Value}' attribute. - * - * - * @see #getValue() - * @generated - * @ordered - */ - protected String value = VALUE_EDEFAULT; - - /** - * The default value of the '{@link #getValueType() Value Type}' attribute. - * - * - * @see #getValueType() - * @generated - * @ordered - */ - protected static final String VALUE_TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValueType() Value Type}' attribute. - * - * - * @see #getValueType() - * @generated - * @ordered - */ - protected String valueType = VALUE_TYPE_EDEFAULT; - - /** - * - * - * @generated - */ - protected XmlProperty() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_PROPERTY; - } - - /** - * 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#getXmlProperty_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.XmlProperty#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_PROPERTY__NAME, oldName, name)); - } - - /** - * Returns the value of the 'Value' attribute. - * - *

- * If the meaning of the 'Value' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Value' attribute. - * @see #setValue(String) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlProperty_Value() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - public String getValue() - { - return value; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlProperty#getValue Value}' attribute. - * - * - * @param value the new value of the 'Value' attribute. - * @see #getValue() - * @generated - */ - public void setValue(String newValue) - { - String oldValue = value; - value = newValue; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_PROPERTY__VALUE, oldValue, value)); - } - - /** - * Returns the value of the 'Value Type' attribute. - * - *

- * If the meaning of the 'Value Type' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Value Type' attribute. - * @see #setValueType(String) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlProperty_ValueType() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - public String getValueType() - { - return valueType; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlProperty#getValueType Value Type}' attribute. - * - * - * @param value the new value of the 'Value Type' attribute. - * @see #getValueType() - * @generated - */ - public void setValueType(String newValueType) - { - String oldValueType = valueType; - valueType = newValueType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_PROPERTY__VALUE_TYPE, oldValueType, valueType)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_PROPERTY__NAME: - return getName(); - case EclipseLinkOrmPackage.XML_PROPERTY__VALUE: - return getValue(); - case EclipseLinkOrmPackage.XML_PROPERTY__VALUE_TYPE: - return getValueType(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_PROPERTY__NAME: - setName((String)newValue); - return; - case EclipseLinkOrmPackage.XML_PROPERTY__VALUE: - setValue((String)newValue); - return; - case EclipseLinkOrmPackage.XML_PROPERTY__VALUE_TYPE: - setValueType((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_PROPERTY__NAME: - setName(NAME_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_PROPERTY__VALUE: - setValue(VALUE_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_PROPERTY__VALUE_TYPE: - setValueType(VALUE_TYPE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_PROPERTY__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case EclipseLinkOrmPackage.XML_PROPERTY__VALUE: - return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value); - case EclipseLinkOrmPackage.XML_PROPERTY__VALUE_TYPE: - return VALUE_TYPE_EDEFAULT == null ? valueType != null : !VALUE_TYPE_EDEFAULT.equals(valueType); - } - 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(", value: "); - result.append(value); - result.append(", valueType: "); - result.append(valueType); - 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(), - buildValueTranslator(), - buildValueTypeTranslator(), - }; - } - - protected static Translator buildNameTranslator() { - return new Translator(EclipseLink.PROPERTY__NAME, EclipseLinkOrmPackage.eINSTANCE.getXmlProperty_Name(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildValueTranslator() { - return new Translator(EclipseLink.PROPERTY__VALUE, EclipseLinkOrmPackage.eINSTANCE.getXmlProperty_Value(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildValueTypeTranslator() { - return new Translator(EclipseLink.PROPERTY__VALUE_TYPE, EclipseLinkOrmPackage.eINSTANCE.getXmlProperty_ValueType(), Translator.DOM_ATTRIBUTE); - } - -} // XmlProperty diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPropertyContainer.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPropertyContainer.java deleted file mode 100644 index d2c419a670..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPropertyContainer.java +++ /dev/null @@ -1,51 +0,0 @@ -/******************************************************************************* - * 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.util.EList; -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Property Container'. - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPropertyContainer#getProperties Properties}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPropertyContainer() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlPropertyContainer extends EBaseObject -{ - /** - * 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 - */ - EList getProperties(); - -} // XmlPropertyContainer diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlQueryContainer.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlQueryContainer.java deleted file mode 100644 index 57b9cc346c..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlQueryContainer.java +++ /dev/null @@ -1,51 +0,0 @@ -/******************************************************************************* - * 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.util.EList; -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Query Container'. - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryContainer#getNamedStoredProcedureQueries Named Stored Procedure Queries}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlQueryContainer() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlQueryContainer extends EBaseObject -{ - /** - * 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 - */ - EList getNamedStoredProcedureQueries(); - -} // XmlQueryContainer diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlQueryRedirectors.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlQueryRedirectors.java deleted file mode 100644 index 169a0b4a97..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlQueryRedirectors.java +++ /dev/null @@ -1,654 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2009, 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_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.XmlQueryRedirectors_2_0; -import org.eclipse.wst.common.internal.emf.resource.Translator; - -/** - * - * A representation of the model object 'Xml Query Redirectors'. - * - * 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#getXmlQueryRedirectors() - * @model kind="class" - * @generated - */ -public class XmlQueryRedirectors extends EBaseObjectImpl implements XmlQueryRedirectors_2_0 -{ - /** - * The default value of the '{@link #getAllQueries() All Queries}' attribute. - * - * - * @see #getAllQueries() - * @generated - * @ordered - */ - protected static final String ALL_QUERIES_EDEFAULT = null; - - /** - * The cached value of the '{@link #getAllQueries() All Queries}' attribute. - * - * - * @see #getAllQueries() - * @generated - * @ordered - */ - protected String allQueries = ALL_QUERIES_EDEFAULT; - - /** - * The default value of the '{@link #getReadAll() Read All}' attribute. - * - * - * @see #getReadAll() - * @generated - * @ordered - */ - protected static final String READ_ALL_EDEFAULT = null; - - /** - * The cached value of the '{@link #getReadAll() Read All}' attribute. - * - * - * @see #getReadAll() - * @generated - * @ordered - */ - protected String readAll = READ_ALL_EDEFAULT; - - /** - * The default value of the '{@link #getReadObject() Read Object}' attribute. - * - * - * @see #getReadObject() - * @generated - * @ordered - */ - protected static final String READ_OBJECT_EDEFAULT = null; - - /** - * The cached value of the '{@link #getReadObject() Read Object}' attribute. - * - * - * @see #getReadObject() - * @generated - * @ordered - */ - protected String readObject = READ_OBJECT_EDEFAULT; - - /** - * The default value of the '{@link #getReport() Report}' attribute. - * - * - * @see #getReport() - * @generated - * @ordered - */ - protected static final String REPORT_EDEFAULT = null; - - /** - * The cached value of the '{@link #getReport() Report}' attribute. - * - * - * @see #getReport() - * @generated - * @ordered - */ - protected String report = REPORT_EDEFAULT; - - /** - * The default value of the '{@link #getUpdate() Update}' attribute. - * - * - * @see #getUpdate() - * @generated - * @ordered - */ - protected static final String UPDATE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getUpdate() Update}' attribute. - * - * - * @see #getUpdate() - * @generated - * @ordered - */ - protected String update = UPDATE_EDEFAULT; - - /** - * The default value of the '{@link #getInsert() Insert}' attribute. - * - * - * @see #getInsert() - * @generated - * @ordered - */ - protected static final String INSERT_EDEFAULT = null; - - /** - * The cached value of the '{@link #getInsert() Insert}' attribute. - * - * - * @see #getInsert() - * @generated - * @ordered - */ - protected String insert = INSERT_EDEFAULT; - - /** - * The default value of the '{@link #getDelete() Delete}' attribute. - * - * - * @see #getDelete() - * @generated - * @ordered - */ - protected static final String DELETE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getDelete() Delete}' attribute. - * - * - * @see #getDelete() - * @generated - * @ordered - */ - protected String delete = DELETE_EDEFAULT; - - /** - * - * - * @generated - */ - protected XmlQueryRedirectors() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_QUERY_REDIRECTORS; - } - - /** - * Returns the value of the 'All Queries' attribute. - * - *

- * If the meaning of the 'All Queries' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'All Queries' attribute. - * @see #setAllQueries(String) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlQueryRedirectors_2_0_AllQueries() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - public String getAllQueries() - { - return allQueries; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryRedirectors#getAllQueries All Queries}' attribute. - * - * - * @param value the new value of the 'All Queries' attribute. - * @see #getAllQueries() - * @generated - */ - public void setAllQueries(String newAllQueries) - { - String oldAllQueries = allQueries; - allQueries = newAllQueries; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__ALL_QUERIES, oldAllQueries, allQueries)); - } - - /** - * Returns the value of the 'Read All' attribute. - * - *

- * If the meaning of the 'Read All' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Read All' attribute. - * @see #setReadAll(String) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlQueryRedirectors_2_0_ReadAll() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - public String getReadAll() - { - return readAll; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryRedirectors#getReadAll Read All}' attribute. - * - * - * @param value the new value of the 'Read All' attribute. - * @see #getReadAll() - * @generated - */ - public void setReadAll(String newReadAll) - { - String oldReadAll = readAll; - readAll = newReadAll; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__READ_ALL, oldReadAll, readAll)); - } - - /** - * Returns the value of the 'Read Object' attribute. - * - *

- * If the meaning of the 'Read Object' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Read Object' attribute. - * @see #setReadObject(String) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlQueryRedirectors_2_0_ReadObject() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - public String getReadObject() - { - return readObject; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryRedirectors#getReadObject Read Object}' attribute. - * - * - * @param value the new value of the 'Read Object' attribute. - * @see #getReadObject() - * @generated - */ - public void setReadObject(String newReadObject) - { - String oldReadObject = readObject; - readObject = newReadObject; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__READ_OBJECT, oldReadObject, readObject)); - } - - /** - * Returns the value of the 'Report' attribute. - * - *

- * If the meaning of the 'Report' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Report' attribute. - * @see #setReport(String) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlQueryRedirectors_2_0_Report() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - public String getReport() - { - return report; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryRedirectors#getReport Report}' attribute. - * - * - * @param value the new value of the 'Report' attribute. - * @see #getReport() - * @generated - */ - public void setReport(String newReport) - { - String oldReport = report; - report = newReport; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__REPORT, oldReport, report)); - } - - /** - * Returns the value of the 'Update' attribute. - * - *

- * If the meaning of the 'Update' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Update' attribute. - * @see #setUpdate(String) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlQueryRedirectors_2_0_Update() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - public String getUpdate() - { - return update; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryRedirectors#getUpdate Update}' attribute. - * - * - * @param value the new value of the 'Update' attribute. - * @see #getUpdate() - * @generated - */ - public void setUpdate(String newUpdate) - { - String oldUpdate = update; - update = newUpdate; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__UPDATE, oldUpdate, update)); - } - - /** - * Returns the value of the 'Insert' attribute. - * - *

- * If the meaning of the 'Insert' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Insert' attribute. - * @see #setInsert(String) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlQueryRedirectors_2_0_Insert() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - public String getInsert() - { - return insert; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryRedirectors#getInsert Insert}' attribute. - * - * - * @param value the new value of the 'Insert' attribute. - * @see #getInsert() - * @generated - */ - public void setInsert(String newInsert) - { - String oldInsert = insert; - insert = newInsert; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__INSERT, oldInsert, insert)); - } - - /** - * Returns the value of the 'Delete' attribute. - * - *

- * If the meaning of the 'Delete' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Delete' attribute. - * @see #setDelete(String) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlQueryRedirectors_2_0_Delete() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - public String getDelete() - { - return delete; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryRedirectors#getDelete Delete}' attribute. - * - * - * @param value the new value of the 'Delete' attribute. - * @see #getDelete() - * @generated - */ - public void setDelete(String newDelete) - { - String oldDelete = delete; - delete = newDelete; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__DELETE, oldDelete, delete)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__ALL_QUERIES: - return getAllQueries(); - case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__READ_ALL: - return getReadAll(); - case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__READ_OBJECT: - return getReadObject(); - case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__REPORT: - return getReport(); - case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__UPDATE: - return getUpdate(); - case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__INSERT: - return getInsert(); - case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__DELETE: - return getDelete(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__ALL_QUERIES: - setAllQueries((String)newValue); - return; - case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__READ_ALL: - setReadAll((String)newValue); - return; - case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__READ_OBJECT: - setReadObject((String)newValue); - return; - case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__REPORT: - setReport((String)newValue); - return; - case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__UPDATE: - setUpdate((String)newValue); - return; - case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__INSERT: - setInsert((String)newValue); - return; - case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__DELETE: - setDelete((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__ALL_QUERIES: - setAllQueries(ALL_QUERIES_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__READ_ALL: - setReadAll(READ_ALL_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__READ_OBJECT: - setReadObject(READ_OBJECT_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__REPORT: - setReport(REPORT_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__UPDATE: - setUpdate(UPDATE_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__INSERT: - setInsert(INSERT_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__DELETE: - setDelete(DELETE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__ALL_QUERIES: - return ALL_QUERIES_EDEFAULT == null ? allQueries != null : !ALL_QUERIES_EDEFAULT.equals(allQueries); - case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__READ_ALL: - return READ_ALL_EDEFAULT == null ? readAll != null : !READ_ALL_EDEFAULT.equals(readAll); - case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__READ_OBJECT: - return READ_OBJECT_EDEFAULT == null ? readObject != null : !READ_OBJECT_EDEFAULT.equals(readObject); - case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__REPORT: - return REPORT_EDEFAULT == null ? report != null : !REPORT_EDEFAULT.equals(report); - case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__UPDATE: - return UPDATE_EDEFAULT == null ? update != null : !UPDATE_EDEFAULT.equals(update); - case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__INSERT: - return INSERT_EDEFAULT == null ? insert != null : !INSERT_EDEFAULT.equals(insert); - case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS__DELETE: - return DELETE_EDEFAULT == null ? delete != null : !DELETE_EDEFAULT.equals(delete); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (allQueries: "); - result.append(allQueries); - result.append(", readAll: "); - result.append(readAll); - result.append(", readObject: "); - result.append(readObject); - result.append(", report: "); - result.append(report); - result.append(", update: "); - result.append(update); - result.append(", insert: "); - result.append(insert); - result.append(", delete: "); - result.append(delete); - result.append(')'); - return result.toString(); - } - - - // ********** translators ********** - - public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) { - return new SimpleTranslator( - elementName, - structuralFeature, - Translator.END_TAG_NO_INDENT, - EclipseLinkOrmPackage.eINSTANCE.getXmlQueryRedirectors(), - buildTranslatorChildren() - ); - } - - private static Translator[] buildTranslatorChildren() { - return new Translator[] { - buildAllQueriesTranslator(), - buildReadAllTranslator(), - buildReadObjectTranslator(), - buildReportTranslator(), - buildUpdateTranslator(), - buildInsertTranslator(), - buildDeleteTranslator(), - }; - } - - protected static Translator buildAllQueriesTranslator() { - return new Translator(EclipseLink2_0.QUERY_REDIRECTORS__ALL_QUERIES, EclipseLinkOrmV2_0Package.eINSTANCE.getXmlQueryRedirectors_2_0_AllQueries(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildReadAllTranslator() { - return new Translator(EclipseLink2_0.QUERY_REDIRECTORS__READ_ALL, EclipseLinkOrmV2_0Package.eINSTANCE.getXmlQueryRedirectors_2_0_ReadAll(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildReadObjectTranslator() { - return new Translator(EclipseLink2_0.QUERY_REDIRECTORS__READ_OBJECT, EclipseLinkOrmV2_0Package.eINSTANCE.getXmlQueryRedirectors_2_0_ReadObject(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildReportTranslator() { - return new Translator(EclipseLink2_0.QUERY_REDIRECTORS__REPORT, EclipseLinkOrmV2_0Package.eINSTANCE.getXmlQueryRedirectors_2_0_AllQueries(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildUpdateTranslator() { - return new Translator(EclipseLink2_0.QUERY_REDIRECTORS__UPDATE, EclipseLinkOrmV2_0Package.eINSTANCE.getXmlQueryRedirectors_2_0_AllQueries(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildInsertTranslator() { - return new Translator(EclipseLink2_0.QUERY_REDIRECTORS__INSERT, EclipseLinkOrmV2_0Package.eINSTANCE.getXmlQueryRedirectors_2_0_AllQueries(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildDeleteTranslator() { - return new Translator(EclipseLink2_0.QUERY_REDIRECTORS__DELETE, EclipseLinkOrmV2_0Package.eINSTANCE.getXmlQueryRedirectors_2_0_AllQueries(), Translator.DOM_ATTRIBUTE); - } -} // XmlQueryRedirectors diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlRangePartitioning.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlRangePartitioning.java deleted file mode 100644 index 49377aef3c..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlRangePartitioning.java +++ /dev/null @@ -1,219 +0,0 @@ -/******************************************************************************* - * 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.XmlRangePartitioning_2_2; -import org.eclipse.wst.common.internal.emf.resource.Translator; - -/** - * - * A representation of the model object 'Xml Range 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#getXmlRangePartitioning() - * @model kind="class" - * @generated - */ -public class XmlRangePartitioning extends EBaseObjectImpl implements XmlRangePartitioning_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 XmlRangePartitioning() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_RANGE_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#getXmlRangePartitioning_2_2_Name() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - public String getName() - { - return name; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlRangePartitioning#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_RANGE_PARTITIONING__NAME, oldName, name)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_RANGE_PARTITIONING__NAME: - return getName(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_RANGE_PARTITIONING__NAME: - setName((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_RANGE_PARTITIONING__NAME: - setName(NAME_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_RANGE_PARTITIONING__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @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.getXmlRangePartitioning(), - buildTranslatorChildren()); - } - - private static Translator[] buildTranslatorChildren() { - return new Translator[] { - buildNameTranslator() - }; - } - - protected static Translator buildNameTranslator() { - return new Translator(JPA.NAME, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlRangePartitioning_2_2_Name(), Translator.DOM_ATTRIBUTE); - } -} // XmlRangePartitioning diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlReadOnly.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlReadOnly.java deleted file mode 100644 index 899e07a833..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlReadOnly.java +++ /dev/null @@ -1,76 +0,0 @@ -/******************************************************************************* - * 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; -import org.eclipse.jpt.common.core.utility.TextRange; - -/** - * - * - * A representation of the model object 'Xml Read Only'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlReadOnly#getReadOnly Read Only}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlReadOnly() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlReadOnly extends EBaseObject -{ - /** - * Returns the value of the 'Read Only' attribute. - * - *

- * 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 - */ - Boolean getReadOnly(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlReadOnly#getReadOnly Read Only}' attribute. - * - * - * @param value the new value of the 'Read Only' attribute. - * @see #getReadOnly() - * @generated - */ - void setReadOnly(Boolean value); - - /** - * Return the {@link TextRange} for the read-only attibute. - */ - TextRange getReadOnlyTextRange(); -} \ No newline at end of file diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlReplicationPartitioning.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlReplicationPartitioning.java deleted file mode 100644 index 0331fb455e..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlReplicationPartitioning.java +++ /dev/null @@ -1,219 +0,0 @@ -/******************************************************************************* - * 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.XmlReplicationPartitioning_2_2; -import org.eclipse.wst.common.internal.emf.resource.Translator; - -/** - * - * A representation of the model object 'Xml Replication 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#getXmlReplicationPartitioning() - * @model kind="class" - * @generated - */ -public class XmlReplicationPartitioning extends EBaseObjectImpl implements XmlReplicationPartitioning_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 XmlReplicationPartitioning() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_REPLICATION_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#getXmlReplicationPartitioning_2_2_Name() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - public String getName() - { - return name; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlReplicationPartitioning#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_REPLICATION_PARTITIONING__NAME, oldName, name)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_REPLICATION_PARTITIONING__NAME: - return getName(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_REPLICATION_PARTITIONING__NAME: - setName((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_REPLICATION_PARTITIONING__NAME: - setName(NAME_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_REPLICATION_PARTITIONING__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @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.getXmlReplicationPartitioning(), - buildTranslatorChildren()); - } - - private static Translator[] buildTranslatorChildren() { - return new Translator[] { - buildNameTranslator(), - }; - } - - protected static Translator buildNameTranslator() { - return new Translator(JPA.NAME, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlReplicationPartitioning_2_2_Name(), Translator.DOM_ATTRIBUTE); - } -} // XmlReplicationPartitioning diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlReturnInsert.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlReturnInsert.java deleted file mode 100644 index 5ad7b59c8c..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlReturnInsert.java +++ /dev/null @@ -1,211 +0,0 @@ -/******************************************************************************* - * 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.XmlReturnInsert_2_1; -import org.eclipse.wst.common.internal.emf.resource.Translator; - -/** - * - * A representation of the model object 'Xml Return Insert'. - * - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlReturnInsert() - * @model kind="class" - * @generated - */ -public class XmlReturnInsert extends EBaseObjectImpl implements XmlReturnInsert_2_1 -{ - /** - * The default value of the '{@link #getReturnOnly() Return Only}' attribute. - * - * - * @see #getReturnOnly() - * @generated - * @ordered - */ - protected static final Boolean RETURN_ONLY_EDEFAULT = null; - - /** - * The cached value of the '{@link #getReturnOnly() Return Only}' attribute. - * - * - * @see #getReturnOnly() - * @generated - * @ordered - */ - protected Boolean returnOnly = RETURN_ONLY_EDEFAULT; - - /** - * - * - * @generated - */ - protected XmlReturnInsert() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_RETURN_INSERT; - } - - /** - * Returns the value of the 'Return Only' attribute. - * - *

- * If the meaning of the 'Return Only' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Return Only' attribute. - * @see #setReturnOnly(Boolean) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlReturnInsert_2_1_ReturnOnly() - * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" - * @generated - */ - public Boolean getReturnOnly() - { - return returnOnly; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlReturnInsert#getReturnOnly Return Only}' attribute. - * - * - * @param value the new value of the 'Return Only' attribute. - * @see #getReturnOnly() - * @generated - */ - public void setReturnOnly(Boolean newReturnOnly) - { - Boolean oldReturnOnly = returnOnly; - returnOnly = newReturnOnly; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_RETURN_INSERT__RETURN_ONLY, oldReturnOnly, returnOnly)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_RETURN_INSERT__RETURN_ONLY: - return getReturnOnly(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_RETURN_INSERT__RETURN_ONLY: - setReturnOnly((Boolean)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_RETURN_INSERT__RETURN_ONLY: - setReturnOnly(RETURN_ONLY_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_RETURN_INSERT__RETURN_ONLY: - return RETURN_ONLY_EDEFAULT == null ? returnOnly != null : !RETURN_ONLY_EDEFAULT.equals(returnOnly); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (returnOnly: "); - result.append(returnOnly); - 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[] { - buildReturnOnlyTranslator()}; - } - - protected static Translator buildReturnOnlyTranslator() { - return new Translator(EclipseLink2_1.RETURN_ONLY, EclipseLinkOrmV2_1Package.eINSTANCE.getXmlReturnInsert_2_1_ReturnOnly()); - } -} diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlRoundRobinPartitioning.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlRoundRobinPartitioning.java deleted file mode 100644 index d3cf18d9a8..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlRoundRobinPartitioning.java +++ /dev/null @@ -1,219 +0,0 @@ -/******************************************************************************* - * 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.XmlRoundRobinPartitioning_2_2; -import org.eclipse.wst.common.internal.emf.resource.Translator; - -/** - * - * A representation of the model object 'Xml Round Robin 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#getXmlRoundRobinPartitioning() - * @model kind="class" - * @generated - */ -public class XmlRoundRobinPartitioning extends EBaseObjectImpl implements XmlRoundRobinPartitioning_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 XmlRoundRobinPartitioning() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_ROUND_ROBIN_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#getXmlRoundRobinPartitioning_2_2_Name() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - public String getName() - { - return name; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlRoundRobinPartitioning#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_ROUND_ROBIN_PARTITIONING__NAME, oldName, name)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_ROUND_ROBIN_PARTITIONING__NAME: - return getName(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_ROUND_ROBIN_PARTITIONING__NAME: - setName((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_ROUND_ROBIN_PARTITIONING__NAME: - setName(NAME_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_ROUND_ROBIN_PARTITIONING__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @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.getXmlRoundRobinPartitioning(), - buildTranslatorChildren()); - } - - private static Translator[] buildTranslatorChildren() { - return new Translator[] { - buildNameTranslator() - }; - } - - protected static Translator buildNameTranslator() { - return new Translator(JPA.NAME, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlRoundRobinPartitioning_2_2_Name(), Translator.DOM_ATTRIBUTE); - } -} // XmlRoundRobinPartitioning diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlSecondaryTable.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlSecondaryTable.java deleted file mode 100644 index 3677138a76..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlSecondaryTable.java +++ /dev/null @@ -1,259 +0,0 @@ -/******************************************************************************* - * 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.XmlSecondaryTable_2_2; -import org.eclipse.wst.common.internal.emf.resource.Translator; - -/** - * - * A representation of the model object 'Xml Secondary 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#getXmlSecondaryTable() - * @model kind="class" - * @generated - */ -public class XmlSecondaryTable extends org.eclipse.jpt.jpa.core.resource.orm.XmlSecondaryTable implements XmlSecondaryTable_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 XmlSecondaryTable() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_SECONDARY_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#getXmlSecondaryTable_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.XmlSecondaryTable#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_SECONDARY_TABLE__CREATION_SUFFIX, oldCreationSuffix, creationSuffix)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_SECONDARY_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_SECONDARY_TABLE__CREATION_SUFFIX: - setCreationSuffix((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_SECONDARY_TABLE__CREATION_SUFFIX: - setCreationSuffix(CREATION_SUFFIX_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_SECONDARY_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 == XmlSecondaryTable_2_2.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_SECONDARY_TABLE__CREATION_SUFFIX: return EclipseLinkOrmV2_2Package.XML_SECONDARY_TABLE_22__CREATION_SUFFIX; - default: return -1; - } - } - return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); - } - - /** - * - * - * @generated - */ - @Override - public int eDerivedStructuralFeatureID(int baseFeatureID, Class baseClass) - { - if (baseClass == XmlSecondaryTable_2_2.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_2Package.XML_SECONDARY_TABLE_22__CREATION_SUFFIX: return EclipseLinkOrmPackage.XML_SECONDARY_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(); - } - - public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) { - return new SimpleTranslator( - elementName, - structuralFeature, - EclipseLinkOrmPackage.eINSTANCE.getXmlSecondaryTable(), - buildTranslatorChildren()); - } - - private static Translator[] buildTranslatorChildren() { - return new Translator[] { - buildNameTranslator(), - buildCatalogTranslator(), - buildSchemaTranslator(), - buildCreationSuffixTranslator(), - buildPrimaryKeyJoinColumnsTranslator(), - buildUniqueConstraintTranslator() - }; - } - - protected static Translator buildCreationSuffixTranslator() { - return new Translator(EclipseLink2_2.CREATION_SUFFIX, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlSecondaryTable_2_2_CreationSuffix(), Translator.DOM_ATTRIBUTE); - } -} // XmlSecondaryTable diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlStoredProcedureParameter.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlStoredProcedureParameter.java deleted file mode 100644 index e7860def11..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlStoredProcedureParameter.java +++ /dev/null @@ -1,590 +0,0 @@ -/******************************************************************************* - * 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 Stored Procedure Parameter'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter#getDirection Direction}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter#getName Name}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter#getQueryParameter Query Parameter}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter#getType Type}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter#getJdbcType Jdbc Type}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter#getJdbcTypeName Jdbc Type Name}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlStoredProcedureParameter() - * @model kind="class" - * @extends EBaseObject - * @generated - */ -public class XmlStoredProcedureParameter extends EBaseObjectImpl implements EBaseObject -{ - /** - * 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 XmlDirection DIRECTION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getDirection() Direction}' attribute. - * - * - * @see #getDirection() - * @generated - * @ordered - */ - protected XmlDirection direction = DIRECTION_EDEFAULT; - - /** - * 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 #getQueryParameter() Query Parameter}' attribute. - * - * - * @see #getQueryParameter() - * @generated - * @ordered - */ - protected static final String QUERY_PARAMETER_EDEFAULT = null; - - /** - * The cached value of the '{@link #getQueryParameter() Query Parameter}' attribute. - * - * - * @see #getQueryParameter() - * @generated - * @ordered - */ - protected String queryParameter = QUERY_PARAMETER_EDEFAULT; - - /** - * The default value of the '{@link #getType() Type}' attribute. - * - * - * @see #getType() - * @generated - * @ordered - */ - protected static final String TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getType() Type}' attribute. - * - * - * @see #getType() - * @generated - * @ordered - */ - protected String type = TYPE_EDEFAULT; - - /** - * The default value of the '{@link #getJdbcType() Jdbc Type}' attribute. - * - * - * @see #getJdbcType() - * @generated - * @ordered - */ - protected static final Integer JDBC_TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getJdbcType() Jdbc Type}' attribute. - * - * - * @see #getJdbcType() - * @generated - * @ordered - */ - protected Integer jdbcType = JDBC_TYPE_EDEFAULT; - - /** - * The default value of the '{@link #getJdbcTypeName() Jdbc Type Name}' attribute. - * - * - * @see #getJdbcTypeName() - * @generated - * @ordered - */ - protected static final String JDBC_TYPE_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getJdbcTypeName() Jdbc Type Name}' attribute. - * - * - * @see #getJdbcTypeName() - * @generated - * @ordered - */ - protected String jdbcTypeName = JDBC_TYPE_NAME_EDEFAULT; - - /** - * - * - * @generated - */ - protected XmlStoredProcedureParameter() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_STORED_PROCEDURE_PARAMETER; - } - - /** - * Returns the value of the 'Direction' attribute. - * The literals are from the enumeration {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlDirection}. - * - *

- * If the meaning of the 'Direction' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Direction' attribute. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlDirection - * @see #setDirection(XmlDirection) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlStoredProcedureParameter_Direction() - * @model - * @generated - */ - public XmlDirection getDirection() - { - return direction; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter#getDirection Direction}' attribute. - * - * - * @param value the new value of the 'Direction' attribute. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlDirection - * @see #getDirection() - * @generated - */ - public void setDirection(XmlDirection newDirection) - { - XmlDirection oldDirection = direction; - direction = newDirection == null ? DIRECTION_EDEFAULT : newDirection; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__DIRECTION, oldDirection, direction)); - } - - /** - * 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#getXmlStoredProcedureParameter_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.XmlStoredProcedureParameter#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_STORED_PROCEDURE_PARAMETER__NAME, oldName, name)); - } - - /** - * Returns the value of the 'Query Parameter' attribute. - * - *

- * If the meaning of the 'Query Parameter' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Query Parameter' attribute. - * @see #setQueryParameter(String) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlStoredProcedureParameter_QueryParameter() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - public String getQueryParameter() - { - return queryParameter; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter#getQueryParameter Query Parameter}' attribute. - * - * - * @param value the new value of the 'Query Parameter' attribute. - * @see #getQueryParameter() - * @generated - */ - public void setQueryParameter(String newQueryParameter) - { - String oldQueryParameter = queryParameter; - queryParameter = newQueryParameter; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__QUERY_PARAMETER, oldQueryParameter, queryParameter)); - } - - /** - * Returns the value of the 'Type' attribute. - * - *

- * 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 #setType(String) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlStoredProcedureParameter_Type() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - public String getType() - { - return type; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter#getType Type}' attribute. - * - * - * @param value the new value of the 'Type' attribute. - * @see #getType() - * @generated - */ - public void setType(String newType) - { - String oldType = type; - type = newType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__TYPE, oldType, type)); - } - - /** - * Returns the value of the 'Jdbc Type' attribute. - * - *

- * If the meaning of the 'Jdbc Type' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Jdbc Type' attribute. - * @see #setJdbcType(Integer) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlStoredProcedureParameter_JdbcType() - * @model dataType="org.eclipse.emf.ecore.xml.type.IntObject" - * @generated - */ - public Integer getJdbcType() - { - return jdbcType; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter#getJdbcType Jdbc Type}' attribute. - * - * - * @param value the new value of the 'Jdbc Type' attribute. - * @see #getJdbcType() - * @generated - */ - public void setJdbcType(Integer newJdbcType) - { - Integer oldJdbcType = jdbcType; - jdbcType = newJdbcType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__JDBC_TYPE, oldJdbcType, jdbcType)); - } - - /** - * Returns the value of the 'Jdbc Type Name' attribute. - * - *

- * If the meaning of the 'Jdbc Type Name' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Jdbc Type Name' attribute. - * @see #setJdbcTypeName(String) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlStoredProcedureParameter_JdbcTypeName() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - public String getJdbcTypeName() - { - return jdbcTypeName; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter#getJdbcTypeName Jdbc Type Name}' attribute. - * - * - * @param value the new value of the 'Jdbc Type Name' attribute. - * @see #getJdbcTypeName() - * @generated - */ - public void setJdbcTypeName(String newJdbcTypeName) - { - String oldJdbcTypeName = jdbcTypeName; - jdbcTypeName = newJdbcTypeName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__JDBC_TYPE_NAME, oldJdbcTypeName, jdbcTypeName)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__DIRECTION: - return getDirection(); - case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__NAME: - return getName(); - case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__QUERY_PARAMETER: - return getQueryParameter(); - case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__TYPE: - return getType(); - case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__JDBC_TYPE: - return getJdbcType(); - case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__JDBC_TYPE_NAME: - return getJdbcTypeName(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__DIRECTION: - setDirection((XmlDirection)newValue); - return; - case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__NAME: - setName((String)newValue); - return; - case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__QUERY_PARAMETER: - setQueryParameter((String)newValue); - return; - case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__TYPE: - setType((String)newValue); - return; - case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__JDBC_TYPE: - setJdbcType((Integer)newValue); - return; - case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__JDBC_TYPE_NAME: - setJdbcTypeName((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__DIRECTION: - setDirection(DIRECTION_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__NAME: - setName(NAME_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__QUERY_PARAMETER: - setQueryParameter(QUERY_PARAMETER_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__TYPE: - setType(TYPE_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__JDBC_TYPE: - setJdbcType(JDBC_TYPE_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__JDBC_TYPE_NAME: - setJdbcTypeName(JDBC_TYPE_NAME_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__DIRECTION: - return direction != DIRECTION_EDEFAULT; - case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__QUERY_PARAMETER: - return QUERY_PARAMETER_EDEFAULT == null ? queryParameter != null : !QUERY_PARAMETER_EDEFAULT.equals(queryParameter); - case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__TYPE: - return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT.equals(type); - case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__JDBC_TYPE: - return JDBC_TYPE_EDEFAULT == null ? jdbcType != null : !JDBC_TYPE_EDEFAULT.equals(jdbcType); - case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER__JDBC_TYPE_NAME: - return JDBC_TYPE_NAME_EDEFAULT == null ? jdbcTypeName != null : !JDBC_TYPE_NAME_EDEFAULT.equals(jdbcTypeName); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (direction: "); - result.append(direction); - result.append(", name: "); - result.append(name); - result.append(", queryParameter: "); - result.append(queryParameter); - result.append(", type: "); - result.append(type); - result.append(", jdbcType: "); - result.append(jdbcType); - result.append(", jdbcTypeName: "); - result.append(jdbcTypeName); - 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[] { - buildDirectionTranslator(), - buildNameTranslator(), - buildQueryParameterTranslator(), - buildTypeTranslator(), - buildJdbcTypeTranslator(), - buildJdbcTypeNameTranslator(), - }; - } - - protected static Translator buildDirectionTranslator() { - return new Translator(EclipseLink.PARAMETER__DIRECTION, EclipseLinkOrmPackage.eINSTANCE.getXmlStoredProcedureParameter_Direction(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildNameTranslator() { - return new Translator(EclipseLink.PARAMETER__NAME, EclipseLinkOrmPackage.eINSTANCE.getXmlStoredProcedureParameter_Name(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildQueryParameterTranslator() { - return new Translator(EclipseLink.PARAMETER__QUERY_PARAMETER, EclipseLinkOrmPackage.eINSTANCE.getXmlStoredProcedureParameter_QueryParameter(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildTypeTranslator() { - return new Translator(EclipseLink.PARAMETER__TYPE, EclipseLinkOrmPackage.eINSTANCE.getXmlStoredProcedureParameter_Type(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildJdbcTypeTranslator() { - return new Translator(EclipseLink.PARAMETER__JDBC_TYPE, EclipseLinkOrmPackage.eINSTANCE.getXmlStoredProcedureParameter_JdbcType(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildJdbcTypeNameTranslator() { - return new Translator(EclipseLink.PARAMETER__JDBC_TYPE_NAME, EclipseLinkOrmPackage.eINSTANCE.getXmlStoredProcedureParameter_JdbcTypeName(), Translator.DOM_ATTRIBUTE); - } - -} // XmlStoredProcedureParameter diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlStruct.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlStruct.java deleted file mode 100644 index d9d26f679a..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlStruct.java +++ /dev/null @@ -1,212 +0,0 @@ -/******************************************************************************* - * 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 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_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.XmlStruct_2_3; -import org.eclipse.wst.common.internal.emf.resource.Translator; - -/** - * - * A representation of the model object 'Xml Struct'. - * - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlStruct() - * @model kind="class" - * @generated - */ -public class XmlStruct extends EBaseObjectImpl implements XmlStruct_2_3 -{ - /** - * 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 XmlStruct() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_STRUCT; - } - - /** - * 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#getXmlStruct_2_3_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.XmlStruct#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_STRUCT__NAME, oldName, name)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_STRUCT__NAME: - return getName(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_STRUCT__NAME: - setName((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_STRUCT__NAME: - setName(NAME_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_STRUCT__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.getXmlStruct(), - buildTranslatorChildren()); - } - - private static Translator[] buildTranslatorChildren() { - return new Translator[] { - buildNameTranslator(), - }; - } - - protected static Translator buildNameTranslator() { - return new Translator(EclipseLink2_3.STRUCT__NAME, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlStruct_2_3_Name(), Translator.DOM_ATTRIBUTE); - } -} // XmlStruct diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlStructConverter.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlStructConverter.java deleted file mode 100644 index 7d86003dd8..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlStructConverter.java +++ /dev/null @@ -1,271 +0,0 @@ -/******************************************************************************* - * 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 Struct 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructConverter#getConverter Converter}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlStructConverter() - * @model kind="class" - * @generated - */ -public class XmlStructConverter extends XmlNamedConverter -{ - /** - * The default value of the '{@link #getConverter() Converter}' attribute. - * - * - * @see #getConverter() - * @generated - * @ordered - */ - protected static final String CONVERTER_EDEFAULT = null; - /** - * The cached value of the '{@link #getConverter() Converter}' attribute. - * - * - * @see #getConverter() - * @generated - * @ordered - */ - protected String converter = CONVERTER_EDEFAULT; - - /** - * - * - * @generated - */ - protected XmlStructConverter() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_STRUCT_CONVERTER; - } - - /** - * Returns the value of the 'Converter' attribute. - * - *

- * If the meaning of the 'CustomConverter' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Converter' attribute. - * @see #setConverter(String) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlStructConverter_Converter() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - public String getConverter() - { - return converter; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructConverter#getConverter Converter}' attribute. - * - * - * @param value the new value of the 'Converter' attribute. - * @see #getConverter() - * @generated - */ - public void setConverter(String newConverter) - { - String oldConverter = converter; - converter = newConverter; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_STRUCT_CONVERTER__CONVERTER, oldConverter, converter)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_STRUCT_CONVERTER__CONVERTER: - return getConverter(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_STRUCT_CONVERTER__CONVERTER: - setConverter((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_STRUCT_CONVERTER__CONVERTER: - setConverter(CONVERTER_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_STRUCT_CONVERTER__CONVERTER: - return CONVERTER_EDEFAULT == null ? converter != null : !CONVERTER_EDEFAULT.equals(converter); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (converter: "); - result.append(converter); - result.append(')'); - return result.toString(); - } - - public TextRange getConverterClassTextRange() { - return getAttributeTextRange(EclipseLink.STRUCT_CONVERTER__CONVERTER); - } - - // ********** 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(), - buildConverterTranslator() - }; - } - - protected static Translator buildConverterTranslator() { - return new Translator(EclipseLink.STRUCT_CONVERTER__CONVERTER, EclipseLinkOrmPackage.eINSTANCE.getXmlStructConverter_Converter(), Translator.DOM_ATTRIBUTE); - } - - - // ********** refactoring ********** - - public ReplaceEdit createRenameEdit(IType originalType, String newName) { - String originalName = originalType.getTypeQualifiedName(); - int nameIndex = this.converter.lastIndexOf(originalName); - int offset = getAttributeNode(EclipseLink.STRUCT_CONVERTER__CONVERTER).getValueRegionStartOffset() + 1; // +1 = opening double quote - return new ReplaceEdit(offset + nameIndex, originalName.length(), newName); - } - - public ReplaceEdit createRenamePackageEdit(String newPackageName) { - int packageLength = this.converter.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.STRUCT_CONVERTER__CONVERTER).getValueRegionStartOffset() + 1; // +1 = opening double quote - return new ReplaceEdit(offset, packageLength, newPackageName); - } - - // ********** content assist *************** - - public TextRange getConverterClassCodeAssistTextRange() { - return getAttributeCodeAssistTextRange(EclipseLink.STRUCT_CONVERTER__CONVERTER); - } - - public boolean converterClassTouches(int pos) { - TextRange textRange = this.getConverterClassCodeAssistTextRange(); - return (textRange != null) && textRange.touches(pos); - } -} // XmlStructConverter diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlStructure.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlStructure.java deleted file mode 100644 index d083d02a50..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlStructure.java +++ /dev/null @@ -1,485 +0,0 @@ -/******************************************************************************* - * 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.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_3.EclipseLink2_3; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlStructure_2_3; -import org.eclipse.wst.common.internal.emf.resource.Translator; - -/** - * - * A representation of the model object 'Xml Structure'. - * - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlStructure() - * @model kind="class" - * @generated - */ -public class XmlStructure extends AbstractXmlAttributeMapping implements XmlAttributeMapping, XmlStructure_2_3 -{ - /** - * 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 properties; - - /** - * The default value of the '{@link #getAttributeType() Attribute Type}' attribute. - * - * - * @see #getAttributeType() - * @generated - * @ordered - */ - protected static final String ATTRIBUTE_TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getAttributeType() Attribute Type}' attribute. - * - * - * @see #getAttributeType() - * @generated - * @ordered - */ - protected String attributeType = ATTRIBUTE_TYPE_EDEFAULT; - - /** - * - * - * @generated - */ - protected XmlStructure() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_STRUCTURE; - } - - /** - * 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_STRUCTURE__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.XmlStructure#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_STRUCTURE__ACCESS_METHODS, null, msgs); - if (newAccessMethods != null) - msgs = ((InternalEObject)newAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_STRUCTURE__ACCESS_METHODS, null, msgs); - msgs = basicSetAccessMethods(newAccessMethods, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_STRUCTURE__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 getProperties() - { - if (properties == null) - { - properties = new EObjectContainmentEList(XmlProperty.class, this, EclipseLinkOrmPackage.XML_STRUCTURE__PROPERTIES); - } - return properties; - } - - /** - * 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.XmlStructure#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_STRUCTURE__ATTRIBUTE_TYPE, oldAttributeType, attributeType)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_STRUCTURE__ACCESS_METHODS: - return basicSetAccessMethods(null, msgs); - case EclipseLinkOrmPackage.XML_STRUCTURE__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_STRUCTURE__ACCESS_METHODS: - return getAccessMethods(); - case EclipseLinkOrmPackage.XML_STRUCTURE__PROPERTIES: - return getProperties(); - case EclipseLinkOrmPackage.XML_STRUCTURE__ATTRIBUTE_TYPE: - return getAttributeType(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_STRUCTURE__ACCESS_METHODS: - setAccessMethods((XmlAccessMethods)newValue); - return; - case EclipseLinkOrmPackage.XML_STRUCTURE__PROPERTIES: - getProperties().clear(); - getProperties().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_STRUCTURE__ATTRIBUTE_TYPE: - setAttributeType((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_STRUCTURE__ACCESS_METHODS: - setAccessMethods((XmlAccessMethods)null); - return; - case EclipseLinkOrmPackage.XML_STRUCTURE__PROPERTIES: - getProperties().clear(); - return; - case EclipseLinkOrmPackage.XML_STRUCTURE__ATTRIBUTE_TYPE: - setAttributeType(ATTRIBUTE_TYPE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_STRUCTURE__ACCESS_METHODS: - return accessMethods != null; - case EclipseLinkOrmPackage.XML_STRUCTURE__PROPERTIES: - return properties != null && !properties.isEmpty(); - case EclipseLinkOrmPackage.XML_STRUCTURE__ATTRIBUTE_TYPE: - return ATTRIBUTE_TYPE_EDEFAULT == null ? attributeType != null : !ATTRIBUTE_TYPE_EDEFAULT.equals(attributeType); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public int eBaseStructuralFeatureID(int derivedFeatureID, Class baseClass) - { - if (baseClass == XmlAccessMethodsHolder.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_STRUCTURE__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS; - default: return -1; - } - } - if (baseClass == XmlPropertyContainer.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_STRUCTURE__PROPERTIES: return EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES; - default: return -1; - } - } - if (baseClass == XmlAttributeMapping.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_STRUCTURE__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE; - default: return -1; - } - } - if (baseClass == XmlStructure_2_3.class) - { - switch (derivedFeatureID) - { - 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_STRUCTURE__ACCESS_METHODS; - default: return -1; - } - } - if (baseClass == XmlPropertyContainer.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES: return EclipseLinkOrmPackage.XML_STRUCTURE__PROPERTIES; - default: return -1; - } - } - if (baseClass == XmlAttributeMapping.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_STRUCTURE__ATTRIBUTE_TYPE; - default: return -1; - } - } - if (baseClass == XmlStructure_2_3.class) - { - switch (baseFeatureID) - { - 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(')'); - return result.toString(); - } - - public String getMappingKey() { - return EclipseLinkMappingKeys.STRUCTURE_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, - EclipseLinkOrmPackage.eINSTANCE.getXmlStructure(), - buildTranslatorChildren()); - } - - private static Translator[] buildTranslatorChildren() { - return new Translator[] { - buildNameTranslator(), - buildAccessTranslator(), - buildAttributeTypeTranslator(), - buildPropertyTranslator(), - buildAccessMethodsTranslator() - }; - } - - protected static Translator buildAttributeTypeTranslator() { - return new Translator(EclipseLink2_3.STRUCTURE__ATTRIBUTE_TYPE, EclipseLinkOrmPackage.eINSTANCE.getXmlAttributeMapping_AttributeType(), Translator.DOM_ATTRIBUTE); - } - - 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()); - } - - // ******** virtual attribute ************ - - public void setVirtualAttributeTypes(String attributeType, String targetType) { - this.setAttributeType(attributeType); - } - - // *********** content assist ************ - - protected TextRange getAttributeTypeCodeAssistTextRange() { - return getAttributeCodeAssistTextRange(EclipseLink2_3.STRUCTURE__ATTRIBUTE_TYPE); - } - - public boolean attributeTypeTouches(int pos) { - TextRange textRange = this.getAttributeTypeCodeAssistTextRange(); - return (textRange != null) && (textRange.touches(pos)); - } -} // XmlStructure diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTable.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTable.java deleted file mode 100644 index 7edd8aecdb..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTable.java +++ /dev/null @@ -1,261 +0,0 @@ -/******************************************************************************* - * 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.XmlTable_2_2; -import org.eclipse.wst.common.internal.emf.resource.Translator; - -/** - * - * A representation of the model object 'Xml 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#getXmlTable() - * @model kind="class" - * @generated - */ -public class XmlTable extends org.eclipse.jpt.jpa.core.resource.orm.XmlTable implements XmlTable_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 XmlTable() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_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#getXmlTable_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.XmlTable#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_TABLE__CREATION_SUFFIX, oldCreationSuffix, creationSuffix)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_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_TABLE__CREATION_SUFFIX: - setCreationSuffix((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_TABLE__CREATION_SUFFIX: - setCreationSuffix(CREATION_SUFFIX_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_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 == XmlTable_2_2.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_TABLE__CREATION_SUFFIX: return EclipseLinkOrmV2_2Package.XML_TABLE_22__CREATION_SUFFIX; - default: return -1; - } - } - return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); - } - - /** - * - * - * @generated - */ - @Override - public int eDerivedStructuralFeatureID(int baseFeatureID, Class baseClass) - { - if (baseClass == XmlTable_2_2.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_2Package.XML_TABLE_22__CREATION_SUFFIX: return EclipseLinkOrmPackage.XML_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.getXmlTable(), - buildTranslatorChildren()); - } - - private static Translator[] buildTranslatorChildren() { - return new Translator[] { - buildNameTranslator(), - buildCatalogTranslator(), - buildSchemaTranslator(), - buildCreationSuffixTranslator(), - buildUniqueConstraintTranslator() - }; - } - - protected static Translator buildCreationSuffixTranslator() { - return new Translator(EclipseLink2_2.CREATION_SUFFIX, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlTable_2_2_CreationSuffix(), Translator.DOM_ATTRIBUTE); - } -} // XmlTable diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTableGenerator.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTableGenerator.java deleted file mode 100644 index 115797dea8..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTableGenerator.java +++ /dev/null @@ -1,271 +0,0 @@ -/******************************************************************************* - * 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.core.resource.orm.JPA; -import org.eclipse.jpt.jpa.core.resource.orm.OrmPackage; -import org.eclipse.jpt.jpa.core.resource.orm.XmlUniqueConstraint; -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.XmlTableGenerator_2_2; -import org.eclipse.wst.common.internal.emf.resource.Translator; - -/** - * - * - * 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. - * A representation of the model object 'Xml Table Generator'. - * - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTableGenerator() - * @model kind="class" - * @generated - */ -public class XmlTableGenerator extends org.eclipse.jpt.jpa.core.resource.orm.XmlTableGenerator implements XmlTableGenerator_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 XmlTableGenerator() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_TABLE_GENERATOR; - } - - /** - * 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#getXmlTableGenerator_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.XmlTableGenerator#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_TABLE_GENERATOR__CREATION_SUFFIX, oldCreationSuffix, creationSuffix)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_TABLE_GENERATOR__CREATION_SUFFIX: - return getCreationSuffix(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_TABLE_GENERATOR__CREATION_SUFFIX: - setCreationSuffix((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_TABLE_GENERATOR__CREATION_SUFFIX: - setCreationSuffix(CREATION_SUFFIX_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_TABLE_GENERATOR__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 == XmlTableGenerator_2_2.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_TABLE_GENERATOR__CREATION_SUFFIX: return EclipseLinkOrmV2_2Package.XML_TABLE_GENERATOR_22__CREATION_SUFFIX; - default: return -1; - } - } - return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); - } - - /** - * - * - * @generated - */ - @Override - public int eDerivedStructuralFeatureID(int baseFeatureID, Class baseClass) - { - if (baseClass == XmlTableGenerator_2_2.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_2Package.XML_TABLE_GENERATOR_22__CREATION_SUFFIX: return EclipseLinkOrmPackage.XML_TABLE_GENERATOR__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.getXmlTableGenerator(), - buildTranslatorChildren()); - } - - private static Translator[] buildTranslatorChildren() { - return new Translator[] { - buildNameTranslator(), - buildTableTranslator(), - buildCatalogTranslator(), - buildSchemaTranslator(), - buildCreationSuffixTranslator(), - buildPkColumnNameTranslator(), - buildValueColumnNameTranslator(), - buildPkColumnValueTranslator(), - buildInitialValueTranslator(), - buildAllocationSizeTranslator(), - buildDescriptionTranslator(), - XmlUniqueConstraint.buildTranslator(JPA.UNIQUE_CONSTRAINT, OrmPackage.eINSTANCE.getXmlTableGenerator_UniqueConstraints()) - }; - } - - protected static Translator buildCreationSuffixTranslator() { - return new Translator(EclipseLink2_2.CREATION_SUFFIX, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlTableGenerator_2_2_CreationSuffix(), Translator.DOM_ATTRIBUTE); - } -} // XmlTableGenerator diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTenantDiscriminatorColumn.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTenantDiscriminatorColumn.java deleted file mode 100644 index 5d14eec74d..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTenantDiscriminatorColumn.java +++ /dev/null @@ -1,414 +0,0 @@ -/******************************************************************************* - * 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.utility.TextRange; -import org.eclipse.jpt.jpa.core.resource.orm.AbstractXmlBaseDiscriminatorColumn; -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.XmlTenantDiscriminatorColumn_2_3; -import org.eclipse.wst.common.internal.emf.resource.Translator; - -/** - * - * A representation of the model object 'Xml Tenant Discriminator'. - * - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTenantDiscriminatorColumn() - * @model kind="class" - * @generated - */ -public class XmlTenantDiscriminatorColumn extends AbstractXmlBaseDiscriminatorColumn implements XmlTenantDiscriminatorColumn_2_3 -{ - /** - * The default value of the '{@link #getContextProperty() Context Property}' attribute. - * - * - * @see #getContextProperty() - * @generated - * @ordered - */ - protected static final String CONTEXT_PROPERTY_EDEFAULT = null; - /** - * The cached value of the '{@link #getContextProperty() Context Property}' attribute. - * - * - * @see #getContextProperty() - * @generated - * @ordered - */ - protected String contextProperty = CONTEXT_PROPERTY_EDEFAULT; - - /** - * The default value of the '{@link #getTable() Table}' attribute. - * - * - * @see #getTable() - * @generated - * @ordered - */ - protected static final String TABLE_EDEFAULT = null; - /** - * The cached value of the '{@link #getTable() Table}' attribute. - * - * - * @see #getTable() - * @generated - * @ordered - */ - protected String table = TABLE_EDEFAULT; - /** - * The default value of the '{@link #getPrimaryKey() Primary Key}' attribute. - * - * - * @see #getPrimaryKey() - * @generated - * @ordered - */ - protected static final Boolean PRIMARY_KEY_EDEFAULT = null; - /** - * The cached value of the '{@link #getPrimaryKey() Primary Key}' attribute. - * - * - * @see #getPrimaryKey() - * @generated - * @ordered - */ - protected Boolean primaryKey = PRIMARY_KEY_EDEFAULT; - - /** - * - * - * @generated - */ - protected XmlTenantDiscriminatorColumn() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_TENANT_DISCRIMINATOR_COLUMN; - } - /** - * Returns the value of the 'Context Property' attribute. - * - *

- * If the meaning of the 'Context Property' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Context Property' attribute. - * @see #setContextProperty(String) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTenantDiscriminatorColumn_2_3_ContextProperty() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - public String getContextProperty() - { - return contextProperty; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTenantDiscriminatorColumn#getContextProperty Context Property}' attribute. - * - * - * @param value the new value of the 'Context Property' attribute. - * @see #getContextProperty() - * @generated - */ - public void setContextProperty(String newContextProperty) - { - String oldContextProperty = contextProperty; - contextProperty = newContextProperty; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_TENANT_DISCRIMINATOR_COLUMN__CONTEXT_PROPERTY, oldContextProperty, contextProperty)); - } - - /** - * 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#getXmlTenantDiscriminatorColumn_2_3_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.XmlTenantDiscriminatorColumn#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_TENANT_DISCRIMINATOR_COLUMN__TABLE, oldTable, table)); - } - - /** - * Returns the value of the 'Primary Key' attribute. - * - *

- * If the meaning of the 'Primary Key' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Primary Key' attribute. - * @see #setPrimaryKey(Boolean) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTenantDiscriminatorColumn_2_3_PrimaryKey() - * @model - * @generated - */ - public Boolean getPrimaryKey() - { - return primaryKey; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTenantDiscriminatorColumn#getPrimaryKey Primary Key}' attribute. - * - * - * @param value the new value of the 'Primary Key' attribute. - * @see #getPrimaryKey() - * @generated - */ - public void setPrimaryKey(Boolean newPrimaryKey) - { - Boolean oldPrimaryKey = primaryKey; - primaryKey = newPrimaryKey; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_TENANT_DISCRIMINATOR_COLUMN__PRIMARY_KEY, oldPrimaryKey, primaryKey)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_TENANT_DISCRIMINATOR_COLUMN__CONTEXT_PROPERTY: - return getContextProperty(); - case EclipseLinkOrmPackage.XML_TENANT_DISCRIMINATOR_COLUMN__TABLE: - return getTable(); - case EclipseLinkOrmPackage.XML_TENANT_DISCRIMINATOR_COLUMN__PRIMARY_KEY: - return getPrimaryKey(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_TENANT_DISCRIMINATOR_COLUMN__CONTEXT_PROPERTY: - setContextProperty((String)newValue); - return; - case EclipseLinkOrmPackage.XML_TENANT_DISCRIMINATOR_COLUMN__TABLE: - setTable((String)newValue); - return; - case EclipseLinkOrmPackage.XML_TENANT_DISCRIMINATOR_COLUMN__PRIMARY_KEY: - setPrimaryKey((Boolean)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_TENANT_DISCRIMINATOR_COLUMN__CONTEXT_PROPERTY: - setContextProperty(CONTEXT_PROPERTY_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_TENANT_DISCRIMINATOR_COLUMN__TABLE: - setTable(TABLE_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_TENANT_DISCRIMINATOR_COLUMN__PRIMARY_KEY: - setPrimaryKey(PRIMARY_KEY_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_TENANT_DISCRIMINATOR_COLUMN__CONTEXT_PROPERTY: - return CONTEXT_PROPERTY_EDEFAULT == null ? contextProperty != null : !CONTEXT_PROPERTY_EDEFAULT.equals(contextProperty); - case EclipseLinkOrmPackage.XML_TENANT_DISCRIMINATOR_COLUMN__TABLE: - return TABLE_EDEFAULT == null ? table != null : !TABLE_EDEFAULT.equals(table); - case EclipseLinkOrmPackage.XML_TENANT_DISCRIMINATOR_COLUMN__PRIMARY_KEY: - return PRIMARY_KEY_EDEFAULT == null ? primaryKey != null : !PRIMARY_KEY_EDEFAULT.equals(primaryKey); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public int eBaseStructuralFeatureID(int derivedFeatureID, Class baseClass) - { - if (baseClass == XmlTenantDiscriminatorColumn_2_3.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_TENANT_DISCRIMINATOR_COLUMN__CONTEXT_PROPERTY: return EclipseLinkOrmV2_3Package.XML_TENANT_DISCRIMINATOR_COLUMN_23__CONTEXT_PROPERTY; - case EclipseLinkOrmPackage.XML_TENANT_DISCRIMINATOR_COLUMN__TABLE: return EclipseLinkOrmV2_3Package.XML_TENANT_DISCRIMINATOR_COLUMN_23__TABLE; - case EclipseLinkOrmPackage.XML_TENANT_DISCRIMINATOR_COLUMN__PRIMARY_KEY: return EclipseLinkOrmV2_3Package.XML_TENANT_DISCRIMINATOR_COLUMN_23__PRIMARY_KEY; - default: return -1; - } - } - return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); - } - - /** - * - * - * @generated - */ - @Override - public int eDerivedStructuralFeatureID(int baseFeatureID, Class baseClass) - { - if (baseClass == XmlTenantDiscriminatorColumn_2_3.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_3Package.XML_TENANT_DISCRIMINATOR_COLUMN_23__CONTEXT_PROPERTY: return EclipseLinkOrmPackage.XML_TENANT_DISCRIMINATOR_COLUMN__CONTEXT_PROPERTY; - case EclipseLinkOrmV2_3Package.XML_TENANT_DISCRIMINATOR_COLUMN_23__TABLE: return EclipseLinkOrmPackage.XML_TENANT_DISCRIMINATOR_COLUMN__TABLE; - case EclipseLinkOrmV2_3Package.XML_TENANT_DISCRIMINATOR_COLUMN_23__PRIMARY_KEY: return EclipseLinkOrmPackage.XML_TENANT_DISCRIMINATOR_COLUMN__PRIMARY_KEY; - 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(" (contextProperty: "); - result.append(contextProperty); - result.append(", table: "); - result.append(table); - result.append(", primaryKey: "); - result.append(primaryKey); - result.append(')'); - return result.toString(); - } - - public TextRange getTableTextRange() { - return getAttributeTextRange(EclipseLink2_3.TENANT_DISCRIMINATOR_COLUMN__TABLE); - } - - // ********** translators ********** - - public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) { - return new SimpleTranslator( - elementName, - structuralFeature, - Translator.END_TAG_NO_INDENT, - EclipseLinkOrmPackage.eINSTANCE.getXmlTenantDiscriminatorColumn(), - buildTranslatorChildren()); - } - - private static Translator[] buildTranslatorChildren() { - return new Translator[] { - buildNameTranslator(), - buildContextPropertyTranslator(), - buildDiscriminatorTypeTranslator(), - buildColumnDefinitionTranslator(), - buildLengthTranslator(), - buildTableTranslator(), - buildPrimaryKeyTranslator() - }; - } - - protected static Translator buildContextPropertyTranslator() { - return new Translator(EclipseLink2_3.TENANT_DISCRIMINATOR_COLUMN__CONTEXT_PROPERTY, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlTenantDiscriminatorColumn_2_3_ContextProperty(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildTableTranslator() { - return new Translator(EclipseLink2_3.TENANT_DISCRIMINATOR_COLUMN__TABLE, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlTenantDiscriminatorColumn_2_3_Table(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildPrimaryKeyTranslator() { - return new Translator(EclipseLink2_3.TENANT_DISCRIMINATOR_COLUMN__PRIMARY_KEY, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlTenantDiscriminatorColumn_2_3_PrimaryKey(), Translator.DOM_ATTRIBUTE); - } - // *********** content assist *********** - - public TextRange getTableCodeAssistTextRange() { - return getAttributeCodeAssistTextRange(EclipseLink2_3.TENANT_DISCRIMINATOR_COLUMN__TABLE); - } - - public boolean tableTouches(int pos) { - TextRange textRange = this.getTableCodeAssistTextRange(); - return (textRange != null) && (textRange.touches(pos)); - } -} // XmlTenantDiscriminator diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTenantTableDiscriminator.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTenantTableDiscriminator.java deleted file mode 100644 index 61428f87b5..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTenantTableDiscriminator.java +++ /dev/null @@ -1,296 +0,0 @@ -/******************************************************************************* - * 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.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.TenantTableDiscriminatorType; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlTenantTableDiscriminator_2_4; -import org.eclipse.wst.common.internal.emf.resource.Translator; - -/** - * - * A representation of the model object 'Xml Tenant Table Discriminator'. - * - * 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#getXmlTenantTableDiscriminator() - * @model kind="class" - * @generated - */ -public class XmlTenantTableDiscriminator extends EBaseObjectImpl implements XmlTenantTableDiscriminator_2_4 -{ - /** - * The default value of the '{@link #getContextProperty() Context Property}' attribute. - * - * - * @see #getContextProperty() - * @generated - * @ordered - */ - protected static final String CONTEXT_PROPERTY_EDEFAULT = null; - - /** - * The cached value of the '{@link #getContextProperty() Context Property}' attribute. - * - * - * @see #getContextProperty() - * @generated - * @ordered - */ - protected String contextProperty = CONTEXT_PROPERTY_EDEFAULT; - - /** - * The default value of the '{@link #getType() Type}' attribute. - * - * - * @see #getType() - * @generated - * @ordered - */ - protected static final TenantTableDiscriminatorType TYPE_EDEFAULT = TenantTableDiscriminatorType.SCHEMA; - - /** - * The cached value of the '{@link #getType() Type}' attribute. - * - * - * @see #getType() - * @generated - * @ordered - */ - protected TenantTableDiscriminatorType type = TYPE_EDEFAULT; - - /** - * - * - * @generated - */ - protected XmlTenantTableDiscriminator() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_TENANT_TABLE_DISCRIMINATOR; - } - - /** - * Returns the value of the 'Context Property' attribute. - * - *

- * If the meaning of the 'Context Property' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Context Property' attribute. - * @see #setContextProperty(String) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTenantTableDiscriminator_2_4_ContextProperty() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - public String getContextProperty() - { - return contextProperty; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTenantTableDiscriminator#getContextProperty Context Property}' attribute. - * - * - * @param value the new value of the 'Context Property' attribute. - * @see #getContextProperty() - * @generated - */ - public void setContextProperty(String newContextProperty) - { - String oldContextProperty = contextProperty; - contextProperty = newContextProperty; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_TENANT_TABLE_DISCRIMINATOR__CONTEXT_PROPERTY, oldContextProperty, contextProperty)); - } - - /** - * Returns the value of the 'Type' attribute. - * The literals are from the enumeration {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.TenantTableDiscriminatorType}. - * - *

- * 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.v2_4.TenantTableDiscriminatorType - * @see #setType(TenantTableDiscriminatorType) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTenantTableDiscriminator_2_4_Type() - * @model - * @generated - */ - public TenantTableDiscriminatorType getType() - { - return type; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTenantTableDiscriminator#getType Type}' attribute. - * - * - * @param value the new value of the 'Type' attribute. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.TenantTableDiscriminatorType - * @see #getType() - * @generated - */ - public void setType(TenantTableDiscriminatorType newType) - { - TenantTableDiscriminatorType oldType = type; - type = newType == null ? TYPE_EDEFAULT : newType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_TENANT_TABLE_DISCRIMINATOR__TYPE, oldType, type)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_TENANT_TABLE_DISCRIMINATOR__CONTEXT_PROPERTY: - return getContextProperty(); - case EclipseLinkOrmPackage.XML_TENANT_TABLE_DISCRIMINATOR__TYPE: - return getType(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_TENANT_TABLE_DISCRIMINATOR__CONTEXT_PROPERTY: - setContextProperty((String)newValue); - return; - case EclipseLinkOrmPackage.XML_TENANT_TABLE_DISCRIMINATOR__TYPE: - setType((TenantTableDiscriminatorType)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_TENANT_TABLE_DISCRIMINATOR__CONTEXT_PROPERTY: - setContextProperty(CONTEXT_PROPERTY_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_TENANT_TABLE_DISCRIMINATOR__TYPE: - setType(TYPE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_TENANT_TABLE_DISCRIMINATOR__CONTEXT_PROPERTY: - return CONTEXT_PROPERTY_EDEFAULT == null ? contextProperty != null : !CONTEXT_PROPERTY_EDEFAULT.equals(contextProperty); - case EclipseLinkOrmPackage.XML_TENANT_TABLE_DISCRIMINATOR__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(" (contextProperty: "); - result.append(contextProperty); - 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, - EclipseLinkOrmPackage.eINSTANCE.getXmlTenantTableDiscriminator(), - buildTranslatorChildren()); - } - - private static Translator[] buildTranslatorChildren() { - return new Translator[] { - buildContextPropertyTranslator(), - buildReferencedFieldNameTranslator(), - }; - } - - protected static Translator buildContextPropertyTranslator() { - return new Translator(EclipseLink2_4.TENANT_TABLE_DISCRIMINATOR__CONTEXT_PROPERTY, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlTenantTableDiscriminator_2_4_ContextProperty(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildReferencedFieldNameTranslator() { - return new Translator(EclipseLink2_4.TENANT_TABLE_DISCRIMINATOR__TYPE, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlTenantTableDiscriminator_2_4_Type(), Translator.DOM_ATTRIBUTE); - } -} // XmlTenantTableDiscriminator diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTimeOfDay.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTimeOfDay.java deleted file mode 100644 index c3cacc62bc..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTimeOfDay.java +++ /dev/null @@ -1,446 +0,0 @@ -/******************************************************************************* - * 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.wst.common.internal.emf.resource.Translator; - -/** - * - * - * A representation of the model object 'Xml Time Of Day'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTimeOfDay#getHour Hour}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTimeOfDay#getMinute Minute}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTimeOfDay#getSecond Second}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTimeOfDay#getMillisecond Millisecond}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTimeOfDay() - * @model kind="class" - * @extends EBaseObject - * @generated - */ -public class XmlTimeOfDay extends EBaseObjectImpl implements EBaseObject -{ - /** - * The default value of the '{@link #getHour() Hour}' attribute. - * - * - * @see #getHour() - * @generated - * @ordered - */ - protected static final Integer HOUR_EDEFAULT = null; - - /** - * The cached value of the '{@link #getHour() Hour}' attribute. - * - * - * @see #getHour() - * @generated - * @ordered - */ - protected Integer hour = HOUR_EDEFAULT; - - /** - * The default value of the '{@link #getMinute() Minute}' attribute. - * - * - * @see #getMinute() - * @generated - * @ordered - */ - protected static final Integer MINUTE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getMinute() Minute}' attribute. - * - * - * @see #getMinute() - * @generated - * @ordered - */ - protected Integer minute = MINUTE_EDEFAULT; - - /** - * The default value of the '{@link #getSecond() Second}' attribute. - * - * - * @see #getSecond() - * @generated - * @ordered - */ - protected static final Integer SECOND_EDEFAULT = null; - - /** - * The cached value of the '{@link #getSecond() Second}' attribute. - * - * - * @see #getSecond() - * @generated - * @ordered - */ - protected Integer second = SECOND_EDEFAULT; - - /** - * The default value of the '{@link #getMillisecond() Millisecond}' attribute. - * - * - * @see #getMillisecond() - * @generated - * @ordered - */ - protected static final Integer MILLISECOND_EDEFAULT = null; - - /** - * The cached value of the '{@link #getMillisecond() Millisecond}' attribute. - * - * - * @see #getMillisecond() - * @generated - * @ordered - */ - protected Integer millisecond = MILLISECOND_EDEFAULT; - - /** - * - * - * @generated - */ - protected XmlTimeOfDay() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_TIME_OF_DAY; - } - - /** - * Returns the value of the 'Hour' attribute. - * - *

- * If the meaning of the 'Hour' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Hour' attribute. - * @see #setHour(Integer) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTimeOfDay_Hour() - * @model dataType="org.eclipse.emf.ecore.xml.type.IntObject" - * @generated - */ - public Integer getHour() - { - return hour; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTimeOfDay#getHour Hour}' attribute. - * - * - * @param value the new value of the 'Hour' attribute. - * @see #getHour() - * @generated - */ - public void setHour(Integer newHour) - { - Integer oldHour = hour; - hour = newHour; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_TIME_OF_DAY__HOUR, oldHour, hour)); - } - - /** - * Returns the value of the 'Minute' attribute. - * - *

- * If the meaning of the 'Minute' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Minute' attribute. - * @see #setMinute(Integer) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTimeOfDay_Minute() - * @model dataType="org.eclipse.emf.ecore.xml.type.IntObject" - * @generated - */ - public Integer getMinute() - { - return minute; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTimeOfDay#getMinute Minute}' attribute. - * - * - * @param value the new value of the 'Minute' attribute. - * @see #getMinute() - * @generated - */ - public void setMinute(Integer newMinute) - { - Integer oldMinute = minute; - minute = newMinute; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_TIME_OF_DAY__MINUTE, oldMinute, minute)); - } - - /** - * Returns the value of the 'Second' attribute. - * - *

- * If the meaning of the 'Second' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Second' attribute. - * @see #setSecond(Integer) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTimeOfDay_Second() - * @model dataType="org.eclipse.emf.ecore.xml.type.IntObject" - * @generated - */ - public Integer getSecond() - { - return second; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTimeOfDay#getSecond Second}' attribute. - * - * - * @param value the new value of the 'Second' attribute. - * @see #getSecond() - * @generated - */ - public void setSecond(Integer newSecond) - { - Integer oldSecond = second; - second = newSecond; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_TIME_OF_DAY__SECOND, oldSecond, second)); - } - - /** - * Returns the value of the 'Millisecond' attribute. - * - *

- * If the meaning of the 'Millisecond' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Millisecond' attribute. - * @see #setMillisecond(Integer) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTimeOfDay_Millisecond() - * @model dataType="org.eclipse.emf.ecore.xml.type.IntObject" - * @generated - */ - public Integer getMillisecond() - { - return millisecond; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTimeOfDay#getMillisecond Millisecond}' attribute. - * - * - * @param value the new value of the 'Millisecond' attribute. - * @see #getMillisecond() - * @generated - */ - public void setMillisecond(Integer newMillisecond) - { - Integer oldMillisecond = millisecond; - millisecond = newMillisecond; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_TIME_OF_DAY__MILLISECOND, oldMillisecond, millisecond)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_TIME_OF_DAY__HOUR: - return getHour(); - case EclipseLinkOrmPackage.XML_TIME_OF_DAY__MINUTE: - return getMinute(); - case EclipseLinkOrmPackage.XML_TIME_OF_DAY__SECOND: - return getSecond(); - case EclipseLinkOrmPackage.XML_TIME_OF_DAY__MILLISECOND: - return getMillisecond(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_TIME_OF_DAY__HOUR: - setHour((Integer)newValue); - return; - case EclipseLinkOrmPackage.XML_TIME_OF_DAY__MINUTE: - setMinute((Integer)newValue); - return; - case EclipseLinkOrmPackage.XML_TIME_OF_DAY__SECOND: - setSecond((Integer)newValue); - return; - case EclipseLinkOrmPackage.XML_TIME_OF_DAY__MILLISECOND: - setMillisecond((Integer)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_TIME_OF_DAY__HOUR: - setHour(HOUR_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_TIME_OF_DAY__MINUTE: - setMinute(MINUTE_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_TIME_OF_DAY__SECOND: - setSecond(SECOND_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_TIME_OF_DAY__MILLISECOND: - setMillisecond(MILLISECOND_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_TIME_OF_DAY__HOUR: - return HOUR_EDEFAULT == null ? hour != null : !HOUR_EDEFAULT.equals(hour); - case EclipseLinkOrmPackage.XML_TIME_OF_DAY__MINUTE: - return MINUTE_EDEFAULT == null ? minute != null : !MINUTE_EDEFAULT.equals(minute); - case EclipseLinkOrmPackage.XML_TIME_OF_DAY__SECOND: - return SECOND_EDEFAULT == null ? second != null : !SECOND_EDEFAULT.equals(second); - case EclipseLinkOrmPackage.XML_TIME_OF_DAY__MILLISECOND: - return MILLISECOND_EDEFAULT == null ? millisecond != null : !MILLISECOND_EDEFAULT.equals(millisecond); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (hour: "); - result.append(hour); - result.append(", minute: "); - result.append(minute); - result.append(", second: "); - result.append(second); - result.append(", millisecond: "); - result.append(millisecond); - 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[] { - buildHourTranslator(), - buildMinuteTranslator(), - buildSecondTranslator(), - buildMillisecondTranslator(), - }; - } - - protected static Translator buildHourTranslator() { - return new Translator(EclipseLink.EXPIRY_TIME_OF_DAY__HOUR, EclipseLinkOrmPackage.eINSTANCE.getXmlTimeOfDay_Hour(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildMinuteTranslator() { - return new Translator(EclipseLink.EXPIRY_TIME_OF_DAY__MINUTE, EclipseLinkOrmPackage.eINSTANCE.getXmlTimeOfDay_Minute(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildSecondTranslator() { - return new Translator(EclipseLink.EXPIRY_TIME_OF_DAY__SECOND, EclipseLinkOrmPackage.eINSTANCE.getXmlTimeOfDay_Second(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildMillisecondTranslator() { - return new Translator(EclipseLink.EXPIRY_TIME_OF_DAY__MILLISECOND, EclipseLinkOrmPackage.eINSTANCE.getXmlTimeOfDay_Millisecond(), Translator.DOM_ATTRIBUTE); - } - -} // XmlTimeOfDay diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTransformation.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTransformation.java deleted file mode 100644 index 205a2162a1..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTransformation.java +++ /dev/null @@ -1,480 +0,0 @@ -/******************************************************************************* - * 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.wst.common.internal.emf.resource.Translator; - -/** - * - * A representation of the model object 'Xml Transformation 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#getXmlTransformation() - * @model kind="class" - * @generated - */ -public class XmlTransformation extends AbstractXmlAttributeMapping implements XmlAttributeMapping -{ - /** - * 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 properties; - - /** - * The default value of the '{@link #getAttributeType() Attribute Type}' attribute. - * - * - * @see #getAttributeType() - * @generated - * @ordered - */ - protected static final String ATTRIBUTE_TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getAttributeType() Attribute Type}' attribute. - * - * - * @see #getAttributeType() - * @generated - * @ordered - */ - protected String attributeType = ATTRIBUTE_TYPE_EDEFAULT; - - /** - * - * - * @generated - */ - protected XmlTransformation() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_TRANSFORMATION; - } - - /** - * 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.XmlTransformation#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_TRANSFORMATION__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_TRANSFORMATION__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.XmlTransformation#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_TRANSFORMATION__ACCESS_METHODS, null, msgs); - if (newAccessMethods != null) - msgs = ((InternalEObject)newAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_TRANSFORMATION__ACCESS_METHODS, null, msgs); - msgs = basicSetAccessMethods(newAccessMethods, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_TRANSFORMATION__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 getProperties() - { - if (properties == null) - { - properties = new EObjectContainmentEList(XmlProperty.class, this, EclipseLinkOrmPackage.XML_TRANSFORMATION__PROPERTIES); - } - return properties; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_TRANSFORMATION__ACCESS_METHODS: - return basicSetAccessMethods(null, msgs); - case EclipseLinkOrmPackage.XML_TRANSFORMATION__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_TRANSFORMATION__ACCESS_METHODS: - return getAccessMethods(); - case EclipseLinkOrmPackage.XML_TRANSFORMATION__PROPERTIES: - return getProperties(); - case EclipseLinkOrmPackage.XML_TRANSFORMATION__ATTRIBUTE_TYPE: - return getAttributeType(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_TRANSFORMATION__ACCESS_METHODS: - setAccessMethods((XmlAccessMethods)newValue); - return; - case EclipseLinkOrmPackage.XML_TRANSFORMATION__PROPERTIES: - getProperties().clear(); - getProperties().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_TRANSFORMATION__ATTRIBUTE_TYPE: - setAttributeType((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_TRANSFORMATION__ACCESS_METHODS: - setAccessMethods((XmlAccessMethods)null); - return; - case EclipseLinkOrmPackage.XML_TRANSFORMATION__PROPERTIES: - getProperties().clear(); - return; - case EclipseLinkOrmPackage.XML_TRANSFORMATION__ATTRIBUTE_TYPE: - setAttributeType(ATTRIBUTE_TYPE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_TRANSFORMATION__ACCESS_METHODS: - return accessMethods != null; - case EclipseLinkOrmPackage.XML_TRANSFORMATION__PROPERTIES: - return properties != null && !properties.isEmpty(); - case EclipseLinkOrmPackage.XML_TRANSFORMATION__ATTRIBUTE_TYPE: - return ATTRIBUTE_TYPE_EDEFAULT == null ? attributeType != null : !ATTRIBUTE_TYPE_EDEFAULT.equals(attributeType); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public int eBaseStructuralFeatureID(int derivedFeatureID, Class baseClass) - { - if (baseClass == XmlAccessMethodsHolder.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_TRANSFORMATION__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS; - default: return -1; - } - } - if (baseClass == XmlPropertyContainer.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_TRANSFORMATION__PROPERTIES: return EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES; - default: return -1; - } - } - if (baseClass == XmlAttributeMapping.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_TRANSFORMATION__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE; - 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_TRANSFORMATION__ACCESS_METHODS; - default: return -1; - } - } - if (baseClass == XmlPropertyContainer.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES: return EclipseLinkOrmPackage.XML_TRANSFORMATION__PROPERTIES; - default: return -1; - } - } - if (baseClass == XmlAttributeMapping.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_TRANSFORMATION__ATTRIBUTE_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(" (attributeType: "); - result.append(attributeType); - result.append(')'); - return result.toString(); - } - - public String getMappingKey() { - return EclipseLinkMappingKeys.TRANSFORMATION_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(), -// buildFetchTranslator(), -// buildOptionalTranslator(), - buildAccessTranslator(), -// buildMutableTranslator(), - buildAttributeTypeTranslator(), -// buildReadTransformerTranslator(), -// buildWriteTransformerTranslator(), - buildPropertyTranslator(), - buildAccessMethodsTranslator() - }; - } - - 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 buildAttributeTypeTranslator() { - return new Translator(EclipseLink2_1.ATTRIBUTE_TYPE, EclipseLinkOrmPackage.eINSTANCE.getXmlAttributeMapping_AttributeType(), Translator.DOM_ATTRIBUTE); - } - - // ******** 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/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTransient.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTransient.java deleted file mode 100644 index c5f4f6f4db..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTransient.java +++ /dev/null @@ -1,442 +0,0 @@ -/******************************************************************************* - * 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.wst.common.internal.emf.resource.Translator; - -/** - * - * A representation of the model object 'Xml Transient'. - * - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTransient() - * @model kind="class" - * @generated - */ -public class XmlTransient extends org.eclipse.jpt.jpa.core.resource.orm.XmlTransient implements XmlAttributeMapping -{ - /** - * 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 properties; - - /** - * The default value of the '{@link #getAttributeType() Attribute Type}' attribute. - * - * - * @see #getAttributeType() - * @generated - * @ordered - */ - protected static final String ATTRIBUTE_TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getAttributeType() Attribute Type}' attribute. - * - * - * @see #getAttributeType() - * @generated - * @ordered - */ - protected String attributeType = ATTRIBUTE_TYPE_EDEFAULT; - - /** - * - * - * @generated - */ - protected XmlTransient() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_TRANSIENT; - } - - /** - * 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_TRANSIENT__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.XmlTransient#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_TRANSIENT__ACCESS_METHODS, null, msgs); - if (newAccessMethods != null) - msgs = ((InternalEObject)newAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_TRANSIENT__ACCESS_METHODS, null, msgs); - msgs = basicSetAccessMethods(newAccessMethods, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_TRANSIENT__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 getProperties() - { - if (properties == null) - { - properties = new EObjectContainmentEList(XmlProperty.class, this, EclipseLinkOrmPackage.XML_TRANSIENT__PROPERTIES); - } - return properties; - } - - /** - * 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.XmlTransient#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_TRANSIENT__ATTRIBUTE_TYPE, oldAttributeType, attributeType)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_TRANSIENT__ACCESS_METHODS: - return basicSetAccessMethods(null, msgs); - case EclipseLinkOrmPackage.XML_TRANSIENT__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_TRANSIENT__ACCESS_METHODS: - return getAccessMethods(); - case EclipseLinkOrmPackage.XML_TRANSIENT__PROPERTIES: - return getProperties(); - case EclipseLinkOrmPackage.XML_TRANSIENT__ATTRIBUTE_TYPE: - return getAttributeType(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_TRANSIENT__ACCESS_METHODS: - setAccessMethods((XmlAccessMethods)newValue); - return; - case EclipseLinkOrmPackage.XML_TRANSIENT__PROPERTIES: - getProperties().clear(); - getProperties().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_TRANSIENT__ATTRIBUTE_TYPE: - setAttributeType((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_TRANSIENT__ACCESS_METHODS: - setAccessMethods((XmlAccessMethods)null); - return; - case EclipseLinkOrmPackage.XML_TRANSIENT__PROPERTIES: - getProperties().clear(); - return; - case EclipseLinkOrmPackage.XML_TRANSIENT__ATTRIBUTE_TYPE: - setAttributeType(ATTRIBUTE_TYPE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_TRANSIENT__ACCESS_METHODS: - return accessMethods != null; - case EclipseLinkOrmPackage.XML_TRANSIENT__PROPERTIES: - return properties != null && !properties.isEmpty(); - case EclipseLinkOrmPackage.XML_TRANSIENT__ATTRIBUTE_TYPE: - return ATTRIBUTE_TYPE_EDEFAULT == null ? attributeType != null : !ATTRIBUTE_TYPE_EDEFAULT.equals(attributeType); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public int eBaseStructuralFeatureID(int derivedFeatureID, Class baseClass) - { - if (baseClass == XmlAccessMethodsHolder.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_TRANSIENT__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS; - default: return -1; - } - } - if (baseClass == XmlPropertyContainer.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_TRANSIENT__PROPERTIES: return EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES; - default: return -1; - } - } - if (baseClass == XmlAttributeMapping.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_TRANSIENT__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE; - 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_TRANSIENT__ACCESS_METHODS; - default: return -1; - } - } - if (baseClass == XmlPropertyContainer.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES: return EclipseLinkOrmPackage.XML_TRANSIENT__PROPERTIES; - default: return -1; - } - } - if (baseClass == XmlAttributeMapping.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_TRANSIENT__ATTRIBUTE_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(" (attributeType: "); - result.append(attributeType); - result.append(')'); - return result.toString(); - } - - public TextRange getAttributeTypeTextRange() { - //no attribute-type for one-to-one - return getValidationTextRange(); - } - - - // ********** translators ********** - - public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) { - return new SimpleTranslator( - elementName, - structuralFeature, - Translator.END_TAG_NO_INDENT, - EclipseLinkOrmPackage.eINSTANCE.getXmlTransient(), - buildTranslatorChildren() - ); - } - - private static Translator[] buildTranslatorChildren() { - return new Translator[] { - buildNameTranslator() - }; - } - - // ******** virtual attribute ************ - - public void setVirtualAttributeTypes(String attributeType, String targetType) { - this.setAttributeType(attributeType); - } -} diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTypeConverter.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTypeConverter.java deleted file mode 100644 index b839d9b8d7..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTypeConverter.java +++ /dev/null @@ -1,369 +0,0 @@ -/******************************************************************************* - * 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 Type 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter#getDataType Data Type}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter#getObjectType Object Type}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTypeConverter() - * @model kind="class" - * @generated - */ -public class XmlTypeConverter extends XmlNamedConverter -{ - /** - * The default value of the '{@link #getDataType() Data Type}' attribute. - * - * - * @see #getDataType() - * @generated - * @ordered - */ - protected static final String DATA_TYPE_EDEFAULT = null; - /** - * The cached value of the '{@link #getDataType() Data Type}' attribute. - * - * - * @see #getDataType() - * @generated - * @ordered - */ - protected String dataType = DATA_TYPE_EDEFAULT; - /** - * The default value of the '{@link #getObjectType() Object Type}' attribute. - * - * - * @see #getObjectType() - * @generated - * @ordered - */ - protected static final String OBJECT_TYPE_EDEFAULT = null; - /** - * The cached value of the '{@link #getObjectType() Object Type}' attribute. - * - * - * @see #getObjectType() - * @generated - * @ordered - */ - protected String objectType = OBJECT_TYPE_EDEFAULT; - - /** - * - * - * @generated - */ - protected XmlTypeConverter() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_TYPE_CONVERTER; - } - - /** - * Returns the value of the 'Data Type' attribute. - * - *

- * If the meaning of the 'Data Type' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Data Type' attribute. - * @see #setDataType(String) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTypeConverter_DataType() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - public String getDataType() - { - return dataType; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter#getDataType Data Type}' attribute. - * - * - * @param value the new value of the 'Data Type' attribute. - * @see #getDataType() - * @generated - */ - public void setDataType(String newDataType) - { - String oldDataType = dataType; - dataType = newDataType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_TYPE_CONVERTER__DATA_TYPE, oldDataType, dataType)); - } - - /** - * Returns the value of the 'Object Type' attribute. - * - *

- * If the meaning of the 'Object Type' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Object Type' attribute. - * @see #setObjectType(String) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTypeConverter_ObjectType() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - public String getObjectType() - { - return objectType; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter#getObjectType Object Type}' attribute. - * - * - * @param value the new value of the 'Object Type' attribute. - * @see #getObjectType() - * @generated - */ - public void setObjectType(String newObjectType) - { - String oldObjectType = objectType; - objectType = newObjectType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_TYPE_CONVERTER__OBJECT_TYPE, oldObjectType, objectType)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_TYPE_CONVERTER__DATA_TYPE: - return getDataType(); - case EclipseLinkOrmPackage.XML_TYPE_CONVERTER__OBJECT_TYPE: - return getObjectType(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_TYPE_CONVERTER__DATA_TYPE: - setDataType((String)newValue); - return; - case EclipseLinkOrmPackage.XML_TYPE_CONVERTER__OBJECT_TYPE: - setObjectType((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_TYPE_CONVERTER__DATA_TYPE: - setDataType(DATA_TYPE_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_TYPE_CONVERTER__OBJECT_TYPE: - setObjectType(OBJECT_TYPE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_TYPE_CONVERTER__DATA_TYPE: - return DATA_TYPE_EDEFAULT == null ? dataType != null : !DATA_TYPE_EDEFAULT.equals(dataType); - case EclipseLinkOrmPackage.XML_TYPE_CONVERTER__OBJECT_TYPE: - return OBJECT_TYPE_EDEFAULT == null ? objectType != null : !OBJECT_TYPE_EDEFAULT.equals(objectType); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (dataType: "); - result.append(dataType); - result.append(", objectType: "); - result.append(objectType); - 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[] { - buildNameTranslator(), - buildDataTypeTranslator(), - buildObjectTypeTranslator(), - }; - } - - protected static Translator buildDataTypeTranslator() { - return new Translator(EclipseLink.TYPE_CONVERTER__DATA_TYPE, EclipseLinkOrmPackage.eINSTANCE.getXmlTypeConverter_DataType(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildObjectTypeTranslator() { - return new Translator(EclipseLink.TYPE_CONVERTER__OBJECT_TYPE, EclipseLinkOrmPackage.eINSTANCE.getXmlTypeConverter_ObjectType(), Translator.DOM_ATTRIBUTE); - } - - - // ********** refactoring ********** - - public ReplaceEdit createRenameDataTypeEdit(IType originalType, String newName) { - String originalName = originalType.getTypeQualifiedName(); - int nameIndex = this.dataType.lastIndexOf(originalName); - int offset = getAttributeNode(EclipseLink.TYPE_CONVERTER__DATA_TYPE).getValueRegionStartOffset() + 1; // +1 = opening double quote - return new ReplaceEdit(offset + nameIndex, originalName.length(), newName); - } - - public ReplaceEdit createRenameDataTypePackageEdit(String newPackageName) { - int packageLength = this.dataType.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.TYPE_CONVERTER__DATA_TYPE).getValueRegionStartOffset() + 1; // +1 = opening double quote - return new ReplaceEdit(offset, packageLength, newPackageName); - } - - public ReplaceEdit createRenameObjectTypeEdit(IType originalType, String newName) { - String originalName = originalType.getTypeQualifiedName(); - int nameIndex = this.objectType.lastIndexOf(originalName); - int offset = getAttributeNode(EclipseLink.TYPE_CONVERTER__OBJECT_TYPE).getValueRegionStartOffset() + 1; // +1 = opening double quote - return new ReplaceEdit(offset + nameIndex, originalName.length(), newName); - } - - public ReplaceEdit createRenameObjectTypePackageEdit(String newPackageName) { - int packageLength = this.objectType.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.TYPE_CONVERTER__OBJECT_TYPE).getValueRegionStartOffset() + 1; // +1 = opening double quote - return new ReplaceEdit(offset, packageLength, newPackageName); - } - - // ********** content assist *************** - - public TextRange getObjectTypeCodeAssistTextRange() { - return getAttributeCodeAssistTextRange(EclipseLink.TYPE_CONVERTER__OBJECT_TYPE); - } - - public boolean objectTypeTouches(int pos) { - TextRange textRange = this.getObjectTypeCodeAssistTextRange(); - return (textRange != null) && textRange.touches(pos); - } - - public TextRange getDataTypeCodeAssistTextRange() { - return getAttributeCodeAssistTextRange(EclipseLink.TYPE_CONVERTER__DATA_TYPE); - } - - public boolean dataTypeTouches(int pos) { - TextRange textRange = this.getDataTypeCodeAssistTextRange(); - return (textRange != null) && textRange.touches(pos); - } -} // XmlTypeConverter diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTypeMapping.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTypeMapping.java deleted file mode 100644 index 47128bd90f..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTypeMapping.java +++ /dev/null @@ -1,26 +0,0 @@ -/******************************************************************************* - * 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.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlTypeMapping_2_1; - -/** - * - * A representation of the model object 'Xml Type Mapping'. - * - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTypeMapping() - * @model kind="class" interface="true" abstract="true" - * @generated - */ -public interface XmlTypeMapping extends org.eclipse.jpt.jpa.core.resource.orm.XmlTypeMapping, XmlTypeMapping_2_1 -{ -} // XmlTypeMapping diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlUnionPartitioning.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlUnionPartitioning.java deleted file mode 100644 index a6849ef0de..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlUnionPartitioning.java +++ /dev/null @@ -1,219 +0,0 @@ -/******************************************************************************* - * 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.XmlUnionPartitioning_2_2; -import org.eclipse.wst.common.internal.emf.resource.Translator; - -/** - * - * A representation of the model object 'Xml Union 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#getXmlUnionPartitioning() - * @model kind="class" - * @generated - */ -public class XmlUnionPartitioning extends EBaseObjectImpl implements XmlUnionPartitioning_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 XmlUnionPartitioning() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_UNION_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#getXmlUnionPartitioning_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.XmlUnionPartitioning#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_UNION_PARTITIONING__NAME, oldName, name)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_UNION_PARTITIONING__NAME: - return getName(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_UNION_PARTITIONING__NAME: - setName((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_UNION_PARTITIONING__NAME: - setName(NAME_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_UNION_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.getXmlUnionPartitioning(), - buildTranslatorChildren()); - } - - private static Translator[] buildTranslatorChildren() { - return new Translator[] { - buildNameTranslator() - }; - } - - protected static Translator buildNameTranslator() { - return new Translator(JPA.NAME, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlUnionPartitioning_2_2_Name(), Translator.DOM_ATTRIBUTE); - } -} // XmlUnionPartitioning diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlUuidGenerator.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlUuidGenerator.java deleted file mode 100644 index 1431f66f79..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlUuidGenerator.java +++ /dev/null @@ -1,442 +0,0 @@ -/******************************************************************************* - * 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.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_4.XmlUuidGenerator_2_4; -import org.eclipse.wst.common.internal.emf.resource.Translator; - -/** - * - * A representation of the model object 'Xml Uuid Generator'. - * - * 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#getXmlUuidGenerator() - * @model kind="class" - * @generated - */ -public class XmlUuidGenerator extends EBaseObjectImpl implements XmlUuidGenerator_2_4 -{ - /** - * The default value of the '{@link #getDescription() Description}' attribute. - * - * - * @see #getDescription() - * @generated - * @ordered - */ - protected static final String DESCRIPTION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getDescription() Description}' attribute. - * - * - * @see #getDescription() - * @generated - * @ordered - */ - protected String description = DESCRIPTION_EDEFAULT; - - /** - * 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 #getInitialValue() Initial Value}' attribute. - * - * - * @see #getInitialValue() - * @generated - * @ordered - */ - protected static final Integer INITIAL_VALUE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getInitialValue() Initial Value}' attribute. - * - * - * @see #getInitialValue() - * @generated - * @ordered - */ - protected Integer initialValue = INITIAL_VALUE_EDEFAULT; - - /** - * The default value of the '{@link #getAllocationSize() Allocation Size}' attribute. - * - * - * @see #getAllocationSize() - * @generated - * @ordered - */ - protected static final Integer ALLOCATION_SIZE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getAllocationSize() Allocation Size}' attribute. - * - * - * @see #getAllocationSize() - * @generated - * @ordered - */ - protected Integer allocationSize = ALLOCATION_SIZE_EDEFAULT; - - /** - * - * - * @generated - */ - protected XmlUuidGenerator() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_UUID_GENERATOR; - } - - /** - * Returns the value of the 'Description' attribute. - * - *

- * If the meaning of the 'Description' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Description' attribute. - * @see #setDescription(String) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlGenerator_2_0_Description() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - public String getDescription() - { - return description; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlUuidGenerator#getDescription Description}' attribute. - * - * - * @param value the new value of the 'Description' attribute. - * @see #getDescription() - * @generated - */ - public void setDescription(String newDescription) - { - String oldDescription = description; - description = newDescription; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_UUID_GENERATOR__DESCRIPTION, oldDescription, description)); - } - - /** - * 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#getXmlGenerator_Name() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true" - * @generated - */ - public String getName() - { - return name; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlUuidGenerator#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_UUID_GENERATOR__NAME, oldName, name)); - } - - /** - * Returns the value of the 'Initial Value' attribute. - * - *

- * If the meaning of the 'Initial Value' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Initial Value' attribute. - * @see #setInitialValue(Integer) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlGenerator_InitialValue() - * @model dataType="org.eclipse.emf.ecore.xml.type.IntObject" - * @generated - */ - public Integer getInitialValue() - { - return initialValue; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlUuidGenerator#getInitialValue Initial Value}' attribute. - * - * - * @param value the new value of the 'Initial Value' attribute. - * @see #getInitialValue() - * @generated - */ - public void setInitialValue(Integer newInitialValue) - { - Integer oldInitialValue = initialValue; - initialValue = newInitialValue; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_UUID_GENERATOR__INITIAL_VALUE, oldInitialValue, initialValue)); - } - - /** - * Returns the value of the 'Allocation Size' attribute. - * - *

- * If the meaning of the 'Allocation Size' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Allocation Size' attribute. - * @see #setAllocationSize(Integer) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlGenerator_AllocationSize() - * @model dataType="org.eclipse.emf.ecore.xml.type.IntObject" - * @generated - */ - public Integer getAllocationSize() - { - return allocationSize; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlUuidGenerator#getAllocationSize Allocation Size}' attribute. - * - * - * @param value the new value of the 'Allocation Size' attribute. - * @see #getAllocationSize() - * @generated - */ - public void setAllocationSize(Integer newAllocationSize) - { - Integer oldAllocationSize = allocationSize; - allocationSize = newAllocationSize; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_UUID_GENERATOR__ALLOCATION_SIZE, oldAllocationSize, allocationSize)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_UUID_GENERATOR__DESCRIPTION: - return getDescription(); - case EclipseLinkOrmPackage.XML_UUID_GENERATOR__NAME: - return getName(); - case EclipseLinkOrmPackage.XML_UUID_GENERATOR__INITIAL_VALUE: - return getInitialValue(); - case EclipseLinkOrmPackage.XML_UUID_GENERATOR__ALLOCATION_SIZE: - return getAllocationSize(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_UUID_GENERATOR__DESCRIPTION: - setDescription((String)newValue); - return; - case EclipseLinkOrmPackage.XML_UUID_GENERATOR__NAME: - setName((String)newValue); - return; - case EclipseLinkOrmPackage.XML_UUID_GENERATOR__INITIAL_VALUE: - setInitialValue((Integer)newValue); - return; - case EclipseLinkOrmPackage.XML_UUID_GENERATOR__ALLOCATION_SIZE: - setAllocationSize((Integer)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_UUID_GENERATOR__DESCRIPTION: - setDescription(DESCRIPTION_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_UUID_GENERATOR__NAME: - setName(NAME_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_UUID_GENERATOR__INITIAL_VALUE: - setInitialValue(INITIAL_VALUE_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_UUID_GENERATOR__ALLOCATION_SIZE: - setAllocationSize(ALLOCATION_SIZE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_UUID_GENERATOR__DESCRIPTION: - return DESCRIPTION_EDEFAULT == null ? description != null : !DESCRIPTION_EDEFAULT.equals(description); - case EclipseLinkOrmPackage.XML_UUID_GENERATOR__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case EclipseLinkOrmPackage.XML_UUID_GENERATOR__INITIAL_VALUE: - return INITIAL_VALUE_EDEFAULT == null ? initialValue != null : !INITIAL_VALUE_EDEFAULT.equals(initialValue); - case EclipseLinkOrmPackage.XML_UUID_GENERATOR__ALLOCATION_SIZE: - return ALLOCATION_SIZE_EDEFAULT == null ? allocationSize != null : !ALLOCATION_SIZE_EDEFAULT.equals(allocationSize); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (description: "); - result.append(description); - result.append(", name: "); - result.append(name); - result.append(", initialValue: "); - result.append(initialValue); - result.append(", allocationSize: "); - result.append(allocationSize); - result.append(')'); - return result.toString(); - } - - public TextRange getNameTextRange() { - return getAttributeTextRange(JPA.NAME); - } - - //TODO remove these methods after refactoring XmlGenerator - public TextRange getSchemaCodeAssistTextRange() { - throw new UnsupportedOperationException(); - } - public TextRange getCatalogCodeAssistTextRange() { - throw new UnsupportedOperationException(); - } - public boolean schemaTouches(int pos) { - throw new UnsupportedOperationException(); - } - - public boolean catalogTouches(int pos) { - throw new UnsupportedOperationException(); - } - - // ********** translators ********** - - public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) { - return new SimpleTranslator( - elementName, - structuralFeature, - Translator.END_TAG_NO_INDENT, - EclipseLinkOrmPackage.eINSTANCE.getXmlUuidGenerator(), - buildTranslatorChildren()); - } - - private static Translator[] buildTranslatorChildren() { - return new Translator[] { - buildNameTranslator(), - }; - } - - protected static Translator buildNameTranslator() { - return new Translator(JPA.NAME, OrmPackage.eINSTANCE.getXmlGenerator_Name(), Translator.DOM_ATTRIBUTE); - } - -} // XmlUuidGenerator diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlValuePartitioning.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlValuePartitioning.java deleted file mode 100644 index 9c94cfe0ab..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlValuePartitioning.java +++ /dev/null @@ -1,219 +0,0 @@ -/******************************************************************************* - * 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.XmlValuePartitioning_2_2; -import org.eclipse.wst.common.internal.emf.resource.Translator; - -/** - * - * A representation of the model object 'Xml Value 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#getXmlValuePartitioning() - * @model kind="class" - * @generated - */ -public class XmlValuePartitioning extends EBaseObjectImpl implements XmlValuePartitioning_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 XmlValuePartitioning() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_VALUE_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#getXmlValuePartitioning_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.XmlValuePartitioning#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_VALUE_PARTITIONING__NAME, oldName, name)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_VALUE_PARTITIONING__NAME: - return getName(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_VALUE_PARTITIONING__NAME: - setName((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_VALUE_PARTITIONING__NAME: - setName(NAME_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_VALUE_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.getXmlValuePartitioning(), - buildTranslatorChildren()); - } - - private static Translator[] buildTranslatorChildren() { - return new Translator[] { - buildNameTranslator() - }; - } - - protected static Translator buildNameTranslator() { - return new Translator(JPA.NAME, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlValuePartitioning_2_2_Name(), Translator.DOM_ATTRIBUTE); - } -} // XmlValuePartitioning diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlVariableOneToOne.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlVariableOneToOne.java deleted file mode 100644 index 73a57b8e43..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlVariableOneToOne.java +++ /dev/null @@ -1,1393 +0,0 @@ -/******************************************************************************* - * 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.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.XmlHashPartitioning_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_2.XmlVariableOneToOne_2_2; -import org.eclipse.wst.common.internal.emf.resource.Translator; - -/** - * - * A representation of the model object 'Xml Variable One To One 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.2 - * @since 2.2 - * - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlVariableOneToOne#getTargetInterface Target Interface}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlVariableOneToOne() - * @model kind="class" - * @generated - */ -public class XmlVariableOneToOne extends AbstractXmlAttributeMapping implements XmlAttributeMapping, XmlVariableOneToOne_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 properties; - - /** - * The default value of the '{@link #getAttributeType() Attribute Type}' attribute. - * - * - * @see #getAttributeType() - * @generated - * @ordered - */ - protected static final String ATTRIBUTE_TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getAttributeType() Attribute Type}' attribute. - * - * - * @see #getAttributeType() - * @generated - * @ordered - */ - protected String attributeType = ATTRIBUTE_TYPE_EDEFAULT; - - /** - * The cached value of the '{@link #getPartitioning() Partitioning}' containment reference. - * - * - * @see #getPartitioning() - * @generated - * @ordered - */ - protected XmlPartitioning_2_2 partitioning; - - /** - * The cached value of the '{@link #getReplicationPartitioning() Replication Partitioning}' containment reference. - * - * - * @see #getReplicationPartitioning() - * @generated - * @ordered - */ - protected XmlReplicationPartitioning_2_2 replicationPartitioning; - - /** - * The cached value of the '{@link #getRoundRobinPartitioning() Round Robin Partitioning}' containment reference. - * - * - * @see #getRoundRobinPartitioning() - * @generated - * @ordered - */ - protected XmlRoundRobinPartitioning_2_2 roundRobinPartitioning; - - /** - * The cached value of the '{@link #getPinnedPartitioning() Pinned Partitioning}' containment reference. - * - * - * @see #getPinnedPartitioning() - * @generated - * @ordered - */ - protected XmlPinnedPartitioning_2_2 pinnedPartitioning; - - /** - * The cached value of the '{@link #getRangePartitioning() Range Partitioning}' containment reference. - * - * - * @see #getRangePartitioning() - * @generated - * @ordered - */ - protected XmlRangePartitioning_2_2 rangePartitioning; - - /** - * The cached value of the '{@link #getValuePartitioning() Value Partitioning}' containment reference. - * - * - * @see #getValuePartitioning() - * @generated - * @ordered - */ - protected XmlValuePartitioning_2_2 valuePartitioning; - - /** - * The cached value of the '{@link #getHashPartitioning() Hash Partitioning}' containment reference. - * - * - * @see #getHashPartitioning() - * @generated - * @ordered - */ - protected XmlHashPartitioning_2_2 hashPartitioning; - - /** - * The cached value of the '{@link #getUnionPartitioning() Union Partitioning}' containment reference. - * - * - * @see #getUnionPartitioning() - * @generated - * @ordered - */ - protected XmlUnionPartitioning_2_2 unionPartitioning; - - /** - * The default value of the '{@link #getPartitioned() Partitioned}' attribute. - * - * - * @see #getPartitioned() - * @generated - * @ordered - */ - protected static final String PARTITIONED_EDEFAULT = null; - - /** - * The cached value of the '{@link #getPartitioned() Partitioned}' attribute. - * - * - * @see #getPartitioned() - * @generated - * @ordered - */ - protected String partitioned = PARTITIONED_EDEFAULT; - - /** - * The default value of the '{@link #isNonCacheable() Non Cacheable}' attribute. - * - * - * @see #isNonCacheable() - * @generated - * @ordered - */ - protected static final boolean NON_CACHEABLE_EDEFAULT = false; - - /** - * The cached value of the '{@link #isNonCacheable() Non Cacheable}' attribute. - * - * - * @see #isNonCacheable() - * @generated - * @ordered - */ - protected boolean nonCacheable = NON_CACHEABLE_EDEFAULT; - - /** - * The default value of the '{@link #getTargetInterface() Target Interface}' attribute. - * - * - * @see #getTargetInterface() - * @generated - * @ordered - */ - protected static final String TARGET_INTERFACE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getTargetInterface() Target Interface}' attribute. - * - * - * @see #getTargetInterface() - * @generated - * @ordered - */ - protected String targetInterface = TARGET_INTERFACE_EDEFAULT; - - /** - * - * - * @generated - */ - protected XmlVariableOneToOne() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_VARIABLE_ONE_TO_ONE; - } - - /** - * 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_VARIABLE_ONE_TO_ONE__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.XmlVariableOneToOne#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_VARIABLE_ONE_TO_ONE__ACCESS_METHODS, null, msgs); - if (newAccessMethods != null) - msgs = ((InternalEObject)newAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__ACCESS_METHODS, null, msgs); - msgs = basicSetAccessMethods(newAccessMethods, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__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 getProperties() - { - if (properties == null) - { - properties = new EObjectContainmentEList(XmlProperty.class, this, EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PROPERTIES); - } - return properties; - } - - /** - * 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.XmlVariableOneToOne#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_VARIABLE_ONE_TO_ONE__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_VARIABLE_ONE_TO_ONE__PARTITIONING, oldPartitioning, newPartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlVariableOneToOne#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_VARIABLE_ONE_TO_ONE__PARTITIONING, null, msgs); - if (newPartitioning != null) - msgs = ((InternalEObject)newPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PARTITIONING, null, msgs); - msgs = basicSetPartitioning(newPartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__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_VARIABLE_ONE_TO_ONE__REPLICATION_PARTITIONING, oldReplicationPartitioning, newReplicationPartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlVariableOneToOne#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_VARIABLE_ONE_TO_ONE__REPLICATION_PARTITIONING, null, msgs); - if (newReplicationPartitioning != null) - msgs = ((InternalEObject)newReplicationPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__REPLICATION_PARTITIONING, null, msgs); - msgs = basicSetReplicationPartitioning(newReplicationPartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__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_VARIABLE_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING, oldRoundRobinPartitioning, newRoundRobinPartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlVariableOneToOne#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_VARIABLE_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING, null, msgs); - if (newRoundRobinPartitioning != null) - msgs = ((InternalEObject)newRoundRobinPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING, null, msgs); - msgs = basicSetRoundRobinPartitioning(newRoundRobinPartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__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_VARIABLE_ONE_TO_ONE__PINNED_PARTITIONING, oldPinnedPartitioning, newPinnedPartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlVariableOneToOne#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_VARIABLE_ONE_TO_ONE__PINNED_PARTITIONING, null, msgs); - if (newPinnedPartitioning != null) - msgs = ((InternalEObject)newPinnedPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PINNED_PARTITIONING, null, msgs); - msgs = basicSetPinnedPartitioning(newPinnedPartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__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_VARIABLE_ONE_TO_ONE__RANGE_PARTITIONING, oldRangePartitioning, newRangePartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlVariableOneToOne#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_VARIABLE_ONE_TO_ONE__RANGE_PARTITIONING, null, msgs); - if (newRangePartitioning != null) - msgs = ((InternalEObject)newRangePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__RANGE_PARTITIONING, null, msgs); - msgs = basicSetRangePartitioning(newRangePartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__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_VARIABLE_ONE_TO_ONE__VALUE_PARTITIONING, oldValuePartitioning, newValuePartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlVariableOneToOne#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_VARIABLE_ONE_TO_ONE__VALUE_PARTITIONING, null, msgs); - if (newValuePartitioning != null) - msgs = ((InternalEObject)newValuePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__VALUE_PARTITIONING, null, msgs); - msgs = basicSetValuePartitioning(newValuePartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__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_VARIABLE_ONE_TO_ONE__HASH_PARTITIONING, oldHashPartitioning, newHashPartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlVariableOneToOne#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_VARIABLE_ONE_TO_ONE__HASH_PARTITIONING, null, msgs); - if (newHashPartitioning != null) - msgs = ((InternalEObject)newHashPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__HASH_PARTITIONING, null, msgs); - msgs = basicSetHashPartitioning(newHashPartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__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_VARIABLE_ONE_TO_ONE__UNION_PARTITIONING, oldUnionPartitioning, newUnionPartitioning); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlVariableOneToOne#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_VARIABLE_ONE_TO_ONE__UNION_PARTITIONING, null, msgs); - if (newUnionPartitioning != null) - msgs = ((InternalEObject)newUnionPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__UNION_PARTITIONING, null, msgs); - msgs = basicSetUnionPartitioning(newUnionPartitioning, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__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.XmlVariableOneToOne#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_VARIABLE_ONE_TO_ONE__PARTITIONED, oldPartitioned, partitioned)); - } - - /** - * Returns the value of the 'Non Cacheable' attribute. - * - *

- * If the meaning of the 'Non Cacheable' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Non Cacheable' attribute. - * @see #setNonCacheable(boolean) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlVariableOneToOne_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.XmlVariableOneToOne#isNonCacheable Non Cacheable}' attribute. - * - * - * @param value the new value of the 'Non Cacheable' attribute. - * @see #isNonCacheable() - * @generated - */ - public void setNonCacheable(boolean newNonCacheable) - { - boolean oldNonCacheable = nonCacheable; - nonCacheable = newNonCacheable; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__NON_CACHEABLE, oldNonCacheable, nonCacheable)); - } - - /** - * Returns the value of the 'Target Interface' attribute. - * - *

- * If the meaning of the 'Target Interface' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Target Interface' attribute. - * @see #setTargetInterface(String) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlVariableOneToOne_TargetInterface() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - public String getTargetInterface() - { - return targetInterface; - } - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlVariableOneToOne#getTargetInterface Target Interface}' attribute. - * - * - * @param value the new value of the 'Target Interface' attribute. - * @see #getTargetInterface() - * @generated - */ - public void setTargetInterface(String newTargetInterface) - { - String oldTargetInterface = targetInterface; - targetInterface = newTargetInterface; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__TARGET_INTERFACE, oldTargetInterface, targetInterface)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__ACCESS_METHODS: - return basicSetAccessMethods(null, msgs); - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PROPERTIES: - return ((InternalEList)getProperties()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PARTITIONING: - return basicSetPartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__REPLICATION_PARTITIONING: - return basicSetReplicationPartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING: - return basicSetRoundRobinPartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PINNED_PARTITIONING: - return basicSetPinnedPartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__RANGE_PARTITIONING: - return basicSetRangePartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__VALUE_PARTITIONING: - return basicSetValuePartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__HASH_PARTITIONING: - return basicSetHashPartitioning(null, msgs); - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__UNION_PARTITIONING: - return basicSetUnionPartitioning(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__ACCESS_METHODS: - return getAccessMethods(); - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PROPERTIES: - return getProperties(); - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__ATTRIBUTE_TYPE: - return getAttributeType(); - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PARTITIONING: - return getPartitioning(); - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__REPLICATION_PARTITIONING: - return getReplicationPartitioning(); - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING: - return getRoundRobinPartitioning(); - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PINNED_PARTITIONING: - return getPinnedPartitioning(); - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__RANGE_PARTITIONING: - return getRangePartitioning(); - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__VALUE_PARTITIONING: - return getValuePartitioning(); - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__HASH_PARTITIONING: - return getHashPartitioning(); - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__UNION_PARTITIONING: - return getUnionPartitioning(); - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PARTITIONED: - return getPartitioned(); - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__NON_CACHEABLE: - return isNonCacheable(); - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__TARGET_INTERFACE: - return getTargetInterface(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__ACCESS_METHODS: - setAccessMethods((XmlAccessMethods)newValue); - return; - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PROPERTIES: - getProperties().clear(); - getProperties().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__ATTRIBUTE_TYPE: - setAttributeType((String)newValue); - return; - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PARTITIONING: - setPartitioning((XmlPartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__REPLICATION_PARTITIONING: - setReplicationPartitioning((XmlReplicationPartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING: - setRoundRobinPartitioning((XmlRoundRobinPartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PINNED_PARTITIONING: - setPinnedPartitioning((XmlPinnedPartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__RANGE_PARTITIONING: - setRangePartitioning((XmlRangePartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__VALUE_PARTITIONING: - setValuePartitioning((XmlValuePartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__HASH_PARTITIONING: - setHashPartitioning((XmlHashPartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__UNION_PARTITIONING: - setUnionPartitioning((XmlUnionPartitioning_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PARTITIONED: - setPartitioned((String)newValue); - return; - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__NON_CACHEABLE: - setNonCacheable((Boolean)newValue); - return; - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__TARGET_INTERFACE: - setTargetInterface((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__ACCESS_METHODS: - setAccessMethods((XmlAccessMethods)null); - return; - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PROPERTIES: - getProperties().clear(); - return; - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__ATTRIBUTE_TYPE: - setAttributeType(ATTRIBUTE_TYPE_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PARTITIONING: - setPartitioning((XmlPartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__REPLICATION_PARTITIONING: - setReplicationPartitioning((XmlReplicationPartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING: - setRoundRobinPartitioning((XmlRoundRobinPartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PINNED_PARTITIONING: - setPinnedPartitioning((XmlPinnedPartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__RANGE_PARTITIONING: - setRangePartitioning((XmlRangePartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__VALUE_PARTITIONING: - setValuePartitioning((XmlValuePartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__HASH_PARTITIONING: - setHashPartitioning((XmlHashPartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__UNION_PARTITIONING: - setUnionPartitioning((XmlUnionPartitioning_2_2)null); - return; - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PARTITIONED: - setPartitioned(PARTITIONED_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__NON_CACHEABLE: - setNonCacheable(NON_CACHEABLE_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__TARGET_INTERFACE: - setTargetInterface(TARGET_INTERFACE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__ACCESS_METHODS: - return accessMethods != null; - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PROPERTIES: - return properties != null && !properties.isEmpty(); - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__ATTRIBUTE_TYPE: - return ATTRIBUTE_TYPE_EDEFAULT == null ? attributeType != null : !ATTRIBUTE_TYPE_EDEFAULT.equals(attributeType); - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PARTITIONING: - return partitioning != null; - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__REPLICATION_PARTITIONING: - return replicationPartitioning != null; - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING: - return roundRobinPartitioning != null; - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PINNED_PARTITIONING: - return pinnedPartitioning != null; - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__RANGE_PARTITIONING: - return rangePartitioning != null; - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__VALUE_PARTITIONING: - return valuePartitioning != null; - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__HASH_PARTITIONING: - return hashPartitioning != null; - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__UNION_PARTITIONING: - return unionPartitioning != null; - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PARTITIONED: - return PARTITIONED_EDEFAULT == null ? partitioned != null : !PARTITIONED_EDEFAULT.equals(partitioned); - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__NON_CACHEABLE: - return nonCacheable != NON_CACHEABLE_EDEFAULT; - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__TARGET_INTERFACE: - return TARGET_INTERFACE_EDEFAULT == null ? targetInterface != null : !TARGET_INTERFACE_EDEFAULT.equals(targetInterface); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public int eBaseStructuralFeatureID(int derivedFeatureID, Class baseClass) - { - if (baseClass == XmlAccessMethodsHolder.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS; - default: return -1; - } - } - if (baseClass == XmlPropertyContainer.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PROPERTIES: return EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES; - default: return -1; - } - } - if (baseClass == XmlAttributeMapping.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE; - default: return -1; - } - } - if (baseClass == XmlPartitioningGroup_2_2.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONING; - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__REPLICATION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING; - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING; - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PINNED_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING; - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__RANGE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING; - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__VALUE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING; - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__HASH_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__HASH_PARTITIONING; - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__UNION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__UNION_PARTITIONING; - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PARTITIONED: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONED; - default: return -1; - } - } - if (baseClass == XmlVariableOneToOne_2_2.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__NON_CACHEABLE: return EclipseLinkOrmV2_2Package.XML_VARIABLE_ONE_TO_ONE_22__NON_CACHEABLE; - 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_VARIABLE_ONE_TO_ONE__ACCESS_METHODS; - default: return -1; - } - } - if (baseClass == XmlPropertyContainer.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES: return EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PROPERTIES; - default: return -1; - } - } - if (baseClass == XmlAttributeMapping.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__ATTRIBUTE_TYPE; - default: return -1; - } - } - if (baseClass == XmlPartitioningGroup_2_2.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONING: return EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING: return EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__REPLICATION_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING: return EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PINNED_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING: return EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__RANGE_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING: return EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__VALUE_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__HASH_PARTITIONING: return EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__HASH_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__UNION_PARTITIONING: return EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__UNION_PARTITIONING; - case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONED: return EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__PARTITIONED; - default: return -1; - } - } - if (baseClass == XmlVariableOneToOne_2_2.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_2Package.XML_VARIABLE_ONE_TO_ONE_22__NON_CACHEABLE: return EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE__NON_CACHEABLE; - 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(", partitioned: "); - result.append(partitioned); - result.append(", nonCacheable: "); - result.append(nonCacheable); - result.append(", targetInterface: "); - result.append(targetInterface); - result.append(')'); - return result.toString(); - } - - public String getMappingKey() { - return EclipseLinkMappingKeys.VARIABLE_ONE_TO_ONE_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(), - buildTargetInterfaceTranslator(), - buildAccessTranslator(), - }; - } - // ********** translators ********** - - protected static Translator buildTargetInterfaceTranslator() { - return new Translator(EclipseLink.VARIABLE_ONE_TO_ONE__TARGET_INTERFACE, EclipseLinkOrmPackage.eINSTANCE.getXmlVariableOneToOne_TargetInterface(), Translator.DOM_ATTRIBUTE); - } - - // ******** virtual attribute ************ - - public void setVirtualAttributeTypes(String attributeType, String targetInterface) { - this.setAttributeType(attributeType); - //TODO support this in the UI if we ever fully add Var 1-1 mapping support - this.setTargetInterface(targetInterface); - } - - // *********** content assist ************ - - protected TextRange getTargetInterfaceCodeAssistTextRange() { - return getAttributeCodeAssistTextRange(EclipseLink.VARIABLE_ONE_TO_ONE__TARGET_INTERFACE); - } - - public boolean targetInterfaceTouches(int pos) { - TextRange textRange = this.getTargetInterfaceCodeAssistTextRange(); - return (textRange != null) && (textRange.touches(pos)); - } - -} diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlVersion.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlVersion.java deleted file mode 100644 index cb46b87248..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlVersion.java +++ /dev/null @@ -1,1004 +0,0 @@ -/******************************************************************************* - * 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.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.XmlIndex_2_2; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlVersion_2_2; -import org.eclipse.wst.common.internal.emf.resource.Translator; - -/** - * - * - * A representation of the model object 'Xml Version'. - * - * 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#getXmlVersion() - * @model kind="class" - * @generated - */ -public class XmlVersion extends org.eclipse.jpt.jpa.core.resource.orm.XmlVersion implements XmlVersion_2_2, 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 #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 properties; - - /** - * The default value of the '{@link #getAttributeType() Attribute Type}' attribute. - * - * - * @see #getAttributeType() - * @generated - * @ordered - */ - protected static final String ATTRIBUTE_TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getAttributeType() Attribute Type}' attribute. - * - * - * @see #getAttributeType() - * @generated - * @ordered - */ - protected String attributeType = ATTRIBUTE_TYPE_EDEFAULT; - - /** - * The default value of the '{@link #getMutable() Mutable}' attribute. - * - * - * @see #getMutable() - * @generated - * @ordered - */ - protected static final Boolean MUTABLE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getMutable() Mutable}' attribute. - * - * - * @see #getMutable() - * @generated - * @ordered - */ - protected Boolean mutable = MUTABLE_EDEFAULT; - - /** - * The default value of the '{@link #getConvert() Convert}' attribute. - * - * - * @see #getConvert() - * @generated - * @ordered - */ - protected static final String CONVERT_EDEFAULT = null; - - /** - * The cached value of the '{@link #getConvert() Convert}' attribute. - * - * - * @see #getConvert() - * @generated - * @ordered - */ - protected String convert = CONVERT_EDEFAULT; - - /** - * The cached value of the '{@link #getConverters() Converters}' containment reference list. - * - * - * @see #getConverters() - * @generated - * @ordered - */ - protected EList converters; - - /** - * The cached value of the '{@link #getTypeConverters() Type Converters}' containment reference list. - * - * - * @see #getTypeConverters() - * @generated - * @ordered - */ - protected EList typeConverters; - - /** - * The cached value of the '{@link #getObjectTypeConverters() Object Type Converters}' containment reference list. - * - * - * @see #getObjectTypeConverters() - * @generated - * @ordered - */ - protected EList objectTypeConverters; - - /** - * The cached value of the '{@link #getStructConverters() Struct Converters}' containment reference list. - * - * - * @see #getStructConverters() - * @generated - * @ordered - */ - protected EList structConverters; - - /** - * - * - * @generated - */ - protected XmlVersion() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return EclipseLinkOrmPackage.Literals.XML_VERSION; - } - - /** - * 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.XmlVersion#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_VERSION__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#getXmlVersion_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_VERSION__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.XmlVersion#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_VERSION__INDEX, null, msgs); - if (newIndex != null) - msgs = ((InternalEObject)newIndex).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_VERSION__INDEX, null, msgs); - msgs = basicSetIndex(newIndex, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_VERSION__INDEX, newIndex, newIndex)); - } - - /** - * 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.XmlVersion#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_VERSION__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.XmlVersion#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_VERSION__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 getConverters() - { - if (converters == null) - { - converters = new EObjectContainmentEList(XmlConverter.class, this, EclipseLinkOrmPackage.XML_VERSION__CONVERTERS); - } - return converters; - } - - /** - * Returns the value of the 'Type Converters' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter}. - * - *

- * 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 getTypeConverters() - { - if (typeConverters == null) - { - typeConverters = new EObjectContainmentEList(XmlTypeConverter.class, this, EclipseLinkOrmPackage.XML_VERSION__TYPE_CONVERTERS); - } - return typeConverters; - } - - /** - * Returns the value of the 'Object Type Converters' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter}. - * - *

- * 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 getObjectTypeConverters() - { - if (objectTypeConverters == null) - { - objectTypeConverters = new EObjectContainmentEList(XmlObjectTypeConverter.class, this, EclipseLinkOrmPackage.XML_VERSION__OBJECT_TYPE_CONVERTERS); - } - return objectTypeConverters; - } - - /** - * Returns the value of the 'Struct Converters' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructConverter}. - * - *

- * 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 getStructConverters() - { - if (structConverters == null) - { - structConverters = new EObjectContainmentEList(XmlStructConverter.class, this, EclipseLinkOrmPackage.XML_VERSION__STRUCT_CONVERTERS); - } - return structConverters; - } - - /** - * 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_VERSION__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.XmlVersion#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_VERSION__ACCESS_METHODS, null, msgs); - if (newAccessMethods != null) - msgs = ((InternalEObject)newAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_VERSION__ACCESS_METHODS, null, msgs); - msgs = basicSetAccessMethods(newAccessMethods, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_VERSION__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 getProperties() - { - if (properties == null) - { - properties = new EObjectContainmentEList(XmlProperty.class, this, EclipseLinkOrmPackage.XML_VERSION__PROPERTIES); - } - return properties; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_VERSION__INDEX: - return basicSetIndex(null, msgs); - case EclipseLinkOrmPackage.XML_VERSION__ACCESS_METHODS: - return basicSetAccessMethods(null, msgs); - case EclipseLinkOrmPackage.XML_VERSION__PROPERTIES: - return ((InternalEList)getProperties()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_VERSION__CONVERTERS: - return ((InternalEList)getConverters()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_VERSION__TYPE_CONVERTERS: - return ((InternalEList)getTypeConverters()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_VERSION__OBJECT_TYPE_CONVERTERS: - return ((InternalEList)getObjectTypeConverters()).basicRemove(otherEnd, msgs); - case EclipseLinkOrmPackage.XML_VERSION__STRUCT_CONVERTERS: - return ((InternalEList)getStructConverters()).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_VERSION__INDEX: - return getIndex(); - case EclipseLinkOrmPackage.XML_VERSION__ACCESS_METHODS: - return getAccessMethods(); - case EclipseLinkOrmPackage.XML_VERSION__PROPERTIES: - return getProperties(); - case EclipseLinkOrmPackage.XML_VERSION__ATTRIBUTE_TYPE: - return getAttributeType(); - case EclipseLinkOrmPackage.XML_VERSION__MUTABLE: - return getMutable(); - case EclipseLinkOrmPackage.XML_VERSION__CONVERT: - return getConvert(); - case EclipseLinkOrmPackage.XML_VERSION__CONVERTERS: - return getConverters(); - case EclipseLinkOrmPackage.XML_VERSION__TYPE_CONVERTERS: - return getTypeConverters(); - case EclipseLinkOrmPackage.XML_VERSION__OBJECT_TYPE_CONVERTERS: - return getObjectTypeConverters(); - case EclipseLinkOrmPackage.XML_VERSION__STRUCT_CONVERTERS: - return getStructConverters(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_VERSION__INDEX: - setIndex((XmlIndex_2_2)newValue); - return; - case EclipseLinkOrmPackage.XML_VERSION__ACCESS_METHODS: - setAccessMethods((XmlAccessMethods)newValue); - return; - case EclipseLinkOrmPackage.XML_VERSION__PROPERTIES: - getProperties().clear(); - getProperties().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_VERSION__ATTRIBUTE_TYPE: - setAttributeType((String)newValue); - return; - case EclipseLinkOrmPackage.XML_VERSION__MUTABLE: - setMutable((Boolean)newValue); - return; - case EclipseLinkOrmPackage.XML_VERSION__CONVERT: - setConvert((String)newValue); - return; - case EclipseLinkOrmPackage.XML_VERSION__CONVERTERS: - getConverters().clear(); - getConverters().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_VERSION__TYPE_CONVERTERS: - getTypeConverters().clear(); - getTypeConverters().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_VERSION__OBJECT_TYPE_CONVERTERS: - getObjectTypeConverters().clear(); - getObjectTypeConverters().addAll((Collection)newValue); - return; - case EclipseLinkOrmPackage.XML_VERSION__STRUCT_CONVERTERS: - getStructConverters().clear(); - getStructConverters().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_VERSION__INDEX: - setIndex((XmlIndex_2_2)null); - return; - case EclipseLinkOrmPackage.XML_VERSION__ACCESS_METHODS: - setAccessMethods((XmlAccessMethods)null); - return; - case EclipseLinkOrmPackage.XML_VERSION__PROPERTIES: - getProperties().clear(); - return; - case EclipseLinkOrmPackage.XML_VERSION__ATTRIBUTE_TYPE: - setAttributeType(ATTRIBUTE_TYPE_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_VERSION__MUTABLE: - setMutable(MUTABLE_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_VERSION__CONVERT: - setConvert(CONVERT_EDEFAULT); - return; - case EclipseLinkOrmPackage.XML_VERSION__CONVERTERS: - getConverters().clear(); - return; - case EclipseLinkOrmPackage.XML_VERSION__TYPE_CONVERTERS: - getTypeConverters().clear(); - return; - case EclipseLinkOrmPackage.XML_VERSION__OBJECT_TYPE_CONVERTERS: - getObjectTypeConverters().clear(); - return; - case EclipseLinkOrmPackage.XML_VERSION__STRUCT_CONVERTERS: - getStructConverters().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case EclipseLinkOrmPackage.XML_VERSION__INDEX: - return index != null; - case EclipseLinkOrmPackage.XML_VERSION__ACCESS_METHODS: - return accessMethods != null; - case EclipseLinkOrmPackage.XML_VERSION__PROPERTIES: - return properties != null && !properties.isEmpty(); - case EclipseLinkOrmPackage.XML_VERSION__ATTRIBUTE_TYPE: - return ATTRIBUTE_TYPE_EDEFAULT == null ? attributeType != null : !ATTRIBUTE_TYPE_EDEFAULT.equals(attributeType); - case EclipseLinkOrmPackage.XML_VERSION__MUTABLE: - return MUTABLE_EDEFAULT == null ? mutable != null : !MUTABLE_EDEFAULT.equals(mutable); - case EclipseLinkOrmPackage.XML_VERSION__CONVERT: - return CONVERT_EDEFAULT == null ? convert != null : !CONVERT_EDEFAULT.equals(convert); - case EclipseLinkOrmPackage.XML_VERSION__CONVERTERS: - return converters != null && !converters.isEmpty(); - case EclipseLinkOrmPackage.XML_VERSION__TYPE_CONVERTERS: - return typeConverters != null && !typeConverters.isEmpty(); - case EclipseLinkOrmPackage.XML_VERSION__OBJECT_TYPE_CONVERTERS: - return objectTypeConverters != null && !objectTypeConverters.isEmpty(); - case EclipseLinkOrmPackage.XML_VERSION__STRUCT_CONVERTERS: - return structConverters != null && !structConverters.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public int eBaseStructuralFeatureID(int derivedFeatureID, Class baseClass) - { - if (baseClass == XmlVersion_2_2.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_VERSION__INDEX: return EclipseLinkOrmV2_2Package.XML_VERSION_22__INDEX; - default: return -1; - } - } - if (baseClass == XmlAccessMethodsHolder.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_VERSION__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS; - default: return -1; - } - } - if (baseClass == XmlPropertyContainer.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_VERSION__PROPERTIES: return EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES; - default: return -1; - } - } - if (baseClass == XmlAttributeMapping.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_VERSION__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE; - default: return -1; - } - } - if (baseClass == XmlMutable.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_VERSION__MUTABLE: return EclipseLinkOrmPackage.XML_MUTABLE__MUTABLE; - default: return -1; - } - } - if (baseClass == XmlConvertibleMapping.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_VERSION__CONVERT: return EclipseLinkOrmPackage.XML_CONVERTIBLE_MAPPING__CONVERT; - default: return -1; - } - } - if (baseClass == XmlConverterContainer.class) - { - switch (derivedFeatureID) - { - case EclipseLinkOrmPackage.XML_VERSION__CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__CONVERTERS; - case EclipseLinkOrmPackage.XML_VERSION__TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__TYPE_CONVERTERS; - case EclipseLinkOrmPackage.XML_VERSION__OBJECT_TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS; - case EclipseLinkOrmPackage.XML_VERSION__STRUCT_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS; - default: return -1; - } - } - return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); - } - - /** - * - * - * @generated - */ - @Override - public int eDerivedStructuralFeatureID(int baseFeatureID, Class baseClass) - { - if (baseClass == XmlVersion_2_2.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmV2_2Package.XML_VERSION_22__INDEX: return EclipseLinkOrmPackage.XML_VERSION__INDEX; - default: return -1; - } - } - if (baseClass == XmlAccessMethodsHolder.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_VERSION__ACCESS_METHODS; - default: return -1; - } - } - if (baseClass == XmlPropertyContainer.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES: return EclipseLinkOrmPackage.XML_VERSION__PROPERTIES; - default: return -1; - } - } - if (baseClass == XmlAttributeMapping.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_VERSION__ATTRIBUTE_TYPE; - default: return -1; - } - } - if (baseClass == XmlMutable.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_MUTABLE__MUTABLE: return EclipseLinkOrmPackage.XML_VERSION__MUTABLE; - default: return -1; - } - } - if (baseClass == XmlConvertibleMapping.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_CONVERTIBLE_MAPPING__CONVERT: return EclipseLinkOrmPackage.XML_VERSION__CONVERT; - default: return -1; - } - } - if (baseClass == XmlConverterContainer.class) - { - switch (baseFeatureID) - { - case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__CONVERTERS: return EclipseLinkOrmPackage.XML_VERSION__CONVERTERS; - case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_VERSION__TYPE_CONVERTERS; - case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_VERSION__OBJECT_TYPE_CONVERTERS; - case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS: return EclipseLinkOrmPackage.XML_VERSION__STRUCT_CONVERTERS; - 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(", mutable: "); - result.append(mutable); - result.append(", convert: "); - result.append(convert); - result.append(')'); - return result.toString(); - } - - public TextRange getMutableTextRange() { - return getAttributeTextRange(EclipseLink.MUTABLE); - } - - 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.getXmlVersion(), - buildTranslatorChildren()); - } - - private static Translator[] buildTranslatorChildren() { - return new Translator[] { - buildNameTranslator(), - buildAccessTranslator(), - buildMutableTranslator(), - buildAttributeTypeTranslator(), - buildColumnTranslator(), - buildIndexTranslator(), - buildTemporalTranslator(), - buildConvertTranslator(), - buildConverterTranslator(), - buildTypeConverterTranslator(), - buildObjectTypeConverterTranslator(), - buildStructConverterTranslator(), - buildPropertyTranslator(), - buildAccessMethodsTranslator() - }; - } - - protected static Translator buildMutableTranslator() { - return new Translator(EclipseLink.MUTABLE, EclipseLinkOrmPackage.eINSTANCE.getXmlMutable_Mutable(), Translator.DOM_ATTRIBUTE); - } - - protected static Translator buildIndexTranslator() { - return XmlIndex.buildTranslator(EclipseLink2_2.INDEX, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlVersion_2_2_Index()); - } - - 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 buildAttributeTypeTranslator() { - return new Translator(EclipseLink2_1.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_1.ATTRIBUTE_TYPE); - } - - public boolean attributeTypeTouches(int pos) { - TextRange textRange = this.getAttributeTypeCodeAssistTextRange(); - return (textRange != null) && (textRange.touches(pos)); - } - - // ******** virtual attribute ************ - - public void setVirtualAttributeTypes(String attributeType, String targetType) { - this.setAttributeType(attributeType); - } -} diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/EclipseLinkOrmV1_1Factory.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/EclipseLinkOrmV1_1Factory.java deleted file mode 100644 index e96e4dc88e..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/EclipseLinkOrmV1_1Factory.java +++ /dev/null @@ -1,166 +0,0 @@ -/******************************************************************************* - * 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.v1_1; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.impl.EFactoryImpl; -import org.eclipse.emf.ecore.plugin.EcorePlugin; - -/** - * - * The Factory for the model. - * It provides a create method for each non-abstract class of the model. - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package - * @generated - */ -public class EclipseLinkOrmV1_1Factory extends EFactoryImpl -{ - /** - * The singleton instance of the factory. - * - * - * @generated - */ - public static final EclipseLinkOrmV1_1Factory eINSTANCE = init(); - - /** - * Creates the default factory implementation. - * - * - * @generated - */ - public static EclipseLinkOrmV1_1Factory init() - { - try - { - EclipseLinkOrmV1_1Factory theEclipseLinkOrmV1_1Factory = (EclipseLinkOrmV1_1Factory)EPackage.Registry.INSTANCE.getEFactory("jpt.eclipselink.orm.v1_1.xmi"); - if (theEclipseLinkOrmV1_1Factory != null) - { - return theEclipseLinkOrmV1_1Factory; - } - } - catch (Exception exception) - { - EcorePlugin.INSTANCE.log(exception); - } - return new EclipseLinkOrmV1_1Factory(); - } - - /** - * Creates an instance of the factory. - * - * - * @generated - */ - public EclipseLinkOrmV1_1Factory() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - public EObject create(EClass eClass) - { - switch (eClass.getClassifierID()) - { - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - @Override - public Object createFromString(EDataType eDataType, String initialValue) - { - switch (eDataType.getClassifierID()) - { - case EclipseLinkOrmV1_1Package.ID_VALIDATION_TYPE_11: - return createIdValidationType_1_1FromString(eDataType, initialValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - @Override - public String convertToString(EDataType eDataType, Object instanceValue) - { - switch (eDataType.getClassifierID()) - { - case EclipseLinkOrmV1_1Package.ID_VALIDATION_TYPE_11: - return convertIdValidationType_1_1ToString(eDataType, instanceValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - public IdValidationType_1_1 createIdValidationType_1_1FromString(EDataType eDataType, String initialValue) - { - IdValidationType_1_1 result = IdValidationType_1_1.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * - * - * @generated - */ - public String convertIdValidationType_1_1ToString(EDataType eDataType, Object instanceValue) - { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * - * - * @generated - */ - public EclipseLinkOrmV1_1Package getEclipseLinkOrmV1_1Package() - { - return (EclipseLinkOrmV1_1Package)getEPackage(); - } - - /** - * - * - * @deprecated - * @generated - */ - @Deprecated - public static EclipseLinkOrmV1_1Package getPackage() - { - return EclipseLinkOrmV1_1Package.eINSTANCE; - } - -} //EclipseLinkOrmV1_1Factory diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/EclipseLinkOrmV1_1Package.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/EclipseLinkOrmV1_1Package.java deleted file mode 100644 index 2936907052..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/EclipseLinkOrmV1_1Package.java +++ /dev/null @@ -1,694 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2009, 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.v1_1; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EEnum; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; -import org.eclipse.emf.ecore.impl.EPackageImpl; -import org.eclipse.jpt.jpa.core.resource.orm.OrmPackage; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package; - -/** - * - * The Package for the model. - * It contains accessors for the meta objects to represent - *
    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • - *
- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Factory - * @model kind="package" - * @generated - */ -public class EclipseLinkOrmV1_1Package extends EPackageImpl -{ - /** - * The package name. - * - * - * @generated - */ - public static final String eNAME = "v1_1"; - - /** - * The package namespace URI. - * - * - * @generated - */ - public static final String eNS_URI = "jpt.eclipselink.orm.v1_1.xmi"; - - /** - * The package namespace name. - * - * - * @generated - */ - public static final String eNS_PREFIX = "org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1"; - - /** - * The singleton instance of the package. - * - * - * @generated - */ - public static final EclipseLinkOrmV1_1Package eINSTANCE = org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package.init(); - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlBasic_1_1 Xml Basic 11}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlBasic_1_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package#getXmlBasic_1_1() - * @generated - */ - public static final int XML_BASIC_11 = 0; - - /** - * The feature id for the 'Sequence Generator' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC_11__SEQUENCE_GENERATOR = OrmPackage.XML_GENERATOR_CONTAINER__SEQUENCE_GENERATOR; - - /** - * The feature id for the 'Table Generator' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC_11__TABLE_GENERATOR = OrmPackage.XML_GENERATOR_CONTAINER__TABLE_GENERATOR; - - /** - * The feature id for the 'Generated Value' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC_11__GENERATED_VALUE = OrmPackage.XML_GENERATOR_CONTAINER_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Xml Basic 11' class. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC_11_FEATURE_COUNT = OrmPackage.XML_GENERATOR_CONTAINER_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlEntity_1_1 Xml Entity 11}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlEntity_1_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package#getXmlEntity_1_1() - * @generated - */ - public static final int XML_ENTITY_11 = 1; - - /** - * The feature id for the 'Primary Key' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_11__PRIMARY_KEY = 0; - - /** - * The number of structural features of the 'Xml Entity 11' class. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_11_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlMappedSuperclass_1_1 Xml Mapped Superclass 11}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlMappedSuperclass_1_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package#getXmlMappedSuperclass_1_1() - * @generated - */ - public static final int XML_MAPPED_SUPERCLASS_11 = 2; - - /** - * The feature id for the 'Primary Key' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS_11__PRIMARY_KEY = 0; - - /** - * The number of structural features of the 'Xml Mapped Superclass 11' class. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS_11_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlPrimaryKey_1_1 Xml Primary Key 11}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlPrimaryKey_1_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package#getXmlPrimaryKey_1_1() - * @generated - */ - public static final int XML_PRIMARY_KEY_11 = 3; - - /** - * The feature id for the 'Validation' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_PRIMARY_KEY_11__VALIDATION = 0; - - /** - * The feature id for the 'Columns' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_PRIMARY_KEY_11__COLUMNS = 1; - - /** - * The number of structural features of the 'Xml Primary Key 11' class. - * - * - * @generated - * @ordered - */ - public static final int XML_PRIMARY_KEY_11_FEATURE_COUNT = 2; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.IdValidationType_1_1 Id Validation Type 11}' enum. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.IdValidationType_1_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package#getIdValidationType_1_1() - * @generated - */ - public static final int ID_VALIDATION_TYPE_11 = 4; - - /** - * - * - * @generated - */ - private EClass xmlBasic_1_1EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlEntity_1_1EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlMappedSuperclass_1_1EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlPrimaryKey_1_1EClass = null; - - /** - * - * - * @generated - */ - private EEnum idValidationType_1_1EEnum = null; - - /** - * Creates an instance of the model Package, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - *

Note: 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.v1_1.EclipseLinkOrmV1_1Package#eNS_URI - * @see #init() - * @generated - */ - private EclipseLinkOrmV1_1Package() - { - super(eNS_URI, EclipseLinkOrmV1_1Factory.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 EclipseLinkOrmV1_1Package#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 EclipseLinkOrmV1_1Package init() - { - if (isInited) return (EclipseLinkOrmV1_1Package)EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmV1_1Package.eNS_URI); - - // Obtain or create and register package - EclipseLinkOrmV1_1Package theEclipseLinkOrmV1_1Package = (EclipseLinkOrmV1_1Package)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof EclipseLinkOrmV1_1Package ? EPackage.Registry.INSTANCE.get(eNS_URI) : new EclipseLinkOrmV1_1Package()); - - isInited = true; - - // Initialize simple dependencies - OrmPackage.eINSTANCE.eClass(); - - // Obtain or create and register interdependencies - EclipseLinkOrmPackage theEclipseLinkOrmPackage = (EclipseLinkOrmPackage)(EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmPackage.eNS_URI) instanceof EclipseLinkOrmPackage ? EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmPackage.eNS_URI) : EclipseLinkOrmPackage.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 - theEclipseLinkOrmV1_1Package.createPackageContents(); - theEclipseLinkOrmPackage.createPackageContents(); - theEclipseLinkOrmV2_0Package.createPackageContents(); - theEclipseLinkOrmV2_1Package.createPackageContents(); - theEclipseLinkOrmV2_2Package.createPackageContents(); - theEclipseLinkOrmV2_3Package.createPackageContents(); - theEclipseLinkOrmV2_4Package.createPackageContents(); - - // Initialize created meta-data - theEclipseLinkOrmV1_1Package.initializePackageContents(); - theEclipseLinkOrmPackage.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 - theEclipseLinkOrmV1_1Package.freeze(); - - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(EclipseLinkOrmV1_1Package.eNS_URI, theEclipseLinkOrmV1_1Package); - return theEclipseLinkOrmV1_1Package; - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlBasic_1_1 Xml Basic 11}'. - * - * - * @return the meta object for class 'Xml Basic 11'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlBasic_1_1 - * @generated - */ - public EClass getXmlBasic_1_1() - { - return xmlBasic_1_1EClass; - } - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlBasic_1_1#getGeneratedValue Generated Value}'. - * - * - * @return the meta object for the containment reference 'Generated Value'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlBasic_1_1#getGeneratedValue() - * @see #getXmlBasic_1_1() - * @generated - */ - public EReference getXmlBasic_1_1_GeneratedValue() - { - return (EReference)xmlBasic_1_1EClass.getEStructuralFeatures().get(0); - } - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlEntity_1_1 Xml Entity 11}'. - * - * - * @return the meta object for class 'Xml Entity 11'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlEntity_1_1 - * @generated - */ - public EClass getXmlEntity_1_1() - { - return xmlEntity_1_1EClass; - } - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlEntity_1_1#getPrimaryKey Primary Key}'. - * - * - * @return the meta object for the containment reference 'Primary Key'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlEntity_1_1#getPrimaryKey() - * @see #getXmlEntity_1_1() - * @generated - */ - public EReference getXmlEntity_1_1_PrimaryKey() - { - return (EReference)xmlEntity_1_1EClass.getEStructuralFeatures().get(0); - } - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlMappedSuperclass_1_1 Xml Mapped Superclass 11}'. - * - * - * @return the meta object for class 'Xml Mapped Superclass 11'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlMappedSuperclass_1_1 - * @generated - */ - public EClass getXmlMappedSuperclass_1_1() - { - return xmlMappedSuperclass_1_1EClass; - } - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlMappedSuperclass_1_1#getPrimaryKey Primary Key}'. - * - * - * @return the meta object for the containment reference 'Primary Key'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlMappedSuperclass_1_1#getPrimaryKey() - * @see #getXmlMappedSuperclass_1_1() - * @generated - */ - public EReference getXmlMappedSuperclass_1_1_PrimaryKey() - { - return (EReference)xmlMappedSuperclass_1_1EClass.getEStructuralFeatures().get(0); - } - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlPrimaryKey_1_1 Xml Primary Key 11}'. - * - * - * @return the meta object for class 'Xml Primary Key 11'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlPrimaryKey_1_1 - * @generated - */ - public EClass getXmlPrimaryKey_1_1() - { - return xmlPrimaryKey_1_1EClass; - } - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlPrimaryKey_1_1#getValidation Validation}'. - * - * - * @return the meta object for the attribute 'Validation'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlPrimaryKey_1_1#getValidation() - * @see #getXmlPrimaryKey_1_1() - * @generated - */ - public EAttribute getXmlPrimaryKey_1_1_Validation() - { - return (EAttribute)xmlPrimaryKey_1_1EClass.getEStructuralFeatures().get(0); - } - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlPrimaryKey_1_1#getColumns Columns}'. - * - * - * @return the meta object for the containment reference list 'Columns'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlPrimaryKey_1_1#getColumns() - * @see #getXmlPrimaryKey_1_1() - * @generated - */ - public EReference getXmlPrimaryKey_1_1_Columns() - { - return (EReference)xmlPrimaryKey_1_1EClass.getEStructuralFeatures().get(1); - } - - /** - * Returns the meta object for enum '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.IdValidationType_1_1 Id Validation Type 11}'. - * - * - * @return the meta object for enum 'Id Validation Type 11'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.IdValidationType_1_1 - * @generated - */ - public EEnum getIdValidationType_1_1() - { - return idValidationType_1_1EEnum; - } - - /** - * Returns the factory that creates the instances of the model. - * - * - * @return the factory that creates the instances of the model. - * @generated - */ - public EclipseLinkOrmV1_1Factory getEclipseLinkOrmV1_1Factory() - { - return (EclipseLinkOrmV1_1Factory)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 - xmlBasic_1_1EClass = createEClass(XML_BASIC_11); - createEReference(xmlBasic_1_1EClass, XML_BASIC_11__GENERATED_VALUE); - - xmlEntity_1_1EClass = createEClass(XML_ENTITY_11); - createEReference(xmlEntity_1_1EClass, XML_ENTITY_11__PRIMARY_KEY); - - xmlMappedSuperclass_1_1EClass = createEClass(XML_MAPPED_SUPERCLASS_11); - createEReference(xmlMappedSuperclass_1_1EClass, XML_MAPPED_SUPERCLASS_11__PRIMARY_KEY); - - xmlPrimaryKey_1_1EClass = createEClass(XML_PRIMARY_KEY_11); - createEAttribute(xmlPrimaryKey_1_1EClass, XML_PRIMARY_KEY_11__VALIDATION); - createEReference(xmlPrimaryKey_1_1EClass, XML_PRIMARY_KEY_11__COLUMNS); - - // Create enums - idValidationType_1_1EEnum = createEEnum(ID_VALIDATION_TYPE_11); - } - - /** - * - * - * @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 - OrmPackage theOrmPackage = (OrmPackage)EPackage.Registry.INSTANCE.getEPackage(OrmPackage.eNS_URI); - EclipseLinkOrmPackage theEclipseLinkOrmPackage = (EclipseLinkOrmPackage)EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmPackage.eNS_URI); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - xmlBasic_1_1EClass.getESuperTypes().add(theOrmPackage.getXmlGeneratorContainer()); - - // Initialize classes and features; add operations and parameters - initEClass(xmlBasic_1_1EClass, XmlBasic_1_1.class, "XmlBasic_1_1", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getXmlBasic_1_1_GeneratedValue(), theOrmPackage.getXmlGeneratedValue(), null, "generatedValue", null, 0, 1, XmlBasic_1_1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlEntity_1_1EClass, XmlEntity_1_1.class, "XmlEntity_1_1", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getXmlEntity_1_1_PrimaryKey(), theEclipseLinkOrmPackage.getXmlPrimaryKey(), null, "primaryKey", null, 0, 1, XmlEntity_1_1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlMappedSuperclass_1_1EClass, XmlMappedSuperclass_1_1.class, "XmlMappedSuperclass_1_1", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getXmlMappedSuperclass_1_1_PrimaryKey(), theEclipseLinkOrmPackage.getXmlPrimaryKey(), null, "primaryKey", null, 0, 1, XmlMappedSuperclass_1_1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlPrimaryKey_1_1EClass, XmlPrimaryKey_1_1.class, "XmlPrimaryKey_1_1", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlPrimaryKey_1_1_Validation(), this.getIdValidationType_1_1(), "validation", null, 0, 1, XmlPrimaryKey_1_1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXmlPrimaryKey_1_1_Columns(), theOrmPackage.getXmlColumn(), null, "columns", null, 0, -1, XmlPrimaryKey_1_1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - // Initialize enums and add enum literals - initEEnum(idValidationType_1_1EEnum, IdValidationType_1_1.class, "IdValidationType_1_1"); - addEEnumLiteral(idValidationType_1_1EEnum, IdValidationType_1_1.NULL); - addEEnumLiteral(idValidationType_1_1EEnum, IdValidationType_1_1.ZERO); - addEEnumLiteral(idValidationType_1_1EEnum, IdValidationType_1_1.NONE); - } - - /** - * - * Defines literals for the meta objects that represent - *

    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • - *
- * - * @generated - */ - public interface Literals - { - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlBasic_1_1 Xml Basic 11}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlBasic_1_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package#getXmlBasic_1_1() - * @generated - */ - public static final EClass XML_BASIC_11 = eINSTANCE.getXmlBasic_1_1(); - - /** - * The meta object literal for the 'Generated Value' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_BASIC_11__GENERATED_VALUE = eINSTANCE.getXmlBasic_1_1_GeneratedValue(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlEntity_1_1 Xml Entity 11}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlEntity_1_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package#getXmlEntity_1_1() - * @generated - */ - public static final EClass XML_ENTITY_11 = eINSTANCE.getXmlEntity_1_1(); - - /** - * The meta object literal for the 'Primary Key' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_ENTITY_11__PRIMARY_KEY = eINSTANCE.getXmlEntity_1_1_PrimaryKey(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlMappedSuperclass_1_1 Xml Mapped Superclass 11}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlMappedSuperclass_1_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package#getXmlMappedSuperclass_1_1() - * @generated - */ - public static final EClass XML_MAPPED_SUPERCLASS_11 = eINSTANCE.getXmlMappedSuperclass_1_1(); - - /** - * The meta object literal for the 'Primary Key' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_MAPPED_SUPERCLASS_11__PRIMARY_KEY = eINSTANCE.getXmlMappedSuperclass_1_1_PrimaryKey(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlPrimaryKey_1_1 Xml Primary Key 11}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlPrimaryKey_1_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package#getXmlPrimaryKey_1_1() - * @generated - */ - public static final EClass XML_PRIMARY_KEY_11 = eINSTANCE.getXmlPrimaryKey_1_1(); - - /** - * The meta object literal for the 'Validation' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_PRIMARY_KEY_11__VALIDATION = eINSTANCE.getXmlPrimaryKey_1_1_Validation(); - - /** - * The meta object literal for the 'Columns' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_PRIMARY_KEY_11__COLUMNS = eINSTANCE.getXmlPrimaryKey_1_1_Columns(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.IdValidationType_1_1 Id Validation Type 11}' enum. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.IdValidationType_1_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package#getIdValidationType_1_1() - * @generated - */ - public static final EEnum ID_VALIDATION_TYPE_11 = eINSTANCE.getIdValidationType_1_1(); - - } - -} //EclipseLinkOrmV1_1Package diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/IdValidationType_1_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/IdValidationType_1_1.java deleted file mode 100644 index 86526aa17f..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/IdValidationType_1_1.java +++ /dev/null @@ -1,257 +0,0 @@ -/******************************************************************************* - * 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.v1_1; - -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 'Id Validation Type 11', - * and utility methods for working with them. - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package#getIdValidationType_1_1() - * @model - * @generated - */ -public enum IdValidationType_1_1 implements Enumerator -{ - /** - * The 'NULL' literal object. - * - * - * @see #NULL_VALUE - * @generated - * @ordered - */ - NULL(0, "NULL", "NULL"), - - /** - * The 'ZERO' literal object. - * - * - * @see #ZERO_VALUE - * @generated - * @ordered - */ - ZERO(2, "ZERO", "ZERO"), - - /** - * The 'NONE' literal object. - * - * - * @see #NONE_VALUE - * @generated - * @ordered - */ - NONE(2, "NONE", "NONE"); - - /** - * The 'NULL' literal value. - * - *

- * If the meaning of 'NULL' literal object isn't clear, - * there really should be more of a description here... - *

- * - * @see #NULL - * @model - * @generated - * @ordered - */ - public static final int NULL_VALUE = 0; - - /** - * The 'ZERO' literal value. - * - *

- * If the meaning of 'ZERO' literal object isn't clear, - * there really should be more of a description here... - *

- * - * @see #ZERO - * @model - * @generated - * @ordered - */ - public static final int ZERO_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 = 2; - - /** - * An array of all the 'Id Validation Type 11' enumerators. - * - * - * @generated - */ - private static final IdValidationType_1_1[] VALUES_ARRAY = - new IdValidationType_1_1[] - { - NULL, - ZERO, - NONE, - }; - - /** - * A public read-only list of all the 'Id Validation Type 11' enumerators. - * - * - * @generated - */ - public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the 'Id Validation Type 11' literal with the specified literal value. - * - * - * @generated - */ - public static IdValidationType_1_1 get(String literal) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - IdValidationType_1_1 result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) - { - return result; - } - } - return null; - } - - /** - * Returns the 'Id Validation Type 11' literal with the specified name. - * - * - * @generated - */ - public static IdValidationType_1_1 getByName(String name) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - IdValidationType_1_1 result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) - { - return result; - } - } - return null; - } - - /** - * Returns the 'Id Validation Type 11' literal with the specified integer value. - * - * - * @generated - */ - public static IdValidationType_1_1 get(int value) - { - switch (value) - { - case NULL_VALUE: return NULL; - case ZERO_VALUE: return ZERO; - } - return null; - } - - /** - * - * - * @generated - */ - private final int value; - - /** - * - * - * @generated - */ - private final String name; - - /** - * - * - * @generated - */ - private final String literal; - - /** - * Only this class can construct instances. - * - * - * @generated - */ - private IdValidationType_1_1(int value, String name, String literal) - { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * - * - * @generated - */ - public int getValue() - { - return value; - } - - /** - * - * - * @generated - */ - public String getName() - { - return name; - } - - /** - * - * - * @generated - */ - public String getLiteral() - { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * - * - * @generated - */ - @Override - public String toString() - { - return literal; - } - -} //IdValidationType_1_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/XmlBasic_1_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/XmlBasic_1_1.java deleted file mode 100644 index 62f5765c4a..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/XmlBasic_1_1.java +++ /dev/null @@ -1,61 +0,0 @@ -/******************************************************************************* - * 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.v1_1; - -import org.eclipse.jpt.jpa.core.resource.orm.XmlGeneratedValue; -import org.eclipse.jpt.jpa.core.resource.orm.XmlGeneratorContainer; - -/** - * - * A representation of the model object 'Xml Basic 11'. - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlBasic_1_1#getGeneratedValue Generated Value}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package#getXmlBasic_1_1() - * @model kind="class" interface="true" abstract="true" - * @generated - */ -public interface XmlBasic_1_1 extends XmlGeneratorContainer -{ - /** - * 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.v1_1.EclipseLinkOrmV1_1Package#getXmlBasic_1_1_GeneratedValue() - * @model containment="true" - * @generated - */ - XmlGeneratedValue getGeneratedValue(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlBasic_1_1#getGeneratedValue Generated Value}' containment reference. - * - * - * @param value the new value of the 'Generated Value' containment reference. - * @see #getGeneratedValue() - * @generated - */ - void setGeneratedValue(XmlGeneratedValue value); - -} // XmlBasic_1_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/XmlEntity_1_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/XmlEntity_1_1.java deleted file mode 100644 index b51c17d0d9..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/XmlEntity_1_1.java +++ /dev/null @@ -1,62 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2009, 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.v1_1; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPrimaryKey; - -/** - * - * A representation of the model object 'Xml Entity 11'. - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlEntity_1_1#getPrimaryKey Primary Key}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package#getXmlEntity_1_1() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlEntity_1_1 extends EBaseObject -{ - /** - * Returns the value of the 'Primary Key' containment reference. - * - *

- * 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.v1_1.EclipseLinkOrmV1_1Package#getXmlEntity_1_1_PrimaryKey() - * @model containment="true" - * @generated - */ - XmlPrimaryKey getPrimaryKey(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlEntity_1_1#getPrimaryKey Primary Key}' containment reference. - * - * - * @param value the new value of the 'Primary Key' containment reference. - * @see #getPrimaryKey() - * @generated - */ - void setPrimaryKey(XmlPrimaryKey value); - -} // XmlEntity_1_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/XmlMappedSuperclass_1_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/XmlMappedSuperclass_1_1.java deleted file mode 100644 index 424061e65e..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/XmlMappedSuperclass_1_1.java +++ /dev/null @@ -1,62 +0,0 @@ -/******************************************************************************* - * 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.v1_1; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPrimaryKey; - -/** - * - * A representation of the model object 'Xml Mapped Superclass 11'. - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlMappedSuperclass_1_1#getPrimaryKey Primary Key}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package#getXmlMappedSuperclass_1_1() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlMappedSuperclass_1_1 extends EBaseObject -{ - /** - * Returns the value of the 'Primary Key' containment reference. - * - *

- * 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.v1_1.EclipseLinkOrmV1_1Package#getXmlMappedSuperclass_1_1_PrimaryKey() - * @model containment="true" - * @generated - */ - XmlPrimaryKey getPrimaryKey(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlMappedSuperclass_1_1#getPrimaryKey Primary Key}' containment reference. - * - * - * @param value the new value of the 'Primary Key' containment reference. - * @see #getPrimaryKey() - * @generated - */ - void setPrimaryKey(XmlPrimaryKey value); - -} // XmlMappedSuperclass_1_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/XmlPrimaryKey_1_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/XmlPrimaryKey_1_1.java deleted file mode 100644 index 23c33b4f92..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/XmlPrimaryKey_1_1.java +++ /dev/null @@ -1,83 +0,0 @@ -/******************************************************************************* - * 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.v1_1; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; -import org.eclipse.jpt.jpa.core.resource.orm.XmlColumn; - -/** - * - * A representation of the model object 'Xml Primary Key 11'. - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlPrimaryKey_1_1#getValidation Validation}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlPrimaryKey_1_1#getColumns Columns}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package#getXmlPrimaryKey_1_1() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlPrimaryKey_1_1 extends EBaseObject -{ - /** - * Returns the value of the 'Validation' attribute. - * The literals are from the enumeration {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.IdValidationType_1_1}. - * - *

- * If the meaning of the 'Validation' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Validation' attribute. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.IdValidationType_1_1 - * @see #setValidation(IdValidationType_1_1) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package#getXmlPrimaryKey_1_1_Validation() - * @model - * @generated - */ - IdValidationType_1_1 getValidation(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlPrimaryKey_1_1#getValidation Validation}' attribute. - * - * - * @param value the new value of the 'Validation' attribute. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.IdValidationType_1_1 - * @see #getValidation() - * @generated - */ - void setValidation(IdValidationType_1_1 value); - - /** - * Returns the value of the 'Columns' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.core.resource.orm.XmlColumn}. - * - *

- * If the meaning of the 'Columns' containment reference list isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Columns' containment reference list. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package#getXmlPrimaryKey_1_1_Columns() - * @model containment="true" - * @generated - */ - EList getColumns(); - -} // XmlPrimaryKey_1_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/EclipseLinkOrmV2_0Factory.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/EclipseLinkOrmV2_0Factory.java deleted file mode 100644 index 9c17c127d4..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/EclipseLinkOrmV2_0Factory.java +++ /dev/null @@ -1,166 +0,0 @@ -/******************************************************************************* - * 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.v2_0; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.impl.EFactoryImpl; -import org.eclipse.emf.ecore.plugin.EcorePlugin; - -/** - * - * The Factory for the model. - * It provides a create method for each non-abstract class of the model. - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package - * @generated - */ -public class EclipseLinkOrmV2_0Factory extends EFactoryImpl -{ - /** - * The singleton instance of the factory. - * - * - * @generated - */ - public static final EclipseLinkOrmV2_0Factory eINSTANCE = init(); - - /** - * Creates the default factory implementation. - * - * - * @generated - */ - public static EclipseLinkOrmV2_0Factory init() - { - try - { - EclipseLinkOrmV2_0Factory theEclipseLinkOrmV2_0Factory = (EclipseLinkOrmV2_0Factory)EPackage.Registry.INSTANCE.getEFactory("jpt.eclipselink.orm.v2_0.xmi"); - if (theEclipseLinkOrmV2_0Factory != null) - { - return theEclipseLinkOrmV2_0Factory; - } - } - catch (Exception exception) - { - EcorePlugin.INSTANCE.log(exception); - } - return new EclipseLinkOrmV2_0Factory(); - } - - /** - * Creates an instance of the factory. - * - * - * @generated - */ - public EclipseLinkOrmV2_0Factory() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - public EObject create(EClass eClass) - { - switch (eClass.getClassifierID()) - { - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - @Override - public Object createFromString(EDataType eDataType, String initialValue) - { - switch (eDataType.getClassifierID()) - { - case EclipseLinkOrmV2_0Package.ORDER_CORRECTION_TYPE_20: - return createOrderCorrectionType_2_0FromString(eDataType, initialValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - @Override - public String convertToString(EDataType eDataType, Object instanceValue) - { - switch (eDataType.getClassifierID()) - { - case EclipseLinkOrmV2_0Package.ORDER_CORRECTION_TYPE_20: - return convertOrderCorrectionType_2_0ToString(eDataType, instanceValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - public OrderCorrectionType_2_0 createOrderCorrectionType_2_0FromString(EDataType eDataType, String initialValue) - { - OrderCorrectionType_2_0 result = OrderCorrectionType_2_0.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * - * - * @generated - */ - public String convertOrderCorrectionType_2_0ToString(EDataType eDataType, Object instanceValue) - { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * - * - * @generated - */ - public EclipseLinkOrmV2_0Package getEclipseLinkOrmV2_0Package() - { - return (EclipseLinkOrmV2_0Package)getEPackage(); - } - - /** - * - * - * @deprecated - * @generated - */ - @Deprecated - public static EclipseLinkOrmV2_0Package getPackage() - { - return EclipseLinkOrmV2_0Package.eINSTANCE; - } - -} //EclipseLinkOrmV2_0Factory diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/EclipseLinkOrmV2_0Package.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/EclipseLinkOrmV2_0Package.java deleted file mode 100644 index aee52d62c8..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/EclipseLinkOrmV2_0Package.java +++ /dev/null @@ -1,1531 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2009, 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.v2_0; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EEnum; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; -import org.eclipse.emf.ecore.impl.EPackageImpl; -import org.eclipse.emf.ecore.xml.type.XMLTypePackage; -import org.eclipse.jpt.jpa.core.resource.orm.OrmPackage; -import org.eclipse.jpt.jpa.core.resource.orm.v2_0.OrmV2_0Package; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package; - -/** - * - * The Package for the model. - * It contains accessors for the meta objects to represent - *
    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • - *
- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Factory - * @model kind="package" - * @generated - */ -public class EclipseLinkOrmV2_0Package extends EPackageImpl -{ - /** - * The package name. - * - * - * @generated - */ - public static final String eNAME = "v2_0"; - - /** - * The package namespace URI. - * - * - * @generated - */ - public static final String eNS_URI = "jpt.eclipselink.orm.v2_0.xmi"; - - /** - * The package namespace name. - * - * - * @generated - */ - public static final String eNS_PREFIX = "org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0"; - - /** - * The singleton instance of the package. - * - * - * @generated - */ - public static final EclipseLinkOrmV2_0Package eINSTANCE = org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package.init(); - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlMapKeyAssociationOverrideContainer_2_0 Xml Map Key Association Override Container 20}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlMapKeyAssociationOverrideContainer_2_0 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlMapKeyAssociationOverrideContainer_2_0() - * @generated - */ - public static final int XML_MAP_KEY_ASSOCIATION_OVERRIDE_CONTAINER_20 = 4; - - /** - * The feature id for the 'Map Key Association Overrides' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MAP_KEY_ASSOCIATION_OVERRIDE_CONTAINER_20__MAP_KEY_ASSOCIATION_OVERRIDES = 0; - - /** - * The number of structural features of the 'Xml Map Key Association Override Container 20' class. - * - * - * @generated - * @ordered - */ - public static final int XML_MAP_KEY_ASSOCIATION_OVERRIDE_CONTAINER_20_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlCollectionMapping_2_0 Xml Collection Mapping 20}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlCollectionMapping_2_0 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlCollectionMapping_2_0() - * @generated - */ - public static final int XML_COLLECTION_MAPPING_20 = 0; - - /** - * The feature id for the 'Map Key Association Overrides' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_COLLECTION_MAPPING_20__MAP_KEY_ASSOCIATION_OVERRIDES = XML_MAP_KEY_ASSOCIATION_OVERRIDE_CONTAINER_20__MAP_KEY_ASSOCIATION_OVERRIDES; - - /** - * The feature id for the 'Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_COLLECTION_MAPPING_20__CONVERTERS = XML_MAP_KEY_ASSOCIATION_OVERRIDE_CONTAINER_20_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Type Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_COLLECTION_MAPPING_20__TYPE_CONVERTERS = XML_MAP_KEY_ASSOCIATION_OVERRIDE_CONTAINER_20_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Object Type Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_COLLECTION_MAPPING_20__OBJECT_TYPE_CONVERTERS = XML_MAP_KEY_ASSOCIATION_OVERRIDE_CONTAINER_20_FEATURE_COUNT + 2; - - /** - * The feature id for the 'Struct Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_COLLECTION_MAPPING_20__STRUCT_CONVERTERS = XML_MAP_KEY_ASSOCIATION_OVERRIDE_CONTAINER_20_FEATURE_COUNT + 3; - - /** - * The feature id for the 'Map Key Convert' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_COLLECTION_MAPPING_20__MAP_KEY_CONVERT = XML_MAP_KEY_ASSOCIATION_OVERRIDE_CONTAINER_20_FEATURE_COUNT + 4; - - /** - * The number of structural features of the 'Xml Collection Mapping 20' class. - * - * - * @generated - * @ordered - */ - public static final int XML_COLLECTION_MAPPING_20_FEATURE_COUNT = XML_MAP_KEY_ASSOCIATION_OVERRIDE_CONTAINER_20_FEATURE_COUNT + 5; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlElementCollection_2_0 Xml Element Collection 20}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlElementCollection_2_0 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlElementCollection_2_0() - * @generated - */ - public static final int XML_ELEMENT_COLLECTION_20 = 1; - - /** - * The feature id for the 'Access' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION_20__ACCESS = EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ACCESS; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION_20__NAME = EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__NAME; - - /** - * The feature id for the 'Access Methods' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION_20__ACCESS_METHODS = EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ACCESS_METHODS; - - /** - * The feature id for the 'Properties' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION_20__PROPERTIES = EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__PROPERTIES; - - /** - * The feature id for the 'Attribute Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION_20__ATTRIBUTE_TYPE = EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE; - - /** - * The feature id for the 'Lob' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION_20__LOB = EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Temporal' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION_20__TEMPORAL = EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Enumerated' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION_20__ENUMERATED = EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 2; - - /** - * The feature id for the 'Convert' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION_20__CONVERT = EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 3; - - /** - * The feature id for the 'Map Key Association Overrides' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION_20__MAP_KEY_ASSOCIATION_OVERRIDES = EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 4; - - /** - * The feature id for the 'Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION_20__CONVERTERS = EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 5; - - /** - * The feature id for the 'Type Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION_20__TYPE_CONVERTERS = EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 6; - - /** - * The feature id for the 'Object Type Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION_20__OBJECT_TYPE_CONVERTERS = EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 7; - - /** - * The feature id for the 'Struct Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION_20__STRUCT_CONVERTERS = EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 8; - - /** - * The feature id for the 'Map Key Convert' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION_20__MAP_KEY_CONVERT = EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 9; - - /** - * The number of structural features of the 'Xml Element Collection 20' class. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION_20_FEATURE_COUNT = EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 10; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlEntity_2_0 Xml Entity 20}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlEntity_2_0 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlEntity_2_0() - * @generated - */ - public static final int XML_ENTITY_20 = 2; - - /** - * The feature id for the 'Cache Interceptor' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_20__CACHE_INTERCEPTOR = 0; - - /** - * The feature id for the 'Query Redirectors' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_20__QUERY_REDIRECTORS = 1; - - /** - * The number of structural features of the 'Xml Entity 20' class. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_20_FEATURE_COUNT = 2; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlManyToMany_2_0 Xml Many To Many 20}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlManyToMany_2_0 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlManyToMany_2_0() - * @generated - */ - public static final int XML_MANY_TO_MANY_20 = 3; - - /** - * The feature id for the 'Map Key Association Overrides' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY_20__MAP_KEY_ASSOCIATION_OVERRIDES = XML_COLLECTION_MAPPING_20__MAP_KEY_ASSOCIATION_OVERRIDES; - - /** - * The feature id for the 'Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY_20__CONVERTERS = XML_COLLECTION_MAPPING_20__CONVERTERS; - - /** - * The feature id for the 'Type Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY_20__TYPE_CONVERTERS = XML_COLLECTION_MAPPING_20__TYPE_CONVERTERS; - - /** - * The feature id for the 'Object Type Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY_20__OBJECT_TYPE_CONVERTERS = XML_COLLECTION_MAPPING_20__OBJECT_TYPE_CONVERTERS; - - /** - * The feature id for the 'Struct Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY_20__STRUCT_CONVERTERS = XML_COLLECTION_MAPPING_20__STRUCT_CONVERTERS; - - /** - * The feature id for the 'Map Key Convert' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY_20__MAP_KEY_CONVERT = XML_COLLECTION_MAPPING_20__MAP_KEY_CONVERT; - - /** - * The number of structural features of the 'Xml Many To Many 20' class. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY_20_FEATURE_COUNT = XML_COLLECTION_MAPPING_20_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlMappedSuperclass_2_0 Xml Mapped Superclass 20}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlMappedSuperclass_2_0 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlMappedSuperclass_2_0() - * @generated - */ - public static final int XML_MAPPED_SUPERCLASS_20 = 5; - - /** - * The feature id for the 'Cacheable' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS_20__CACHEABLE = OrmV2_0Package.XML_CACHEABLE_20__CACHEABLE; - - /** - * The feature id for the 'Cache Interceptor' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS_20__CACHE_INTERCEPTOR = OrmV2_0Package.XML_CACHEABLE_20_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Xml Mapped Superclass 20' class. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS_20_FEATURE_COUNT = OrmV2_0Package.XML_CACHEABLE_20_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlOneToMany_2_0 Xml One To Many 20}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlOneToMany_2_0 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlOneToMany_2_0() - * @generated - */ - public static final int XML_ONE_TO_MANY_20 = 6; - - /** - * The feature id for the 'Map Key Association Overrides' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY_20__MAP_KEY_ASSOCIATION_OVERRIDES = XML_COLLECTION_MAPPING_20__MAP_KEY_ASSOCIATION_OVERRIDES; - - /** - * The feature id for the 'Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY_20__CONVERTERS = XML_COLLECTION_MAPPING_20__CONVERTERS; - - /** - * The feature id for the 'Type Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY_20__TYPE_CONVERTERS = XML_COLLECTION_MAPPING_20__TYPE_CONVERTERS; - - /** - * The feature id for the 'Object Type Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY_20__OBJECT_TYPE_CONVERTERS = XML_COLLECTION_MAPPING_20__OBJECT_TYPE_CONVERTERS; - - /** - * The feature id for the 'Struct Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY_20__STRUCT_CONVERTERS = XML_COLLECTION_MAPPING_20__STRUCT_CONVERTERS; - - /** - * The feature id for the 'Map Key Convert' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY_20__MAP_KEY_CONVERT = XML_COLLECTION_MAPPING_20__MAP_KEY_CONVERT; - - /** - * The number of structural features of the 'Xml One To Many 20' class. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY_20_FEATURE_COUNT = XML_COLLECTION_MAPPING_20_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlOrderColumn_2_0 Xml Order Column 20}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlOrderColumn_2_0 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlOrderColumn_2_0() - * @generated - */ - public static final int XML_ORDER_COLUMN_20 = 7; - - /** - * The feature id for the 'Correction Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ORDER_COLUMN_20__CORRECTION_TYPE = 0; - - /** - * The number of structural features of the 'Xml Order Column 20' class. - * - * - * @generated - * @ordered - */ - public static final int XML_ORDER_COLUMN_20_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0 Xml Query Redirectors 20}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlQueryRedirectors_2_0() - * @generated - */ - public static final int XML_QUERY_REDIRECTORS_20 = 8; - - /** - * The feature id for the 'All Queries' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_QUERY_REDIRECTORS_20__ALL_QUERIES = 0; - - /** - * The feature id for the 'Read All' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_QUERY_REDIRECTORS_20__READ_ALL = 1; - - /** - * The feature id for the 'Read Object' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_QUERY_REDIRECTORS_20__READ_OBJECT = 2; - - /** - * The feature id for the 'Report' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_QUERY_REDIRECTORS_20__REPORT = 3; - - /** - * The feature id for the 'Update' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_QUERY_REDIRECTORS_20__UPDATE = 4; - - /** - * The feature id for the 'Insert' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_QUERY_REDIRECTORS_20__INSERT = 5; - - /** - * The feature id for the 'Delete' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_QUERY_REDIRECTORS_20__DELETE = 6; - - /** - * The number of structural features of the 'Xml Query Redirectors 20' class. - * - * - * @generated - * @ordered - */ - public static final int XML_QUERY_REDIRECTORS_20_FEATURE_COUNT = 7; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.OrderCorrectionType_2_0 Order Correction Type 20}' enum. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.OrderCorrectionType_2_0 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getOrderCorrectionType_2_0() - * @generated - */ - public static final int ORDER_CORRECTION_TYPE_20 = 9; - - /** - * - * - * @generated - */ - private EClass xmlCollectionMapping_2_0EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlElementCollection_2_0EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlEntity_2_0EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlManyToMany_2_0EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlMapKeyAssociationOverrideContainer_2_0EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlMappedSuperclass_2_0EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlOneToMany_2_0EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlOrderColumn_2_0EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlQueryRedirectors_2_0EClass = null; - - /** - * - * - * @generated - */ - private EEnum orderCorrectionType_2_0EEnum = null; - - /** - * Creates an instance of the model Package, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - *

Note: 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.v2_0.EclipseLinkOrmV2_0Package#eNS_URI - * @see #init() - * @generated - */ - private EclipseLinkOrmV2_0Package() - { - super(eNS_URI, EclipseLinkOrmV2_0Factory.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 EclipseLinkOrmV2_0Package#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 EclipseLinkOrmV2_0Package init() - { - if (isInited) return (EclipseLinkOrmV2_0Package)EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmV2_0Package.eNS_URI); - - // Obtain or create and register package - EclipseLinkOrmV2_0Package theEclipseLinkOrmV2_0Package = (EclipseLinkOrmV2_0Package)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof EclipseLinkOrmV2_0Package ? EPackage.Registry.INSTANCE.get(eNS_URI) : new EclipseLinkOrmV2_0Package()); - - isInited = true; - - // Initialize simple dependencies - OrmPackage.eINSTANCE.eClass(); - XMLTypePackage.eINSTANCE.eClass(); - - // Obtain or create and register interdependencies - EclipseLinkOrmPackage theEclipseLinkOrmPackage = (EclipseLinkOrmPackage)(EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmPackage.eNS_URI) instanceof EclipseLinkOrmPackage ? EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmPackage.eNS_URI) : EclipseLinkOrmPackage.eINSTANCE); - 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_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 - theEclipseLinkOrmV2_0Package.createPackageContents(); - theEclipseLinkOrmPackage.createPackageContents(); - theEclipseLinkOrmV1_1Package.createPackageContents(); - theEclipseLinkOrmV2_1Package.createPackageContents(); - theEclipseLinkOrmV2_2Package.createPackageContents(); - theEclipseLinkOrmV2_3Package.createPackageContents(); - theEclipseLinkOrmV2_4Package.createPackageContents(); - - // Initialize created meta-data - theEclipseLinkOrmV2_0Package.initializePackageContents(); - theEclipseLinkOrmPackage.initializePackageContents(); - theEclipseLinkOrmV1_1Package.initializePackageContents(); - theEclipseLinkOrmV2_1Package.initializePackageContents(); - theEclipseLinkOrmV2_2Package.initializePackageContents(); - theEclipseLinkOrmV2_3Package.initializePackageContents(); - theEclipseLinkOrmV2_4Package.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theEclipseLinkOrmV2_0Package.freeze(); - - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(EclipseLinkOrmV2_0Package.eNS_URI, theEclipseLinkOrmV2_0Package); - return theEclipseLinkOrmV2_0Package; - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlCollectionMapping_2_0 Xml Collection Mapping 20}'. - * - * - * @return the meta object for class 'Xml Collection Mapping 20'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlCollectionMapping_2_0 - * @generated - */ - public EClass getXmlCollectionMapping_2_0() - { - return xmlCollectionMapping_2_0EClass; - } - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlCollectionMapping_2_0#getMapKeyConvert Map Key Convert}'. - * - * - * @return the meta object for the attribute 'Map Key Convert'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlCollectionMapping_2_0#getMapKeyConvert() - * @see #getXmlCollectionMapping_2_0() - * @generated - */ - public EAttribute getXmlCollectionMapping_2_0_MapKeyConvert() - { - return (EAttribute)xmlCollectionMapping_2_0EClass.getEStructuralFeatures().get(0); - } - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlElementCollection_2_0 Xml Element Collection 20}'. - * - * - * @return the meta object for class 'Xml Element Collection 20'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlElementCollection_2_0 - * @generated - */ - public EClass getXmlElementCollection_2_0() - { - return xmlElementCollection_2_0EClass; - } - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlEntity_2_0 Xml Entity 20}'. - * - * - * @return the meta object for class 'Xml Entity 20'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlEntity_2_0 - * @generated - */ - public EClass getXmlEntity_2_0() - { - return xmlEntity_2_0EClass; - } - - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlEntity_2_0#getCacheInterceptor Cache Interceptor}'. - * - * - * @return the meta object for the containment reference 'Cache Interceptor'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlEntity_2_0#getCacheInterceptor() - * @see #getXmlEntity_2_0() - * @generated - */ - public EReference getXmlEntity_2_0_CacheInterceptor() - { - return (EReference)xmlEntity_2_0EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlEntity_2_0#getQueryRedirectors Query Redirectors}'. - * - * - * @return the meta object for the containment reference 'Query Redirectors'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlEntity_2_0#getQueryRedirectors() - * @see #getXmlEntity_2_0() - * @generated - */ - public EReference getXmlEntity_2_0_QueryRedirectors() - { - return (EReference)xmlEntity_2_0EClass.getEStructuralFeatures().get(1); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlManyToMany_2_0 Xml Many To Many 20}'. - * - * - * @return the meta object for class 'Xml Many To Many 20'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlManyToMany_2_0 - * @generated - */ - public EClass getXmlManyToMany_2_0() - { - return xmlManyToMany_2_0EClass; - } - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlMapKeyAssociationOverrideContainer_2_0 Xml Map Key Association Override Container 20}'. - * - * - * @return the meta object for class 'Xml Map Key Association Override Container 20'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlMapKeyAssociationOverrideContainer_2_0 - * @generated - */ - public EClass getXmlMapKeyAssociationOverrideContainer_2_0() - { - return xmlMapKeyAssociationOverrideContainer_2_0EClass; - } - - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlMapKeyAssociationOverrideContainer_2_0#getMapKeyAssociationOverrides Map Key Association Overrides}'. - * - * - * @return the meta object for the containment reference list 'Map Key Association Overrides'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlMapKeyAssociationOverrideContainer_2_0#getMapKeyAssociationOverrides() - * @see #getXmlMapKeyAssociationOverrideContainer_2_0() - * @generated - */ - public EReference getXmlMapKeyAssociationOverrideContainer_2_0_MapKeyAssociationOverrides() - { - return (EReference)xmlMapKeyAssociationOverrideContainer_2_0EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlMappedSuperclass_2_0 Xml Mapped Superclass 20}'. - * - * - * @return the meta object for class 'Xml Mapped Superclass 20'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlMappedSuperclass_2_0 - * @generated - */ - public EClass getXmlMappedSuperclass_2_0() - { - return xmlMappedSuperclass_2_0EClass; - } - - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlMappedSuperclass_2_0#getCacheInterceptor Cache Interceptor}'. - * - * - * @return the meta object for the containment reference 'Cache Interceptor'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlMappedSuperclass_2_0#getCacheInterceptor() - * @see #getXmlMappedSuperclass_2_0() - * @generated - */ - public EReference getXmlMappedSuperclass_2_0_CacheInterceptor() - { - return (EReference)xmlMappedSuperclass_2_0EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlOneToMany_2_0 Xml One To Many 20}'. - * - * - * @return the meta object for class 'Xml One To Many 20'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlOneToMany_2_0 - * @generated - */ - public EClass getXmlOneToMany_2_0() - { - return xmlOneToMany_2_0EClass; - } - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlOrderColumn_2_0 Xml Order Column 20}'. - * - * - * @return the meta object for class 'Xml Order Column 20'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlOrderColumn_2_0 - * @generated - */ - public EClass getXmlOrderColumn_2_0() - { - return xmlOrderColumn_2_0EClass; - } - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlOrderColumn_2_0#getCorrectionType Correction Type}'. - * - * - * @return the meta object for the attribute 'Correction Type'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlOrderColumn_2_0#getCorrectionType() - * @see #getXmlOrderColumn_2_0() - * @generated - */ - public EAttribute getXmlOrderColumn_2_0_CorrectionType() - { - return (EAttribute)xmlOrderColumn_2_0EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0 Xml Query Redirectors 20}'. - * - * - * @return the meta object for class 'Xml Query Redirectors 20'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0 - * @generated - */ - public EClass getXmlQueryRedirectors_2_0() - { - return xmlQueryRedirectors_2_0EClass; - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getAllQueries All Queries}'. - * - * - * @return the meta object for the attribute 'All Queries'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getAllQueries() - * @see #getXmlQueryRedirectors_2_0() - * @generated - */ - public EAttribute getXmlQueryRedirectors_2_0_AllQueries() - { - return (EAttribute)xmlQueryRedirectors_2_0EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getReadAll Read All}'. - * - * - * @return the meta object for the attribute 'Read All'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getReadAll() - * @see #getXmlQueryRedirectors_2_0() - * @generated - */ - public EAttribute getXmlQueryRedirectors_2_0_ReadAll() - { - return (EAttribute)xmlQueryRedirectors_2_0EClass.getEStructuralFeatures().get(1); - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getReadObject Read Object}'. - * - * - * @return the meta object for the attribute 'Read Object'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getReadObject() - * @see #getXmlQueryRedirectors_2_0() - * @generated - */ - public EAttribute getXmlQueryRedirectors_2_0_ReadObject() - { - return (EAttribute)xmlQueryRedirectors_2_0EClass.getEStructuralFeatures().get(2); - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getReport Report}'. - * - * - * @return the meta object for the attribute 'Report'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getReport() - * @see #getXmlQueryRedirectors_2_0() - * @generated - */ - public EAttribute getXmlQueryRedirectors_2_0_Report() - { - return (EAttribute)xmlQueryRedirectors_2_0EClass.getEStructuralFeatures().get(3); - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getUpdate Update}'. - * - * - * @return the meta object for the attribute 'Update'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getUpdate() - * @see #getXmlQueryRedirectors_2_0() - * @generated - */ - public EAttribute getXmlQueryRedirectors_2_0_Update() - { - return (EAttribute)xmlQueryRedirectors_2_0EClass.getEStructuralFeatures().get(4); - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getInsert Insert}'. - * - * - * @return the meta object for the attribute 'Insert'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getInsert() - * @see #getXmlQueryRedirectors_2_0() - * @generated - */ - public EAttribute getXmlQueryRedirectors_2_0_Insert() - { - return (EAttribute)xmlQueryRedirectors_2_0EClass.getEStructuralFeatures().get(5); - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getDelete Delete}'. - * - * - * @return the meta object for the attribute 'Delete'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getDelete() - * @see #getXmlQueryRedirectors_2_0() - * @generated - */ - public EAttribute getXmlQueryRedirectors_2_0_Delete() - { - return (EAttribute)xmlQueryRedirectors_2_0EClass.getEStructuralFeatures().get(6); - } - - - /** - * Returns the meta object for enum '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.OrderCorrectionType_2_0 Order Correction Type 20}'. - * - * - * @return the meta object for enum 'Order Correction Type 20'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.OrderCorrectionType_2_0 - * @generated - */ - public EEnum getOrderCorrectionType_2_0() - { - return orderCorrectionType_2_0EEnum; - } - - - /** - * Returns the factory that creates the instances of the model. - * - * - * @return the factory that creates the instances of the model. - * @generated - */ - public EclipseLinkOrmV2_0Factory getEclipseLinkOrmV2_0Factory() - { - return (EclipseLinkOrmV2_0Factory)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 - xmlCollectionMapping_2_0EClass = createEClass(XML_COLLECTION_MAPPING_20); - createEAttribute(xmlCollectionMapping_2_0EClass, XML_COLLECTION_MAPPING_20__MAP_KEY_CONVERT); - - xmlElementCollection_2_0EClass = createEClass(XML_ELEMENT_COLLECTION_20); - - xmlEntity_2_0EClass = createEClass(XML_ENTITY_20); - createEReference(xmlEntity_2_0EClass, XML_ENTITY_20__CACHE_INTERCEPTOR); - createEReference(xmlEntity_2_0EClass, XML_ENTITY_20__QUERY_REDIRECTORS); - - xmlManyToMany_2_0EClass = createEClass(XML_MANY_TO_MANY_20); - - xmlMapKeyAssociationOverrideContainer_2_0EClass = createEClass(XML_MAP_KEY_ASSOCIATION_OVERRIDE_CONTAINER_20); - createEReference(xmlMapKeyAssociationOverrideContainer_2_0EClass, XML_MAP_KEY_ASSOCIATION_OVERRIDE_CONTAINER_20__MAP_KEY_ASSOCIATION_OVERRIDES); - - xmlMappedSuperclass_2_0EClass = createEClass(XML_MAPPED_SUPERCLASS_20); - createEReference(xmlMappedSuperclass_2_0EClass, XML_MAPPED_SUPERCLASS_20__CACHE_INTERCEPTOR); - - xmlOneToMany_2_0EClass = createEClass(XML_ONE_TO_MANY_20); - - xmlOrderColumn_2_0EClass = createEClass(XML_ORDER_COLUMN_20); - createEAttribute(xmlOrderColumn_2_0EClass, XML_ORDER_COLUMN_20__CORRECTION_TYPE); - - xmlQueryRedirectors_2_0EClass = createEClass(XML_QUERY_REDIRECTORS_20); - createEAttribute(xmlQueryRedirectors_2_0EClass, XML_QUERY_REDIRECTORS_20__ALL_QUERIES); - createEAttribute(xmlQueryRedirectors_2_0EClass, XML_QUERY_REDIRECTORS_20__READ_ALL); - createEAttribute(xmlQueryRedirectors_2_0EClass, XML_QUERY_REDIRECTORS_20__READ_OBJECT); - createEAttribute(xmlQueryRedirectors_2_0EClass, XML_QUERY_REDIRECTORS_20__REPORT); - createEAttribute(xmlQueryRedirectors_2_0EClass, XML_QUERY_REDIRECTORS_20__UPDATE); - createEAttribute(xmlQueryRedirectors_2_0EClass, XML_QUERY_REDIRECTORS_20__INSERT); - createEAttribute(xmlQueryRedirectors_2_0EClass, XML_QUERY_REDIRECTORS_20__DELETE); - - // Create enums - orderCorrectionType_2_0EEnum = createEEnum(ORDER_CORRECTION_TYPE_20); - } - - /** - * - * - * @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 - EclipseLinkOrmPackage theEclipseLinkOrmPackage = (EclipseLinkOrmPackage)EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmPackage.eNS_URI); - XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI); - OrmPackage theOrmPackage = (OrmPackage)EPackage.Registry.INSTANCE.getEPackage(OrmPackage.eNS_URI); - OrmV2_0Package theOrmV2_0Package = (OrmV2_0Package)EPackage.Registry.INSTANCE.getEPackage(OrmV2_0Package.eNS_URI); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - xmlCollectionMapping_2_0EClass.getESuperTypes().add(this.getXmlMapKeyAssociationOverrideContainer_2_0()); - xmlCollectionMapping_2_0EClass.getESuperTypes().add(theEclipseLinkOrmPackage.getXmlConverterContainer()); - xmlElementCollection_2_0EClass.getESuperTypes().add(theEclipseLinkOrmPackage.getXmlAttributeMapping()); - xmlElementCollection_2_0EClass.getESuperTypes().add(theEclipseLinkOrmPackage.getXmlConvertibleMapping()); - xmlElementCollection_2_0EClass.getESuperTypes().add(this.getXmlCollectionMapping_2_0()); - xmlManyToMany_2_0EClass.getESuperTypes().add(this.getXmlCollectionMapping_2_0()); - xmlMappedSuperclass_2_0EClass.getESuperTypes().add(theOrmV2_0Package.getXmlCacheable_2_0()); - xmlOneToMany_2_0EClass.getESuperTypes().add(this.getXmlCollectionMapping_2_0()); - - // Initialize classes and features; add operations and parameters - initEClass(xmlCollectionMapping_2_0EClass, XmlCollectionMapping_2_0.class, "XmlCollectionMapping_2_0", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlCollectionMapping_2_0_MapKeyConvert(), theXMLTypePackage.getString(), "mapKeyConvert", null, 0, 1, XmlCollectionMapping_2_0.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlElementCollection_2_0EClass, XmlElementCollection_2_0.class, "XmlElementCollection_2_0", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(xmlEntity_2_0EClass, XmlEntity_2_0.class, "XmlEntity_2_0", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getXmlEntity_2_0_CacheInterceptor(), theOrmPackage.getXmlClassReference(), null, "cacheInterceptor", null, 0, 1, XmlEntity_2_0.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXmlEntity_2_0_QueryRedirectors(), theEclipseLinkOrmPackage.getXmlQueryRedirectors(), null, "queryRedirectors", null, 0, 1, XmlEntity_2_0.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlManyToMany_2_0EClass, XmlManyToMany_2_0.class, "XmlManyToMany_2_0", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(xmlMapKeyAssociationOverrideContainer_2_0EClass, XmlMapKeyAssociationOverrideContainer_2_0.class, "XmlMapKeyAssociationOverrideContainer_2_0", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getXmlMapKeyAssociationOverrideContainer_2_0_MapKeyAssociationOverrides(), theOrmPackage.getXmlAssociationOverride(), null, "mapKeyAssociationOverrides", null, 0, -1, XmlMapKeyAssociationOverrideContainer_2_0.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlMappedSuperclass_2_0EClass, XmlMappedSuperclass_2_0.class, "XmlMappedSuperclass_2_0", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getXmlMappedSuperclass_2_0_CacheInterceptor(), theOrmPackage.getXmlClassReference(), null, "cacheInterceptor", null, 0, 1, XmlMappedSuperclass_2_0.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlOneToMany_2_0EClass, XmlOneToMany_2_0.class, "XmlOneToMany_2_0", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(xmlOrderColumn_2_0EClass, XmlOrderColumn_2_0.class, "XmlOrderColumn_2_0", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlOrderColumn_2_0_CorrectionType(), this.getOrderCorrectionType_2_0(), "correctionType", null, 0, 1, XmlOrderColumn_2_0.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlQueryRedirectors_2_0EClass, XmlQueryRedirectors_2_0.class, "XmlQueryRedirectors_2_0", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlQueryRedirectors_2_0_AllQueries(), theXMLTypePackage.getString(), "allQueries", null, 0, 1, XmlQueryRedirectors_2_0.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXmlQueryRedirectors_2_0_ReadAll(), theXMLTypePackage.getString(), "readAll", null, 0, 1, XmlQueryRedirectors_2_0.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXmlQueryRedirectors_2_0_ReadObject(), theXMLTypePackage.getString(), "readObject", null, 0, 1, XmlQueryRedirectors_2_0.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXmlQueryRedirectors_2_0_Report(), theXMLTypePackage.getString(), "report", null, 0, 1, XmlQueryRedirectors_2_0.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXmlQueryRedirectors_2_0_Update(), theXMLTypePackage.getString(), "update", null, 0, 1, XmlQueryRedirectors_2_0.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXmlQueryRedirectors_2_0_Insert(), theXMLTypePackage.getString(), "insert", null, 0, 1, XmlQueryRedirectors_2_0.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXmlQueryRedirectors_2_0_Delete(), theXMLTypePackage.getString(), "delete", null, 0, 1, XmlQueryRedirectors_2_0.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - // Initialize enums and add enum literals - initEEnum(orderCorrectionType_2_0EEnum, OrderCorrectionType_2_0.class, "OrderCorrectionType_2_0"); - addEEnumLiteral(orderCorrectionType_2_0EEnum, OrderCorrectionType_2_0.READ); - addEEnumLiteral(orderCorrectionType_2_0EEnum, OrderCorrectionType_2_0.READ_WRITE); - addEEnumLiteral(orderCorrectionType_2_0EEnum, OrderCorrectionType_2_0.EXCEPTION); - } - - /** - * - * Defines literals for the meta objects that represent - *

    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • - *
- * - * @generated - */ - public interface Literals - { - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlCollectionMapping_2_0 Xml Collection Mapping 20}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlCollectionMapping_2_0 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlCollectionMapping_2_0() - * @generated - */ - public static final EClass XML_COLLECTION_MAPPING_20 = eINSTANCE.getXmlCollectionMapping_2_0(); - - /** - * The meta object literal for the 'Map Key Convert' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_COLLECTION_MAPPING_20__MAP_KEY_CONVERT = eINSTANCE.getXmlCollectionMapping_2_0_MapKeyConvert(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlElementCollection_2_0 Xml Element Collection 20}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlElementCollection_2_0 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlElementCollection_2_0() - * @generated - */ - public static final EClass XML_ELEMENT_COLLECTION_20 = eINSTANCE.getXmlElementCollection_2_0(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlEntity_2_0 Xml Entity 20}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlEntity_2_0 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlEntity_2_0() - * @generated - */ - public static final EClass XML_ENTITY_20 = eINSTANCE.getXmlEntity_2_0(); - - /** - * The meta object literal for the 'Cache Interceptor' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_ENTITY_20__CACHE_INTERCEPTOR = eINSTANCE.getXmlEntity_2_0_CacheInterceptor(); - - /** - * The meta object literal for the 'Query Redirectors' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_ENTITY_20__QUERY_REDIRECTORS = eINSTANCE.getXmlEntity_2_0_QueryRedirectors(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlManyToMany_2_0 Xml Many To Many 20}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlManyToMany_2_0 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlManyToMany_2_0() - * @generated - */ - public static final EClass XML_MANY_TO_MANY_20 = eINSTANCE.getXmlManyToMany_2_0(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlMapKeyAssociationOverrideContainer_2_0 Xml Map Key Association Override Container 20}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlMapKeyAssociationOverrideContainer_2_0 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlMapKeyAssociationOverrideContainer_2_0() - * @generated - */ - public static final EClass XML_MAP_KEY_ASSOCIATION_OVERRIDE_CONTAINER_20 = eINSTANCE.getXmlMapKeyAssociationOverrideContainer_2_0(); - - /** - * The meta object literal for the 'Map Key Association Overrides' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_MAP_KEY_ASSOCIATION_OVERRIDE_CONTAINER_20__MAP_KEY_ASSOCIATION_OVERRIDES = eINSTANCE.getXmlMapKeyAssociationOverrideContainer_2_0_MapKeyAssociationOverrides(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlMappedSuperclass_2_0 Xml Mapped Superclass 20}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlMappedSuperclass_2_0 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlMappedSuperclass_2_0() - * @generated - */ - public static final EClass XML_MAPPED_SUPERCLASS_20 = eINSTANCE.getXmlMappedSuperclass_2_0(); - - /** - * The meta object literal for the 'Cache Interceptor' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_MAPPED_SUPERCLASS_20__CACHE_INTERCEPTOR = eINSTANCE.getXmlMappedSuperclass_2_0_CacheInterceptor(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlOneToMany_2_0 Xml One To Many 20}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlOneToMany_2_0 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlOneToMany_2_0() - * @generated - */ - public static final EClass XML_ONE_TO_MANY_20 = eINSTANCE.getXmlOneToMany_2_0(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlOrderColumn_2_0 Xml Order Column 20}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlOrderColumn_2_0 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlOrderColumn_2_0() - * @generated - */ - public static final EClass XML_ORDER_COLUMN_20 = eINSTANCE.getXmlOrderColumn_2_0(); - - /** - * The meta object literal for the 'Correction Type' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_ORDER_COLUMN_20__CORRECTION_TYPE = eINSTANCE.getXmlOrderColumn_2_0_CorrectionType(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0 Xml Query Redirectors 20}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlQueryRedirectors_2_0() - * @generated - */ - public static final EClass XML_QUERY_REDIRECTORS_20 = eINSTANCE.getXmlQueryRedirectors_2_0(); - - /** - * The meta object literal for the 'All Queries' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_QUERY_REDIRECTORS_20__ALL_QUERIES = eINSTANCE.getXmlQueryRedirectors_2_0_AllQueries(); - - /** - * The meta object literal for the 'Read All' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_QUERY_REDIRECTORS_20__READ_ALL = eINSTANCE.getXmlQueryRedirectors_2_0_ReadAll(); - - /** - * The meta object literal for the 'Read Object' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_QUERY_REDIRECTORS_20__READ_OBJECT = eINSTANCE.getXmlQueryRedirectors_2_0_ReadObject(); - - /** - * The meta object literal for the 'Report' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_QUERY_REDIRECTORS_20__REPORT = eINSTANCE.getXmlQueryRedirectors_2_0_Report(); - - /** - * The meta object literal for the 'Update' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_QUERY_REDIRECTORS_20__UPDATE = eINSTANCE.getXmlQueryRedirectors_2_0_Update(); - - /** - * The meta object literal for the 'Insert' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_QUERY_REDIRECTORS_20__INSERT = eINSTANCE.getXmlQueryRedirectors_2_0_Insert(); - - /** - * The meta object literal for the 'Delete' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_QUERY_REDIRECTORS_20__DELETE = eINSTANCE.getXmlQueryRedirectors_2_0_Delete(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.OrderCorrectionType_2_0 Order Correction Type 20}' enum. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.OrderCorrectionType_2_0 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getOrderCorrectionType_2_0() - * @generated - */ - public static final EEnum ORDER_CORRECTION_TYPE_20 = eINSTANCE.getOrderCorrectionType_2_0(); - - } - -} //EclipseLinkOrmV2_0Package diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/OrderCorrectionType_2_0.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/OrderCorrectionType_2_0.java deleted file mode 100644 index d9a1f50eb9..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/OrderCorrectionType_2_0.java +++ /dev/null @@ -1,257 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2009, 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.v2_0; - -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 'Order Column Correction Type 20', - * and utility methods for working with them. - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getOrderCorrectionType_2_0() - * @model - * @generated - */ -public enum OrderCorrectionType_2_0 implements Enumerator -{ - /** - * The 'READ' literal object. - * - * - * @see #READ_VALUE - * @generated - * @ordered - */ - READ(0, "READ", "READ"), - - /** - * The 'READ WRITE' literal object. - * - * - * @see #READ_WRITE_VALUE - * @generated - * @ordered - */ - READ_WRITE(1, "READ_WRITE", "READ_WRITE"), - - /** - * The 'EXCEPTION' literal object. - * - * - * @see #EXCEPTION_VALUE - * @generated - * @ordered - */ - EXCEPTION(2, "EXCEPTION", "EXCEPTION"); - - /** - * The 'READ' literal value. - * - *

- * If the meaning of 'READ' literal object isn't clear, - * there really should be more of a description here... - *

- * - * @see #READ - * @model - * @generated - * @ordered - */ - public static final int READ_VALUE = 0; - - /** - * The 'READ WRITE' literal value. - * - *

- * If the meaning of 'READ WRITE' literal object isn't clear, - * there really should be more of a description here... - *

- * - * @see #READ_WRITE - * @model - * @generated - * @ordered - */ - public static final int READ_WRITE_VALUE = 1; - - /** - * The 'EXCEPTION' literal value. - * - *

- * If the meaning of 'EXCEPTION' literal object isn't clear, - * there really should be more of a description here... - *

- * - * @see #EXCEPTION - * @model - * @generated - * @ordered - */ - public static final int EXCEPTION_VALUE = 2; - - /** - * An array of all the 'Order Correction Type 20' enumerators. - * - * - * @generated - */ - private static final OrderCorrectionType_2_0[] VALUES_ARRAY = - new OrderCorrectionType_2_0[] - { - READ, - READ_WRITE, - EXCEPTION, - }; - - /** - * A public read-only list of all the 'Order Correction Type 20' enumerators. - * - * - * @generated - */ - public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the 'Order Correction Type 20' literal with the specified literal value. - * - * - * @generated - */ - public static OrderCorrectionType_2_0 get(String literal) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - OrderCorrectionType_2_0 result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) - { - return result; - } - } - return null; - } - - /** - * Returns the 'Order Correction Type 20' literal with the specified name. - * - * - * @generated - */ - public static OrderCorrectionType_2_0 getByName(String name) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - OrderCorrectionType_2_0 result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) - { - return result; - } - } - return null; - } - - /** - * Returns the 'Order Correction Type 20' literal with the specified integer value. - * - * - * @generated - */ - public static OrderCorrectionType_2_0 get(int value) - { - switch (value) - { - case READ_VALUE: return READ; - case READ_WRITE_VALUE: return READ_WRITE; - case EXCEPTION_VALUE: return EXCEPTION; - } - return null; - } - - /** - * - * - * @generated - */ - private final int value; - - /** - * - * - * @generated - */ - private final String name; - - /** - * - * - * @generated - */ - private final String literal; - - /** - * Only this class can construct instances. - * - * - * @generated - */ - private OrderCorrectionType_2_0(int value, String name, String literal) - { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * - * - * @generated - */ - public int getValue() - { - return value; - } - - /** - * - * - * @generated - */ - public String getName() - { - return name; - } - - /** - * - * - * @generated - */ - public String getLiteral() - { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * - * - * @generated - */ - @Override - public String toString() - { - return literal; - } - -} //OrderColumnCorrectionType_2_0 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlCacheInterceptor_2_0.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlCacheInterceptor_2_0.java deleted file mode 100644 index 37b6a47e1f..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlCacheInterceptor_2_0.java +++ /dev/null @@ -1,65 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2009, 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.v2_0; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Cache Interceptor2 0'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlCacheInterceptor_2_0#getClassName Class Name}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlCacheInterceptor_2_0() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlCacheInterceptor_2_0 extends EBaseObject -{ - /** - * Returns the value of the 'Class Name' attribute. - * - *

- * 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.v2_0.EclipseLinkOrmV2_0Package#getXmlCacheInterceptor_2_0_ClassName() - * @model - * @generated - */ - String getClassName(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlCacheInterceptor_2_0#getClassName Class Name}' attribute. - * - * - * @param value the new value of the 'Class Name' attribute. - * @see #getClassName() - * @generated - */ - void setClassName(String value); - -} // XmlCacheInterceptor2_0 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlCollectionMapping_2_0.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlCollectionMapping_2_0.java deleted file mode 100644 index b44dbf73be..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlCollectionMapping_2_0.java +++ /dev/null @@ -1,66 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2009, 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.v2_0; - -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverterContainer; - -/** - * - * A representation of the model object 'Xml Collection Mapping 20'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlCollectionMapping_2_0#getMapKeyConvert Map Key Convert}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlCollectionMapping_2_0() - * @model kind="class" interface="true" abstract="true" - * @generated - */ -public interface XmlCollectionMapping_2_0 extends XmlMapKeyAssociationOverrideContainer_2_0, XmlConverterContainer -{ - /** - * Returns the value of the 'Map Key Convert' attribute. - * - *

- * 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.v2_0.EclipseLinkOrmV2_0Package#getXmlCollectionMapping_2_0_MapKeyConvert() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getMapKeyConvert(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlCollectionMapping_2_0#getMapKeyConvert Map Key Convert}' attribute. - * - * - * @param value the new value of the 'Map Key Convert' attribute. - * @see #getMapKeyConvert() - * @generated - */ - void setMapKeyConvert(String value); - -} // XmlCollectionMapping_2_0 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlElementCollection_2_0.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlElementCollection_2_0.java deleted file mode 100644 index 76487d15df..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlElementCollection_2_0.java +++ /dev/null @@ -1,35 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2009, 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.v2_0; - -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAttributeMapping; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConvertibleMapping; - -/** - * - * A representation of the model object 'Xml Element Collection 20'. - * - * 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.v2_0.EclipseLinkOrmV2_0Package#getXmlElementCollection_2_0() - * @model kind="class" interface="true" abstract="true" - * @generated - */ -public interface XmlElementCollection_2_0 extends XmlAttributeMapping, XmlConvertibleMapping, XmlCollectionMapping_2_0 -{ -} diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlEntity_2_0.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlEntity_2_0.java deleted file mode 100644 index e19fa71c41..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlEntity_2_0.java +++ /dev/null @@ -1,94 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2009, 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.v2_0; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; -import org.eclipse.jpt.jpa.core.resource.orm.XmlClassReference; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryRedirectors; - -/** - * - * A representation of the model object 'Xml Entity2 0'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlEntity_2_0#getCacheInterceptor Cache Interceptor}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlEntity_2_0#getQueryRedirectors Query Redirectors}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlEntity_2_0() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlEntity_2_0 extends EBaseObject -{ - /** - * 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.v2_0.EclipseLinkOrmV2_0Package#getXmlEntity_2_0_CacheInterceptor() - * @model containment="true" - * @generated - */ - XmlClassReference getCacheInterceptor(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlEntity_2_0#getCacheInterceptor Cache Interceptor}' containment reference. - * - * - * @param value the new value of the 'Cache Interceptor' containment reference. - * @see #getCacheInterceptor() - * @generated - */ - void setCacheInterceptor(XmlClassReference value); - - /** - * 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.v2_0.EclipseLinkOrmV2_0Package#getXmlEntity_2_0_QueryRedirectors() - * @model containment="true" - * @generated - */ - XmlQueryRedirectors getQueryRedirectors(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlEntity_2_0#getQueryRedirectors Query Redirectors}' containment reference. - * - * - * @param value the new value of the 'Query Redirectors' containment reference. - * @see #getQueryRedirectors() - * @generated - */ - void setQueryRedirectors(XmlQueryRedirectors value); - -} // XmlEntity2_0 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlManyToMany_2_0.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlManyToMany_2_0.java deleted file mode 100644 index 7d80cffea7..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlManyToMany_2_0.java +++ /dev/null @@ -1,33 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2009, 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.v2_0; - - -/** - * - * A representation of the model object 'Xml Many To Many 20'. - * - * 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.v2_0.EclipseLinkOrmV2_0Package#getXmlManyToMany_2_0() - * @model kind="class" interface="true" abstract="true" - * @generated - */ -public interface XmlManyToMany_2_0 extends XmlCollectionMapping_2_0 -{ -} diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlMapKeyAssociationOverrideContainer_2_0.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlMapKeyAssociationOverrideContainer_2_0.java deleted file mode 100644 index 3b159b788b..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlMapKeyAssociationOverrideContainer_2_0.java +++ /dev/null @@ -1,58 +0,0 @@ -/******************************************************************************* - * 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.v2_0; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; -import org.eclipse.jpt.jpa.core.resource.orm.XmlAssociationOverride; - -/** - * - * A representation of the model object 'Xml Map Key Association Override Container2 0'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlMapKeyAssociationOverrideContainer_2_0#getMapKeyAssociationOverrides Map Key Association Overrides}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlMapKeyAssociationOverrideContainer_2_0() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlMapKeyAssociationOverrideContainer_2_0 extends EBaseObject -{ - /** - * 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.v2_0.EclipseLinkOrmV2_0Package#getXmlMapKeyAssociationOverrideContainer_2_0_MapKeyAssociationOverrides() - * @model containment="true" - * @generated - */ - EList getMapKeyAssociationOverrides(); - -} // XmlMapKeyAssociationOverrideContainer2_0 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlMappedSuperclass_2_0.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlMappedSuperclass_2_0.java deleted file mode 100644 index 20cb2803d7..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlMappedSuperclass_2_0.java +++ /dev/null @@ -1,66 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2009, 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.v2_0; - -import org.eclipse.jpt.jpa.core.resource.orm.XmlClassReference; -import org.eclipse.jpt.jpa.core.resource.orm.v2_0.XmlCacheable_2_0; - -/** - * - * A representation of the model object 'Xml Mapped Superclass 20'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlMappedSuperclass_2_0#getCacheInterceptor Cache Interceptor}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlMappedSuperclass_2_0() - * @model kind="class" interface="true" abstract="true" - * @generated - */ -public interface XmlMappedSuperclass_2_0 extends XmlCacheable_2_0 -{ - - /** - * 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.v2_0.EclipseLinkOrmV2_0Package#getXmlMappedSuperclass_2_0_CacheInterceptor() - * @model containment="true" - * @generated - */ - XmlClassReference getCacheInterceptor(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlMappedSuperclass_2_0#getCacheInterceptor Cache Interceptor}' containment reference. - * - * - * @param value the new value of the 'Cache Interceptor' containment reference. - * @see #getCacheInterceptor() - * @generated - */ - void setCacheInterceptor(XmlClassReference value); - -} // XmlMappedSuperclass_2_0 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlOneToMany_2_0.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlOneToMany_2_0.java deleted file mode 100644 index 7df503683c..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlOneToMany_2_0.java +++ /dev/null @@ -1,33 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2009, 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.v2_0; - - -/** - * - * A representation of the model object 'Xml One To Many 20'. - * - * 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.v2_0.EclipseLinkOrmV2_0Package#getXmlOneToMany_2_0() - * @model kind="class" interface="true" abstract="true" - * @generated - */ -public interface XmlOneToMany_2_0 extends XmlCollectionMapping_2_0 -{ -} diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlOrderColumn_2_0.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlOrderColumn_2_0.java deleted file mode 100644 index 8e9198e48f..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlOrderColumn_2_0.java +++ /dev/null @@ -1,70 +0,0 @@ -/******************************************************************************* - * 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.v2_0; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Order Column 20'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlOrderColumn_2_0#getCorrectionType Correction Type}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlOrderColumn_2_0() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlOrderColumn_2_0 extends EBaseObject -{ - /** - * Returns the value of the 'Correction Type' attribute. - * The literals are from the enumeration {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.OrderCorrectionType_2_0}. - * - *

- * If the meaning of the 'Correction Type' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Correction Type' attribute. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.OrderCorrectionType_2_0 - * @see #setCorrectionType(OrderCorrectionType_2_0) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlOrderColumn_2_0_CorrectionType() - * @model - * @generated - */ - OrderCorrectionType_2_0 getCorrectionType(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlOrderColumn_2_0#getCorrectionType Correction Type}' attribute. - * - * - * @param value the new value of the 'Correction Type' attribute. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.OrderCorrectionType_2_0 - * @see #getCorrectionType() - * @generated - */ - void setCorrectionType(OrderCorrectionType_2_0 value); - -} // XmlOrderColumn_2_0 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlQueryRedirectors_2_0.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlQueryRedirectors_2_0.java deleted file mode 100644 index 04b3ba09e1..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlQueryRedirectors_2_0.java +++ /dev/null @@ -1,227 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2009, 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.v2_0; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Query Redirectors2 0'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getAllQueries All Queries}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getReadAll Read All}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getReadObject Read Object}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getReport Report}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getUpdate Update}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getInsert Insert}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getDelete Delete}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlQueryRedirectors_2_0() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlQueryRedirectors_2_0 extends EBaseObject -{ - /** - * Returns the value of the 'All Queries' attribute. - * - *

- * If the meaning of the 'All Queries' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'All Queries' attribute. - * @see #setAllQueries(String) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlQueryRedirectors_2_0_AllQueries() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getAllQueries(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getAllQueries All Queries}' attribute. - * - * - * @param value the new value of the 'All Queries' attribute. - * @see #getAllQueries() - * @generated - */ - void setAllQueries(String value); - - /** - * Returns the value of the 'Read All' attribute. - * - *

- * If the meaning of the 'Read All' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Read All' attribute. - * @see #setReadAll(String) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlQueryRedirectors_2_0_ReadAll() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getReadAll(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getReadAll Read All}' attribute. - * - * - * @param value the new value of the 'Read All' attribute. - * @see #getReadAll() - * @generated - */ - void setReadAll(String value); - - /** - * Returns the value of the 'Read Object' attribute. - * - *

- * If the meaning of the 'Read Object' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Read Object' attribute. - * @see #setReadObject(String) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlQueryRedirectors_2_0_ReadObject() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getReadObject(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getReadObject Read Object}' attribute. - * - * - * @param value the new value of the 'Read Object' attribute. - * @see #getReadObject() - * @generated - */ - void setReadObject(String value); - - /** - * Returns the value of the 'Report' attribute. - * - *

- * If the meaning of the 'Report' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Report' attribute. - * @see #setReport(String) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlQueryRedirectors_2_0_Report() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getReport(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getReport Report}' attribute. - * - * - * @param value the new value of the 'Report' attribute. - * @see #getReport() - * @generated - */ - void setReport(String value); - - /** - * Returns the value of the 'Update' attribute. - * - *

- * If the meaning of the 'Update' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Update' attribute. - * @see #setUpdate(String) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlQueryRedirectors_2_0_Update() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getUpdate(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getUpdate Update}' attribute. - * - * - * @param value the new value of the 'Update' attribute. - * @see #getUpdate() - * @generated - */ - void setUpdate(String value); - - /** - * Returns the value of the 'Insert' attribute. - * - *

- * If the meaning of the 'Insert' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Insert' attribute. - * @see #setInsert(String) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlQueryRedirectors_2_0_Insert() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getInsert(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getInsert Insert}' attribute. - * - * - * @param value the new value of the 'Insert' attribute. - * @see #getInsert() - * @generated - */ - void setInsert(String value); - - /** - * Returns the value of the 'Delete' attribute. - * - *

- * If the meaning of the 'Delete' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Delete' attribute. - * @see #setDelete(String) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlQueryRedirectors_2_0_Delete() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getDelete(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlQueryRedirectors_2_0#getDelete Delete}' attribute. - * - * - * @param value the new value of the 'Delete' attribute. - * @see #getDelete() - * @generated - */ - void setDelete(String value); - -} // XmlQueryRedirectors2_0 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/BatchFetchType_2_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/BatchFetchType_2_1.java deleted file mode 100644 index e78b22cf6c..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/BatchFetchType_2_1.java +++ /dev/null @@ -1,265 +0,0 @@ -/******************************************************************************* - * 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.v2_1; - -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 'Batch Fetch Type 21', - * 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.3 - * @since 2.3 - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getBatchFetchType_2_1() - * @model - * @generated - */ -public enum BatchFetchType_2_1 implements Enumerator -{ - /** - * The 'JOIN' literal object. - * - * - * @see #JOIN_VALUE - * @generated - * @ordered - */ - JOIN(0, "JOIN", "JOIN"), - - /** - * The 'EXISTS' literal object. - * - * - * @see #EXISTS_VALUE - * @generated - * @ordered - */ - EXISTS(1, "EXISTS", "EXISTS"), - - /** - * The 'IN' literal object. - * - * - * @see #IN_VALUE - * @generated - * @ordered - */ - IN(2, "IN", "IN"); - - /** - * The 'JOIN' literal value. - * - *

- * If the meaning of 'JOIN' literal object isn't clear, - * there really should be more of a description here... - *

- * - * @see #JOIN - * @model - * @generated - * @ordered - */ - public static final int JOIN_VALUE = 0; - - /** - * The 'EXISTS' literal value. - * - *

- * If the meaning of 'EXISTS' literal object isn't clear, - * there really should be more of a description here... - *

- * - * @see #EXISTS - * @model - * @generated - * @ordered - */ - public static final int EXISTS_VALUE = 1; - - /** - * 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 = 2; - - /** - * An array of all the 'Batch Fetch Type 21' enumerators. - * - * - * @generated - */ - private static final BatchFetchType_2_1[] VALUES_ARRAY = - new BatchFetchType_2_1[] - { - JOIN, - EXISTS, - IN, - }; - - /** - * A public read-only list of all the 'Batch Fetch Type 21' enumerators. - * - * - * @generated - */ - public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the 'Batch Fetch Type 21' literal with the specified literal value. - * - * - * @generated - */ - public static BatchFetchType_2_1 get(String literal) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - BatchFetchType_2_1 result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) - { - return result; - } - } - return null; - } - - /** - * Returns the 'Batch Fetch Type 21' literal with the specified name. - * - * - * @generated - */ - public static BatchFetchType_2_1 getByName(String name) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - BatchFetchType_2_1 result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) - { - return result; - } - } - return null; - } - - /** - * Returns the 'Batch Fetch Type 21' literal with the specified integer value. - * - * - * @generated - */ - public static BatchFetchType_2_1 get(int value) - { - switch (value) - { - case JOIN_VALUE: return JOIN; - case EXISTS_VALUE: return EXISTS; - case IN_VALUE: return IN; - } - return null; - } - - /** - * - * - * @generated - */ - private final int value; - - /** - * - * - * @generated - */ - private final String name; - - /** - * - * - * @generated - */ - private final String literal; - - /** - * Only this class can construct instances. - * - * - * @generated - */ - private BatchFetchType_2_1(int value, String name, String literal) - { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * - * - * @generated - */ - public int getValue() - { - return value; - } - - /** - * - * - * @generated - */ - public String getName() - { - return name; - } - - /** - * - * - * @generated - */ - public String getLiteral() - { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * - * - * @generated - */ - @Override - public String toString() - { - return literal; - } - -} //BatchFetchType_2_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/CacheKeyType_2_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/CacheKeyType_2_1.java deleted file mode 100644 index 6d36604765..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/CacheKeyType_2_1.java +++ /dev/null @@ -1,258 +0,0 @@ -/******************************************************************************* - * 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.v2_1; - -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 'Cache Key Type 21', - * and utility methods for working with them. - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getCacheKeyType_2_1() - * @model - * @generated - */ -public enum CacheKeyType_2_1 implements Enumerator -{ - /** - * The 'ID VALUE' literal object. - * - * - * @see #ID_VALUE_VALUE - * @generated - * @ordered - */ - ID_VALUE(0, "ID_VALUE", "ID_VALUE"), - - /** - * The 'CACHE KEY' literal object. - * - * - * @see #CACHE_KEY_VALUE - * @generated - * @ordered - */ - CACHE_KEY(1, "CACHE_KEY", "CACHE_KEY"), - - /** - * The 'AUTO' literal object. - * - * - * @see #AUTO_VALUE - * @generated - * @ordered - */ - AUTO(2, "AUTO", "AUTO"); - - /** - * The 'ID VALUE' literal value. - * - *

- * If the meaning of 'ID VALUE' literal object isn't clear, - * there really should be more of a description here... - *

- * - * @see #ID_VALUE - * @model - * @generated - * @ordered - */ - public static final int ID_VALUE_VALUE = 0; - - /** - * The 'CACHE KEY' literal value. - * - *

- * If the meaning of 'CACHE KEY' literal object isn't clear, - * there really should be more of a description here... - *

- * - * @see #CACHE_KEY - * @model - * @generated - * @ordered - */ - public static final int CACHE_KEY_VALUE = 1; - - /** - * 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 = 2; - - /** - * An array of all the 'Cache Key Type 21' enumerators. - * - * - * @generated - */ - private static final CacheKeyType_2_1[] VALUES_ARRAY = - new CacheKeyType_2_1[] - { - ID_VALUE, - CACHE_KEY, - AUTO, - }; - - /** - * A public read-only list of all the 'Cache Key Type 21' enumerators. - * - * - * @generated - */ - public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the 'Cache Key Type 21' literal with the specified literal value. - * - * - * @generated - */ - public static CacheKeyType_2_1 get(String literal) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - CacheKeyType_2_1 result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) - { - return result; - } - } - return null; - } - - /** - * Returns the 'Cache Key Type 21' literal with the specified name. - * - * - * @generated - */ - public static CacheKeyType_2_1 getByName(String name) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - CacheKeyType_2_1 result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) - { - return result; - } - } - return null; - } - - /** - * Returns the 'Cache Key Type 21' literal with the specified integer value. - * - * - * @generated - */ - public static CacheKeyType_2_1 get(int value) - { - switch (value) - { - case ID_VALUE_VALUE: return ID_VALUE; - case CACHE_KEY_VALUE: return CACHE_KEY; - case AUTO_VALUE: return AUTO; - } - return null; - } - - /** - * - * - * @generated - */ - private final int value; - - /** - * - * - * @generated - */ - private final String name; - - /** - * - * - * @generated - */ - private final String literal; - - /** - * Only this class can construct instances. - * - * - * @generated - */ - private CacheKeyType_2_1(int value, String name, String literal) - { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * - * - * @generated - */ - public int getValue() - { - return value; - } - - /** - * - * - * @generated - */ - public String getName() - { - return name; - } - - /** - * - * - * @generated - */ - public String getLiteral() - { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * - * - * @generated - */ - @Override - public String toString() - { - return literal; - } - -} //CacheKeyType_2_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/EclipseLink2_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/EclipseLink2_1.java deleted file mode 100644 index 5bd544a267..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/EclipseLink2_1.java +++ /dev/null @@ -1,39 +0,0 @@ -/******************************************************************************* - * 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.v2_1; - -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLink; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLink2_0; - -@SuppressWarnings("nls") -public interface EclipseLink2_1 - extends EclipseLink2_0 -{ - String SCHEMA_NAMESPACE = EclipseLink.SCHEMA_NAMESPACE; - String SCHEMA_LOCATION = "http://www.eclipse.org/eclipselink/xsds/eclipselink_orm_2_1.xsd"; - String SCHEMA_VERSION = "2.1"; - - - // EclipseLink 2.1 specific nodes - - String ATTRIBUTE = "attribute"; - String ATTRIBUTE_TYPE = "attribute-type"; - String BATCH_FETCH = "batch-fetch"; - String BATCH_FETCH__SIZE = "size"; - String BATCH_FETCH__TYPE = "type"; - String CACHE_KEY_TYPE = "cache-key-type"; - String CLASS_EXTRACTOR = "class-extractor"; - String FETCH_GROUP = "fetch-group"; - String FETCH_GROUP__LOAD = "load"; - String PARENT_CLASS = "parent-class"; - String RETURN_INSERT = "return-insert"; - String RETURN_ONLY = "return-only"; - String RETURN_UPDATE = "return-update"; -} diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/EclipseLinkOrmV2_1Factory.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/EclipseLinkOrmV2_1Factory.java deleted file mode 100644 index b3d74cbfef..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/EclipseLinkOrmV2_1Factory.java +++ /dev/null @@ -1,192 +0,0 @@ -/******************************************************************************* - * 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.v2_1; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.impl.EFactoryImpl; -import org.eclipse.emf.ecore.plugin.EcorePlugin; - -/** - * - * The Factory for the model. - * It provides a create method for each non-abstract class of the model. - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package - * @generated - */ -public class EclipseLinkOrmV2_1Factory extends EFactoryImpl -{ - /** - * The singleton instance of the factory. - * - * - * @generated - */ - public static final EclipseLinkOrmV2_1Factory eINSTANCE = init(); - - /** - * Creates the default factory implementation. - * - * - * @generated - */ - public static EclipseLinkOrmV2_1Factory init() - { - try - { - EclipseLinkOrmV2_1Factory theEclipseLinkOrmV2_1Factory = (EclipseLinkOrmV2_1Factory)EPackage.Registry.INSTANCE.getEFactory("jpt.eclipselink.orm.v2_1.xmi"); - if (theEclipseLinkOrmV2_1Factory != null) - { - return theEclipseLinkOrmV2_1Factory; - } - } - catch (Exception exception) - { - EcorePlugin.INSTANCE.log(exception); - } - return new EclipseLinkOrmV2_1Factory(); - } - - /** - * Creates an instance of the factory. - * - * - * @generated - */ - public EclipseLinkOrmV2_1Factory() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - public EObject create(EClass eClass) - { - switch (eClass.getClassifierID()) - { - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - @Override - public Object createFromString(EDataType eDataType, String initialValue) - { - switch (eDataType.getClassifierID()) - { - case EclipseLinkOrmV2_1Package.CACHE_KEY_TYPE_21: - return createCacheKeyType_2_1FromString(eDataType, initialValue); - case EclipseLinkOrmV2_1Package.BATCH_FETCH_TYPE_21: - return createBatchFetchType_2_1FromString(eDataType, initialValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - @Override - public String convertToString(EDataType eDataType, Object instanceValue) - { - switch (eDataType.getClassifierID()) - { - case EclipseLinkOrmV2_1Package.CACHE_KEY_TYPE_21: - return convertCacheKeyType_2_1ToString(eDataType, instanceValue); - case EclipseLinkOrmV2_1Package.BATCH_FETCH_TYPE_21: - return convertBatchFetchType_2_1ToString(eDataType, instanceValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - public CacheKeyType_2_1 createCacheKeyType_2_1FromString(EDataType eDataType, String initialValue) - { - CacheKeyType_2_1 result = CacheKeyType_2_1.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * - * - * @generated - */ - public String convertCacheKeyType_2_1ToString(EDataType eDataType, Object instanceValue) - { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * - * - * @generated - */ - public BatchFetchType_2_1 createBatchFetchType_2_1FromString(EDataType eDataType, String initialValue) - { - BatchFetchType_2_1 result = BatchFetchType_2_1.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * - * - * @generated - */ - public String convertBatchFetchType_2_1ToString(EDataType eDataType, Object instanceValue) - { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * - * - * @generated - */ - public EclipseLinkOrmV2_1Package getEclipseLinkOrmV2_1Package() - { - return (EclipseLinkOrmV2_1Package)getEPackage(); - } - - /** - * - * - * @deprecated - * @generated - */ - @Deprecated - public static EclipseLinkOrmV2_1Package getPackage() - { - return EclipseLinkOrmV2_1Package.eINSTANCE; - } - -} //EclipseLinkOrmV2_1Factory diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/EclipseLinkOrmV2_1Package.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/EclipseLinkOrmV2_1Package.java deleted file mode 100644 index 6fda69f9a7..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/EclipseLinkOrmV2_1Package.java +++ /dev/null @@ -1,1973 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2010, 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.v2_1; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EEnum; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; -import org.eclipse.emf.ecore.impl.EPackageImpl; -import org.eclipse.emf.ecore.xml.type.XMLTypePackage; -import org.eclipse.jpt.jpa.core.resource.orm.OrmPackage; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package; - -/** - * - * The Package for the model. - * It contains accessors for the meta objects to represent - *
    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • - *
- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Factory - * @model kind="package" - * @generated - */ -public class EclipseLinkOrmV2_1Package extends EPackageImpl -{ - /** - * The package name. - * - * - * @generated - */ - public static final String eNAME = "v2_1"; - - /** - * The package namespace URI. - * - * - * @generated - */ - public static final String eNS_URI = "jpt.eclipselink.orm.v2_1.xmi"; - - /** - * The package namespace name. - * - * - * @generated - */ - public static final String eNS_PREFIX = "org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1"; - - /** - * The singleton instance of the package. - * - * - * @generated - */ - public static final EclipseLinkOrmV2_1Package eINSTANCE = org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package.init(); - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBasic_2_1 Xml Basic 21}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBasic_2_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlBasic_2_1() - * @generated - */ - public static final int XML_BASIC_21 = 0; - - /** - * The feature id for the 'Return Insert' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC_21__RETURN_INSERT = 0; - - /** - * The feature id for the 'Return Update' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC_21__RETURN_UPDATE = 1; - - /** - * The number of structural features of the 'Xml Basic 21' class. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC_21_FEATURE_COUNT = 2; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBatchFetch_2_1 Xml Batch Fetch 21}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBatchFetch_2_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlBatchFetch_2_1() - * @generated - */ - public static final int XML_BATCH_FETCH_21 = 1; - - /** - * The feature id for the 'Size' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_BATCH_FETCH_21__SIZE = 0; - - /** - * The feature id for the 'Batch Fetch Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_BATCH_FETCH_21__BATCH_FETCH_TYPE = 1; - - /** - * The number of structural features of the 'Xml Batch Fetch 21' class. - * - * - * @generated - * @ordered - */ - public static final int XML_BATCH_FETCH_21_FEATURE_COUNT = 2; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlElementCollection_2_1 Xml Element Collection 21}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlElementCollection_2_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlElementCollection_2_1() - * @generated - */ - public static final int XML_ELEMENT_COLLECTION_21 = 2; - - /** - * The feature id for the 'Join Fetch' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION_21__JOIN_FETCH = EclipseLinkOrmPackage.XML_JOIN_FETCH__JOIN_FETCH; - - /** - * The feature id for the 'Batch Fetch' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION_21__BATCH_FETCH = EclipseLinkOrmPackage.XML_JOIN_FETCH_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Xml Element Collection 21' class. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION_21_FEATURE_COUNT = EclipseLinkOrmPackage.XML_JOIN_FETCH_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlTypeMapping_2_1 Xml Type Mapping 21}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlTypeMapping_2_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlTypeMapping_2_1() - * @generated - */ - public static final int XML_TYPE_MAPPING_21 = 16; - - /** - * The feature id for the 'Access Methods' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_TYPE_MAPPING_21__ACCESS_METHODS = EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS; - - /** - * The feature id for the 'Parent Class' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TYPE_MAPPING_21__PARENT_CLASS = EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Xml Type Mapping 21' class. - * - * - * @generated - * @ordered - */ - public static final int XML_TYPE_MAPPING_21_FEATURE_COUNT = EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroupContainer_2_1 Xml Fetch Group Container 21}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroupContainer_2_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlFetchGroupContainer_2_1() - * @generated - */ - public static final int XML_FETCH_GROUP_CONTAINER_21 = 7; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlEntity_2_1 Xml Entity 21}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlEntity_2_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlEntity_2_1() - * @generated - */ - public static final int XML_ENTITY_21 = 3; - - /** - * The feature id for the 'Access Methods' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_21__ACCESS_METHODS = XML_TYPE_MAPPING_21__ACCESS_METHODS; - - /** - * The feature id for the 'Parent Class' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_21__PARENT_CLASS = XML_TYPE_MAPPING_21__PARENT_CLASS; - - /** - * The feature id for the 'Fetch Groups' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_21__FETCH_GROUPS = XML_TYPE_MAPPING_21_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Class Extractor' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_21__CLASS_EXTRACTOR = XML_TYPE_MAPPING_21_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Xml Entity 21' class. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_21_FEATURE_COUNT = XML_TYPE_MAPPING_21_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlEntityMappings_2_1 Xml Entity Mappings 21}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlEntityMappings_2_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlEntityMappings_2_1() - * @generated - */ - public static final int XML_ENTITY_MAPPINGS_21 = 4; - - /** - * The feature id for the 'Access Methods' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS_21__ACCESS_METHODS = EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS; - - /** - * The number of structural features of the 'Xml Entity Mappings 21' class. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS_21_FEATURE_COUNT = EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchAttribute_2_1 Xml Fetch Attribute 21}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchAttribute_2_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlFetchAttribute_2_1() - * @generated - */ - public static final int XML_FETCH_ATTRIBUTE_21 = 5; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_FETCH_ATTRIBUTE_21__NAME = 0; - - /** - * The number of structural features of the 'Xml Fetch Attribute 21' class. - * - * - * @generated - * @ordered - */ - public static final int XML_FETCH_ATTRIBUTE_21_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroup_2_1 Xml Fetch Group 21}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroup_2_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlFetchGroup_2_1() - * @generated - */ - public static final int XML_FETCH_GROUP_21 = 6; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_FETCH_GROUP_21__NAME = 0; - - /** - * The feature id for the 'Load' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_FETCH_GROUP_21__LOAD = 1; - - /** - * The feature id for the 'Attributes' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_FETCH_GROUP_21__ATTRIBUTES = 2; - - /** - * The number of structural features of the 'Xml Fetch Group 21' class. - * - * - * @generated - * @ordered - */ - public static final int XML_FETCH_GROUP_21_FEATURE_COUNT = 3; - - /** - * The feature id for the 'Fetch Groups' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_FETCH_GROUP_CONTAINER_21__FETCH_GROUPS = 0; - - /** - * The number of structural features of the 'Xml Fetch Group Container 21' class. - * - * - * @generated - * @ordered - */ - public static final int XML_FETCH_GROUP_CONTAINER_21_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlManyToMany_2_1 Xml Many To Many 21}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlManyToMany_2_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlManyToMany_2_1() - * @generated - */ - public static final int XML_MANY_TO_MANY_21 = 8; - - /** - * The feature id for the 'Batch Fetch' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY_21__BATCH_FETCH = EclipseLinkOrmPackage.XML_BATCH_FETCH_HOLDER__BATCH_FETCH; - - /** - * The number of structural features of the 'Xml Many To Many 21' class. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY_21_FEATURE_COUNT = EclipseLinkOrmPackage.XML_BATCH_FETCH_HOLDER_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlManyToOne_2_1 Xml Many To One 21}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlManyToOne_2_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlManyToOne_2_1() - * @generated - */ - public static final int XML_MANY_TO_ONE_21 = 9; - - /** - * The feature id for the 'Batch Fetch' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_ONE_21__BATCH_FETCH = EclipseLinkOrmPackage.XML_BATCH_FETCH_HOLDER__BATCH_FETCH; - - /** - * The number of structural features of the 'Xml Many To One 21' class. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_ONE_21_FEATURE_COUNT = EclipseLinkOrmPackage.XML_BATCH_FETCH_HOLDER_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlMappedSuperclass_2_1 Xml Mapped Superclass 21}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlMappedSuperclass_2_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlMappedSuperclass_2_1() - * @generated - */ - public static final int XML_MAPPED_SUPERCLASS_21 = 10; - - /** - * The feature id for the 'Association Overrides' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS_21__ASSOCIATION_OVERRIDES = OrmPackage.XML_ASSOCIATION_OVERRIDE_CONTAINER__ASSOCIATION_OVERRIDES; - - /** - * The feature id for the 'Attribute Overrides' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS_21__ATTRIBUTE_OVERRIDES = OrmPackage.XML_ASSOCIATION_OVERRIDE_CONTAINER_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Fetch Groups' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS_21__FETCH_GROUPS = OrmPackage.XML_ASSOCIATION_OVERRIDE_CONTAINER_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Sequence Generator' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS_21__SEQUENCE_GENERATOR = OrmPackage.XML_ASSOCIATION_OVERRIDE_CONTAINER_FEATURE_COUNT + 2; - - /** - * The feature id for the 'Table Generator' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS_21__TABLE_GENERATOR = OrmPackage.XML_ASSOCIATION_OVERRIDE_CONTAINER_FEATURE_COUNT + 3; - - /** - * The feature id for the 'Named Queries' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS_21__NAMED_QUERIES = OrmPackage.XML_ASSOCIATION_OVERRIDE_CONTAINER_FEATURE_COUNT + 4; - - /** - * The feature id for the 'Named Native Queries' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS_21__NAMED_NATIVE_QUERIES = OrmPackage.XML_ASSOCIATION_OVERRIDE_CONTAINER_FEATURE_COUNT + 5; - - /** - * The feature id for the 'Named Stored Procedure Queries' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS_21__NAMED_STORED_PROCEDURE_QUERIES = OrmPackage.XML_ASSOCIATION_OVERRIDE_CONTAINER_FEATURE_COUNT + 6; - - /** - * The feature id for the 'Access Methods' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS_21__ACCESS_METHODS = OrmPackage.XML_ASSOCIATION_OVERRIDE_CONTAINER_FEATURE_COUNT + 7; - - /** - * The feature id for the 'Parent Class' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS_21__PARENT_CLASS = OrmPackage.XML_ASSOCIATION_OVERRIDE_CONTAINER_FEATURE_COUNT + 8; - - /** - * The feature id for the 'Sql Result Set Mappings' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS_21__SQL_RESULT_SET_MAPPINGS = OrmPackage.XML_ASSOCIATION_OVERRIDE_CONTAINER_FEATURE_COUNT + 9; - - /** - * The feature id for the 'Query Redirectors' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS_21__QUERY_REDIRECTORS = OrmPackage.XML_ASSOCIATION_OVERRIDE_CONTAINER_FEATURE_COUNT + 10; - - /** - * The number of structural features of the 'Xml Mapped Superclass 21' class. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS_21_FEATURE_COUNT = OrmPackage.XML_ASSOCIATION_OVERRIDE_CONTAINER_FEATURE_COUNT + 11; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlOneToMany_2_1 Xml One To Many 21}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlOneToMany_2_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlOneToMany_2_1() - * @generated - */ - public static final int XML_ONE_TO_MANY_21 = 11; - - /** - * The feature id for the 'Batch Fetch' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY_21__BATCH_FETCH = EclipseLinkOrmPackage.XML_BATCH_FETCH_HOLDER__BATCH_FETCH; - - /** - * The number of structural features of the 'Xml One To Many 21' class. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY_21_FEATURE_COUNT = EclipseLinkOrmPackage.XML_BATCH_FETCH_HOLDER_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlOneToOne_2_1 Xml One To One 21}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlOneToOne_2_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlOneToOne_2_1() - * @generated - */ - public static final int XML_ONE_TO_ONE_21 = 12; - - /** - * The feature id for the 'Batch Fetch' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE_21__BATCH_FETCH = EclipseLinkOrmPackage.XML_BATCH_FETCH_HOLDER__BATCH_FETCH; - - /** - * The number of structural features of the 'Xml One To One 21' class. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE_21_FEATURE_COUNT = EclipseLinkOrmPackage.XML_BATCH_FETCH_HOLDER_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlPersistenceUnitDefaults_2_1 Xml Persistence Unit Defaults 21}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlPersistenceUnitDefaults_2_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlPersistenceUnitDefaults_2_1() - * @generated - */ - public static final int XML_PERSISTENCE_UNIT_DEFAULTS_21 = 13; - - /** - * The feature id for the 'Access Methods' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_PERSISTENCE_UNIT_DEFAULTS_21__ACCESS_METHODS = EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS; - - /** - * The number of structural features of the 'Xml Persistence Unit Defaults 21' class. - * - * - * @generated - * @ordered - */ - public static final int XML_PERSISTENCE_UNIT_DEFAULTS_21_FEATURE_COUNT = EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlReturnInsert_2_1 Xml Return Insert 21}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlReturnInsert_2_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlReturnInsert_2_1() - * @generated - */ - public static final int XML_RETURN_INSERT_21 = 15; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlPrimaryKey_2_1 Xml Primary Key 21}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlPrimaryKey_2_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlPrimaryKey_2_1() - * @generated - */ - public static final int XML_PRIMARY_KEY_21 = 14; - - /** - * The feature id for the 'Cache Key Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_PRIMARY_KEY_21__CACHE_KEY_TYPE = 0; - - /** - * The number of structural features of the 'Xml Primary Key 21' class. - * - * - * @generated - * @ordered - */ - public static final int XML_PRIMARY_KEY_21_FEATURE_COUNT = 1; - - /** - * The feature id for the 'Return Only' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_RETURN_INSERT_21__RETURN_ONLY = 0; - - /** - * The number of structural features of the 'Xml Return Insert 21' class. - * - * - * @generated - * @ordered - */ - public static final int XML_RETURN_INSERT_21_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.CacheKeyType_2_1 Cache Key Type 21}' enum. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.CacheKeyType_2_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getCacheKeyType_2_1() - * @generated - */ - public static final int CACHE_KEY_TYPE_21 = 17; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.BatchFetchType_2_1 Batch Fetch Type 21}' enum. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.BatchFetchType_2_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getBatchFetchType_2_1() - * @generated - */ - public static final int BATCH_FETCH_TYPE_21 = 18; - - /** - * - * - * @generated - */ - private EClass xmlBasic_2_1EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlBatchFetch_2_1EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlElementCollection_2_1EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlEntity_2_1EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlEntityMappings_2_1EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlFetchAttribute_2_1EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlFetchGroup_2_1EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlFetchGroupContainer_2_1EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlManyToMany_2_1EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlManyToOne_2_1EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlMappedSuperclass_2_1EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlOneToMany_2_1EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlOneToOne_2_1EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlPersistenceUnitDefaults_2_1EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlReturnInsert_2_1EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlTypeMapping_2_1EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlPrimaryKey_2_1EClass = null; - - /** - * - * - * @generated - */ - private EEnum cacheKeyType_2_1EEnum = null; - - /** - * - * - * @generated - */ - private EEnum batchFetchType_2_1EEnum = null; - - /** - * Creates an instance of the model Package, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - *

Note: 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.v2_1.EclipseLinkOrmV2_1Package#eNS_URI - * @see #init() - * @generated - */ - private EclipseLinkOrmV2_1Package() - { - super(eNS_URI, EclipseLinkOrmV2_1Factory.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 EclipseLinkOrmV2_1Package#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 EclipseLinkOrmV2_1Package init() - { - if (isInited) return (EclipseLinkOrmV2_1Package)EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmV2_1Package.eNS_URI); - - // Obtain or create and register package - EclipseLinkOrmV2_1Package theEclipseLinkOrmV2_1Package = (EclipseLinkOrmV2_1Package)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof EclipseLinkOrmV2_1Package ? EPackage.Registry.INSTANCE.get(eNS_URI) : new EclipseLinkOrmV2_1Package()); - - isInited = true; - - // Initialize simple dependencies - OrmPackage.eINSTANCE.eClass(); - XMLTypePackage.eINSTANCE.eClass(); - - // Obtain or create and register interdependencies - EclipseLinkOrmPackage theEclipseLinkOrmPackage = (EclipseLinkOrmPackage)(EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmPackage.eNS_URI) instanceof EclipseLinkOrmPackage ? EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmPackage.eNS_URI) : EclipseLinkOrmPackage.eINSTANCE); - 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_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 - theEclipseLinkOrmV2_1Package.createPackageContents(); - theEclipseLinkOrmPackage.createPackageContents(); - theEclipseLinkOrmV1_1Package.createPackageContents(); - theEclipseLinkOrmV2_0Package.createPackageContents(); - theEclipseLinkOrmV2_2Package.createPackageContents(); - theEclipseLinkOrmV2_3Package.createPackageContents(); - theEclipseLinkOrmV2_4Package.createPackageContents(); - - // Initialize created meta-data - theEclipseLinkOrmV2_1Package.initializePackageContents(); - theEclipseLinkOrmPackage.initializePackageContents(); - theEclipseLinkOrmV1_1Package.initializePackageContents(); - theEclipseLinkOrmV2_0Package.initializePackageContents(); - theEclipseLinkOrmV2_2Package.initializePackageContents(); - theEclipseLinkOrmV2_3Package.initializePackageContents(); - theEclipseLinkOrmV2_4Package.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theEclipseLinkOrmV2_1Package.freeze(); - - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(EclipseLinkOrmV2_1Package.eNS_URI, theEclipseLinkOrmV2_1Package); - return theEclipseLinkOrmV2_1Package; - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBasic_2_1 Xml Basic 21}'. - * - * - * @return the meta object for class 'Xml Basic 21'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBasic_2_1 - * @generated - */ - public EClass getXmlBasic_2_1() - { - return xmlBasic_2_1EClass; - } - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBasic_2_1#getReturnInsert Return Insert}'. - * - * - * @return the meta object for the containment reference 'Return Insert'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBasic_2_1#getReturnInsert() - * @see #getXmlBasic_2_1() - * @generated - */ - public EReference getXmlBasic_2_1_ReturnInsert() - { - return (EReference)xmlBasic_2_1EClass.getEStructuralFeatures().get(0); - } - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBasic_2_1#getReturnUpdate Return Update}'. - * - * - * @return the meta object for the attribute 'Return Update'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBasic_2_1#getReturnUpdate() - * @see #getXmlBasic_2_1() - * @generated - */ - public EAttribute getXmlBasic_2_1_ReturnUpdate() - { - return (EAttribute)xmlBasic_2_1EClass.getEStructuralFeatures().get(1); - } - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBatchFetch_2_1 Xml Batch Fetch 21}'. - * - * - * @return the meta object for class 'Xml Batch Fetch 21'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBatchFetch_2_1 - * @generated - */ - public EClass getXmlBatchFetch_2_1() - { - return xmlBatchFetch_2_1EClass; - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBatchFetch_2_1#getSize Size}'. - * - * - * @return the meta object for the attribute 'Size'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBatchFetch_2_1#getSize() - * @see #getXmlBatchFetch_2_1() - * @generated - */ - public EAttribute getXmlBatchFetch_2_1_Size() - { - return (EAttribute)xmlBatchFetch_2_1EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBatchFetch_2_1#getBatchFetchType Batch Fetch Type}'. - * - * - * @return the meta object for the attribute 'Batch Fetch Type'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBatchFetch_2_1#getBatchFetchType() - * @see #getXmlBatchFetch_2_1() - * @generated - */ - public EAttribute getXmlBatchFetch_2_1_BatchFetchType() - { - return (EAttribute)xmlBatchFetch_2_1EClass.getEStructuralFeatures().get(1); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlElementCollection_2_1 Xml Element Collection 21}'. - * - * - * @return the meta object for class 'Xml Element Collection 21'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlElementCollection_2_1 - * @generated - */ - public EClass getXmlElementCollection_2_1() - { - return xmlElementCollection_2_1EClass; - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlEntity_2_1 Xml Entity 21}'. - * - * - * @return the meta object for class 'Xml Entity 21'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlEntity_2_1 - * @generated - */ - public EClass getXmlEntity_2_1() - { - return xmlEntity_2_1EClass; - } - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlEntity_2_1#getClassExtractor Class Extractor}'. - * - * - * @return the meta object for the containment reference 'Class Extractor'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlEntity_2_1#getClassExtractor() - * @see #getXmlEntity_2_1() - * @generated - */ - public EReference getXmlEntity_2_1_ClassExtractor() - { - return (EReference)xmlEntity_2_1EClass.getEStructuralFeatures().get(0); - } - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlEntityMappings_2_1 Xml Entity Mappings 21}'. - * - * - * @return the meta object for class 'Xml Entity Mappings 21'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlEntityMappings_2_1 - * @generated - */ - public EClass getXmlEntityMappings_2_1() - { - return xmlEntityMappings_2_1EClass; - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchAttribute_2_1 Xml Fetch Attribute 21}'. - * - * - * @return the meta object for class 'Xml Fetch Attribute 21'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchAttribute_2_1 - * @generated - */ - public EClass getXmlFetchAttribute_2_1() - { - return xmlFetchAttribute_2_1EClass; - } - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchAttribute_2_1#getName Name}'. - * - * - * @return the meta object for the attribute 'Name'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchAttribute_2_1#getName() - * @see #getXmlFetchAttribute_2_1() - * @generated - */ - public EAttribute getXmlFetchAttribute_2_1_Name() - { - return (EAttribute)xmlFetchAttribute_2_1EClass.getEStructuralFeatures().get(0); - } - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroup_2_1 Xml Fetch Group 21}'. - * - * - * @return the meta object for class 'Xml Fetch Group 21'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroup_2_1 - * @generated - */ - public EClass getXmlFetchGroup_2_1() - { - return xmlFetchGroup_2_1EClass; - } - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroup_2_1#getName Name}'. - * - * - * @return the meta object for the attribute 'Name'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroup_2_1#getName() - * @see #getXmlFetchGroup_2_1() - * @generated - */ - public EAttribute getXmlFetchGroup_2_1_Name() - { - return (EAttribute)xmlFetchGroup_2_1EClass.getEStructuralFeatures().get(0); - } - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroup_2_1#getAttributes Attributes}'. - * - * - * @return the meta object for the containment reference list 'Attributes'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroup_2_1#getAttributes() - * @see #getXmlFetchGroup_2_1() - * @generated - */ - public EReference getXmlFetchGroup_2_1_Attributes() - { - return (EReference)xmlFetchGroup_2_1EClass.getEStructuralFeatures().get(2); - } - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroup_2_1#getLoad Load}'. - * - * - * @return the meta object for the attribute 'Load'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroup_2_1#getLoad() - * @see #getXmlFetchGroup_2_1() - * @generated - */ - public EAttribute getXmlFetchGroup_2_1_Load() - { - return (EAttribute)xmlFetchGroup_2_1EClass.getEStructuralFeatures().get(1); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroupContainer_2_1 Xml Fetch Group Container 21}'. - * - * - * @return the meta object for class 'Xml Fetch Group Container 21'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroupContainer_2_1 - * @generated - */ - public EClass getXmlFetchGroupContainer_2_1() - { - return xmlFetchGroupContainer_2_1EClass; - } - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroupContainer_2_1#getFetchGroups Fetch Groups}'. - * - * - * @return the meta object for the containment reference list 'Fetch Groups'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroupContainer_2_1#getFetchGroups() - * @see #getXmlFetchGroupContainer_2_1() - * @generated - */ - public EReference getXmlFetchGroupContainer_2_1_FetchGroups() - { - return (EReference)xmlFetchGroupContainer_2_1EClass.getEStructuralFeatures().get(0); - } - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlManyToMany_2_1 Xml Many To Many 21}'. - * - * - * @return the meta object for class 'Xml Many To Many 21'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlManyToMany_2_1 - * @generated - */ - public EClass getXmlManyToMany_2_1() - { - return xmlManyToMany_2_1EClass; - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlManyToOne_2_1 Xml Many To One 21}'. - * - * - * @return the meta object for class 'Xml Many To One 21'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlManyToOne_2_1 - * @generated - */ - public EClass getXmlManyToOne_2_1() - { - return xmlManyToOne_2_1EClass; - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlMappedSuperclass_2_1 Xml Mapped Superclass 21}'. - * - * - * @return the meta object for class 'Xml Mapped Superclass 21'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlMappedSuperclass_2_1 - * @generated - */ - public EClass getXmlMappedSuperclass_2_1() - { - return xmlMappedSuperclass_2_1EClass; - } - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlMappedSuperclass_2_1#getSqlResultSetMappings Sql Result Set Mappings}'. - * - * - * @return the meta object for the containment reference list 'Sql Result Set Mappings'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlMappedSuperclass_2_1#getSqlResultSetMappings() - * @see #getXmlMappedSuperclass_2_1() - * @generated - */ - public EReference getXmlMappedSuperclass_2_1_SqlResultSetMappings() - { - return (EReference)xmlMappedSuperclass_2_1EClass.getEStructuralFeatures().get(0); - } - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlMappedSuperclass_2_1#getQueryRedirectors Query Redirectors}'. - * - * - * @return the meta object for the containment reference 'Query Redirectors'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlMappedSuperclass_2_1#getQueryRedirectors() - * @see #getXmlMappedSuperclass_2_1() - * @generated - */ - public EReference getXmlMappedSuperclass_2_1_QueryRedirectors() - { - return (EReference)xmlMappedSuperclass_2_1EClass.getEStructuralFeatures().get(1); - } - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlOneToMany_2_1 Xml One To Many 21}'. - * - * - * @return the meta object for class 'Xml One To Many 21'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlOneToMany_2_1 - * @generated - */ - public EClass getXmlOneToMany_2_1() - { - return xmlOneToMany_2_1EClass; - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlOneToOne_2_1 Xml One To One 21}'. - * - * - * @return the meta object for class 'Xml One To One 21'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlOneToOne_2_1 - * @generated - */ - public EClass getXmlOneToOne_2_1() - { - return xmlOneToOne_2_1EClass; - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlPersistenceUnitDefaults_2_1 Xml Persistence Unit Defaults 21}'. - * - * - * @return the meta object for class 'Xml Persistence Unit Defaults 21'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlPersistenceUnitDefaults_2_1 - * @generated - */ - public EClass getXmlPersistenceUnitDefaults_2_1() - { - return xmlPersistenceUnitDefaults_2_1EClass; - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlReturnInsert_2_1 Xml Return Insert 21}'. - * - * - * @return the meta object for class 'Xml Return Insert 21'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlReturnInsert_2_1 - * @generated - */ - public EClass getXmlReturnInsert_2_1() - { - return xmlReturnInsert_2_1EClass; - } - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlReturnInsert_2_1#getReturnOnly Return Only}'. - * - * - * @return the meta object for the attribute 'Return Only'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlReturnInsert_2_1#getReturnOnly() - * @see #getXmlReturnInsert_2_1() - * @generated - */ - public EAttribute getXmlReturnInsert_2_1_ReturnOnly() - { - return (EAttribute)xmlReturnInsert_2_1EClass.getEStructuralFeatures().get(0); - } - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlTypeMapping_2_1 Xml Type Mapping 21}'. - * - * - * @return the meta object for class 'Xml Type Mapping 21'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlTypeMapping_2_1 - * @generated - */ - public EClass getXmlTypeMapping_2_1() - { - return xmlTypeMapping_2_1EClass; - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlTypeMapping_2_1#getParentClass Parent Class}'. - * - * - * @return the meta object for the attribute 'Parent Class'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlTypeMapping_2_1#getParentClass() - * @see #getXmlTypeMapping_2_1() - * @generated - */ - public EAttribute getXmlTypeMapping_2_1_ParentClass() - { - return (EAttribute)xmlTypeMapping_2_1EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlPrimaryKey_2_1 Xml Primary Key 21}'. - * - * - * @return the meta object for class 'Xml Primary Key 21'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlPrimaryKey_2_1 - * @generated - */ - public EClass getXmlPrimaryKey_2_1() - { - return xmlPrimaryKey_2_1EClass; - } - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlPrimaryKey_2_1#getCacheKeyType Cache Key Type}'. - * - * - * @return the meta object for the attribute 'Cache Key Type'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlPrimaryKey_2_1#getCacheKeyType() - * @see #getXmlPrimaryKey_2_1() - * @generated - */ - public EAttribute getXmlPrimaryKey_2_1_CacheKeyType() - { - return (EAttribute)xmlPrimaryKey_2_1EClass.getEStructuralFeatures().get(0); - } - - /** - * Returns the meta object for enum '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.CacheKeyType_2_1 Cache Key Type 21}'. - * - * - * @return the meta object for enum 'Cache Key Type 21'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.CacheKeyType_2_1 - * @generated - */ - public EEnum getCacheKeyType_2_1() - { - return cacheKeyType_2_1EEnum; - } - - /** - * Returns the meta object for enum '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.BatchFetchType_2_1 Batch Fetch Type 21}'. - * - * - * @return the meta object for enum 'Batch Fetch Type 21'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.BatchFetchType_2_1 - * @generated - */ - public EEnum getBatchFetchType_2_1() - { - return batchFetchType_2_1EEnum; - } - - - /** - * Returns the factory that creates the instances of the model. - * - * - * @return the factory that creates the instances of the model. - * @generated - */ - public EclipseLinkOrmV2_1Factory getEclipseLinkOrmV2_1Factory() - { - return (EclipseLinkOrmV2_1Factory)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 - xmlBasic_2_1EClass = createEClass(XML_BASIC_21); - createEReference(xmlBasic_2_1EClass, XML_BASIC_21__RETURN_INSERT); - createEAttribute(xmlBasic_2_1EClass, XML_BASIC_21__RETURN_UPDATE); - - xmlBatchFetch_2_1EClass = createEClass(XML_BATCH_FETCH_21); - createEAttribute(xmlBatchFetch_2_1EClass, XML_BATCH_FETCH_21__SIZE); - createEAttribute(xmlBatchFetch_2_1EClass, XML_BATCH_FETCH_21__BATCH_FETCH_TYPE); - - xmlElementCollection_2_1EClass = createEClass(XML_ELEMENT_COLLECTION_21); - - xmlEntity_2_1EClass = createEClass(XML_ENTITY_21); - createEReference(xmlEntity_2_1EClass, XML_ENTITY_21__CLASS_EXTRACTOR); - - xmlEntityMappings_2_1EClass = createEClass(XML_ENTITY_MAPPINGS_21); - - xmlFetchAttribute_2_1EClass = createEClass(XML_FETCH_ATTRIBUTE_21); - createEAttribute(xmlFetchAttribute_2_1EClass, XML_FETCH_ATTRIBUTE_21__NAME); - - xmlFetchGroup_2_1EClass = createEClass(XML_FETCH_GROUP_21); - createEAttribute(xmlFetchGroup_2_1EClass, XML_FETCH_GROUP_21__NAME); - createEAttribute(xmlFetchGroup_2_1EClass, XML_FETCH_GROUP_21__LOAD); - createEReference(xmlFetchGroup_2_1EClass, XML_FETCH_GROUP_21__ATTRIBUTES); - - xmlFetchGroupContainer_2_1EClass = createEClass(XML_FETCH_GROUP_CONTAINER_21); - createEReference(xmlFetchGroupContainer_2_1EClass, XML_FETCH_GROUP_CONTAINER_21__FETCH_GROUPS); - - xmlManyToMany_2_1EClass = createEClass(XML_MANY_TO_MANY_21); - - xmlManyToOne_2_1EClass = createEClass(XML_MANY_TO_ONE_21); - - xmlMappedSuperclass_2_1EClass = createEClass(XML_MAPPED_SUPERCLASS_21); - createEReference(xmlMappedSuperclass_2_1EClass, XML_MAPPED_SUPERCLASS_21__SQL_RESULT_SET_MAPPINGS); - createEReference(xmlMappedSuperclass_2_1EClass, XML_MAPPED_SUPERCLASS_21__QUERY_REDIRECTORS); - - xmlOneToMany_2_1EClass = createEClass(XML_ONE_TO_MANY_21); - - xmlOneToOne_2_1EClass = createEClass(XML_ONE_TO_ONE_21); - - xmlPersistenceUnitDefaults_2_1EClass = createEClass(XML_PERSISTENCE_UNIT_DEFAULTS_21); - - xmlPrimaryKey_2_1EClass = createEClass(XML_PRIMARY_KEY_21); - createEAttribute(xmlPrimaryKey_2_1EClass, XML_PRIMARY_KEY_21__CACHE_KEY_TYPE); - - xmlReturnInsert_2_1EClass = createEClass(XML_RETURN_INSERT_21); - createEAttribute(xmlReturnInsert_2_1EClass, XML_RETURN_INSERT_21__RETURN_ONLY); - - xmlTypeMapping_2_1EClass = createEClass(XML_TYPE_MAPPING_21); - createEAttribute(xmlTypeMapping_2_1EClass, XML_TYPE_MAPPING_21__PARENT_CLASS); - - // Create enums - cacheKeyType_2_1EEnum = createEEnum(CACHE_KEY_TYPE_21); - batchFetchType_2_1EEnum = createEEnum(BATCH_FETCH_TYPE_21); - } - - /** - * - * - * @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 - EclipseLinkOrmPackage theEclipseLinkOrmPackage = (EclipseLinkOrmPackage)EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmPackage.eNS_URI); - XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI); - OrmPackage theOrmPackage = (OrmPackage)EPackage.Registry.INSTANCE.getEPackage(OrmPackage.eNS_URI); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - xmlElementCollection_2_1EClass.getESuperTypes().add(theEclipseLinkOrmPackage.getXmlJoinFetch()); - xmlElementCollection_2_1EClass.getESuperTypes().add(theEclipseLinkOrmPackage.getXmlBatchFetchHolder()); - xmlEntity_2_1EClass.getESuperTypes().add(this.getXmlTypeMapping_2_1()); - xmlEntity_2_1EClass.getESuperTypes().add(this.getXmlFetchGroupContainer_2_1()); - xmlEntityMappings_2_1EClass.getESuperTypes().add(theEclipseLinkOrmPackage.getXmlAccessMethodsHolder()); - xmlManyToMany_2_1EClass.getESuperTypes().add(theEclipseLinkOrmPackage.getXmlBatchFetchHolder()); - xmlManyToOne_2_1EClass.getESuperTypes().add(theEclipseLinkOrmPackage.getXmlBatchFetchHolder()); - xmlMappedSuperclass_2_1EClass.getESuperTypes().add(theOrmPackage.getXmlAssociationOverrideContainer()); - xmlMappedSuperclass_2_1EClass.getESuperTypes().add(theOrmPackage.getXmlAttributeOverrideContainer()); - xmlMappedSuperclass_2_1EClass.getESuperTypes().add(this.getXmlFetchGroupContainer_2_1()); - xmlMappedSuperclass_2_1EClass.getESuperTypes().add(theOrmPackage.getXmlGeneratorContainer()); - xmlMappedSuperclass_2_1EClass.getESuperTypes().add(theOrmPackage.getXmlQueryContainer()); - xmlMappedSuperclass_2_1EClass.getESuperTypes().add(theEclipseLinkOrmPackage.getXmlQueryContainer()); - xmlMappedSuperclass_2_1EClass.getESuperTypes().add(this.getXmlTypeMapping_2_1()); - xmlOneToMany_2_1EClass.getESuperTypes().add(theEclipseLinkOrmPackage.getXmlBatchFetchHolder()); - xmlOneToOne_2_1EClass.getESuperTypes().add(theEclipseLinkOrmPackage.getXmlBatchFetchHolder()); - xmlPersistenceUnitDefaults_2_1EClass.getESuperTypes().add(theEclipseLinkOrmPackage.getXmlAccessMethodsHolder()); - xmlTypeMapping_2_1EClass.getESuperTypes().add(theEclipseLinkOrmPackage.getXmlAccessMethodsHolder()); - - // Initialize classes and features; add operations and parameters - initEClass(xmlBasic_2_1EClass, XmlBasic_2_1.class, "XmlBasic_2_1", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getXmlBasic_2_1_ReturnInsert(), theEclipseLinkOrmPackage.getXmlReturnInsert(), null, "returnInsert", null, 0, 1, XmlBasic_2_1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXmlBasic_2_1_ReturnUpdate(), theXMLTypePackage.getBooleanObject(), "returnUpdate", null, 0, 1, XmlBasic_2_1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlBatchFetch_2_1EClass, XmlBatchFetch_2_1.class, "XmlBatchFetch_2_1", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlBatchFetch_2_1_Size(), theXMLTypePackage.getIntObject(), "size", null, 0, 1, XmlBatchFetch_2_1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXmlBatchFetch_2_1_BatchFetchType(), this.getBatchFetchType_2_1(), "batchFetchType", null, 0, 1, XmlBatchFetch_2_1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlElementCollection_2_1EClass, XmlElementCollection_2_1.class, "XmlElementCollection_2_1", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(xmlEntity_2_1EClass, XmlEntity_2_1.class, "XmlEntity_2_1", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getXmlEntity_2_1_ClassExtractor(), theOrmPackage.getXmlClassReference(), null, "classExtractor", null, 0, 1, XmlEntity_2_1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlEntityMappings_2_1EClass, XmlEntityMappings_2_1.class, "XmlEntityMappings_2_1", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(xmlFetchAttribute_2_1EClass, XmlFetchAttribute_2_1.class, "XmlFetchAttribute_2_1", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlFetchAttribute_2_1_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, XmlFetchAttribute_2_1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlFetchGroup_2_1EClass, XmlFetchGroup_2_1.class, "XmlFetchGroup_2_1", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlFetchGroup_2_1_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, XmlFetchGroup_2_1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXmlFetchGroup_2_1_Load(), theXMLTypePackage.getBooleanObject(), "load", null, 0, 1, XmlFetchGroup_2_1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXmlFetchGroup_2_1_Attributes(), theEclipseLinkOrmPackage.getXmlFetchAttribute(), null, "attributes", null, 0, -1, XmlFetchGroup_2_1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlFetchGroupContainer_2_1EClass, XmlFetchGroupContainer_2_1.class, "XmlFetchGroupContainer_2_1", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getXmlFetchGroupContainer_2_1_FetchGroups(), theEclipseLinkOrmPackage.getXmlFetchGroup(), null, "fetchGroups", null, 0, -1, XmlFetchGroupContainer_2_1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlManyToMany_2_1EClass, XmlManyToMany_2_1.class, "XmlManyToMany_2_1", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(xmlManyToOne_2_1EClass, XmlManyToOne_2_1.class, "XmlManyToOne_2_1", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(xmlMappedSuperclass_2_1EClass, XmlMappedSuperclass_2_1.class, "XmlMappedSuperclass_2_1", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getXmlMappedSuperclass_2_1_SqlResultSetMappings(), theOrmPackage.getSqlResultSetMapping(), null, "sqlResultSetMappings", null, 0, -1, XmlMappedSuperclass_2_1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXmlMappedSuperclass_2_1_QueryRedirectors(), theEclipseLinkOrmPackage.getXmlQueryRedirectors(), null, "queryRedirectors", null, 0, 1, XmlMappedSuperclass_2_1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlOneToMany_2_1EClass, XmlOneToMany_2_1.class, "XmlOneToMany_2_1", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(xmlOneToOne_2_1EClass, XmlOneToOne_2_1.class, "XmlOneToOne_2_1", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(xmlPersistenceUnitDefaults_2_1EClass, XmlPersistenceUnitDefaults_2_1.class, "XmlPersistenceUnitDefaults_2_1", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(xmlPrimaryKey_2_1EClass, XmlPrimaryKey_2_1.class, "XmlPrimaryKey_2_1", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlPrimaryKey_2_1_CacheKeyType(), this.getCacheKeyType_2_1(), "cacheKeyType", null, 0, 1, XmlPrimaryKey_2_1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlReturnInsert_2_1EClass, XmlReturnInsert_2_1.class, "XmlReturnInsert_2_1", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlReturnInsert_2_1_ReturnOnly(), theXMLTypePackage.getBooleanObject(), "returnOnly", null, 0, 1, XmlReturnInsert_2_1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlTypeMapping_2_1EClass, XmlTypeMapping_2_1.class, "XmlTypeMapping_2_1", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlTypeMapping_2_1_ParentClass(), theXMLTypePackage.getString(), "parentClass", null, 0, 1, XmlTypeMapping_2_1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - // Initialize enums and add enum literals - initEEnum(cacheKeyType_2_1EEnum, CacheKeyType_2_1.class, "CacheKeyType_2_1"); - addEEnumLiteral(cacheKeyType_2_1EEnum, CacheKeyType_2_1.ID_VALUE); - addEEnumLiteral(cacheKeyType_2_1EEnum, CacheKeyType_2_1.CACHE_KEY); - addEEnumLiteral(cacheKeyType_2_1EEnum, CacheKeyType_2_1.AUTO); - - initEEnum(batchFetchType_2_1EEnum, BatchFetchType_2_1.class, "BatchFetchType_2_1"); - addEEnumLiteral(batchFetchType_2_1EEnum, BatchFetchType_2_1.JOIN); - addEEnumLiteral(batchFetchType_2_1EEnum, BatchFetchType_2_1.EXISTS); - addEEnumLiteral(batchFetchType_2_1EEnum, BatchFetchType_2_1.IN); - } - - /** - * - * Defines literals for the meta objects that represent - *

    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • - *
- * - * @generated - */ - public interface Literals - { - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBasic_2_1 Xml Basic 21}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBasic_2_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlBasic_2_1() - * @generated - */ - public static final EClass XML_BASIC_21 = eINSTANCE.getXmlBasic_2_1(); - - /** - * The meta object literal for the 'Return Insert' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_BASIC_21__RETURN_INSERT = eINSTANCE.getXmlBasic_2_1_ReturnInsert(); - - /** - * The meta object literal for the 'Return Update' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_BASIC_21__RETURN_UPDATE = eINSTANCE.getXmlBasic_2_1_ReturnUpdate(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBatchFetch_2_1 Xml Batch Fetch 21}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBatchFetch_2_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlBatchFetch_2_1() - * @generated - */ - public static final EClass XML_BATCH_FETCH_21 = eINSTANCE.getXmlBatchFetch_2_1(); - - /** - * The meta object literal for the 'Size' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_BATCH_FETCH_21__SIZE = eINSTANCE.getXmlBatchFetch_2_1_Size(); - - /** - * The meta object literal for the 'Batch Fetch Type' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_BATCH_FETCH_21__BATCH_FETCH_TYPE = eINSTANCE.getXmlBatchFetch_2_1_BatchFetchType(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlElementCollection_2_1 Xml Element Collection 21}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlElementCollection_2_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlElementCollection_2_1() - * @generated - */ - public static final EClass XML_ELEMENT_COLLECTION_21 = eINSTANCE.getXmlElementCollection_2_1(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlEntity_2_1 Xml Entity 21}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlEntity_2_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlEntity_2_1() - * @generated - */ - public static final EClass XML_ENTITY_21 = eINSTANCE.getXmlEntity_2_1(); - - /** - * The meta object literal for the 'Class Extractor' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_ENTITY_21__CLASS_EXTRACTOR = eINSTANCE.getXmlEntity_2_1_ClassExtractor(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlEntityMappings_2_1 Xml Entity Mappings 21}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlEntityMappings_2_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlEntityMappings_2_1() - * @generated - */ - public static final EClass XML_ENTITY_MAPPINGS_21 = eINSTANCE.getXmlEntityMappings_2_1(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchAttribute_2_1 Xml Fetch Attribute 21}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchAttribute_2_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlFetchAttribute_2_1() - * @generated - */ - public static final EClass XML_FETCH_ATTRIBUTE_21 = eINSTANCE.getXmlFetchAttribute_2_1(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_FETCH_ATTRIBUTE_21__NAME = eINSTANCE.getXmlFetchAttribute_2_1_Name(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroup_2_1 Xml Fetch Group 21}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroup_2_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlFetchGroup_2_1() - * @generated - */ - public static final EClass XML_FETCH_GROUP_21 = eINSTANCE.getXmlFetchGroup_2_1(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_FETCH_GROUP_21__NAME = eINSTANCE.getXmlFetchGroup_2_1_Name(); - - /** - * The meta object literal for the 'Attributes' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_FETCH_GROUP_21__ATTRIBUTES = eINSTANCE.getXmlFetchGroup_2_1_Attributes(); - - /** - * The meta object literal for the 'Load' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_FETCH_GROUP_21__LOAD = eINSTANCE.getXmlFetchGroup_2_1_Load(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroupContainer_2_1 Xml Fetch Group Container 21}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroupContainer_2_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlFetchGroupContainer_2_1() - * @generated - */ - public static final EClass XML_FETCH_GROUP_CONTAINER_21 = eINSTANCE.getXmlFetchGroupContainer_2_1(); - - /** - * The meta object literal for the 'Fetch Groups' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_FETCH_GROUP_CONTAINER_21__FETCH_GROUPS = eINSTANCE.getXmlFetchGroupContainer_2_1_FetchGroups(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlManyToMany_2_1 Xml Many To Many 21}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlManyToMany_2_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlManyToMany_2_1() - * @generated - */ - public static final EClass XML_MANY_TO_MANY_21 = eINSTANCE.getXmlManyToMany_2_1(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlManyToOne_2_1 Xml Many To One 21}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlManyToOne_2_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlManyToOne_2_1() - * @generated - */ - public static final EClass XML_MANY_TO_ONE_21 = eINSTANCE.getXmlManyToOne_2_1(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlMappedSuperclass_2_1 Xml Mapped Superclass 21}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlMappedSuperclass_2_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlMappedSuperclass_2_1() - * @generated - */ - public static final EClass XML_MAPPED_SUPERCLASS_21 = eINSTANCE.getXmlMappedSuperclass_2_1(); - - /** - * The meta object literal for the 'Sql Result Set Mappings' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_MAPPED_SUPERCLASS_21__SQL_RESULT_SET_MAPPINGS = eINSTANCE.getXmlMappedSuperclass_2_1_SqlResultSetMappings(); - - /** - * The meta object literal for the 'Query Redirectors' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_MAPPED_SUPERCLASS_21__QUERY_REDIRECTORS = eINSTANCE.getXmlMappedSuperclass_2_1_QueryRedirectors(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlOneToMany_2_1 Xml One To Many 21}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlOneToMany_2_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlOneToMany_2_1() - * @generated - */ - public static final EClass XML_ONE_TO_MANY_21 = eINSTANCE.getXmlOneToMany_2_1(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlOneToOne_2_1 Xml One To One 21}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlOneToOne_2_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlOneToOne_2_1() - * @generated - */ - public static final EClass XML_ONE_TO_ONE_21 = eINSTANCE.getXmlOneToOne_2_1(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlPersistenceUnitDefaults_2_1 Xml Persistence Unit Defaults 21}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlPersistenceUnitDefaults_2_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlPersistenceUnitDefaults_2_1() - * @generated - */ - public static final EClass XML_PERSISTENCE_UNIT_DEFAULTS_21 = eINSTANCE.getXmlPersistenceUnitDefaults_2_1(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlReturnInsert_2_1 Xml Return Insert 21}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlReturnInsert_2_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlReturnInsert_2_1() - * @generated - */ - public static final EClass XML_RETURN_INSERT_21 = eINSTANCE.getXmlReturnInsert_2_1(); - - /** - * The meta object literal for the 'Return Only' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_RETURN_INSERT_21__RETURN_ONLY = eINSTANCE.getXmlReturnInsert_2_1_ReturnOnly(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlTypeMapping_2_1 Xml Type Mapping 21}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlTypeMapping_2_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlTypeMapping_2_1() - * @generated - */ - public static final EClass XML_TYPE_MAPPING_21 = eINSTANCE.getXmlTypeMapping_2_1(); - - /** - * The meta object literal for the 'Parent Class' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_TYPE_MAPPING_21__PARENT_CLASS = eINSTANCE.getXmlTypeMapping_2_1_ParentClass(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlPrimaryKey_2_1 Xml Primary Key 21}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlPrimaryKey_2_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlPrimaryKey_2_1() - * @generated - */ - public static final EClass XML_PRIMARY_KEY_21 = eINSTANCE.getXmlPrimaryKey_2_1(); - - /** - * The meta object literal for the 'Cache Key Type' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_PRIMARY_KEY_21__CACHE_KEY_TYPE = eINSTANCE.getXmlPrimaryKey_2_1_CacheKeyType(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.CacheKeyType_2_1 Cache Key Type 21}' enum. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.CacheKeyType_2_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getCacheKeyType_2_1() - * @generated - */ - public static final EEnum CACHE_KEY_TYPE_21 = eINSTANCE.getCacheKeyType_2_1(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.BatchFetchType_2_1 Batch Fetch Type 21}' enum. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.BatchFetchType_2_1 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getBatchFetchType_2_1() - * @generated - */ - public static final EEnum BATCH_FETCH_TYPE_21 = eINSTANCE.getBatchFetchType_2_1(); - - } - -} //EclipseLinkOrmV2_1Package diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlBasic_2_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlBasic_2_1.java deleted file mode 100644 index 4237dbce41..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlBasic_2_1.java +++ /dev/null @@ -1,97 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2010, 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.v2_1; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlReturnInsert; - -/** - * - * A representation of the model object 'Xml Basic 21'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBasic_2_1#getReturnInsert Return Insert}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBasic_2_1#getReturnUpdate Return Update}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlBasic_2_1() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlBasic_2_1 extends EBaseObject -{ - /** - * 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.v2_1.EclipseLinkOrmV2_1Package#getXmlBasic_2_1_ReturnInsert() - * @model containment="true" - * @generated - */ - XmlReturnInsert getReturnInsert(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBasic_2_1#getReturnInsert Return Insert}' containment reference. - * - * - * @param value the new value of the 'Return Insert' containment reference. - * @see #getReturnInsert() - * @generated - */ - void setReturnInsert(XmlReturnInsert value); - - /** - * 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.v2_1.EclipseLinkOrmV2_1Package#getXmlBasic_2_1_ReturnUpdate() - * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" - * @generated - */ - Boolean getReturnUpdate(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBasic_2_1#getReturnUpdate Return Update}' attribute. - * - * - * @param value the new value of the 'Return Update' attribute. - * @see #getReturnUpdate() - * @generated - */ - void setReturnUpdate(Boolean value); -} // XmlBasic_2_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlBatchFetch_2_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlBatchFetch_2_1.java deleted file mode 100644 index 473c2b3db2..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlBatchFetch_2_1.java +++ /dev/null @@ -1,98 +0,0 @@ -/******************************************************************************* - * 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.v2_1; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Batch Fetch 21'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBatchFetch_2_1#getSize Size}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBatchFetch_2_1#getBatchFetchType Batch Fetch Type}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlBatchFetch_2_1() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlBatchFetch_2_1 extends EBaseObject -{ - /** - * 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.v2_1.EclipseLinkOrmV2_1Package#getXmlBatchFetch_2_1_Size() - * @model dataType="org.eclipse.emf.ecore.xml.type.IntObject" - * @generated - */ - Integer getSize(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBatchFetch_2_1#getSize Size}' attribute. - * - * - * @param value the new value of the 'Size' attribute. - * @see #getSize() - * @generated - */ - void setSize(Integer value); - - /** - * 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.v2_1.EclipseLinkOrmV2_1Package#getXmlBatchFetch_2_1_BatchFetchType() - * @model - * @generated - */ - BatchFetchType_2_1 getBatchFetchType(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBatchFetch_2_1#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 - */ - void setBatchFetchType(BatchFetchType_2_1 value); - -} // XmlBatchFetch_2_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlElementCollection_2_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlElementCollection_2_1.java deleted file mode 100644 index b894cf2422..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlElementCollection_2_1.java +++ /dev/null @@ -1,37 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2010, 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.v2_1; - -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBatchFetchHolder; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinFetch; - -/** - * - * A representation of the model object 'Xml Element Collection 21'. - * - * 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.v2_1.EclipseLinkOrmV2_1Package#getXmlElementCollection_2_1() - * @model kind="class" interface="true" abstract="true" - * @generated - */ -public interface XmlElementCollection_2_1 extends XmlJoinFetch, XmlBatchFetchHolder -{ - -} // XmlElementCollection_2_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlEntityMappings_2_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlEntityMappings_2_1.java deleted file mode 100644 index 50d417e5e6..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlEntityMappings_2_1.java +++ /dev/null @@ -1,35 +0,0 @@ -/******************************************************************************* - * 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.v2_1; - -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAccessMethodsHolder; - -/** - * - * A representation of the model object 'Xml Entity Mappings 21'. - * - * 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.v2_1.EclipseLinkOrmV2_1Package#getXmlEntityMappings_2_1() - * @model kind="class" interface="true" abstract="true" - * @generated - */ -public interface XmlEntityMappings_2_1 extends XmlAccessMethodsHolder -{ -} // XmlEntityMappings_2_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlEntity_2_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlEntity_2_1.java deleted file mode 100644 index 327b151912..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlEntity_2_1.java +++ /dev/null @@ -1,69 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2010, 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.v2_1; - -import org.eclipse.jpt.jpa.core.resource.orm.XmlClassReference; - -/** - * - * A representation of the model object 'Xml Entity 21'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlEntity_2_1#getClassExtractor Class Extractor}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlEntity_2_1() - * @model kind="class" interface="true" abstract="true" - * @generated - */ -public interface XmlEntity_2_1 extends XmlTypeMapping_2_1, XmlFetchGroupContainer_2_1 -{ - /** - * Returns the value of the 'Class Extractor' containment reference. - * - *

- * 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.v2_1.EclipseLinkOrmV2_1Package#getXmlEntity_2_1_ClassExtractor() - * @model containment="true" - * @generated - */ - XmlClassReference getClassExtractor(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlEntity_2_1#getClassExtractor Class Extractor}' containment reference. - * - * - * @param value the new value of the 'Class Extractor' containment reference. - * @see #getClassExtractor() - * @generated - */ - void setClassExtractor(XmlClassReference value); - -} // XmlEntity_2_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlFetchAttribute_2_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlFetchAttribute_2_1.java deleted file mode 100644 index 47b38a6cf6..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlFetchAttribute_2_1.java +++ /dev/null @@ -1,61 +0,0 @@ -/******************************************************************************* - * 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.v2_1; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Fetch Attribute 21'. - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchAttribute_2_1#getName Name}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlFetchAttribute_2_1() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlFetchAttribute_2_1 extends EBaseObject -{ - /** - * 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.v2_1.EclipseLinkOrmV2_1Package#getXmlFetchAttribute_2_1_Name() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchAttribute_2_1#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - -} // XmlFetchAttribute_2_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlFetchGroupContainer_2_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlFetchGroupContainer_2_1.java deleted file mode 100644 index 95c064b15d..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlFetchGroupContainer_2_1.java +++ /dev/null @@ -1,53 +0,0 @@ -/******************************************************************************* - * 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.v2_1; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlFetchGroup; - -/** - * - * A representation of the model object 'Xml Fetch Group Container 21'. - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroupContainer_2_1#getFetchGroups Fetch Groups}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlFetchGroupContainer_2_1() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlFetchGroupContainer_2_1 extends EBaseObject -{ - /** - * 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.v2_1.EclipseLinkOrmV2_1Package#getXmlFetchGroupContainer_2_1_FetchGroups() - * @model containment="true" - * @generated - */ - EList getFetchGroups(); - -} // XmlFetchGroupContainer_2_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlFetchGroup_2_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlFetchGroup_2_1.java deleted file mode 100644 index 087c94e5bb..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlFetchGroup_2_1.java +++ /dev/null @@ -1,107 +0,0 @@ -/******************************************************************************* - * 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.v2_1; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlFetchAttribute; - -/** - * - * A representation of the model object 'Xml Fetch Group 21'. - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroup_2_1#getName Name}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroup_2_1#getLoad Load}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroup_2_1#getAttributes Attributes}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlFetchGroup_2_1() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlFetchGroup_2_1 extends EBaseObject -{ - /** - * 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.v2_1.EclipseLinkOrmV2_1Package#getXmlFetchGroup_2_1_Name() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroup_2_1#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - - /** - * 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.v2_1.EclipseLinkOrmV2_1Package#getXmlFetchGroup_2_1_Attributes() - * @model containment="true" - * @generated - */ - EList getAttributes(); - - /** - * Returns the value of the 'Load' attribute. - * - *

- * 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.v2_1.EclipseLinkOrmV2_1Package#getXmlFetchGroup_2_1_Load() - * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" - * @generated - */ - Boolean getLoad(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroup_2_1#getLoad Load}' attribute. - * - * - * @param value the new value of the 'Load' attribute. - * @see #getLoad() - * @generated - */ - void setLoad(Boolean value); - -} // XmlFetchGroup_2_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlManyToMany_2_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlManyToMany_2_1.java deleted file mode 100644 index 737924fb13..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlManyToMany_2_1.java +++ /dev/null @@ -1,36 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2010, 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.v2_1; - -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBatchFetchHolder; - -/** - * - * A representation of the model object 'Xml Many To Many 21'. - * - * 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.v2_1.EclipseLinkOrmV2_1Package#getXmlManyToMany_2_1() - * @model kind="class" interface="true" abstract="true" - * @generated - */ -public interface XmlManyToMany_2_1 extends XmlBatchFetchHolder -{ - -} // XmlManyToMany_2_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlManyToOne_2_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlManyToOne_2_1.java deleted file mode 100644 index 38619f5aa9..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlManyToOne_2_1.java +++ /dev/null @@ -1,35 +0,0 @@ -/******************************************************************************* - * 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.v2_1; - -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBatchFetchHolder; - -/** - * - * A representation of the model object 'Xml Many To One 21'. - * - * 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.v2_1.EclipseLinkOrmV2_1Package#getXmlManyToOne_2_1() - * @model kind="class" interface="true" abstract="true" - * @generated - */ -public interface XmlManyToOne_2_1 extends XmlBatchFetchHolder -{ -} // XmlManyToOne_2_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlMappedSuperclass_2_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlMappedSuperclass_2_1.java deleted file mode 100644 index 51569a5617..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlMappedSuperclass_2_1.java +++ /dev/null @@ -1,92 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2010, 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.v2_1; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.jpt.jpa.core.resource.orm.SqlResultSetMapping; -import org.eclipse.jpt.jpa.core.resource.orm.XmlAssociationOverrideContainer; -import org.eclipse.jpt.jpa.core.resource.orm.XmlAttributeOverrideContainer; -import org.eclipse.jpt.jpa.core.resource.orm.XmlGeneratorContainer; -import org.eclipse.jpt.jpa.core.resource.orm.XmlQueryContainer; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryRedirectors; - -/** - * - * A representation of the model object 'Xml Mapped Superclass 21'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlMappedSuperclass_2_1#getSqlResultSetMappings Sql Result Set Mappings}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlMappedSuperclass_2_1#getQueryRedirectors Query Redirectors}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlMappedSuperclass_2_1() - * @model kind="class" interface="true" abstract="true" - * @generated - */ -public interface XmlMappedSuperclass_2_1 extends XmlAssociationOverrideContainer, XmlAttributeOverrideContainer, XmlFetchGroupContainer_2_1, XmlGeneratorContainer, XmlQueryContainer, org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryContainer, XmlTypeMapping_2_1 -{ - /** - * Returns the value of the 'Sql Result Set Mappings' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.core.resource.orm.SqlResultSetMapping}. - * - *

- * If the meaning of the 'Sql Result Set Mappings' containment reference list isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Sql Result Set Mappings' containment reference list. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlMappedSuperclass_2_1_SqlResultSetMappings() - * @model containment="true" - * @generated - */ - EList getSqlResultSetMappings(); - - /** - * 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.v2_1.EclipseLinkOrmV2_1Package#getXmlMappedSuperclass_2_1_QueryRedirectors() - * @model containment="true" - * @generated - */ - XmlQueryRedirectors getQueryRedirectors(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlMappedSuperclass_2_1#getQueryRedirectors Query Redirectors}' containment reference. - * - * - * @param value the new value of the 'Query Redirectors' containment reference. - * @see #getQueryRedirectors() - * @generated - */ - void setQueryRedirectors(XmlQueryRedirectors value); - -} // XmlMappedSuperclass_2_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlOneToMany_2_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlOneToMany_2_1.java deleted file mode 100644 index b597c3a375..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlOneToMany_2_1.java +++ /dev/null @@ -1,36 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2010, 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.v2_1; - -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBatchFetchHolder; - -/** - * - * A representation of the model object 'Xml One To Many 21'. - * - * 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.v2_1.EclipseLinkOrmV2_1Package#getXmlOneToMany_2_1() - * @model kind="class" interface="true" abstract="true" - * @generated - */ -public interface XmlOneToMany_2_1 extends XmlBatchFetchHolder -{ - -} // XmlOneToMany_2_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlOneToOne_2_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlOneToOne_2_1.java deleted file mode 100644 index 38cc74ba5f..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlOneToOne_2_1.java +++ /dev/null @@ -1,35 +0,0 @@ -/******************************************************************************* - * 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.v2_1; - -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBatchFetchHolder; - -/** - * - * A representation of the model object 'Xml One To One 21'. - * - * 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.v2_1.EclipseLinkOrmV2_1Package#getXmlOneToOne_2_1() - * @model kind="class" interface="true" abstract="true" - * @generated - */ -public interface XmlOneToOne_2_1 extends XmlBatchFetchHolder -{ -} // XmlOneToOne_2_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlPersistenceUnitDefaults_2_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlPersistenceUnitDefaults_2_1.java deleted file mode 100644 index f7e8e87111..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlPersistenceUnitDefaults_2_1.java +++ /dev/null @@ -1,35 +0,0 @@ -/******************************************************************************* - * 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.v2_1; - -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAccessMethodsHolder; - -/** - * - * A representation of the model object 'Xml Persistence Unit Defaults 21'. - * - * 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.v2_1.EclipseLinkOrmV2_1Package#getXmlPersistenceUnitDefaults_2_1() - * @model kind="class" interface="true" abstract="true" - * @generated - */ -public interface XmlPersistenceUnitDefaults_2_1 extends XmlAccessMethodsHolder -{ -} // XmlPersistenceUnitDefaults_2_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlPrimaryKey_2_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlPrimaryKey_2_1.java deleted file mode 100644 index bb22ca63d9..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlPrimaryKey_2_1.java +++ /dev/null @@ -1,64 +0,0 @@ -/******************************************************************************* - * 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.v2_1; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Primary Key 21'. - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlPrimaryKey_2_1#getCacheKeyType Cache Key Type}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlPrimaryKey_2_1() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlPrimaryKey_2_1 extends EBaseObject -{ - /** - * Returns the value of the 'Cache Key Type' attribute. - * The literals are from the enumeration {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.CacheKeyType_2_1}. - * - *

- * If the meaning of the 'Cache Key Type' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Cache Key Type' attribute. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.CacheKeyType_2_1 - * @see #setCacheKeyType(CacheKeyType_2_1) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlPrimaryKey_2_1_CacheKeyType() - * @model - * @generated - */ - CacheKeyType_2_1 getCacheKeyType(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlPrimaryKey_2_1#getCacheKeyType Cache Key Type}' attribute. - * - * - * @param value the new value of the 'Cache Key Type' attribute. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.CacheKeyType_2_1 - * @see #getCacheKeyType() - * @generated - */ - void setCacheKeyType(CacheKeyType_2_1 value); - -} // XmlPrimaryKey_2_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlReturnInsert_2_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlReturnInsert_2_1.java deleted file mode 100644 index 0f9bab794e..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlReturnInsert_2_1.java +++ /dev/null @@ -1,61 +0,0 @@ -/******************************************************************************* - * 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.v2_1; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Return Insert 21'. - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlReturnInsert_2_1#getReturnOnly Return Only}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlReturnInsert_2_1() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlReturnInsert_2_1 extends EBaseObject -{ - /** - * Returns the value of the 'Return Only' attribute. - * - *

- * If the meaning of the 'Return Only' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Return Only' attribute. - * @see #setReturnOnly(Boolean) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlReturnInsert_2_1_ReturnOnly() - * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" - * @generated - */ - Boolean getReturnOnly(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlReturnInsert_2_1#getReturnOnly Return Only}' attribute. - * - * - * @param value the new value of the 'Return Only' attribute. - * @see #getReturnOnly() - * @generated - */ - void setReturnOnly(Boolean value); - -} // XmlReturnInsert_2_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlTypeMapping_2_1.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlTypeMapping_2_1.java deleted file mode 100644 index 3ec86112f6..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlTypeMapping_2_1.java +++ /dev/null @@ -1,61 +0,0 @@ -/******************************************************************************* - * 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.v2_1; - -import org.eclipse.jpt.common.core.utility.TextRange; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAccessMethodsHolder; - -/** - * - * A representation of the model object 'Xml Type Mapping 21'. - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlTypeMapping_2_1#getParentClass Parent Class}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package#getXmlTypeMapping_2_1() - * @model kind="class" interface="true" abstract="true" - * @generated - */ -public interface XmlTypeMapping_2_1 extends XmlAccessMethodsHolder -{ - - /** - * 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.v2_1.EclipseLinkOrmV2_1Package#getXmlTypeMapping_2_1_ParentClass() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getParentClass(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlTypeMapping_2_1#getParentClass Parent Class}' attribute. - * - * - * @param value the new value of the 'Parent Class' attribute. - * @see #getParentClass() - * @generated - */ - void setParentClass(String value); - - TextRange getParentClassTextRange(); -} // XmlTypeMapping_2_1 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/CacheIsolationType.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/CacheIsolationType.java deleted file mode 100644 index f5bd112b31..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/CacheIsolationType.java +++ /dev/null @@ -1,256 +0,0 @@ -/******************************************************************************* - * 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.v2_2; - -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 'Cache Isolation Type', - * and utility methods for working with them. - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getCacheIsolationType() - * @model - * @generated - */ -public enum CacheIsolationType implements Enumerator -{ - /** - * The 'SHARED' literal object. - * - * - * @see #SHARED_VALUE - * @generated - * @ordered - */ - SHARED(0, "SHARED", "SHARED"), - - /** - * The 'PROTECTED' literal object. - * - * - * @see #PROTECTED_VALUE - * @generated - * @ordered - */ - PROTECTED(1, "PROTECTED", "PROTECTED"), - - /** - * The 'ISOLATED' literal object. - * - * - * @see #ISOLATED_VALUE - * @generated - * @ordered - */ - ISOLATED(2, "ISOLATED", "ISOLATED"); - - /** - * The 'SHARED' literal value. - * - *

- * If the meaning of 'SHARED' literal object isn't clear, - * there really should be more of a description here... - *

- * - * @see #SHARED - * @model - * @generated - * @ordered - */ - public static final int SHARED_VALUE = 0; - - /** - * The 'PROTECTED' literal value. - * - *

- * If the meaning of 'PROTECTED' literal object isn't clear, - * there really should be more of a description here... - *

- * - * @see #PROTECTED - * @model - * @generated - * @ordered - */ - public static final int PROTECTED_VALUE = 1; - - /** - * The 'ISOLATED' literal value. - * - *

- * If the meaning of 'ISOLATED' literal object isn't clear, - * there really should be more of a description here... - *

- * - * @see #ISOLATED - * @model - * @generated - * @ordered - */ - public static final int ISOLATED_VALUE = 2; - - /** - * An array of all the 'Cache Isolation Type' enumerators. - * - * - * @generated - */ - private static final CacheIsolationType[] VALUES_ARRAY = - new CacheIsolationType[] - { - SHARED, - PROTECTED, - ISOLATED, - }; - - /** - * A public read-only list of all the 'Cache Isolation Type' enumerators. - * - * - * @generated - */ - public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the 'Cache Isolation Type' literal with the specified literal value. - * - * - * @generated - */ - public static CacheIsolationType get(String literal) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - CacheIsolationType result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) - { - return result; - } - } - return null; - } - - /** - * Returns the 'Cache Isolation Type' literal with the specified name. - * - * - * @generated - */ - public static CacheIsolationType getByName(String name) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - CacheIsolationType result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) - { - return result; - } - } - return null; - } - - /** - * Returns the 'Cache Isolation Type' literal with the specified integer value. - * - * - * @generated - */ - public static CacheIsolationType get(int value) - { - switch (value) - { - case SHARED_VALUE: return SHARED; - case PROTECTED_VALUE: return PROTECTED; - case ISOLATED_VALUE: return ISOLATED; - } - return null; - } - - /** - * - * - * @generated - */ - private final int value; - - /** - * - * - * @generated - */ - private final String name; - - /** - * - * - * @generated - */ - private final String literal; - - /** - * Only this class can construct instances. - * - * - * @generated - */ - private CacheIsolationType(int value, String name, String literal) - { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * - * - * @generated - */ - public int getValue() - { - return value; - } - - /** - * - * - * @generated - */ - public String getName() - { - return name; - } - - /** - * - * - * @generated - */ - public String getLiteral() - { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * - * - * @generated - */ - @Override - public String toString() - { - return literal; - } - -} //CacheIsolationType diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/EclipseLinkOrmV2_2Factory.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/EclipseLinkOrmV2_2Factory.java deleted file mode 100644 index ceb547f4bf..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/EclipseLinkOrmV2_2Factory.java +++ /dev/null @@ -1,170 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2010, 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.v2_2; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.impl.EFactoryImpl; -import org.eclipse.emf.ecore.plugin.EcorePlugin; - -/** - * - * The Factory for the model. - * It provides a create method for each non-abstract class of the model. - * - * 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.v2_2.EclipseLinkOrmV2_2Package - * @generated - */ -public class EclipseLinkOrmV2_2Factory extends EFactoryImpl -{ - /** - * The singleton instance of the factory. - * - * - * @generated - */ - public static final EclipseLinkOrmV2_2Factory eINSTANCE = init(); - - /** - * Creates the default factory implementation. - * - * - * @generated - */ - public static EclipseLinkOrmV2_2Factory init() - { - try - { - EclipseLinkOrmV2_2Factory theEclipseLinkOrmV2_2Factory = (EclipseLinkOrmV2_2Factory)EPackage.Registry.INSTANCE.getEFactory("jpt.eclipselink.orm.v2_2.xmi"); - if (theEclipseLinkOrmV2_2Factory != null) - { - return theEclipseLinkOrmV2_2Factory; - } - } - catch (Exception exception) - { - EcorePlugin.INSTANCE.log(exception); - } - return new EclipseLinkOrmV2_2Factory(); - } - - /** - * Creates an instance of the factory. - * - * - * @generated - */ - public EclipseLinkOrmV2_2Factory() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - public EObject create(EClass eClass) - { - switch (eClass.getClassifierID()) - { - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - @Override - public Object createFromString(EDataType eDataType, String initialValue) - { - switch (eDataType.getClassifierID()) - { - case EclipseLinkOrmV2_2Package.CACHE_ISOLATION_TYPE: - return createCacheIsolationTypeFromString(eDataType, initialValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - @Override - public String convertToString(EDataType eDataType, Object instanceValue) - { - switch (eDataType.getClassifierID()) - { - case EclipseLinkOrmV2_2Package.CACHE_ISOLATION_TYPE: - return convertCacheIsolationTypeToString(eDataType, instanceValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - public CacheIsolationType createCacheIsolationTypeFromString(EDataType eDataType, String initialValue) - { - CacheIsolationType result = CacheIsolationType.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * - * - * @generated - */ - public String convertCacheIsolationTypeToString(EDataType eDataType, Object instanceValue) - { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * - * - * @generated - */ - public EclipseLinkOrmV2_2Package getEclipseLinkOrmV2_2Package() - { - return (EclipseLinkOrmV2_2Package)getEPackage(); - } - - /** - * - * - * @deprecated - * @generated - */ - @Deprecated - public static EclipseLinkOrmV2_2Package getPackage() - { - return EclipseLinkOrmV2_2Package.eINSTANCE; - } - -} //EclipseLinkOrmV2_2Factory diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/EclipseLinkOrmV2_2Package.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/EclipseLinkOrmV2_2Package.java deleted file mode 100644 index a4f3406524..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/EclipseLinkOrmV2_2Package.java +++ /dev/null @@ -1,4614 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2010, 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.v2_2; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EEnum; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; -import org.eclipse.emf.ecore.impl.EPackageImpl; -import org.eclipse.emf.ecore.xml.type.XMLTypePackage; -import org.eclipse.jpt.jpa.core.resource.orm.OrmPackage; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package; - -/** - * - * The Package for the model. - * It contains accessors for the meta objects to represent - *
    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • - *
- * - * 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.v2_2.EclipseLinkOrmV2_2Factory - * @model kind="package" - * @generated - */ -public class EclipseLinkOrmV2_2Package extends EPackageImpl -{ - /** - * The package name. - * - * - * @generated - */ - public static final String eNAME = "v2_2"; - - /** - * The package namespace URI. - * - * - * @generated - */ - public static final String eNS_URI = "jpt.eclipselink.orm.v2_2.xmi"; - - /** - * The package namespace name. - * - * - * @generated - */ - public static final String eNS_PREFIX = "org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2"; - - /** - * The singleton instance of the package. - * - * - * @generated - */ - public static final EclipseLinkOrmV2_2Package eINSTANCE = org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package.init(); - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlAdditionalCriteria_2_2 Xml Additional Criteria 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlAdditionalCriteria_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlAdditionalCriteria_2_2() - * @generated - */ - public static final int XML_ADDITIONAL_CRITERIA_22 = 0; - - /** - * The feature id for the 'Criteria' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ADDITIONAL_CRITERIA_22__CRITERIA = 0; - - /** - * The number of structural features of the 'Xml Additional Criteria 22' class. - * - * - * @generated - * @ordered - */ - public static final int XML_ADDITIONAL_CRITERIA_22_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasic_2_2 Xml Basic 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasic_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlBasic_2_2() - * @generated - */ - public static final int XML_BASIC_22 = 1; - - /** - * The feature id for the 'Index' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC_22__INDEX = 0; - - /** - * The number of structural features of the 'Xml Basic 22' class. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC_22_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasicCollection_2_2 Xml Basic Collection 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasicCollection_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlBasicCollection_2_2() - * @generated - */ - public static final int XML_BASIC_COLLECTION_22 = 2; - - /** - * The feature id for the 'Cascade On Delete' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC_COLLECTION_22__CASCADE_ON_DELETE = 0; - - /** - * The number of structural features of the 'Xml Basic Collection 22' class. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC_COLLECTION_22_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasicMap_2_2 Xml Basic Map 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasicMap_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlBasicMap_2_2() - * @generated - */ - public static final int XML_BASIC_MAP_22 = 3; - - /** - * The feature id for the 'Cascade On Delete' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC_MAP_22__CASCADE_ON_DELETE = 0; - - /** - * The number of structural features of the 'Xml Basic Map 22' class. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC_MAP_22_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlCache_2_2 Xml Cache 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlCache_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlCache_2_2() - * @generated - */ - public static final int XML_CACHE_22 = 4; - - /** - * The feature id for the 'Isolation' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_CACHE_22__ISOLATION = 0; - - /** - * The number of structural features of the 'Xml Cache 22' class. - * - * - * @generated - * @ordered - */ - public static final int XML_CACHE_22_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlCollectionTable_2_2 Xml Collection Table 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlCollectionTable_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlCollectionTable_2_2() - * @generated - */ - public static final int XML_COLLECTION_TABLE_22 = 5; - - /** - * The feature id for the 'Creation Suffix' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_COLLECTION_TABLE_22__CREATION_SUFFIX = 0; - - /** - * The number of structural features of the 'Xml Collection Table 22' class. - * - * - * @generated - * @ordered - */ - public static final int XML_COLLECTION_TABLE_22_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2 Xml Partitioning Group 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlPartitioningGroup_2_2() - * @generated - */ - public static final int XML_PARTITIONING_GROUP_22 = 20; - - /** - * The feature id for the 'Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_PARTITIONING_GROUP_22__PARTITIONING = 0; - - /** - * The feature id for the 'Replication Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING = 1; - - /** - * The feature id for the 'Round Robin Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING = 2; - - /** - * The feature id for the 'Pinned Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING = 3; - - /** - * The feature id for the 'Range Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING = 4; - - /** - * The feature id for the 'Value Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING = 5; - - /** - * The feature id for the 'Hash Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_PARTITIONING_GROUP_22__HASH_PARTITIONING = 6; - - /** - * The feature id for the 'Union Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_PARTITIONING_GROUP_22__UNION_PARTITIONING = 7; - - /** - * The feature id for the 'Partitioned' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_PARTITIONING_GROUP_22__PARTITIONED = 8; - - /** - * The number of structural features of the 'Xml Partitioning Group 22' class. - * - * - * @generated - * @ordered - */ - public static final int XML_PARTITIONING_GROUP_22_FEATURE_COUNT = 9; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlElementCollection_2_2 Xml Element Collection 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlElementCollection_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlElementCollection_2_2() - * @generated - */ - public static final int XML_ELEMENT_COLLECTION_22 = 6; - - /** - * The feature id for the 'Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION_22__PARTITIONING = XML_PARTITIONING_GROUP_22__PARTITIONING; - - /** - * The feature id for the 'Replication Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION_22__REPLICATION_PARTITIONING = XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING; - - /** - * The feature id for the 'Round Robin Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION_22__ROUND_ROBIN_PARTITIONING = XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING; - - /** - * The feature id for the 'Pinned Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION_22__PINNED_PARTITIONING = XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING; - - /** - * The feature id for the 'Range Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION_22__RANGE_PARTITIONING = XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING; - - /** - * The feature id for the 'Value Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION_22__VALUE_PARTITIONING = XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING; - - /** - * The feature id for the 'Hash Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION_22__HASH_PARTITIONING = XML_PARTITIONING_GROUP_22__HASH_PARTITIONING; - - /** - * The feature id for the 'Union Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION_22__UNION_PARTITIONING = XML_PARTITIONING_GROUP_22__UNION_PARTITIONING; - - /** - * The feature id for the 'Partitioned' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION_22__PARTITIONED = XML_PARTITIONING_GROUP_22__PARTITIONED; - - /** - * The feature id for the 'Cascade On Delete' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION_22__CASCADE_ON_DELETE = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Noncacheable' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION_22__NONCACHEABLE = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Xml Element Collection 22' class. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION_22_FEATURE_COUNT = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntity_2_2 Xml Entity 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntity_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlEntity_2_2() - * @generated - */ - public static final int XML_ENTITY_22 = 8; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2 Xml Entity Mappings 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlEntityMappings_2_2() - * @generated - */ - public static final int XML_ENTITY_MAPPINGS_22 = 9; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlHashPartitioning_2_2 Xml Hash Partitioning 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlHashPartitioning_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlHashPartitioning_2_2() - * @generated - */ - public static final int XML_HASH_PARTITIONING_22 = 10; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToMany_2_2 Xml Many To Many 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToMany_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlManyToMany_2_2() - * @generated - */ - public static final int XML_MANY_TO_MANY_22 = 14; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToOne_2_2 Xml Many To One 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToOne_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlManyToOne_2_2() - * @generated - */ - public static final int XML_MANY_TO_ONE_22 = 15; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToOne_2_2 Xml One To One 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToOne_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlOneToOne_2_2() - * @generated - */ - public static final int XML_ONE_TO_ONE_22 = 17; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToMany_2_2 Xml One To Many 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToMany_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlOneToMany_2_2() - * @generated - */ - public static final int XML_ONE_TO_MANY_22 = 18; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioning_2_2 Xml Partitioning 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioning_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlPartitioning_2_2() - * @generated - */ - public static final int XML_PARTITIONING_22 = 19; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPinnedPartitioning_2_2 Xml Pinned Partitioning 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPinnedPartitioning_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlPinnedPartitioning_2_2() - * @generated - */ - public static final int XML_PINNED_PARTITIONING_22 = 21; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRangePartitioning_2_2 Xml Range Partitioning 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRangePartitioning_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlRangePartitioning_2_2() - * @generated - */ - public static final int XML_RANGE_PARTITIONING_22 = 22; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlReplicationPartitioning_2_2 Xml Replication Partitioning 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlReplicationPartitioning_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlReplicationPartitioning_2_2() - * @generated - */ - public static final int XML_REPLICATION_PARTITIONING_22 = 23; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRoundRobinPartitioning_2_2 Xml Round Robin Partitioning 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRoundRobinPartitioning_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlRoundRobinPartitioning_2_2() - * @generated - */ - public static final int XML_ROUND_ROBIN_PARTITIONING_22 = 24; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEmbeddable_2_2 Xml Embeddable 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEmbeddable_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlEmbeddable_2_2() - * @generated - */ - public static final int XML_EMBEDDABLE_22 = 7; - - /** - * The feature id for the 'Attribute Overrides' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDABLE_22__ATTRIBUTE_OVERRIDES = OrmPackage.XML_ATTRIBUTE_OVERRIDE_CONTAINER__ATTRIBUTE_OVERRIDES; - - /** - * The feature id for the 'Association Overrides' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDABLE_22__ASSOCIATION_OVERRIDES = OrmPackage.XML_ATTRIBUTE_OVERRIDE_CONTAINER_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Xml Embeddable 22' class. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDABLE_22_FEATURE_COUNT = OrmPackage.XML_ATTRIBUTE_OVERRIDE_CONTAINER_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_22__PARTITIONING = XML_PARTITIONING_GROUP_22__PARTITIONING; - - /** - * The feature id for the 'Replication Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_22__REPLICATION_PARTITIONING = XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING; - - /** - * The feature id for the 'Round Robin Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_22__ROUND_ROBIN_PARTITIONING = XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING; - - /** - * The feature id for the 'Pinned Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_22__PINNED_PARTITIONING = XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING; - - /** - * The feature id for the 'Range Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_22__RANGE_PARTITIONING = XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING; - - /** - * The feature id for the 'Value Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_22__VALUE_PARTITIONING = XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING; - - /** - * The feature id for the 'Hash Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_22__HASH_PARTITIONING = XML_PARTITIONING_GROUP_22__HASH_PARTITIONING; - - /** - * The feature id for the 'Union Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_22__UNION_PARTITIONING = XML_PARTITIONING_GROUP_22__UNION_PARTITIONING; - - /** - * The feature id for the 'Partitioned' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_22__PARTITIONED = XML_PARTITIONING_GROUP_22__PARTITIONED; - - /** - * The feature id for the 'Additional Criteria' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_22__ADDITIONAL_CRITERIA = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Cascade On Delete' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_22__CASCADE_ON_DELETE = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Index' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_22__INDEX = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 2; - - /** - * The number of structural features of the 'Xml Entity 22' class. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_22_FEATURE_COUNT = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 3; - - /** - * The feature id for the 'Partitioning' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS_22__PARTITIONING = 0; - - /** - * The feature id for the 'Replication Partitioning' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS_22__REPLICATION_PARTITIONING = 1; - - /** - * The feature id for the 'Round Robin Partitioning' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS_22__ROUND_ROBIN_PARTITIONING = 2; - - /** - * The feature id for the 'Pinned Partitioning' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS_22__PINNED_PARTITIONING = 3; - - /** - * The feature id for the 'Range Partitioning' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS_22__RANGE_PARTITIONING = 4; - - /** - * The feature id for the 'Value Partitioning' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS_22__VALUE_PARTITIONING = 5; - - /** - * The feature id for the 'Hash Partitioning' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS_22__HASH_PARTITIONING = 6; - - /** - * The feature id for the 'Union Partitioning' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS_22__UNION_PARTITIONING = 7; - - /** - * The number of structural features of the 'Xml Entity Mappings 22' class. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS_22_FEATURE_COUNT = 8; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_HASH_PARTITIONING_22__NAME = 0; - - /** - * The number of structural features of the 'Xml Hash Partitioning 22' class. - * - * - * @generated - * @ordered - */ - public static final int XML_HASH_PARTITIONING_22_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlId_2_2 Xml Id 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlId_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlId_2_2() - * @generated - */ - public static final int XML_ID_22 = 11; - - /** - * The feature id for the 'Index' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ID_22__INDEX = 0; - - /** - * The number of structural features of the 'Xml Id 22' class. - * - * - * @generated - * @ordered - */ - public static final int XML_ID_22_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2 Xml Index 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlIndex_2_2() - * @generated - */ - public static final int XML_INDEX_22 = 12; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_INDEX_22__NAME = 0; - - /** - * The feature id for the 'Schema' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_INDEX_22__SCHEMA = 1; - - /** - * The feature id for the 'Catalog' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_INDEX_22__CATALOG = 2; - - /** - * The feature id for the 'Table' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_INDEX_22__TABLE = 3; - - /** - * The feature id for the 'Unique' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_INDEX_22__UNIQUE = 4; - - /** - * The feature id for the 'Column Names' attribute list. - * - * - * @generated - * @ordered - */ - public static final int XML_INDEX_22__COLUMN_NAMES = 5; - - /** - * The number of structural features of the 'Xml Index 22' class. - * - * - * @generated - * @ordered - */ - public static final int XML_INDEX_22_FEATURE_COUNT = 6; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlJoinTable_2_2 Xml Join Table 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlJoinTable_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlJoinTable_2_2() - * @generated - */ - public static final int XML_JOIN_TABLE_22 = 13; - - /** - * The feature id for the 'Creation Suffix' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_JOIN_TABLE_22__CREATION_SUFFIX = 0; - - /** - * The number of structural features of the 'Xml Join Table 22' class. - * - * - * @generated - * @ordered - */ - public static final int XML_JOIN_TABLE_22_FEATURE_COUNT = 1; - - /** - * The feature id for the 'Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY_22__PARTITIONING = XML_PARTITIONING_GROUP_22__PARTITIONING; - - /** - * The feature id for the 'Replication Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY_22__REPLICATION_PARTITIONING = XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING; - - /** - * The feature id for the 'Round Robin Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY_22__ROUND_ROBIN_PARTITIONING = XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING; - - /** - * The feature id for the 'Pinned Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY_22__PINNED_PARTITIONING = XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING; - - /** - * The feature id for the 'Range Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY_22__RANGE_PARTITIONING = XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING; - - /** - * The feature id for the 'Value Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY_22__VALUE_PARTITIONING = XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING; - - /** - * The feature id for the 'Hash Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY_22__HASH_PARTITIONING = XML_PARTITIONING_GROUP_22__HASH_PARTITIONING; - - /** - * The feature id for the 'Union Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY_22__UNION_PARTITIONING = XML_PARTITIONING_GROUP_22__UNION_PARTITIONING; - - /** - * The feature id for the 'Partitioned' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY_22__PARTITIONED = XML_PARTITIONING_GROUP_22__PARTITIONED; - - /** - * The feature id for the 'Cascade On Delete' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY_22__CASCADE_ON_DELETE = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Non Cacheable' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY_22__NON_CACHEABLE = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Xml Many To Many 22' class. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY_22_FEATURE_COUNT = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 2; - - /** - * The feature id for the 'Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_ONE_22__PARTITIONING = XML_PARTITIONING_GROUP_22__PARTITIONING; - - /** - * The feature id for the 'Replication Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_ONE_22__REPLICATION_PARTITIONING = XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING; - - /** - * The feature id for the 'Round Robin Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_ONE_22__ROUND_ROBIN_PARTITIONING = XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING; - - /** - * The feature id for the 'Pinned Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_ONE_22__PINNED_PARTITIONING = XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING; - - /** - * The feature id for the 'Range Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_ONE_22__RANGE_PARTITIONING = XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING; - - /** - * The feature id for the 'Value Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_ONE_22__VALUE_PARTITIONING = XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING; - - /** - * The feature id for the 'Hash Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_ONE_22__HASH_PARTITIONING = XML_PARTITIONING_GROUP_22__HASH_PARTITIONING; - - /** - * The feature id for the 'Union Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_ONE_22__UNION_PARTITIONING = XML_PARTITIONING_GROUP_22__UNION_PARTITIONING; - - /** - * The feature id for the 'Partitioned' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_ONE_22__PARTITIONED = XML_PARTITIONING_GROUP_22__PARTITIONED; - - /** - * The feature id for the 'Non Cacheable' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_ONE_22__NON_CACHEABLE = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Xml Many To One 22' class. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_ONE_22_FEATURE_COUNT = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlMappedSuperclass_2_2 Xml Mapped Superclass 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlMappedSuperclass_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlMappedSuperclass_2_2() - * @generated - */ - public static final int XML_MAPPED_SUPERCLASS_22 = 16; - - /** - * The feature id for the 'Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS_22__PARTITIONING = XML_PARTITIONING_GROUP_22__PARTITIONING; - - /** - * The feature id for the 'Replication Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS_22__REPLICATION_PARTITIONING = XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING; - - /** - * The feature id for the 'Round Robin Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS_22__ROUND_ROBIN_PARTITIONING = XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING; - - /** - * The feature id for the 'Pinned Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS_22__PINNED_PARTITIONING = XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING; - - /** - * The feature id for the 'Range Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS_22__RANGE_PARTITIONING = XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING; - - /** - * The feature id for the 'Value Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS_22__VALUE_PARTITIONING = XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING; - - /** - * The feature id for the 'Hash Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS_22__HASH_PARTITIONING = XML_PARTITIONING_GROUP_22__HASH_PARTITIONING; - - /** - * The feature id for the 'Union Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS_22__UNION_PARTITIONING = XML_PARTITIONING_GROUP_22__UNION_PARTITIONING; - - /** - * The feature id for the 'Partitioned' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS_22__PARTITIONED = XML_PARTITIONING_GROUP_22__PARTITIONED; - - /** - * The feature id for the 'Additional Criteria' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS_22__ADDITIONAL_CRITERIA = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Xml Mapped Superclass 22' class. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS_22_FEATURE_COUNT = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE_22__PARTITIONING = XML_PARTITIONING_GROUP_22__PARTITIONING; - - /** - * The feature id for the 'Replication Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE_22__REPLICATION_PARTITIONING = XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING; - - /** - * The feature id for the 'Round Robin Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE_22__ROUND_ROBIN_PARTITIONING = XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING; - - /** - * The feature id for the 'Pinned Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE_22__PINNED_PARTITIONING = XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING; - - /** - * The feature id for the 'Range Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE_22__RANGE_PARTITIONING = XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING; - - /** - * The feature id for the 'Value Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE_22__VALUE_PARTITIONING = XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING; - - /** - * The feature id for the 'Hash Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE_22__HASH_PARTITIONING = XML_PARTITIONING_GROUP_22__HASH_PARTITIONING; - - /** - * The feature id for the 'Union Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE_22__UNION_PARTITIONING = XML_PARTITIONING_GROUP_22__UNION_PARTITIONING; - - /** - * The feature id for the 'Partitioned' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE_22__PARTITIONED = XML_PARTITIONING_GROUP_22__PARTITIONED; - - /** - * The feature id for the 'Cascade On Delete' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE_22__CASCADE_ON_DELETE = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Non Cacheable' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE_22__NON_CACHEABLE = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Xml One To One 22' class. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE_22_FEATURE_COUNT = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 2; - - /** - * The feature id for the 'Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY_22__PARTITIONING = XML_PARTITIONING_GROUP_22__PARTITIONING; - - /** - * The feature id for the 'Replication Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY_22__REPLICATION_PARTITIONING = XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING; - - /** - * The feature id for the 'Round Robin Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY_22__ROUND_ROBIN_PARTITIONING = XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING; - - /** - * The feature id for the 'Pinned Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY_22__PINNED_PARTITIONING = XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING; - - /** - * The feature id for the 'Range Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY_22__RANGE_PARTITIONING = XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING; - - /** - * The feature id for the 'Value Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY_22__VALUE_PARTITIONING = XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING; - - /** - * The feature id for the 'Hash Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY_22__HASH_PARTITIONING = XML_PARTITIONING_GROUP_22__HASH_PARTITIONING; - - /** - * The feature id for the 'Union Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY_22__UNION_PARTITIONING = XML_PARTITIONING_GROUP_22__UNION_PARTITIONING; - - /** - * The feature id for the 'Partitioned' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY_22__PARTITIONED = XML_PARTITIONING_GROUP_22__PARTITIONED; - - /** - * The feature id for the 'Cascade On Delete' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY_22__CASCADE_ON_DELETE = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Noncacheable' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY_22__NONCACHEABLE = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Xml One To Many 22' class. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY_22_FEATURE_COUNT = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 2; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_PARTITIONING_22__NAME = 0; - - /** - * The number of structural features of the 'Xml Partitioning 22' class. - * - * - * @generated - * @ordered - */ - public static final int XML_PARTITIONING_22_FEATURE_COUNT = 1; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_PINNED_PARTITIONING_22__NAME = 0; - - /** - * The number of structural features of the 'Xml Pinned Partitioning 22' class. - * - * - * @generated - * @ordered - */ - public static final int XML_PINNED_PARTITIONING_22_FEATURE_COUNT = 1; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_RANGE_PARTITIONING_22__NAME = 0; - - /** - * The number of structural features of the 'Xml Range Partitioning 22' class. - * - * - * @generated - * @ordered - */ - public static final int XML_RANGE_PARTITIONING_22_FEATURE_COUNT = 1; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_REPLICATION_PARTITIONING_22__NAME = 0; - - /** - * The number of structural features of the 'Xml Replication Partitioning 22' class. - * - * - * @generated - * @ordered - */ - public static final int XML_REPLICATION_PARTITIONING_22_FEATURE_COUNT = 1; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ROUND_ROBIN_PARTITIONING_22__NAME = 0; - - /** - * The number of structural features of the 'Xml Round Robin Partitioning 22' class. - * - * - * @generated - * @ordered - */ - public static final int XML_ROUND_ROBIN_PARTITIONING_22_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlSecondaryTable_2_2 Xml Secondary Table 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlSecondaryTable_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlSecondaryTable_2_2() - * @generated - */ - public static final int XML_SECONDARY_TABLE_22 = 25; - - /** - * The feature id for the 'Creation Suffix' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_SECONDARY_TABLE_22__CREATION_SUFFIX = 0; - - /** - * The number of structural features of the 'Xml Secondary Table 22' class. - * - * - * @generated - * @ordered - */ - public static final int XML_SECONDARY_TABLE_22_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlTable_2_2 Xml Table 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlTable_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlTable_2_2() - * @generated - */ - public static final int XML_TABLE_22 = 26; - - /** - * The feature id for the 'Creation Suffix' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TABLE_22__CREATION_SUFFIX = 0; - - /** - * The number of structural features of the 'Xml Table 22' class. - * - * - * @generated - * @ordered - */ - public static final int XML_TABLE_22_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlTableGenerator_2_2 Xml Table Generator 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlTableGenerator_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlTableGenerator_2_2() - * @generated - */ - public static final int XML_TABLE_GENERATOR_22 = 27; - - /** - * The feature id for the 'Creation Suffix' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TABLE_GENERATOR_22__CREATION_SUFFIX = 0; - - /** - * The number of structural features of the 'Xml Table Generator 22' class. - * - * - * @generated - * @ordered - */ - public static final int XML_TABLE_GENERATOR_22_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlUnionPartitioning_2_2 Xml Union Partitioning 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlUnionPartitioning_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlUnionPartitioning_2_2() - * @generated - */ - public static final int XML_UNION_PARTITIONING_22 = 28; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_UNION_PARTITIONING_22__NAME = 0; - - /** - * The number of structural features of the 'Xml Union Partitioning 22' class. - * - * - * @generated - * @ordered - */ - public static final int XML_UNION_PARTITIONING_22_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlValuePartitioning_2_2 Xml Value Partitioning 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlValuePartitioning_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlValuePartitioning_2_2() - * @generated - */ - public static final int XML_VALUE_PARTITIONING_22 = 29; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_VALUE_PARTITIONING_22__NAME = 0; - - /** - * The number of structural features of the 'Xml Value Partitioning 22' class. - * - * - * @generated - * @ordered - */ - public static final int XML_VALUE_PARTITIONING_22_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlVariableOneToOne_2_2 Xml Variable One To One 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlVariableOneToOne_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlVariableOneToOne_2_2() - * @generated - */ - public static final int XML_VARIABLE_ONE_TO_ONE_22 = 30; - - /** - * The feature id for the 'Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_VARIABLE_ONE_TO_ONE_22__PARTITIONING = XML_PARTITIONING_GROUP_22__PARTITIONING; - - /** - * The feature id for the 'Replication Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_VARIABLE_ONE_TO_ONE_22__REPLICATION_PARTITIONING = XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING; - - /** - * The feature id for the 'Round Robin Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_VARIABLE_ONE_TO_ONE_22__ROUND_ROBIN_PARTITIONING = XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING; - - /** - * The feature id for the 'Pinned Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_VARIABLE_ONE_TO_ONE_22__PINNED_PARTITIONING = XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING; - - /** - * The feature id for the 'Range Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_VARIABLE_ONE_TO_ONE_22__RANGE_PARTITIONING = XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING; - - /** - * The feature id for the 'Value Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_VARIABLE_ONE_TO_ONE_22__VALUE_PARTITIONING = XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING; - - /** - * The feature id for the 'Hash Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_VARIABLE_ONE_TO_ONE_22__HASH_PARTITIONING = XML_PARTITIONING_GROUP_22__HASH_PARTITIONING; - - /** - * The feature id for the 'Union Partitioning' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_VARIABLE_ONE_TO_ONE_22__UNION_PARTITIONING = XML_PARTITIONING_GROUP_22__UNION_PARTITIONING; - - /** - * The feature id for the 'Partitioned' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_VARIABLE_ONE_TO_ONE_22__PARTITIONED = XML_PARTITIONING_GROUP_22__PARTITIONED; - - /** - * The feature id for the 'Non Cacheable' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_VARIABLE_ONE_TO_ONE_22__NON_CACHEABLE = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Xml Variable One To One 22' class. - * - * - * @generated - * @ordered - */ - public static final int XML_VARIABLE_ONE_TO_ONE_22_FEATURE_COUNT = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlVersion_2_2 Xml Version 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlVersion_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlVersion_2_2() - * @generated - */ - public static final int XML_VERSION_22 = 31; - - /** - * The feature id for the 'Index' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_VERSION_22__INDEX = 0; - - /** - * The number of structural features of the 'Xml Version 22' class. - * - * - * @generated - * @ordered - */ - public static final int XML_VERSION_22_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.CacheIsolationType Cache Isolation Type}' enum. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.CacheIsolationType - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getCacheIsolationType() - * @generated - */ - public static final int CACHE_ISOLATION_TYPE = 32; - - /** - * - * - * @generated - */ - private EClass xmlAdditionalCriteria_2_2EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlBasic_2_2EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlBasicCollection_2_2EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlBasicMap_2_2EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlCache_2_2EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlCollectionTable_2_2EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlElementCollection_2_2EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlEntity_2_2EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlEntityMappings_2_2EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlHashPartitioning_2_2EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlManyToMany_2_2EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlManyToOne_2_2EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlOneToOne_2_2EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlOneToMany_2_2EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlPartitioning_2_2EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlPartitioningGroup_2_2EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlPinnedPartitioning_2_2EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlRangePartitioning_2_2EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlReplicationPartitioning_2_2EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlRoundRobinPartitioning_2_2EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlEmbeddable_2_2EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlId_2_2EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlIndex_2_2EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlJoinTable_2_2EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlMappedSuperclass_2_2EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlSecondaryTable_2_2EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlTable_2_2EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlTableGenerator_2_2EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlUnionPartitioning_2_2EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlValuePartitioning_2_2EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlVariableOneToOne_2_2EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlVersion_2_2EClass = null; - - /** - * - * - * @generated - */ - private EEnum cacheIsolationTypeEEnum = null; - - /** - * Creates an instance of the model Package, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - *

Note: 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.v2_2.EclipseLinkOrmV2_2Package#eNS_URI - * @see #init() - * @generated - */ - private EclipseLinkOrmV2_2Package() - { - super(eNS_URI, EclipseLinkOrmV2_2Factory.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 EclipseLinkOrmV2_2Package#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 EclipseLinkOrmV2_2Package init() - { - if (isInited) return (EclipseLinkOrmV2_2Package)EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmV2_2Package.eNS_URI); - - // Obtain or create and register package - EclipseLinkOrmV2_2Package theEclipseLinkOrmV2_2Package = (EclipseLinkOrmV2_2Package)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof EclipseLinkOrmV2_2Package ? EPackage.Registry.INSTANCE.get(eNS_URI) : new EclipseLinkOrmV2_2Package()); - - isInited = true; - - // Initialize simple dependencies - OrmPackage.eINSTANCE.eClass(); - XMLTypePackage.eINSTANCE.eClass(); - - // Obtain or create and register interdependencies - EclipseLinkOrmPackage theEclipseLinkOrmPackage = (EclipseLinkOrmPackage)(EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmPackage.eNS_URI) instanceof EclipseLinkOrmPackage ? EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmPackage.eNS_URI) : EclipseLinkOrmPackage.eINSTANCE); - 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_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 - theEclipseLinkOrmV2_2Package.createPackageContents(); - theEclipseLinkOrmPackage.createPackageContents(); - theEclipseLinkOrmV1_1Package.createPackageContents(); - theEclipseLinkOrmV2_0Package.createPackageContents(); - theEclipseLinkOrmV2_1Package.createPackageContents(); - theEclipseLinkOrmV2_3Package.createPackageContents(); - theEclipseLinkOrmV2_4Package.createPackageContents(); - - // Initialize created meta-data - theEclipseLinkOrmV2_2Package.initializePackageContents(); - theEclipseLinkOrmPackage.initializePackageContents(); - theEclipseLinkOrmV1_1Package.initializePackageContents(); - theEclipseLinkOrmV2_0Package.initializePackageContents(); - theEclipseLinkOrmV2_1Package.initializePackageContents(); - theEclipseLinkOrmV2_3Package.initializePackageContents(); - theEclipseLinkOrmV2_4Package.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theEclipseLinkOrmV2_2Package.freeze(); - - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(EclipseLinkOrmV2_2Package.eNS_URI, theEclipseLinkOrmV2_2Package); - return theEclipseLinkOrmV2_2Package; - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlAdditionalCriteria_2_2 Xml Additional Criteria 22}'. - * - * - * @return the meta object for class 'Xml Additional Criteria 22'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlAdditionalCriteria_2_2 - * @generated - */ - public EClass getXmlAdditionalCriteria_2_2() - { - return xmlAdditionalCriteria_2_2EClass; - } - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlAdditionalCriteria_2_2#getCriteria Criteria}'. - * - * - * @return the meta object for the attribute 'Criteria'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlAdditionalCriteria_2_2#getCriteria() - * @see #getXmlAdditionalCriteria_2_2() - * @generated - */ - public EAttribute getXmlAdditionalCriteria_2_2_Criteria() - { - return (EAttribute)xmlAdditionalCriteria_2_2EClass.getEStructuralFeatures().get(0); - } - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasic_2_2 Xml Basic 22}'. - * - * - * @return the meta object for class 'Xml Basic 22'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasic_2_2 - * @generated - */ - public EClass getXmlBasic_2_2() - { - return xmlBasic_2_2EClass; - } - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasic_2_2#getIndex Index}'. - * - * - * @return the meta object for the containment reference 'Index'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasic_2_2#getIndex() - * @see #getXmlBasic_2_2() - * @generated - */ - public EReference getXmlBasic_2_2_Index() - { - return (EReference)xmlBasic_2_2EClass.getEStructuralFeatures().get(0); - } - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasicCollection_2_2 Xml Basic Collection 22}'. - * - * - * @return the meta object for class 'Xml Basic Collection 22'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasicCollection_2_2 - * @generated - */ - public EClass getXmlBasicCollection_2_2() - { - return xmlBasicCollection_2_2EClass; - } - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasicCollection_2_2#getCascadeOnDelete Cascade On Delete}'. - * - * - * @return the meta object for the attribute 'Cascade On Delete'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasicCollection_2_2#getCascadeOnDelete() - * @see #getXmlBasicCollection_2_2() - * @generated - */ - public EAttribute getXmlBasicCollection_2_2_CascadeOnDelete() - { - return (EAttribute)xmlBasicCollection_2_2EClass.getEStructuralFeatures().get(0); - } - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasicMap_2_2 Xml Basic Map 22}'. - * - * - * @return the meta object for class 'Xml Basic Map 22'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasicMap_2_2 - * @generated - */ - public EClass getXmlBasicMap_2_2() - { - return xmlBasicMap_2_2EClass; - } - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasicMap_2_2#getCascadeOnDelete Cascade On Delete}'. - * - * - * @return the meta object for the attribute 'Cascade On Delete'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasicMap_2_2#getCascadeOnDelete() - * @see #getXmlBasicMap_2_2() - * @generated - */ - public EAttribute getXmlBasicMap_2_2_CascadeOnDelete() - { - return (EAttribute)xmlBasicMap_2_2EClass.getEStructuralFeatures().get(0); - } - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlCache_2_2 Xml Cache 22}'. - * - * - * @return the meta object for class 'Xml Cache 22'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlCache_2_2 - * @generated - */ - public EClass getXmlCache_2_2() - { - return xmlCache_2_2EClass; - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlCache_2_2#getIsolation Isolation}'. - * - * - * @return the meta object for the attribute 'Isolation'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlCache_2_2#getIsolation() - * @see #getXmlCache_2_2() - * @generated - */ - public EAttribute getXmlCache_2_2_Isolation() - { - return (EAttribute)xmlCache_2_2EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlCollectionTable_2_2 Xml Collection Table 22}'. - * - * - * @return the meta object for class 'Xml Collection Table 22'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlCollectionTable_2_2 - * @generated - */ - public EClass getXmlCollectionTable_2_2() - { - return xmlCollectionTable_2_2EClass; - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlCollectionTable_2_2#getCreationSuffix Creation Suffix}'. - * - * - * @return the meta object for the attribute 'Creation Suffix'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlCollectionTable_2_2#getCreationSuffix() - * @see #getXmlCollectionTable_2_2() - * @generated - */ - public EAttribute getXmlCollectionTable_2_2_CreationSuffix() - { - return (EAttribute)xmlCollectionTable_2_2EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlElementCollection_2_2 Xml Element Collection 22}'. - * - * - * @return the meta object for class 'Xml Element Collection 22'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlElementCollection_2_2 - * @generated - */ - public EClass getXmlElementCollection_2_2() - { - return xmlElementCollection_2_2EClass; - } - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlElementCollection_2_2#getCascadeOnDelete Cascade On Delete}'. - * - * - * @return the meta object for the attribute 'Cascade On Delete'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlElementCollection_2_2#getCascadeOnDelete() - * @see #getXmlElementCollection_2_2() - * @generated - */ - public EAttribute getXmlElementCollection_2_2_CascadeOnDelete() - { - return (EAttribute)xmlElementCollection_2_2EClass.getEStructuralFeatures().get(0); - } - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlElementCollection_2_2#isNoncacheable Noncacheable}'. - * - * - * @return the meta object for the attribute 'Noncacheable'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlElementCollection_2_2#isNoncacheable() - * @see #getXmlElementCollection_2_2() - * @generated - */ - public EAttribute getXmlElementCollection_2_2_Noncacheable() - { - return (EAttribute)xmlElementCollection_2_2EClass.getEStructuralFeatures().get(1); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntity_2_2 Xml Entity 22}'. - * - * - * @return the meta object for class 'Xml Entity 22'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntity_2_2 - * @generated - */ - public EClass getXmlEntity_2_2() - { - return xmlEntity_2_2EClass; - } - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntity_2_2#getCascadeOnDelete Cascade On Delete}'. - * - * - * @return the meta object for the attribute 'Cascade On Delete'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntity_2_2#getCascadeOnDelete() - * @see #getXmlEntity_2_2() - * @generated - */ - public EAttribute getXmlEntity_2_2_CascadeOnDelete() - { - return (EAttribute)xmlEntity_2_2EClass.getEStructuralFeatures().get(1); - } - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntity_2_2#getIndex Index}'. - * - * - * @return the meta object for the containment reference 'Index'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntity_2_2#getIndex() - * @see #getXmlEntity_2_2() - * @generated - */ - public EReference getXmlEntity_2_2_Index() - { - return (EReference)xmlEntity_2_2EClass.getEStructuralFeatures().get(2); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2 Xml Entity Mappings 22}'. - * - * - * @return the meta object for class 'Xml Entity Mappings 22'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2 - * @generated - */ - public EClass getXmlEntityMappings_2_2() - { - return xmlEntityMappings_2_2EClass; - } - - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getPartitioning Partitioning}'. - * - * - * @return the meta object for the containment reference list 'Partitioning'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getPartitioning() - * @see #getXmlEntityMappings_2_2() - * @generated - */ - public EReference getXmlEntityMappings_2_2_Partitioning() - { - return (EReference)xmlEntityMappings_2_2EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getReplicationPartitioning Replication Partitioning}'. - * - * - * @return the meta object for the containment reference list 'Replication Partitioning'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getReplicationPartitioning() - * @see #getXmlEntityMappings_2_2() - * @generated - */ - public EReference getXmlEntityMappings_2_2_ReplicationPartitioning() - { - return (EReference)xmlEntityMappings_2_2EClass.getEStructuralFeatures().get(1); - } - - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getRoundRobinPartitioning Round Robin Partitioning}'. - * - * - * @return the meta object for the containment reference list 'Round Robin Partitioning'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getRoundRobinPartitioning() - * @see #getXmlEntityMappings_2_2() - * @generated - */ - public EReference getXmlEntityMappings_2_2_RoundRobinPartitioning() - { - return (EReference)xmlEntityMappings_2_2EClass.getEStructuralFeatures().get(2); - } - - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getPinnedPartitioning Pinned Partitioning}'. - * - * - * @return the meta object for the containment reference list 'Pinned Partitioning'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getPinnedPartitioning() - * @see #getXmlEntityMappings_2_2() - * @generated - */ - public EReference getXmlEntityMappings_2_2_PinnedPartitioning() - { - return (EReference)xmlEntityMappings_2_2EClass.getEStructuralFeatures().get(3); - } - - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getRangePartitioning Range Partitioning}'. - * - * - * @return the meta object for the containment reference list 'Range Partitioning'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getRangePartitioning() - * @see #getXmlEntityMappings_2_2() - * @generated - */ - public EReference getXmlEntityMappings_2_2_RangePartitioning() - { - return (EReference)xmlEntityMappings_2_2EClass.getEStructuralFeatures().get(4); - } - - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getValuePartitioning Value Partitioning}'. - * - * - * @return the meta object for the containment reference list 'Value Partitioning'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getValuePartitioning() - * @see #getXmlEntityMappings_2_2() - * @generated - */ - public EReference getXmlEntityMappings_2_2_ValuePartitioning() - { - return (EReference)xmlEntityMappings_2_2EClass.getEStructuralFeatures().get(5); - } - - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getHashPartitioning Hash Partitioning}'. - * - * - * @return the meta object for the containment reference list 'Hash Partitioning'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getHashPartitioning() - * @see #getXmlEntityMappings_2_2() - * @generated - */ - public EReference getXmlEntityMappings_2_2_HashPartitioning() - { - return (EReference)xmlEntityMappings_2_2EClass.getEStructuralFeatures().get(6); - } - - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getUnionPartitioning Union Partitioning}'. - * - * - * @return the meta object for the containment reference list 'Union Partitioning'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getUnionPartitioning() - * @see #getXmlEntityMappings_2_2() - * @generated - */ - public EReference getXmlEntityMappings_2_2_UnionPartitioning() - { - return (EReference)xmlEntityMappings_2_2EClass.getEStructuralFeatures().get(7); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlHashPartitioning_2_2 Xml Hash Partitioning 22}'. - * - * - * @return the meta object for class 'Xml Hash Partitioning 22'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlHashPartitioning_2_2 - * @generated - */ - public EClass getXmlHashPartitioning_2_2() - { - return xmlHashPartitioning_2_2EClass; - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlHashPartitioning_2_2#getName Name}'. - * - * - * @return the meta object for the attribute 'Name'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlHashPartitioning_2_2#getName() - * @see #getXmlHashPartitioning_2_2() - * @generated - */ - public EAttribute getXmlHashPartitioning_2_2_Name() - { - return (EAttribute)xmlHashPartitioning_2_2EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntity_2_2#getAdditionalCriteria Additional Criteria}'. - * - * - * @return the meta object for the containment reference 'Additional Criteria'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntity_2_2#getAdditionalCriteria() - * @see #getXmlEntity_2_2() - * @generated - */ - public EReference getXmlEntity_2_2_AdditionalCriteria() - { - return (EReference)xmlEntity_2_2EClass.getEStructuralFeatures().get(0); - } - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToMany_2_2 Xml Many To Many 22}'. - * - * - * @return the meta object for class 'Xml Many To Many 22'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToMany_2_2 - * @generated - */ - public EClass getXmlManyToMany_2_2() - { - return xmlManyToMany_2_2EClass; - } - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToMany_2_2#getCascadeOnDelete Cascade On Delete}'. - * - * - * @return the meta object for the attribute 'Cascade On Delete'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToMany_2_2#getCascadeOnDelete() - * @see #getXmlManyToMany_2_2() - * @generated - */ - public EAttribute getXmlManyToMany_2_2_CascadeOnDelete() - { - return (EAttribute)xmlManyToMany_2_2EClass.getEStructuralFeatures().get(0); - } - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToMany_2_2#isNonCacheable Non Cacheable}'. - * - * - * @return the meta object for the attribute 'Non Cacheable'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToMany_2_2#isNonCacheable() - * @see #getXmlManyToMany_2_2() - * @generated - */ - public EAttribute getXmlManyToMany_2_2_NonCacheable() - { - return (EAttribute)xmlManyToMany_2_2EClass.getEStructuralFeatures().get(1); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToOne_2_2 Xml Many To One 22}'. - * - * - * @return the meta object for class 'Xml Many To One 22'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToOne_2_2 - * @generated - */ - public EClass getXmlManyToOne_2_2() - { - return xmlManyToOne_2_2EClass; - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToOne_2_2#isNonCacheable Non Cacheable}'. - * - * - * @return the meta object for the attribute 'Non Cacheable'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToOne_2_2#isNonCacheable() - * @see #getXmlManyToOne_2_2() - * @generated - */ - public EAttribute getXmlManyToOne_2_2_NonCacheable() - { - return (EAttribute)xmlManyToOne_2_2EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToOne_2_2 Xml One To One 22}'. - * - * - * @return the meta object for class 'Xml One To One 22'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToOne_2_2 - * @generated - */ - public EClass getXmlOneToOne_2_2() - { - return xmlOneToOne_2_2EClass; - } - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToOne_2_2#getCascadeOnDelete Cascade On Delete}'. - * - * - * @return the meta object for the attribute 'Cascade On Delete'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToOne_2_2#getCascadeOnDelete() - * @see #getXmlOneToOne_2_2() - * @generated - */ - public EAttribute getXmlOneToOne_2_2_CascadeOnDelete() - { - return (EAttribute)xmlOneToOne_2_2EClass.getEStructuralFeatures().get(0); - } - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToOne_2_2#isNonCacheable Non Cacheable}'. - * - * - * @return the meta object for the attribute 'Non Cacheable'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToOne_2_2#isNonCacheable() - * @see #getXmlOneToOne_2_2() - * @generated - */ - public EAttribute getXmlOneToOne_2_2_NonCacheable() - { - return (EAttribute)xmlOneToOne_2_2EClass.getEStructuralFeatures().get(1); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToMany_2_2 Xml One To Many 22}'. - * - * - * @return the meta object for class 'Xml One To Many 22'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToMany_2_2 - * @generated - */ - public EClass getXmlOneToMany_2_2() - { - return xmlOneToMany_2_2EClass; - } - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToMany_2_2#getCascadeOnDelete Cascade On Delete}'. - * - * - * @return the meta object for the attribute 'Cascade On Delete'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToMany_2_2#getCascadeOnDelete() - * @see #getXmlOneToMany_2_2() - * @generated - */ - public EAttribute getXmlOneToMany_2_2_CascadeOnDelete() - { - return (EAttribute)xmlOneToMany_2_2EClass.getEStructuralFeatures().get(0); - } - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToMany_2_2#isNoncacheable Noncacheable}'. - * - * - * @return the meta object for the attribute 'Noncacheable'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToMany_2_2#isNoncacheable() - * @see #getXmlOneToMany_2_2() - * @generated - */ - public EAttribute getXmlOneToMany_2_2_Noncacheable() - { - return (EAttribute)xmlOneToMany_2_2EClass.getEStructuralFeatures().get(1); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioning_2_2 Xml Partitioning 22}'. - * - * - * @return the meta object for class 'Xml Partitioning 22'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioning_2_2 - * @generated - */ - public EClass getXmlPartitioning_2_2() - { - return xmlPartitioning_2_2EClass; - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioning_2_2#getName Name}'. - * - * - * @return the meta object for the attribute 'Name'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioning_2_2#getName() - * @see #getXmlPartitioning_2_2() - * @generated - */ - public EAttribute getXmlPartitioning_2_2_Name() - { - return (EAttribute)xmlPartitioning_2_2EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2 Xml Partitioning Group 22}'. - * - * - * @return the meta object for class 'Xml Partitioning Group 22'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2 - * @generated - */ - public EClass getXmlPartitioningGroup_2_2() - { - return xmlPartitioningGroup_2_2EClass; - } - - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getPartitioning Partitioning}'. - * - * - * @return the meta object for the containment reference 'Partitioning'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getPartitioning() - * @see #getXmlPartitioningGroup_2_2() - * @generated - */ - public EReference getXmlPartitioningGroup_2_2_Partitioning() - { - return (EReference)xmlPartitioningGroup_2_2EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getReplicationPartitioning Replication Partitioning}'. - * - * - * @return the meta object for the containment reference 'Replication Partitioning'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getReplicationPartitioning() - * @see #getXmlPartitioningGroup_2_2() - * @generated - */ - public EReference getXmlPartitioningGroup_2_2_ReplicationPartitioning() - { - return (EReference)xmlPartitioningGroup_2_2EClass.getEStructuralFeatures().get(1); - } - - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getRoundRobinPartitioning Round Robin Partitioning}'. - * - * - * @return the meta object for the containment reference 'Round Robin Partitioning'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getRoundRobinPartitioning() - * @see #getXmlPartitioningGroup_2_2() - * @generated - */ - public EReference getXmlPartitioningGroup_2_2_RoundRobinPartitioning() - { - return (EReference)xmlPartitioningGroup_2_2EClass.getEStructuralFeatures().get(2); - } - - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getPinnedPartitioning Pinned Partitioning}'. - * - * - * @return the meta object for the containment reference 'Pinned Partitioning'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getPinnedPartitioning() - * @see #getXmlPartitioningGroup_2_2() - * @generated - */ - public EReference getXmlPartitioningGroup_2_2_PinnedPartitioning() - { - return (EReference)xmlPartitioningGroup_2_2EClass.getEStructuralFeatures().get(3); - } - - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getRangePartitioning Range Partitioning}'. - * - * - * @return the meta object for the containment reference 'Range Partitioning'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getRangePartitioning() - * @see #getXmlPartitioningGroup_2_2() - * @generated - */ - public EReference getXmlPartitioningGroup_2_2_RangePartitioning() - { - return (EReference)xmlPartitioningGroup_2_2EClass.getEStructuralFeatures().get(4); - } - - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getValuePartitioning Value Partitioning}'. - * - * - * @return the meta object for the containment reference 'Value Partitioning'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getValuePartitioning() - * @see #getXmlPartitioningGroup_2_2() - * @generated - */ - public EReference getXmlPartitioningGroup_2_2_ValuePartitioning() - { - return (EReference)xmlPartitioningGroup_2_2EClass.getEStructuralFeatures().get(5); - } - - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getHashPartitioning Hash Partitioning}'. - * - * - * @return the meta object for the containment reference 'Hash Partitioning'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getHashPartitioning() - * @see #getXmlPartitioningGroup_2_2() - * @generated - */ - public EReference getXmlPartitioningGroup_2_2_HashPartitioning() - { - return (EReference)xmlPartitioningGroup_2_2EClass.getEStructuralFeatures().get(6); - } - - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getUnionPartitioning Union Partitioning}'. - * - * - * @return the meta object for the containment reference 'Union Partitioning'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getUnionPartitioning() - * @see #getXmlPartitioningGroup_2_2() - * @generated - */ - public EReference getXmlPartitioningGroup_2_2_UnionPartitioning() - { - return (EReference)xmlPartitioningGroup_2_2EClass.getEStructuralFeatures().get(7); - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getPartitioned Partitioned}'. - * - * - * @return the meta object for the attribute 'Partitioned'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getPartitioned() - * @see #getXmlPartitioningGroup_2_2() - * @generated - */ - public EAttribute getXmlPartitioningGroup_2_2_Partitioned() - { - return (EAttribute)xmlPartitioningGroup_2_2EClass.getEStructuralFeatures().get(8); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPinnedPartitioning_2_2 Xml Pinned Partitioning 22}'. - * - * - * @return the meta object for class 'Xml Pinned Partitioning 22'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPinnedPartitioning_2_2 - * @generated - */ - public EClass getXmlPinnedPartitioning_2_2() - { - return xmlPinnedPartitioning_2_2EClass; - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPinnedPartitioning_2_2#getName Name}'. - * - * - * @return the meta object for the attribute 'Name'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPinnedPartitioning_2_2#getName() - * @see #getXmlPinnedPartitioning_2_2() - * @generated - */ - public EAttribute getXmlPinnedPartitioning_2_2_Name() - { - return (EAttribute)xmlPinnedPartitioning_2_2EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRangePartitioning_2_2 Xml Range Partitioning 22}'. - * - * - * @return the meta object for class 'Xml Range Partitioning 22'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRangePartitioning_2_2 - * @generated - */ - public EClass getXmlRangePartitioning_2_2() - { - return xmlRangePartitioning_2_2EClass; - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRangePartitioning_2_2#getName Name}'. - * - * - * @return the meta object for the attribute 'Name'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRangePartitioning_2_2#getName() - * @see #getXmlRangePartitioning_2_2() - * @generated - */ - public EAttribute getXmlRangePartitioning_2_2_Name() - { - return (EAttribute)xmlRangePartitioning_2_2EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlReplicationPartitioning_2_2 Xml Replication Partitioning 22}'. - * - * - * @return the meta object for class 'Xml Replication Partitioning 22'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlReplicationPartitioning_2_2 - * @generated - */ - public EClass getXmlReplicationPartitioning_2_2() - { - return xmlReplicationPartitioning_2_2EClass; - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlReplicationPartitioning_2_2#getName Name}'. - * - * - * @return the meta object for the attribute 'Name'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlReplicationPartitioning_2_2#getName() - * @see #getXmlReplicationPartitioning_2_2() - * @generated - */ - public EAttribute getXmlReplicationPartitioning_2_2_Name() - { - return (EAttribute)xmlReplicationPartitioning_2_2EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRoundRobinPartitioning_2_2 Xml Round Robin Partitioning 22}'. - * - * - * @return the meta object for class 'Xml Round Robin Partitioning 22'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRoundRobinPartitioning_2_2 - * @generated - */ - public EClass getXmlRoundRobinPartitioning_2_2() - { - return xmlRoundRobinPartitioning_2_2EClass; - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRoundRobinPartitioning_2_2#getName Name}'. - * - * - * @return the meta object for the attribute 'Name'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRoundRobinPartitioning_2_2#getName() - * @see #getXmlRoundRobinPartitioning_2_2() - * @generated - */ - public EAttribute getXmlRoundRobinPartitioning_2_2_Name() - { - return (EAttribute)xmlRoundRobinPartitioning_2_2EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEmbeddable_2_2 Xml Embeddable 22}'. - * - * - * @return the meta object for class 'Xml Embeddable 22'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEmbeddable_2_2 - * @generated - */ - public EClass getXmlEmbeddable_2_2() - { - return xmlEmbeddable_2_2EClass; - } - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlId_2_2 Xml Id 22}'. - * - * - * @return the meta object for class 'Xml Id 22'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlId_2_2 - * @generated - */ - public EClass getXmlId_2_2() - { - return xmlId_2_2EClass; - } - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlId_2_2#getIndex Index}'. - * - * - * @return the meta object for the containment reference 'Index'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlId_2_2#getIndex() - * @see #getXmlId_2_2() - * @generated - */ - public EReference getXmlId_2_2_Index() - { - return (EReference)xmlId_2_2EClass.getEStructuralFeatures().get(0); - } - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2 Xml Index 22}'. - * - * - * @return the meta object for class 'Xml Index 22'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2 - * @generated - */ - public EClass getXmlIndex_2_2() - { - return xmlIndex_2_2EClass; - } - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2#getName Name}'. - * - * - * @return the meta object for the attribute 'Name'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2#getName() - * @see #getXmlIndex_2_2() - * @generated - */ - public EAttribute getXmlIndex_2_2_Name() - { - return (EAttribute)xmlIndex_2_2EClass.getEStructuralFeatures().get(0); - } - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2#getSchema Schema}'. - * - * - * @return the meta object for the attribute 'Schema'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2#getSchema() - * @see #getXmlIndex_2_2() - * @generated - */ - public EAttribute getXmlIndex_2_2_Schema() - { - return (EAttribute)xmlIndex_2_2EClass.getEStructuralFeatures().get(1); - } - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2#getCatalog Catalog}'. - * - * - * @return the meta object for the attribute 'Catalog'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2#getCatalog() - * @see #getXmlIndex_2_2() - * @generated - */ - public EAttribute getXmlIndex_2_2_Catalog() - { - return (EAttribute)xmlIndex_2_2EClass.getEStructuralFeatures().get(2); - } - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2#getTable Table}'. - * - * - * @return the meta object for the attribute 'Table'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2#getTable() - * @see #getXmlIndex_2_2() - * @generated - */ - public EAttribute getXmlIndex_2_2_Table() - { - return (EAttribute)xmlIndex_2_2EClass.getEStructuralFeatures().get(3); - } - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2#getUnique Unique}'. - * - * - * @return the meta object for the attribute 'Unique'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2#getUnique() - * @see #getXmlIndex_2_2() - * @generated - */ - public EAttribute getXmlIndex_2_2_Unique() - { - return (EAttribute)xmlIndex_2_2EClass.getEStructuralFeatures().get(4); - } - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2#getColumnNames Column Names}'. - * - * - * @return the meta object for the attribute list 'Column Names'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2#getColumnNames() - * @see #getXmlIndex_2_2() - * @generated - */ - public EAttribute getXmlIndex_2_2_ColumnNames() - { - return (EAttribute)xmlIndex_2_2EClass.getEStructuralFeatures().get(5); - } - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlJoinTable_2_2 Xml Join Table 22}'. - * - * - * @return the meta object for class 'Xml Join Table 22'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlJoinTable_2_2 - * @generated - */ - public EClass getXmlJoinTable_2_2() - { - return xmlJoinTable_2_2EClass; - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlJoinTable_2_2#getCreationSuffix Creation Suffix}'. - * - * - * @return the meta object for the attribute 'Creation Suffix'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlJoinTable_2_2#getCreationSuffix() - * @see #getXmlJoinTable_2_2() - * @generated - */ - public EAttribute getXmlJoinTable_2_2_CreationSuffix() - { - return (EAttribute)xmlJoinTable_2_2EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlMappedSuperclass_2_2 Xml Mapped Superclass 22}'. - * - * - * @return the meta object for class 'Xml Mapped Superclass 22'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlMappedSuperclass_2_2 - * @generated - */ - public EClass getXmlMappedSuperclass_2_2() - { - return xmlMappedSuperclass_2_2EClass; - } - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlMappedSuperclass_2_2#getAdditionalCriteria Additional Criteria}'. - * - * - * @return the meta object for the containment reference 'Additional Criteria'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlMappedSuperclass_2_2#getAdditionalCriteria() - * @see #getXmlMappedSuperclass_2_2() - * @generated - */ - public EReference getXmlMappedSuperclass_2_2_AdditionalCriteria() - { - return (EReference)xmlMappedSuperclass_2_2EClass.getEStructuralFeatures().get(0); - } - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlSecondaryTable_2_2 Xml Secondary Table 22}'. - * - * - * @return the meta object for class 'Xml Secondary Table 22'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlSecondaryTable_2_2 - * @generated - */ - public EClass getXmlSecondaryTable_2_2() - { - return xmlSecondaryTable_2_2EClass; - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlSecondaryTable_2_2#getCreationSuffix Creation Suffix}'. - * - * - * @return the meta object for the attribute 'Creation Suffix'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlSecondaryTable_2_2#getCreationSuffix() - * @see #getXmlSecondaryTable_2_2() - * @generated - */ - public EAttribute getXmlSecondaryTable_2_2_CreationSuffix() - { - return (EAttribute)xmlSecondaryTable_2_2EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlTable_2_2 Xml Table 22}'. - * - * - * @return the meta object for class 'Xml Table 22'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlTable_2_2 - * @generated - */ - public EClass getXmlTable_2_2() - { - return xmlTable_2_2EClass; - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlTable_2_2#getCreationSuffix Creation Suffix}'. - * - * - * @return the meta object for the attribute 'Creation Suffix'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlTable_2_2#getCreationSuffix() - * @see #getXmlTable_2_2() - * @generated - */ - public EAttribute getXmlTable_2_2_CreationSuffix() - { - return (EAttribute)xmlTable_2_2EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlTableGenerator_2_2 Xml Table Generator 22}'. - * - * - * @return the meta object for class 'Xml Table Generator 22'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlTableGenerator_2_2 - * @generated - */ - public EClass getXmlTableGenerator_2_2() - { - return xmlTableGenerator_2_2EClass; - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlTableGenerator_2_2#getCreationSuffix Creation Suffix}'. - * - * - * @return the meta object for the attribute 'Creation Suffix'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlTableGenerator_2_2#getCreationSuffix() - * @see #getXmlTableGenerator_2_2() - * @generated - */ - public EAttribute getXmlTableGenerator_2_2_CreationSuffix() - { - return (EAttribute)xmlTableGenerator_2_2EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlUnionPartitioning_2_2 Xml Union Partitioning 22}'. - * - * - * @return the meta object for class 'Xml Union Partitioning 22'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlUnionPartitioning_2_2 - * @generated - */ - public EClass getXmlUnionPartitioning_2_2() - { - return xmlUnionPartitioning_2_2EClass; - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlUnionPartitioning_2_2#getName Name}'. - * - * - * @return the meta object for the attribute 'Name'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlUnionPartitioning_2_2#getName() - * @see #getXmlUnionPartitioning_2_2() - * @generated - */ - public EAttribute getXmlUnionPartitioning_2_2_Name() - { - return (EAttribute)xmlUnionPartitioning_2_2EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlValuePartitioning_2_2 Xml Value Partitioning 22}'. - * - * - * @return the meta object for class 'Xml Value Partitioning 22'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlValuePartitioning_2_2 - * @generated - */ - public EClass getXmlValuePartitioning_2_2() - { - return xmlValuePartitioning_2_2EClass; - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlValuePartitioning_2_2#getName Name}'. - * - * - * @return the meta object for the attribute 'Name'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlValuePartitioning_2_2#getName() - * @see #getXmlValuePartitioning_2_2() - * @generated - */ - public EAttribute getXmlValuePartitioning_2_2_Name() - { - return (EAttribute)xmlValuePartitioning_2_2EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlVariableOneToOne_2_2 Xml Variable One To One 22}'. - * - * - * @return the meta object for class 'Xml Variable One To One 22'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlVariableOneToOne_2_2 - * @generated - */ - public EClass getXmlVariableOneToOne_2_2() - { - return xmlVariableOneToOne_2_2EClass; - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlVariableOneToOne_2_2#isNonCacheable Non Cacheable}'. - * - * - * @return the meta object for the attribute 'Non Cacheable'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlVariableOneToOne_2_2#isNonCacheable() - * @see #getXmlVariableOneToOne_2_2() - * @generated - */ - public EAttribute getXmlVariableOneToOne_2_2_NonCacheable() - { - return (EAttribute)xmlVariableOneToOne_2_2EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlVersion_2_2 Xml Version 22}'. - * - * - * @return the meta object for class 'Xml Version 22'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlVersion_2_2 - * @generated - */ - public EClass getXmlVersion_2_2() - { - return xmlVersion_2_2EClass; - } - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlVersion_2_2#getIndex Index}'. - * - * - * @return the meta object for the containment reference 'Index'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlVersion_2_2#getIndex() - * @see #getXmlVersion_2_2() - * @generated - */ - public EReference getXmlVersion_2_2_Index() - { - return (EReference)xmlVersion_2_2EClass.getEStructuralFeatures().get(0); - } - - /** - * Returns the meta object for enum '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.CacheIsolationType Cache Isolation Type}'. - * - * - * @return the meta object for enum 'Cache Isolation Type'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.CacheIsolationType - * @generated - */ - public EEnum getCacheIsolationType() - { - return cacheIsolationTypeEEnum; - } - - - /** - * Returns the factory that creates the instances of the model. - * - * - * @return the factory that creates the instances of the model. - * @generated - */ - public EclipseLinkOrmV2_2Factory getEclipseLinkOrmV2_2Factory() - { - return (EclipseLinkOrmV2_2Factory)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 - xmlAdditionalCriteria_2_2EClass = createEClass(XML_ADDITIONAL_CRITERIA_22); - createEAttribute(xmlAdditionalCriteria_2_2EClass, XML_ADDITIONAL_CRITERIA_22__CRITERIA); - - xmlBasic_2_2EClass = createEClass(XML_BASIC_22); - createEReference(xmlBasic_2_2EClass, XML_BASIC_22__INDEX); - - xmlBasicCollection_2_2EClass = createEClass(XML_BASIC_COLLECTION_22); - createEAttribute(xmlBasicCollection_2_2EClass, XML_BASIC_COLLECTION_22__CASCADE_ON_DELETE); - - xmlBasicMap_2_2EClass = createEClass(XML_BASIC_MAP_22); - createEAttribute(xmlBasicMap_2_2EClass, XML_BASIC_MAP_22__CASCADE_ON_DELETE); - - xmlCache_2_2EClass = createEClass(XML_CACHE_22); - createEAttribute(xmlCache_2_2EClass, XML_CACHE_22__ISOLATION); - - xmlCollectionTable_2_2EClass = createEClass(XML_COLLECTION_TABLE_22); - createEAttribute(xmlCollectionTable_2_2EClass, XML_COLLECTION_TABLE_22__CREATION_SUFFIX); - - xmlElementCollection_2_2EClass = createEClass(XML_ELEMENT_COLLECTION_22); - createEAttribute(xmlElementCollection_2_2EClass, XML_ELEMENT_COLLECTION_22__CASCADE_ON_DELETE); - createEAttribute(xmlElementCollection_2_2EClass, XML_ELEMENT_COLLECTION_22__NONCACHEABLE); - - xmlEmbeddable_2_2EClass = createEClass(XML_EMBEDDABLE_22); - - xmlEntity_2_2EClass = createEClass(XML_ENTITY_22); - createEReference(xmlEntity_2_2EClass, XML_ENTITY_22__ADDITIONAL_CRITERIA); - createEAttribute(xmlEntity_2_2EClass, XML_ENTITY_22__CASCADE_ON_DELETE); - createEReference(xmlEntity_2_2EClass, XML_ENTITY_22__INDEX); - - xmlEntityMappings_2_2EClass = createEClass(XML_ENTITY_MAPPINGS_22); - createEReference(xmlEntityMappings_2_2EClass, XML_ENTITY_MAPPINGS_22__PARTITIONING); - createEReference(xmlEntityMappings_2_2EClass, XML_ENTITY_MAPPINGS_22__REPLICATION_PARTITIONING); - createEReference(xmlEntityMappings_2_2EClass, XML_ENTITY_MAPPINGS_22__ROUND_ROBIN_PARTITIONING); - createEReference(xmlEntityMappings_2_2EClass, XML_ENTITY_MAPPINGS_22__PINNED_PARTITIONING); - createEReference(xmlEntityMappings_2_2EClass, XML_ENTITY_MAPPINGS_22__RANGE_PARTITIONING); - createEReference(xmlEntityMappings_2_2EClass, XML_ENTITY_MAPPINGS_22__VALUE_PARTITIONING); - createEReference(xmlEntityMappings_2_2EClass, XML_ENTITY_MAPPINGS_22__HASH_PARTITIONING); - createEReference(xmlEntityMappings_2_2EClass, XML_ENTITY_MAPPINGS_22__UNION_PARTITIONING); - - xmlHashPartitioning_2_2EClass = createEClass(XML_HASH_PARTITIONING_22); - createEAttribute(xmlHashPartitioning_2_2EClass, XML_HASH_PARTITIONING_22__NAME); - - xmlId_2_2EClass = createEClass(XML_ID_22); - createEReference(xmlId_2_2EClass, XML_ID_22__INDEX); - - xmlIndex_2_2EClass = createEClass(XML_INDEX_22); - createEAttribute(xmlIndex_2_2EClass, XML_INDEX_22__NAME); - createEAttribute(xmlIndex_2_2EClass, XML_INDEX_22__SCHEMA); - createEAttribute(xmlIndex_2_2EClass, XML_INDEX_22__CATALOG); - createEAttribute(xmlIndex_2_2EClass, XML_INDEX_22__TABLE); - createEAttribute(xmlIndex_2_2EClass, XML_INDEX_22__UNIQUE); - createEAttribute(xmlIndex_2_2EClass, XML_INDEX_22__COLUMN_NAMES); - - xmlJoinTable_2_2EClass = createEClass(XML_JOIN_TABLE_22); - createEAttribute(xmlJoinTable_2_2EClass, XML_JOIN_TABLE_22__CREATION_SUFFIX); - - xmlManyToMany_2_2EClass = createEClass(XML_MANY_TO_MANY_22); - createEAttribute(xmlManyToMany_2_2EClass, XML_MANY_TO_MANY_22__CASCADE_ON_DELETE); - createEAttribute(xmlManyToMany_2_2EClass, XML_MANY_TO_MANY_22__NON_CACHEABLE); - - xmlManyToOne_2_2EClass = createEClass(XML_MANY_TO_ONE_22); - createEAttribute(xmlManyToOne_2_2EClass, XML_MANY_TO_ONE_22__NON_CACHEABLE); - - xmlMappedSuperclass_2_2EClass = createEClass(XML_MAPPED_SUPERCLASS_22); - createEReference(xmlMappedSuperclass_2_2EClass, XML_MAPPED_SUPERCLASS_22__ADDITIONAL_CRITERIA); - - xmlOneToOne_2_2EClass = createEClass(XML_ONE_TO_ONE_22); - createEAttribute(xmlOneToOne_2_2EClass, XML_ONE_TO_ONE_22__CASCADE_ON_DELETE); - createEAttribute(xmlOneToOne_2_2EClass, XML_ONE_TO_ONE_22__NON_CACHEABLE); - - xmlOneToMany_2_2EClass = createEClass(XML_ONE_TO_MANY_22); - createEAttribute(xmlOneToMany_2_2EClass, XML_ONE_TO_MANY_22__CASCADE_ON_DELETE); - createEAttribute(xmlOneToMany_2_2EClass, XML_ONE_TO_MANY_22__NONCACHEABLE); - - xmlPartitioning_2_2EClass = createEClass(XML_PARTITIONING_22); - createEAttribute(xmlPartitioning_2_2EClass, XML_PARTITIONING_22__NAME); - - xmlPartitioningGroup_2_2EClass = createEClass(XML_PARTITIONING_GROUP_22); - createEReference(xmlPartitioningGroup_2_2EClass, XML_PARTITIONING_GROUP_22__PARTITIONING); - createEReference(xmlPartitioningGroup_2_2EClass, XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING); - createEReference(xmlPartitioningGroup_2_2EClass, XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING); - createEReference(xmlPartitioningGroup_2_2EClass, XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING); - createEReference(xmlPartitioningGroup_2_2EClass, XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING); - createEReference(xmlPartitioningGroup_2_2EClass, XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING); - createEReference(xmlPartitioningGroup_2_2EClass, XML_PARTITIONING_GROUP_22__HASH_PARTITIONING); - createEReference(xmlPartitioningGroup_2_2EClass, XML_PARTITIONING_GROUP_22__UNION_PARTITIONING); - createEAttribute(xmlPartitioningGroup_2_2EClass, XML_PARTITIONING_GROUP_22__PARTITIONED); - - xmlPinnedPartitioning_2_2EClass = createEClass(XML_PINNED_PARTITIONING_22); - createEAttribute(xmlPinnedPartitioning_2_2EClass, XML_PINNED_PARTITIONING_22__NAME); - - xmlRangePartitioning_2_2EClass = createEClass(XML_RANGE_PARTITIONING_22); - createEAttribute(xmlRangePartitioning_2_2EClass, XML_RANGE_PARTITIONING_22__NAME); - - xmlReplicationPartitioning_2_2EClass = createEClass(XML_REPLICATION_PARTITIONING_22); - createEAttribute(xmlReplicationPartitioning_2_2EClass, XML_REPLICATION_PARTITIONING_22__NAME); - - xmlRoundRobinPartitioning_2_2EClass = createEClass(XML_ROUND_ROBIN_PARTITIONING_22); - createEAttribute(xmlRoundRobinPartitioning_2_2EClass, XML_ROUND_ROBIN_PARTITIONING_22__NAME); - - xmlSecondaryTable_2_2EClass = createEClass(XML_SECONDARY_TABLE_22); - createEAttribute(xmlSecondaryTable_2_2EClass, XML_SECONDARY_TABLE_22__CREATION_SUFFIX); - - xmlTable_2_2EClass = createEClass(XML_TABLE_22); - createEAttribute(xmlTable_2_2EClass, XML_TABLE_22__CREATION_SUFFIX); - - xmlTableGenerator_2_2EClass = createEClass(XML_TABLE_GENERATOR_22); - createEAttribute(xmlTableGenerator_2_2EClass, XML_TABLE_GENERATOR_22__CREATION_SUFFIX); - - xmlUnionPartitioning_2_2EClass = createEClass(XML_UNION_PARTITIONING_22); - createEAttribute(xmlUnionPartitioning_2_2EClass, XML_UNION_PARTITIONING_22__NAME); - - xmlValuePartitioning_2_2EClass = createEClass(XML_VALUE_PARTITIONING_22); - createEAttribute(xmlValuePartitioning_2_2EClass, XML_VALUE_PARTITIONING_22__NAME); - - xmlVariableOneToOne_2_2EClass = createEClass(XML_VARIABLE_ONE_TO_ONE_22); - createEAttribute(xmlVariableOneToOne_2_2EClass, XML_VARIABLE_ONE_TO_ONE_22__NON_CACHEABLE); - - xmlVersion_2_2EClass = createEClass(XML_VERSION_22); - createEReference(xmlVersion_2_2EClass, XML_VERSION_22__INDEX); - - // Create enums - cacheIsolationTypeEEnum = createEEnum(CACHE_ISOLATION_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 - XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI); - OrmPackage theOrmPackage = (OrmPackage)EPackage.Registry.INSTANCE.getEPackage(OrmPackage.eNS_URI); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - xmlElementCollection_2_2EClass.getESuperTypes().add(this.getXmlPartitioningGroup_2_2()); - xmlEmbeddable_2_2EClass.getESuperTypes().add(theOrmPackage.getXmlAttributeOverrideContainer()); - xmlEmbeddable_2_2EClass.getESuperTypes().add(theOrmPackage.getXmlAssociationOverrideContainer()); - xmlEntity_2_2EClass.getESuperTypes().add(this.getXmlPartitioningGroup_2_2()); - xmlManyToMany_2_2EClass.getESuperTypes().add(this.getXmlPartitioningGroup_2_2()); - xmlManyToOne_2_2EClass.getESuperTypes().add(this.getXmlPartitioningGroup_2_2()); - xmlMappedSuperclass_2_2EClass.getESuperTypes().add(this.getXmlPartitioningGroup_2_2()); - xmlOneToOne_2_2EClass.getESuperTypes().add(this.getXmlPartitioningGroup_2_2()); - xmlOneToMany_2_2EClass.getESuperTypes().add(this.getXmlPartitioningGroup_2_2()); - xmlVariableOneToOne_2_2EClass.getESuperTypes().add(this.getXmlPartitioningGroup_2_2()); - - // Initialize classes and features; add operations and parameters - initEClass(xmlAdditionalCriteria_2_2EClass, XmlAdditionalCriteria_2_2.class, "XmlAdditionalCriteria_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlAdditionalCriteria_2_2_Criteria(), theXMLTypePackage.getString(), "criteria", null, 0, 1, XmlAdditionalCriteria_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlBasic_2_2EClass, XmlBasic_2_2.class, "XmlBasic_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getXmlBasic_2_2_Index(), this.getXmlIndex_2_2(), null, "index", null, 0, 1, XmlBasic_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlBasicCollection_2_2EClass, XmlBasicCollection_2_2.class, "XmlBasicCollection_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlBasicCollection_2_2_CascadeOnDelete(), theXMLTypePackage.getBooleanObject(), "cascadeOnDelete", null, 0, 1, XmlBasicCollection_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlBasicMap_2_2EClass, XmlBasicMap_2_2.class, "XmlBasicMap_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlBasicMap_2_2_CascadeOnDelete(), theXMLTypePackage.getBooleanObject(), "cascadeOnDelete", null, 0, 1, XmlBasicMap_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlCache_2_2EClass, XmlCache_2_2.class, "XmlCache_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlCache_2_2_Isolation(), this.getCacheIsolationType(), "isolation", "", 0, 1, XmlCache_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlCollectionTable_2_2EClass, XmlCollectionTable_2_2.class, "XmlCollectionTable_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlCollectionTable_2_2_CreationSuffix(), theXMLTypePackage.getString(), "creationSuffix", null, 0, 1, XmlCollectionTable_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlElementCollection_2_2EClass, XmlElementCollection_2_2.class, "XmlElementCollection_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlElementCollection_2_2_CascadeOnDelete(), theXMLTypePackage.getBooleanObject(), "cascadeOnDelete", null, 0, 1, XmlElementCollection_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXmlElementCollection_2_2_Noncacheable(), theXMLTypePackage.getBoolean(), "noncacheable", null, 0, 1, XmlElementCollection_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlEmbeddable_2_2EClass, XmlEmbeddable_2_2.class, "XmlEmbeddable_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(xmlEntity_2_2EClass, XmlEntity_2_2.class, "XmlEntity_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getXmlEntity_2_2_AdditionalCriteria(), this.getXmlAdditionalCriteria_2_2(), null, "additionalCriteria", null, 0, 1, XmlEntity_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXmlEntity_2_2_CascadeOnDelete(), theXMLTypePackage.getBooleanObject(), "cascadeOnDelete", null, 0, 1, XmlEntity_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXmlEntity_2_2_Index(), this.getXmlIndex_2_2(), null, "index", null, 0, 1, XmlEntity_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlEntityMappings_2_2EClass, XmlEntityMappings_2_2.class, "XmlEntityMappings_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getXmlEntityMappings_2_2_Partitioning(), this.getXmlPartitioning_2_2(), null, "partitioning", null, 0, -1, XmlEntityMappings_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXmlEntityMappings_2_2_ReplicationPartitioning(), this.getXmlReplicationPartitioning_2_2(), null, "replicationPartitioning", null, 0, -1, XmlEntityMappings_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXmlEntityMappings_2_2_RoundRobinPartitioning(), this.getXmlRoundRobinPartitioning_2_2(), null, "roundRobinPartitioning", null, 0, -1, XmlEntityMappings_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXmlEntityMappings_2_2_PinnedPartitioning(), this.getXmlPinnedPartitioning_2_2(), null, "pinnedPartitioning", null, 0, -1, XmlEntityMappings_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXmlEntityMappings_2_2_RangePartitioning(), this.getXmlRangePartitioning_2_2(), null, "rangePartitioning", null, 0, -1, XmlEntityMappings_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXmlEntityMappings_2_2_ValuePartitioning(), this.getXmlValuePartitioning_2_2(), null, "valuePartitioning", null, 0, -1, XmlEntityMappings_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXmlEntityMappings_2_2_HashPartitioning(), this.getXmlHashPartitioning_2_2(), null, "hashPartitioning", null, 0, -1, XmlEntityMappings_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXmlEntityMappings_2_2_UnionPartitioning(), this.getXmlUnionPartitioning_2_2(), null, "unionPartitioning", null, 0, -1, XmlEntityMappings_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlHashPartitioning_2_2EClass, XmlHashPartitioning_2_2.class, "XmlHashPartitioning_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlHashPartitioning_2_2_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, XmlHashPartitioning_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlId_2_2EClass, XmlId_2_2.class, "XmlId_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getXmlId_2_2_Index(), this.getXmlIndex_2_2(), null, "index", null, 0, 1, XmlId_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlIndex_2_2EClass, XmlIndex_2_2.class, "XmlIndex_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlIndex_2_2_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, XmlIndex_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXmlIndex_2_2_Schema(), theXMLTypePackage.getString(), "schema", null, 0, 1, XmlIndex_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXmlIndex_2_2_Catalog(), theXMLTypePackage.getString(), "catalog", null, 0, 1, XmlIndex_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXmlIndex_2_2_Table(), theXMLTypePackage.getString(), "table", null, 0, 1, XmlIndex_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXmlIndex_2_2_Unique(), theXMLTypePackage.getBooleanObject(), "unique", null, 0, 1, XmlIndex_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXmlIndex_2_2_ColumnNames(), theXMLTypePackage.getString(), "columnNames", null, 0, -1, XmlIndex_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlJoinTable_2_2EClass, XmlJoinTable_2_2.class, "XmlJoinTable_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlJoinTable_2_2_CreationSuffix(), theXMLTypePackage.getString(), "creationSuffix", null, 0, 1, XmlJoinTable_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlManyToMany_2_2EClass, XmlManyToMany_2_2.class, "XmlManyToMany_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlManyToMany_2_2_CascadeOnDelete(), theXMLTypePackage.getBooleanObject(), "cascadeOnDelete", null, 0, 1, XmlManyToMany_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXmlManyToMany_2_2_NonCacheable(), theXMLTypePackage.getBoolean(), "nonCacheable", null, 0, 1, XmlManyToMany_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlManyToOne_2_2EClass, XmlManyToOne_2_2.class, "XmlManyToOne_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlManyToOne_2_2_NonCacheable(), theXMLTypePackage.getBoolean(), "nonCacheable", null, 0, 1, XmlManyToOne_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlMappedSuperclass_2_2EClass, XmlMappedSuperclass_2_2.class, "XmlMappedSuperclass_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getXmlMappedSuperclass_2_2_AdditionalCriteria(), this.getXmlAdditionalCriteria_2_2(), null, "additionalCriteria", null, 0, 1, XmlMappedSuperclass_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlOneToOne_2_2EClass, XmlOneToOne_2_2.class, "XmlOneToOne_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlOneToOne_2_2_CascadeOnDelete(), theXMLTypePackage.getBooleanObject(), "cascadeOnDelete", null, 0, 1, XmlOneToOne_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXmlOneToOne_2_2_NonCacheable(), theXMLTypePackage.getBoolean(), "nonCacheable", null, 0, 1, XmlOneToOne_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlOneToMany_2_2EClass, XmlOneToMany_2_2.class, "XmlOneToMany_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlOneToMany_2_2_CascadeOnDelete(), theXMLTypePackage.getBooleanObject(), "cascadeOnDelete", null, 0, 1, XmlOneToMany_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXmlOneToMany_2_2_Noncacheable(), theXMLTypePackage.getBoolean(), "noncacheable", null, 0, 1, XmlOneToMany_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlPartitioning_2_2EClass, XmlPartitioning_2_2.class, "XmlPartitioning_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlPartitioning_2_2_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, XmlPartitioning_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlPartitioningGroup_2_2EClass, XmlPartitioningGroup_2_2.class, "XmlPartitioningGroup_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getXmlPartitioningGroup_2_2_Partitioning(), this.getXmlPartitioning_2_2(), null, "partitioning", null, 0, 1, XmlPartitioningGroup_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXmlPartitioningGroup_2_2_ReplicationPartitioning(), this.getXmlReplicationPartitioning_2_2(), null, "replicationPartitioning", null, 0, 1, XmlPartitioningGroup_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXmlPartitioningGroup_2_2_RoundRobinPartitioning(), this.getXmlRoundRobinPartitioning_2_2(), null, "roundRobinPartitioning", null, 0, 1, XmlPartitioningGroup_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXmlPartitioningGroup_2_2_PinnedPartitioning(), this.getXmlPinnedPartitioning_2_2(), null, "pinnedPartitioning", null, 0, 1, XmlPartitioningGroup_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXmlPartitioningGroup_2_2_RangePartitioning(), this.getXmlRangePartitioning_2_2(), null, "rangePartitioning", null, 0, 1, XmlPartitioningGroup_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXmlPartitioningGroup_2_2_ValuePartitioning(), this.getXmlValuePartitioning_2_2(), null, "valuePartitioning", null, 0, 1, XmlPartitioningGroup_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXmlPartitioningGroup_2_2_HashPartitioning(), this.getXmlHashPartitioning_2_2(), null, "hashPartitioning", null, 0, 1, XmlPartitioningGroup_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXmlPartitioningGroup_2_2_UnionPartitioning(), this.getXmlUnionPartitioning_2_2(), null, "unionPartitioning", null, 0, 1, XmlPartitioningGroup_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXmlPartitioningGroup_2_2_Partitioned(), theXMLTypePackage.getString(), "partitioned", null, 0, 1, XmlPartitioningGroup_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlPinnedPartitioning_2_2EClass, XmlPinnedPartitioning_2_2.class, "XmlPinnedPartitioning_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlPinnedPartitioning_2_2_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, XmlPinnedPartitioning_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlRangePartitioning_2_2EClass, XmlRangePartitioning_2_2.class, "XmlRangePartitioning_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlRangePartitioning_2_2_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, XmlRangePartitioning_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlReplicationPartitioning_2_2EClass, XmlReplicationPartitioning_2_2.class, "XmlReplicationPartitioning_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlReplicationPartitioning_2_2_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, XmlReplicationPartitioning_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlRoundRobinPartitioning_2_2EClass, XmlRoundRobinPartitioning_2_2.class, "XmlRoundRobinPartitioning_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlRoundRobinPartitioning_2_2_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, XmlRoundRobinPartitioning_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlSecondaryTable_2_2EClass, XmlSecondaryTable_2_2.class, "XmlSecondaryTable_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlSecondaryTable_2_2_CreationSuffix(), theXMLTypePackage.getString(), "creationSuffix", null, 0, 1, XmlSecondaryTable_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlTable_2_2EClass, XmlTable_2_2.class, "XmlTable_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlTable_2_2_CreationSuffix(), theXMLTypePackage.getString(), "creationSuffix", null, 0, 1, XmlTable_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlTableGenerator_2_2EClass, XmlTableGenerator_2_2.class, "XmlTableGenerator_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlTableGenerator_2_2_CreationSuffix(), theXMLTypePackage.getString(), "creationSuffix", null, 0, 1, XmlTableGenerator_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlUnionPartitioning_2_2EClass, XmlUnionPartitioning_2_2.class, "XmlUnionPartitioning_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlUnionPartitioning_2_2_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, XmlUnionPartitioning_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlValuePartitioning_2_2EClass, XmlValuePartitioning_2_2.class, "XmlValuePartitioning_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlValuePartitioning_2_2_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, XmlValuePartitioning_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlVariableOneToOne_2_2EClass, XmlVariableOneToOne_2_2.class, "XmlVariableOneToOne_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlVariableOneToOne_2_2_NonCacheable(), theXMLTypePackage.getBoolean(), "nonCacheable", null, 0, 1, XmlVariableOneToOne_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlVersion_2_2EClass, XmlVersion_2_2.class, "XmlVersion_2_2", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getXmlVersion_2_2_Index(), this.getXmlIndex_2_2(), null, "index", null, 0, 1, XmlVersion_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - // Initialize enums and add enum literals - initEEnum(cacheIsolationTypeEEnum, CacheIsolationType.class, "CacheIsolationType"); - addEEnumLiteral(cacheIsolationTypeEEnum, CacheIsolationType.SHARED); - addEEnumLiteral(cacheIsolationTypeEEnum, CacheIsolationType.PROTECTED); - addEEnumLiteral(cacheIsolationTypeEEnum, CacheIsolationType.ISOLATED); - } - - /** - * - * Defines literals for the meta objects that represent - *

    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • - *
- * - * @generated - */ - public interface Literals - { - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlAdditionalCriteria_2_2 Xml Additional Criteria 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlAdditionalCriteria_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlAdditionalCriteria_2_2() - * @generated - */ - public static final EClass XML_ADDITIONAL_CRITERIA_22 = eINSTANCE.getXmlAdditionalCriteria_2_2(); - - /** - * The meta object literal for the 'Criteria' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_ADDITIONAL_CRITERIA_22__CRITERIA = eINSTANCE.getXmlAdditionalCriteria_2_2_Criteria(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasic_2_2 Xml Basic 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasic_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlBasic_2_2() - * @generated - */ - public static final EClass XML_BASIC_22 = eINSTANCE.getXmlBasic_2_2(); - - /** - * The meta object literal for the 'Index' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_BASIC_22__INDEX = eINSTANCE.getXmlBasic_2_2_Index(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasicCollection_2_2 Xml Basic Collection 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasicCollection_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlBasicCollection_2_2() - * @generated - */ - public static final EClass XML_BASIC_COLLECTION_22 = eINSTANCE.getXmlBasicCollection_2_2(); - - /** - * The meta object literal for the 'Cascade On Delete' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_BASIC_COLLECTION_22__CASCADE_ON_DELETE = eINSTANCE.getXmlBasicCollection_2_2_CascadeOnDelete(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasicMap_2_2 Xml Basic Map 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasicMap_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlBasicMap_2_2() - * @generated - */ - public static final EClass XML_BASIC_MAP_22 = eINSTANCE.getXmlBasicMap_2_2(); - - /** - * The meta object literal for the 'Cascade On Delete' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_BASIC_MAP_22__CASCADE_ON_DELETE = eINSTANCE.getXmlBasicMap_2_2_CascadeOnDelete(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlCache_2_2 Xml Cache 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlCache_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlCache_2_2() - * @generated - */ - public static final EClass XML_CACHE_22 = eINSTANCE.getXmlCache_2_2(); - - /** - * The meta object literal for the 'Isolation' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_CACHE_22__ISOLATION = eINSTANCE.getXmlCache_2_2_Isolation(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlCollectionTable_2_2 Xml Collection Table 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlCollectionTable_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlCollectionTable_2_2() - * @generated - */ - public static final EClass XML_COLLECTION_TABLE_22 = eINSTANCE.getXmlCollectionTable_2_2(); - - /** - * The meta object literal for the 'Creation Suffix' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_COLLECTION_TABLE_22__CREATION_SUFFIX = eINSTANCE.getXmlCollectionTable_2_2_CreationSuffix(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlElementCollection_2_2 Xml Element Collection 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlElementCollection_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlElementCollection_2_2() - * @generated - */ - public static final EClass XML_ELEMENT_COLLECTION_22 = eINSTANCE.getXmlElementCollection_2_2(); - - /** - * The meta object literal for the 'Cascade On Delete' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_ELEMENT_COLLECTION_22__CASCADE_ON_DELETE = eINSTANCE.getXmlElementCollection_2_2_CascadeOnDelete(); - - /** - * The meta object literal for the 'Noncacheable' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_ELEMENT_COLLECTION_22__NONCACHEABLE = eINSTANCE.getXmlElementCollection_2_2_Noncacheable(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntity_2_2 Xml Entity 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntity_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlEntity_2_2() - * @generated - */ - public static final EClass XML_ENTITY_22 = eINSTANCE.getXmlEntity_2_2(); - - /** - * The meta object literal for the 'Cascade On Delete' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_ENTITY_22__CASCADE_ON_DELETE = eINSTANCE.getXmlEntity_2_2_CascadeOnDelete(); - - /** - * The meta object literal for the 'Index' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_ENTITY_22__INDEX = eINSTANCE.getXmlEntity_2_2_Index(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2 Xml Entity Mappings 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlEntityMappings_2_2() - * @generated - */ - public static final EClass XML_ENTITY_MAPPINGS_22 = eINSTANCE.getXmlEntityMappings_2_2(); - - /** - * The meta object literal for the 'Partitioning' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_ENTITY_MAPPINGS_22__PARTITIONING = eINSTANCE.getXmlEntityMappings_2_2_Partitioning(); - - /** - * The meta object literal for the 'Replication Partitioning' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_ENTITY_MAPPINGS_22__REPLICATION_PARTITIONING = eINSTANCE.getXmlEntityMappings_2_2_ReplicationPartitioning(); - - /** - * The meta object literal for the 'Round Robin Partitioning' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_ENTITY_MAPPINGS_22__ROUND_ROBIN_PARTITIONING = eINSTANCE.getXmlEntityMappings_2_2_RoundRobinPartitioning(); - - /** - * The meta object literal for the 'Pinned Partitioning' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_ENTITY_MAPPINGS_22__PINNED_PARTITIONING = eINSTANCE.getXmlEntityMappings_2_2_PinnedPartitioning(); - - /** - * The meta object literal for the 'Range Partitioning' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_ENTITY_MAPPINGS_22__RANGE_PARTITIONING = eINSTANCE.getXmlEntityMappings_2_2_RangePartitioning(); - - /** - * The meta object literal for the 'Value Partitioning' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_ENTITY_MAPPINGS_22__VALUE_PARTITIONING = eINSTANCE.getXmlEntityMappings_2_2_ValuePartitioning(); - - /** - * The meta object literal for the 'Hash Partitioning' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_ENTITY_MAPPINGS_22__HASH_PARTITIONING = eINSTANCE.getXmlEntityMappings_2_2_HashPartitioning(); - - /** - * The meta object literal for the 'Union Partitioning' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_ENTITY_MAPPINGS_22__UNION_PARTITIONING = eINSTANCE.getXmlEntityMappings_2_2_UnionPartitioning(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlHashPartitioning_2_2 Xml Hash Partitioning 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlHashPartitioning_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlHashPartitioning_2_2() - * @generated - */ - public static final EClass XML_HASH_PARTITIONING_22 = eINSTANCE.getXmlHashPartitioning_2_2(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_HASH_PARTITIONING_22__NAME = eINSTANCE.getXmlHashPartitioning_2_2_Name(); - - /** - * The meta object literal for the 'Additional Criteria' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_ENTITY_22__ADDITIONAL_CRITERIA = eINSTANCE.getXmlEntity_2_2_AdditionalCriteria(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToMany_2_2 Xml Many To Many 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToMany_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlManyToMany_2_2() - * @generated - */ - public static final EClass XML_MANY_TO_MANY_22 = eINSTANCE.getXmlManyToMany_2_2(); - - /** - * The meta object literal for the 'Cascade On Delete' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_MANY_TO_MANY_22__CASCADE_ON_DELETE = eINSTANCE.getXmlManyToMany_2_2_CascadeOnDelete(); - - /** - * The meta object literal for the 'Non Cacheable' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_MANY_TO_MANY_22__NON_CACHEABLE = eINSTANCE.getXmlManyToMany_2_2_NonCacheable(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToOne_2_2 Xml Many To One 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToOne_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlManyToOne_2_2() - * @generated - */ - public static final EClass XML_MANY_TO_ONE_22 = eINSTANCE.getXmlManyToOne_2_2(); - - /** - * The meta object literal for the 'Non Cacheable' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_MANY_TO_ONE_22__NON_CACHEABLE = eINSTANCE.getXmlManyToOne_2_2_NonCacheable(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToOne_2_2 Xml One To One 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToOne_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlOneToOne_2_2() - * @generated - */ - public static final EClass XML_ONE_TO_ONE_22 = eINSTANCE.getXmlOneToOne_2_2(); - - /** - * The meta object literal for the 'Cascade On Delete' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_ONE_TO_ONE_22__CASCADE_ON_DELETE = eINSTANCE.getXmlOneToOne_2_2_CascadeOnDelete(); - - /** - * The meta object literal for the 'Non Cacheable' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_ONE_TO_ONE_22__NON_CACHEABLE = eINSTANCE.getXmlOneToOne_2_2_NonCacheable(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToMany_2_2 Xml One To Many 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToMany_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlOneToMany_2_2() - * @generated - */ - public static final EClass XML_ONE_TO_MANY_22 = eINSTANCE.getXmlOneToMany_2_2(); - - /** - * The meta object literal for the 'Cascade On Delete' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_ONE_TO_MANY_22__CASCADE_ON_DELETE = eINSTANCE.getXmlOneToMany_2_2_CascadeOnDelete(); - - /** - * The meta object literal for the 'Noncacheable' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_ONE_TO_MANY_22__NONCACHEABLE = eINSTANCE.getXmlOneToMany_2_2_Noncacheable(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioning_2_2 Xml Partitioning 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioning_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlPartitioning_2_2() - * @generated - */ - public static final EClass XML_PARTITIONING_22 = eINSTANCE.getXmlPartitioning_2_2(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_PARTITIONING_22__NAME = eINSTANCE.getXmlPartitioning_2_2_Name(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2 Xml Partitioning Group 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlPartitioningGroup_2_2() - * @generated - */ - public static final EClass XML_PARTITIONING_GROUP_22 = eINSTANCE.getXmlPartitioningGroup_2_2(); - - /** - * The meta object literal for the 'Partitioning' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_PARTITIONING_GROUP_22__PARTITIONING = eINSTANCE.getXmlPartitioningGroup_2_2_Partitioning(); - - /** - * The meta object literal for the 'Replication Partitioning' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING = eINSTANCE.getXmlPartitioningGroup_2_2_ReplicationPartitioning(); - - /** - * The meta object literal for the 'Round Robin Partitioning' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING = eINSTANCE.getXmlPartitioningGroup_2_2_RoundRobinPartitioning(); - - /** - * The meta object literal for the 'Pinned Partitioning' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING = eINSTANCE.getXmlPartitioningGroup_2_2_PinnedPartitioning(); - - /** - * The meta object literal for the 'Range Partitioning' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING = eINSTANCE.getXmlPartitioningGroup_2_2_RangePartitioning(); - - /** - * The meta object literal for the 'Value Partitioning' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING = eINSTANCE.getXmlPartitioningGroup_2_2_ValuePartitioning(); - - /** - * The meta object literal for the 'Hash Partitioning' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_PARTITIONING_GROUP_22__HASH_PARTITIONING = eINSTANCE.getXmlPartitioningGroup_2_2_HashPartitioning(); - - /** - * The meta object literal for the 'Union Partitioning' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_PARTITIONING_GROUP_22__UNION_PARTITIONING = eINSTANCE.getXmlPartitioningGroup_2_2_UnionPartitioning(); - - /** - * The meta object literal for the 'Partitioned' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_PARTITIONING_GROUP_22__PARTITIONED = eINSTANCE.getXmlPartitioningGroup_2_2_Partitioned(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPinnedPartitioning_2_2 Xml Pinned Partitioning 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPinnedPartitioning_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlPinnedPartitioning_2_2() - * @generated - */ - public static final EClass XML_PINNED_PARTITIONING_22 = eINSTANCE.getXmlPinnedPartitioning_2_2(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_PINNED_PARTITIONING_22__NAME = eINSTANCE.getXmlPinnedPartitioning_2_2_Name(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRangePartitioning_2_2 Xml Range Partitioning 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRangePartitioning_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlRangePartitioning_2_2() - * @generated - */ - public static final EClass XML_RANGE_PARTITIONING_22 = eINSTANCE.getXmlRangePartitioning_2_2(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_RANGE_PARTITIONING_22__NAME = eINSTANCE.getXmlRangePartitioning_2_2_Name(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlReplicationPartitioning_2_2 Xml Replication Partitioning 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlReplicationPartitioning_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlReplicationPartitioning_2_2() - * @generated - */ - public static final EClass XML_REPLICATION_PARTITIONING_22 = eINSTANCE.getXmlReplicationPartitioning_2_2(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_REPLICATION_PARTITIONING_22__NAME = eINSTANCE.getXmlReplicationPartitioning_2_2_Name(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRoundRobinPartitioning_2_2 Xml Round Robin Partitioning 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRoundRobinPartitioning_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlRoundRobinPartitioning_2_2() - * @generated - */ - public static final EClass XML_ROUND_ROBIN_PARTITIONING_22 = eINSTANCE.getXmlRoundRobinPartitioning_2_2(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_ROUND_ROBIN_PARTITIONING_22__NAME = eINSTANCE.getXmlRoundRobinPartitioning_2_2_Name(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEmbeddable_2_2 Xml Embeddable 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEmbeddable_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlEmbeddable_2_2() - * @generated - */ - public static final EClass XML_EMBEDDABLE_22 = eINSTANCE.getXmlEmbeddable_2_2(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlId_2_2 Xml Id 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlId_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlId_2_2() - * @generated - */ - public static final EClass XML_ID_22 = eINSTANCE.getXmlId_2_2(); - - /** - * The meta object literal for the 'Index' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_ID_22__INDEX = eINSTANCE.getXmlId_2_2_Index(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2 Xml Index 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlIndex_2_2() - * @generated - */ - public static final EClass XML_INDEX_22 = eINSTANCE.getXmlIndex_2_2(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_INDEX_22__NAME = eINSTANCE.getXmlIndex_2_2_Name(); - - /** - * The meta object literal for the 'Schema' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_INDEX_22__SCHEMA = eINSTANCE.getXmlIndex_2_2_Schema(); - - /** - * The meta object literal for the 'Catalog' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_INDEX_22__CATALOG = eINSTANCE.getXmlIndex_2_2_Catalog(); - - /** - * The meta object literal for the 'Table' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_INDEX_22__TABLE = eINSTANCE.getXmlIndex_2_2_Table(); - - /** - * The meta object literal for the 'Unique' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_INDEX_22__UNIQUE = eINSTANCE.getXmlIndex_2_2_Unique(); - - /** - * The meta object literal for the 'Column Names' attribute list feature. - * - * - * @generated - */ - public static final EAttribute XML_INDEX_22__COLUMN_NAMES = eINSTANCE.getXmlIndex_2_2_ColumnNames(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlJoinTable_2_2 Xml Join Table 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlJoinTable_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlJoinTable_2_2() - * @generated - */ - public static final EClass XML_JOIN_TABLE_22 = eINSTANCE.getXmlJoinTable_2_2(); - - /** - * The meta object literal for the 'Creation Suffix' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_JOIN_TABLE_22__CREATION_SUFFIX = eINSTANCE.getXmlJoinTable_2_2_CreationSuffix(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlMappedSuperclass_2_2 Xml Mapped Superclass 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlMappedSuperclass_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlMappedSuperclass_2_2() - * @generated - */ - public static final EClass XML_MAPPED_SUPERCLASS_22 = eINSTANCE.getXmlMappedSuperclass_2_2(); - - /** - * The meta object literal for the 'Additional Criteria' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_MAPPED_SUPERCLASS_22__ADDITIONAL_CRITERIA = eINSTANCE.getXmlMappedSuperclass_2_2_AdditionalCriteria(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlSecondaryTable_2_2 Xml Secondary Table 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlSecondaryTable_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlSecondaryTable_2_2() - * @generated - */ - public static final EClass XML_SECONDARY_TABLE_22 = eINSTANCE.getXmlSecondaryTable_2_2(); - - /** - * The meta object literal for the 'Creation Suffix' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_SECONDARY_TABLE_22__CREATION_SUFFIX = eINSTANCE.getXmlSecondaryTable_2_2_CreationSuffix(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlTable_2_2 Xml Table 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlTable_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlTable_2_2() - * @generated - */ - public static final EClass XML_TABLE_22 = eINSTANCE.getXmlTable_2_2(); - - /** - * The meta object literal for the 'Creation Suffix' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_TABLE_22__CREATION_SUFFIX = eINSTANCE.getXmlTable_2_2_CreationSuffix(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlTableGenerator_2_2 Xml Table Generator 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlTableGenerator_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlTableGenerator_2_2() - * @generated - */ - public static final EClass XML_TABLE_GENERATOR_22 = eINSTANCE.getXmlTableGenerator_2_2(); - - /** - * The meta object literal for the 'Creation Suffix' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_TABLE_GENERATOR_22__CREATION_SUFFIX = eINSTANCE.getXmlTableGenerator_2_2_CreationSuffix(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlUnionPartitioning_2_2 Xml Union Partitioning 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlUnionPartitioning_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlUnionPartitioning_2_2() - * @generated - */ - public static final EClass XML_UNION_PARTITIONING_22 = eINSTANCE.getXmlUnionPartitioning_2_2(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_UNION_PARTITIONING_22__NAME = eINSTANCE.getXmlUnionPartitioning_2_2_Name(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlValuePartitioning_2_2 Xml Value Partitioning 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlValuePartitioning_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlValuePartitioning_2_2() - * @generated - */ - public static final EClass XML_VALUE_PARTITIONING_22 = eINSTANCE.getXmlValuePartitioning_2_2(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_VALUE_PARTITIONING_22__NAME = eINSTANCE.getXmlValuePartitioning_2_2_Name(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlVariableOneToOne_2_2 Xml Variable One To One 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlVariableOneToOne_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlVariableOneToOne_2_2() - * @generated - */ - public static final EClass XML_VARIABLE_ONE_TO_ONE_22 = eINSTANCE.getXmlVariableOneToOne_2_2(); - - /** - * The meta object literal for the 'Non Cacheable' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_VARIABLE_ONE_TO_ONE_22__NON_CACHEABLE = eINSTANCE.getXmlVariableOneToOne_2_2_NonCacheable(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlVersion_2_2 Xml Version 22}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlVersion_2_2 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlVersion_2_2() - * @generated - */ - public static final EClass XML_VERSION_22 = eINSTANCE.getXmlVersion_2_2(); - - /** - * The meta object literal for the 'Index' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_VERSION_22__INDEX = eINSTANCE.getXmlVersion_2_2_Index(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.CacheIsolationType Cache Isolation Type}' enum. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.CacheIsolationType - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getCacheIsolationType() - * @generated - */ - public static final EEnum CACHE_ISOLATION_TYPE = eINSTANCE.getCacheIsolationType(); - - } - -} //EclipseLinkOrmV2_2Package diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlAdditionalCriteria_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlAdditionalCriteria_2_2.java deleted file mode 100644 index de597db897..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlAdditionalCriteria_2_2.java +++ /dev/null @@ -1,65 +0,0 @@ -/******************************************************************************* - * 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.v2_2; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Additional Criteria 22'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlAdditionalCriteria_2_2#getCriteria Criteria}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlAdditionalCriteria_2_2() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlAdditionalCriteria_2_2 extends EBaseObject -{ - /** - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlAdditionalCriteria_2_2_Criteria() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getCriteria(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlAdditionalCriteria_2_2#getCriteria Criteria}' attribute. - * - * - * @param value the new value of the 'Criteria' attribute. - * @see #getCriteria() - * @generated - */ - void setCriteria(String value); - -} // XmlAdditionalCriteria_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlBasicCollection_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlBasicCollection_2_2.java deleted file mode 100644 index 20feb48696..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlBasicCollection_2_2.java +++ /dev/null @@ -1,65 +0,0 @@ -/******************************************************************************* - * 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.v2_2; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Basic Collection 22'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasicCollection_2_2#getCascadeOnDelete Cascade On Delete}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlBasicCollection_2_2() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlBasicCollection_2_2 extends EBaseObject -{ - /** - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlBasicCollection_2_2_CascadeOnDelete() - * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" - * @generated - */ - Boolean getCascadeOnDelete(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasicCollection_2_2#getCascadeOnDelete Cascade On Delete}' attribute. - * - * - * @param value the new value of the 'Cascade On Delete' attribute. - * @see #getCascadeOnDelete() - * @generated - */ - void setCascadeOnDelete(Boolean value); - -} // XmlBasicCollection_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlBasicMap_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlBasicMap_2_2.java deleted file mode 100644 index 73a06d367a..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlBasicMap_2_2.java +++ /dev/null @@ -1,65 +0,0 @@ -/******************************************************************************* - * 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.v2_2; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Basic Map 22'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasicMap_2_2#getCascadeOnDelete Cascade On Delete}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlBasicMap_2_2() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlBasicMap_2_2 extends EBaseObject -{ - /** - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlBasicMap_2_2_CascadeOnDelete() - * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" - * @generated - */ - Boolean getCascadeOnDelete(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasicMap_2_2#getCascadeOnDelete Cascade On Delete}' attribute. - * - * - * @param value the new value of the 'Cascade On Delete' attribute. - * @see #getCascadeOnDelete() - * @generated - */ - void setCascadeOnDelete(Boolean value); - -} // XmlBasicMap_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlBasic_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlBasic_2_2.java deleted file mode 100644 index feace3b390..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlBasic_2_2.java +++ /dev/null @@ -1,65 +0,0 @@ -/******************************************************************************* - * 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.v2_2; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Basic 22'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasic_2_2#getIndex Index}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlBasic_2_2() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlBasic_2_2 extends EBaseObject -{ - /** - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlBasic_2_2_Index() - * @model containment="true" - * @generated - */ - XmlIndex_2_2 getIndex(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasic_2_2#getIndex Index}' containment reference. - * - * - * @param value the new value of the 'Index' containment reference. - * @see #getIndex() - * @generated - */ - void setIndex(XmlIndex_2_2 value); - -} // XmlBasic_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlCache_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlCache_2_2.java deleted file mode 100644 index 28d4920f16..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlCache_2_2.java +++ /dev/null @@ -1,63 +0,0 @@ -/******************************************************************************* - * 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.v2_2; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Cache2 2'. - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlCache_2_2#getIsolation Isolation}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlCache_2_2() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlCache_2_2 extends EBaseObject -{ - /** - * Returns the value of the 'Isolation' attribute. - * The default value is "". - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlCache_2_2_Isolation() - * @model default="" - * @generated - */ - CacheIsolationType getIsolation(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlCache_2_2#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 - */ - void setIsolation(CacheIsolationType value); - -} // XmlCache2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlCollectionTable_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlCollectionTable_2_2.java deleted file mode 100644 index eab08a3c20..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlCollectionTable_2_2.java +++ /dev/null @@ -1,65 +0,0 @@ -/******************************************************************************* - * 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.v2_2; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Collection Table 22'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlCollectionTable_2_2#getCreationSuffix Creation Suffix}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlCollectionTable_2_2() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlCollectionTable_2_2 extends EBaseObject -{ - /** - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlCollectionTable_2_2_CreationSuffix() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getCreationSuffix(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlCollectionTable_2_2#getCreationSuffix Creation Suffix}' attribute. - * - * - * @param value the new value of the 'Creation Suffix' attribute. - * @see #getCreationSuffix() - * @generated - */ - void setCreationSuffix(String value); - -} // XmlCollectionTable_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlElementCollection_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlElementCollection_2_2.java deleted file mode 100644 index ebed8e887e..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlElementCollection_2_2.java +++ /dev/null @@ -1,90 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2010, 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.v2_2; - - -/** - * - * A representation of the model object 'Xml Element Collection 22'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlElementCollection_2_2#getCascadeOnDelete Cascade On Delete}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlElementCollection_2_2#isNoncacheable Noncacheable}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlElementCollection_2_2() - * @model kind="class" interface="true" abstract="true" - * @generated - */ -public interface XmlElementCollection_2_2 extends XmlPartitioningGroup_2_2 -{ - /** - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlElementCollection_2_2_CascadeOnDelete() - * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" - * @generated - */ - Boolean getCascadeOnDelete(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlElementCollection_2_2#getCascadeOnDelete Cascade On Delete}' attribute. - * - * - * @param value the new value of the 'Cascade On Delete' attribute. - * @see #getCascadeOnDelete() - * @generated - */ - void setCascadeOnDelete(Boolean value); - - /** - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlElementCollection_2_2_Noncacheable() - * @model dataType="org.eclipse.emf.ecore.xml.type.Boolean" - * @generated - */ - boolean isNoncacheable(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlElementCollection_2_2#isNoncacheable Noncacheable}' attribute. - * - * - * @param value the new value of the 'Noncacheable' attribute. - * @see #isNoncacheable() - * @generated - */ - void setNoncacheable(boolean value); - -} // XmlElementCollection_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlEmbeddable_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlEmbeddable_2_2.java deleted file mode 100644 index 883653bcca..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlEmbeddable_2_2.java +++ /dev/null @@ -1,34 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2010, 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.v2_2; - -import org.eclipse.jpt.jpa.core.resource.orm.XmlAssociationOverrideContainer; -import org.eclipse.jpt.jpa.core.resource.orm.XmlAttributeOverrideContainer; - -/** - * - * A representation of the model object 'Xml Embeddable 22'. - * - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlEmbeddable_2_2() - * @model kind="class" interface="true" abstract="true" - * @generated - */ -public interface XmlEmbeddable_2_2 extends XmlAttributeOverrideContainer, XmlAssociationOverrideContainer -{ - -} // XmlEmbeddable_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlEntityMappings_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlEntityMappings_2_2.java deleted file mode 100644 index 045a1f641e..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlEntityMappings_2_2.java +++ /dev/null @@ -1,175 +0,0 @@ -/******************************************************************************* - * 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.v2_2; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Entity Mappings 22'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getPartitioning Partitioning}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getReplicationPartitioning Replication Partitioning}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getRoundRobinPartitioning Round Robin Partitioning}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getPinnedPartitioning Pinned Partitioning}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getRangePartitioning Range Partitioning}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getValuePartitioning Value Partitioning}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getHashPartitioning Hash Partitioning}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2#getUnionPartitioning Union Partitioning}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlEntityMappings_2_2() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlEntityMappings_2_2 extends EBaseObject -{ - /** - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlEntityMappings_2_2_Partitioning() - * @model containment="true" - * @generated - */ - EList getPartitioning(); - - /** - * Returns the value of the 'Replication Partitioning' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlReplicationPartitioning_2_2}. - * - *

- * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlEntityMappings_2_2_ReplicationPartitioning() - * @model containment="true" - * @generated - */ - EList getReplicationPartitioning(); - - /** - * Returns the value of the 'Round Robin Partitioning' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRoundRobinPartitioning_2_2}. - * - *

- * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlEntityMappings_2_2_RoundRobinPartitioning() - * @model containment="true" - * @generated - */ - EList getRoundRobinPartitioning(); - - /** - * Returns the value of the 'Pinned Partitioning' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPinnedPartitioning_2_2}. - * - *

- * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlEntityMappings_2_2_PinnedPartitioning() - * @model containment="true" - * @generated - */ - EList getPinnedPartitioning(); - - /** - * Returns the value of the 'Range Partitioning' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRangePartitioning_2_2}. - * - *

- * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlEntityMappings_2_2_RangePartitioning() - * @model containment="true" - * @generated - */ - EList getRangePartitioning(); - - /** - * Returns the value of the 'Value Partitioning' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlValuePartitioning_2_2}. - * - *

- * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlEntityMappings_2_2_ValuePartitioning() - * @model containment="true" - * @generated - */ - EList getValuePartitioning(); - - /** - * Returns the value of the 'Hash Partitioning' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlHashPartitioning_2_2}. - * - *

- * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlEntityMappings_2_2_HashPartitioning() - * @model containment="true" - * @generated - */ - EList getHashPartitioning(); - - /** - * Returns the value of the 'Union Partitioning' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlUnionPartitioning_2_2}. - * - *

- * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlEntityMappings_2_2_UnionPartitioning() - * @model containment="true" - * @generated - */ - EList getUnionPartitioning(); - -} // XmlEntityMappings_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlEntity_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlEntity_2_2.java deleted file mode 100644 index cd27063979..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlEntity_2_2.java +++ /dev/null @@ -1,117 +0,0 @@ -/******************************************************************************* - * 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.v2_2; - - -/** - * - * A representation of the model object 'Xml Entity 22'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntity_2_2#getAdditionalCriteria Additional Criteria}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntity_2_2#getCascadeOnDelete Cascade On Delete}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntity_2_2#getIndex Index}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlEntity_2_2() - * @model kind="class" interface="true" abstract="true" - * @generated - */ -public interface XmlEntity_2_2 extends XmlPartitioningGroup_2_2 -{ - /** - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlEntity_2_2_CascadeOnDelete() - * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" - * @generated - */ - Boolean getCascadeOnDelete(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntity_2_2#getCascadeOnDelete Cascade On Delete}' attribute. - * - * - * @param value the new value of the 'Cascade On Delete' attribute. - * @see #getCascadeOnDelete() - * @generated - */ - void setCascadeOnDelete(Boolean value); - - /** - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlEntity_2_2_Index() - * @model containment="true" - * @generated - */ - XmlIndex_2_2 getIndex(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntity_2_2#getIndex Index}' containment reference. - * - * - * @param value the new value of the 'Index' containment reference. - * @see #getIndex() - * @generated - */ - void setIndex(XmlIndex_2_2 value); - - /** - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlEntity_2_2_AdditionalCriteria() - * @model containment="true" - * @generated - */ - XmlAdditionalCriteria_2_2 getAdditionalCriteria(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntity_2_2#getAdditionalCriteria Additional Criteria}' containment reference. - * - * - * @param value the new value of the 'Additional Criteria' containment reference. - * @see #getAdditionalCriteria() - * @generated - */ - void setAdditionalCriteria(XmlAdditionalCriteria_2_2 value); - -} // XmlEntity_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlHashPartitioning_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlHashPartitioning_2_2.java deleted file mode 100644 index cd47030e39..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlHashPartitioning_2_2.java +++ /dev/null @@ -1,65 +0,0 @@ -/******************************************************************************* - * 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.v2_2; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Hash Partitioning 22'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlHashPartitioning_2_2#getName Name}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlHashPartitioning_2_2() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlHashPartitioning_2_2 extends EBaseObject -{ - /** - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlHashPartitioning_2_2_Name() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlHashPartitioning_2_2#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - -} // XmlHashPartitioning_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlId_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlId_2_2.java deleted file mode 100644 index a050ed4f88..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlId_2_2.java +++ /dev/null @@ -1,56 +0,0 @@ -/** - * - * - * - * $Id: XmlId_2_2.java,v 1.1 2011/02/06 02:13:00 kmoore Exp $ - */ -package org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Id 22'. - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlId_2_2#getIndex Index}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlId_2_2() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlId_2_2 extends EBaseObject -{ - /** - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlId_2_2_Index() - * @model containment="true" - * @generated - */ - XmlIndex_2_2 getIndex(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlId_2_2#getIndex Index}' containment reference. - * - * - * @param value the new value of the 'Index' containment reference. - * @see #getIndex() - * @generated - */ - void setIndex(XmlIndex_2_2 value); - -} // XmlId_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlIndex_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlIndex_2_2.java deleted file mode 100644 index e5655267cd..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlIndex_2_2.java +++ /dev/null @@ -1,191 +0,0 @@ -/******************************************************************************* - * 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.v2_2; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Index 22'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2#getName Name}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2#getSchema Schema}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2#getCatalog Catalog}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2#getTable Table}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2#getUnique Unique}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2#getColumnNames Column Names}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlIndex_2_2() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlIndex_2_2 extends EBaseObject -{ - /** - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlIndex_2_2_Name() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - - /** - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlIndex_2_2_Schema() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getSchema(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2#getSchema Schema}' attribute. - * - * - * @param value the new value of the 'Schema' attribute. - * @see #getSchema() - * @generated - */ - void setSchema(String value); - - /** - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlIndex_2_2_Catalog() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getCatalog(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2#getCatalog Catalog}' attribute. - * - * - * @param value the new value of the 'Catalog' attribute. - * @see #getCatalog() - * @generated - */ - void setCatalog(String value); - - /** - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlIndex_2_2_Table() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getTable(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2#getTable Table}' attribute. - * - * - * @param value the new value of the 'Table' attribute. - * @see #getTable() - * @generated - */ - void setTable(String value); - - /** - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlIndex_2_2_Unique() - * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" - * @generated - */ - Boolean getUnique(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2#getUnique Unique}' attribute. - * - * - * @param value the new value of the 'Unique' attribute. - * @see #getUnique() - * @generated - */ - void setUnique(Boolean value); - - /** - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlIndex_2_2_ColumnNames() - * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - EList getColumnNames(); - -} // XmlIndex_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlJoinTable_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlJoinTable_2_2.java deleted file mode 100644 index ebbe99588d..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlJoinTable_2_2.java +++ /dev/null @@ -1,65 +0,0 @@ -/******************************************************************************* - * 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.v2_2; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Join Table 22'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlJoinTable_2_2#getCreationSuffix Creation Suffix}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlJoinTable_2_2() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlJoinTable_2_2 extends EBaseObject -{ - /** - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlJoinTable_2_2_CreationSuffix() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getCreationSuffix(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlJoinTable_2_2#getCreationSuffix Creation Suffix}' attribute. - * - * - * @param value the new value of the 'Creation Suffix' attribute. - * @see #getCreationSuffix() - * @generated - */ - void setCreationSuffix(String value); - -} // XmlJoinTable_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlManyToMany_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlManyToMany_2_2.java deleted file mode 100644 index 328c0dc19d..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlManyToMany_2_2.java +++ /dev/null @@ -1,90 +0,0 @@ -/******************************************************************************* - * 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.v2_2; - - -/** - * - * A representation of the model object 'Xml Many To Many 22'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToMany_2_2#getCascadeOnDelete Cascade On Delete}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToMany_2_2#isNonCacheable Non Cacheable}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlManyToMany_2_2() - * @model kind="class" interface="true" abstract="true" - * @generated - */ -public interface XmlManyToMany_2_2 extends XmlPartitioningGroup_2_2 -{ - /** - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlManyToMany_2_2_CascadeOnDelete() - * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" - * @generated - */ - Boolean getCascadeOnDelete(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToMany_2_2#getCascadeOnDelete Cascade On Delete}' attribute. - * - * - * @param value the new value of the 'Cascade On Delete' attribute. - * @see #getCascadeOnDelete() - * @generated - */ - void setCascadeOnDelete(Boolean value); - - /** - * Returns the value of the 'Non Cacheable' attribute. - * - *

- * If the meaning of the 'Non Cacheable' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Non Cacheable' attribute. - * @see #setNonCacheable(boolean) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlManyToMany_2_2_NonCacheable() - * @model dataType="org.eclipse.emf.ecore.xml.type.Boolean" - * @generated - */ - boolean isNonCacheable(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToMany_2_2#isNonCacheable Non Cacheable}' attribute. - * - * - * @param value the new value of the 'Non Cacheable' attribute. - * @see #isNonCacheable() - * @generated - */ - void setNonCacheable(boolean value); - -} // XmlManyToMany_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlManyToOne_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlManyToOne_2_2.java deleted file mode 100644 index f9ed6b9270..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlManyToOne_2_2.java +++ /dev/null @@ -1,63 +0,0 @@ -/******************************************************************************* - * 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.v2_2; - - -/** - * - * A representation of the model object 'Xml Many To One 22'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToOne_2_2#isNonCacheable Non Cacheable}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlManyToOne_2_2() - * @model kind="class" interface="true" abstract="true" - * @generated - */ -public interface XmlManyToOne_2_2 extends XmlPartitioningGroup_2_2 -{ - /** - * Returns the value of the 'Non Cacheable' attribute. - * - *

- * If the meaning of the 'Non Cacheable' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Non Cacheable' attribute. - * @see #setNonCacheable(boolean) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlManyToOne_2_2_NonCacheable() - * @model dataType="org.eclipse.emf.ecore.xml.type.Boolean" - * @generated - */ - boolean isNonCacheable(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToOne_2_2#isNonCacheable Non Cacheable}' attribute. - * - * - * @param value the new value of the 'Non Cacheable' attribute. - * @see #isNonCacheable() - * @generated - */ - void setNonCacheable(boolean value); - -} // XmlManyToOne_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlMappedSuperclass_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlMappedSuperclass_2_2.java deleted file mode 100644 index f949aa8c74..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlMappedSuperclass_2_2.java +++ /dev/null @@ -1,63 +0,0 @@ -/******************************************************************************* - * 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.v2_2; - - -/** - * - * A representation of the model object 'Xml Mapped Superclass 22'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlMappedSuperclass_2_2#getAdditionalCriteria Additional Criteria}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlMappedSuperclass_2_2() - * @model kind="class" interface="true" abstract="true" - * @generated - */ -public interface XmlMappedSuperclass_2_2 extends XmlPartitioningGroup_2_2 -{ - /** - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlMappedSuperclass_2_2_AdditionalCriteria() - * @model containment="true" - * @generated - */ - XmlAdditionalCriteria_2_2 getAdditionalCriteria(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlMappedSuperclass_2_2#getAdditionalCriteria Additional Criteria}' containment reference. - * - * - * @param value the new value of the 'Additional Criteria' containment reference. - * @see #getAdditionalCriteria() - * @generated - */ - void setAdditionalCriteria(XmlAdditionalCriteria_2_2 value); - -} // XmlMappedSuperclass_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlOneToMany_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlOneToMany_2_2.java deleted file mode 100644 index 6807ef6f1b..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlOneToMany_2_2.java +++ /dev/null @@ -1,90 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2010, 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.v2_2; - - -/** - * - * A representation of the model object 'Xml One To Many 22'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToMany_2_2#getCascadeOnDelete Cascade On Delete}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToMany_2_2#isNoncacheable Noncacheable}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlOneToMany_2_2() - * @model kind="class" interface="true" abstract="true" - * @generated - */ -public interface XmlOneToMany_2_2 extends XmlPartitioningGroup_2_2 -{ - /** - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlOneToMany_2_2_CascadeOnDelete() - * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" - * @generated - */ - Boolean getCascadeOnDelete(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToMany_2_2#getCascadeOnDelete Cascade On Delete}' attribute. - * - * - * @param value the new value of the 'Cascade On Delete' attribute. - * @see #getCascadeOnDelete() - * @generated - */ - void setCascadeOnDelete(Boolean value); - - /** - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlOneToMany_2_2_Noncacheable() - * @model dataType="org.eclipse.emf.ecore.xml.type.Boolean" - * @generated - */ - boolean isNoncacheable(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToMany_2_2#isNoncacheable Noncacheable}' attribute. - * - * - * @param value the new value of the 'Noncacheable' attribute. - * @see #isNoncacheable() - * @generated - */ - void setNoncacheable(boolean value); - -} // XmlOneToMany_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlOneToOne_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlOneToOne_2_2.java deleted file mode 100644 index cc745a9b5f..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlOneToOne_2_2.java +++ /dev/null @@ -1,90 +0,0 @@ -/******************************************************************************* - * 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.v2_2; - - -/** - * - * A representation of the model object 'Xml One To One 22'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToOne_2_2#getCascadeOnDelete Cascade On Delete}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToOne_2_2#isNonCacheable Non Cacheable}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlOneToOne_2_2() - * @model kind="class" interface="true" abstract="true" - * @generated - */ -public interface XmlOneToOne_2_2 extends XmlPartitioningGroup_2_2 -{ - /** - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlOneToOne_2_2_CascadeOnDelete() - * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" - * @generated - */ - Boolean getCascadeOnDelete(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToOne_2_2#getCascadeOnDelete Cascade On Delete}' attribute. - * - * - * @param value the new value of the 'Cascade On Delete' attribute. - * @see #getCascadeOnDelete() - * @generated - */ - void setCascadeOnDelete(Boolean value); - - /** - * Returns the value of the 'Non Cacheable' attribute. - * - *

- * If the meaning of the 'Non Cacheable' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Non Cacheable' attribute. - * @see #setNonCacheable(boolean) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlOneToOne_2_2_NonCacheable() - * @model dataType="org.eclipse.emf.ecore.xml.type.Boolean" - * @generated - */ - boolean isNonCacheable(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToOne_2_2#isNonCacheable Non Cacheable}' attribute. - * - * - * @param value the new value of the 'Non Cacheable' attribute. - * @see #isNonCacheable() - * @generated - */ - void setNonCacheable(boolean value); - -} // XmlOneToOne_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlPartitioningGroup_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlPartitioningGroup_2_2.java deleted file mode 100644 index 7ea0d3b99d..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlPartitioningGroup_2_2.java +++ /dev/null @@ -1,281 +0,0 @@ -/******************************************************************************* - * 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.v2_2; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Partitioning Group2 2'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getPartitioning Partitioning}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getReplicationPartitioning Replication Partitioning}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getRoundRobinPartitioning Round Robin Partitioning}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getPinnedPartitioning Pinned Partitioning}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getRangePartitioning Range Partitioning}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getValuePartitioning Value Partitioning}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getHashPartitioning Hash Partitioning}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getUnionPartitioning Union Partitioning}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getPartitioned Partitioned}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlPartitioningGroup_2_2() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlPartitioningGroup_2_2 extends EBaseObject -{ - /** - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlPartitioningGroup_2_2_Partitioning() - * @model containment="true" - * @generated - */ - XmlPartitioning_2_2 getPartitioning(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getPartitioning Partitioning}' containment reference. - * - * - * @param value the new value of the 'Partitioning' containment reference. - * @see #getPartitioning() - * @generated - */ - void setPartitioning(XmlPartitioning_2_2 value); - - /** - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlPartitioningGroup_2_2_ReplicationPartitioning() - * @model containment="true" - * @generated - */ - XmlReplicationPartitioning_2_2 getReplicationPartitioning(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getReplicationPartitioning Replication Partitioning}' containment reference. - * - * - * @param value the new value of the 'Replication Partitioning' containment reference. - * @see #getReplicationPartitioning() - * @generated - */ - void setReplicationPartitioning(XmlReplicationPartitioning_2_2 value); - - /** - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlPartitioningGroup_2_2_RoundRobinPartitioning() - * @model containment="true" - * @generated - */ - XmlRoundRobinPartitioning_2_2 getRoundRobinPartitioning(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getRoundRobinPartitioning Round Robin Partitioning}' containment reference. - * - * - * @param value the new value of the 'Round Robin Partitioning' containment reference. - * @see #getRoundRobinPartitioning() - * @generated - */ - void setRoundRobinPartitioning(XmlRoundRobinPartitioning_2_2 value); - - /** - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlPartitioningGroup_2_2_PinnedPartitioning() - * @model containment="true" - * @generated - */ - XmlPinnedPartitioning_2_2 getPinnedPartitioning(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getPinnedPartitioning Pinned Partitioning}' containment reference. - * - * - * @param value the new value of the 'Pinned Partitioning' containment reference. - * @see #getPinnedPartitioning() - * @generated - */ - void setPinnedPartitioning(XmlPinnedPartitioning_2_2 value); - - /** - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlPartitioningGroup_2_2_RangePartitioning() - * @model containment="true" - * @generated - */ - XmlRangePartitioning_2_2 getRangePartitioning(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getRangePartitioning Range Partitioning}' containment reference. - * - * - * @param value the new value of the 'Range Partitioning' containment reference. - * @see #getRangePartitioning() - * @generated - */ - void setRangePartitioning(XmlRangePartitioning_2_2 value); - - /** - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlPartitioningGroup_2_2_ValuePartitioning() - * @model containment="true" - * @generated - */ - XmlValuePartitioning_2_2 getValuePartitioning(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getValuePartitioning Value Partitioning}' containment reference. - * - * - * @param value the new value of the 'Value Partitioning' containment reference. - * @see #getValuePartitioning() - * @generated - */ - void setValuePartitioning(XmlValuePartitioning_2_2 value); - - /** - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlPartitioningGroup_2_2_HashPartitioning() - * @model containment="true" - * @generated - */ - XmlHashPartitioning_2_2 getHashPartitioning(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getHashPartitioning Hash Partitioning}' containment reference. - * - * - * @param value the new value of the 'Hash Partitioning' containment reference. - * @see #getHashPartitioning() - * @generated - */ - void setHashPartitioning(XmlHashPartitioning_2_2 value); - - /** - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlPartitioningGroup_2_2_UnionPartitioning() - * @model containment="true" - * @generated - */ - XmlUnionPartitioning_2_2 getUnionPartitioning(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getUnionPartitioning Union Partitioning}' containment reference. - * - * - * @param value the new value of the 'Union Partitioning' containment reference. - * @see #getUnionPartitioning() - * @generated - */ - void setUnionPartitioning(XmlUnionPartitioning_2_2 value); - - /** - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlPartitioningGroup_2_2_Partitioned() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getPartitioned(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2#getPartitioned Partitioned}' attribute. - * - * - * @param value the new value of the 'Partitioned' attribute. - * @see #getPartitioned() - * @generated - */ - void setPartitioned(String value); - -} // XmlPartitioningGroup2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlPartitioning_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlPartitioning_2_2.java deleted file mode 100644 index 6d19a4c8c8..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlPartitioning_2_2.java +++ /dev/null @@ -1,65 +0,0 @@ -/******************************************************************************* - * 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.v2_2; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Partitioning 22'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioning_2_2#getName Name}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlPartitioning_2_2() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlPartitioning_2_2 extends EBaseObject -{ - /** - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlPartitioning_2_2_Name() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioning_2_2#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - -} // XmlPartitioning_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlPinnedPartitioning_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlPinnedPartitioning_2_2.java deleted file mode 100644 index c0fccc9307..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlPinnedPartitioning_2_2.java +++ /dev/null @@ -1,65 +0,0 @@ -/******************************************************************************* - * 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.v2_2; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Pinned Partitioning 22'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPinnedPartitioning_2_2#getName Name}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlPinnedPartitioning_2_2() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlPinnedPartitioning_2_2 extends EBaseObject -{ - /** - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlPinnedPartitioning_2_2_Name() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPinnedPartitioning_2_2#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - -} // XmlPinnedPartitioning_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlRangePartitioning_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlRangePartitioning_2_2.java deleted file mode 100644 index f49202986f..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlRangePartitioning_2_2.java +++ /dev/null @@ -1,65 +0,0 @@ -/******************************************************************************* - * 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.v2_2; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Range Partitioning 22'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRangePartitioning_2_2#getName Name}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlRangePartitioning_2_2() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlRangePartitioning_2_2 extends EBaseObject -{ - /** - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlRangePartitioning_2_2_Name() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRangePartitioning_2_2#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - -} // XmlRangePartitioning_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlReplicationPartitioning_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlReplicationPartitioning_2_2.java deleted file mode 100644 index f370f84296..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlReplicationPartitioning_2_2.java +++ /dev/null @@ -1,65 +0,0 @@ -/******************************************************************************* - * 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.v2_2; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Replication Partitioning 22'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlReplicationPartitioning_2_2#getName Name}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlReplicationPartitioning_2_2() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlReplicationPartitioning_2_2 extends EBaseObject -{ - /** - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlReplicationPartitioning_2_2_Name() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlReplicationPartitioning_2_2#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - -} // XmlReplicationPartitioning_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlRoundRobinPartitioning_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlRoundRobinPartitioning_2_2.java deleted file mode 100644 index b05a6c08cc..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlRoundRobinPartitioning_2_2.java +++ /dev/null @@ -1,65 +0,0 @@ -/******************************************************************************* - * 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.v2_2; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Round Robin Partitioning 22'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRoundRobinPartitioning_2_2#getName Name}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlRoundRobinPartitioning_2_2() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlRoundRobinPartitioning_2_2 extends EBaseObject -{ - /** - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlRoundRobinPartitioning_2_2_Name() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRoundRobinPartitioning_2_2#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - -} // XmlRoundRobinPartitioning_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlSecondaryTable_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlSecondaryTable_2_2.java deleted file mode 100644 index 55c987bdcf..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlSecondaryTable_2_2.java +++ /dev/null @@ -1,65 +0,0 @@ -/******************************************************************************* - * 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.v2_2; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Secondary Table 22'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlSecondaryTable_2_2#getCreationSuffix Creation Suffix}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlSecondaryTable_2_2() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlSecondaryTable_2_2 extends EBaseObject -{ - /** - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlSecondaryTable_2_2_CreationSuffix() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getCreationSuffix(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlSecondaryTable_2_2#getCreationSuffix Creation Suffix}' attribute. - * - * - * @param value the new value of the 'Creation Suffix' attribute. - * @see #getCreationSuffix() - * @generated - */ - void setCreationSuffix(String value); - -} // XmlSecondaryTable_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlTableGenerator_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlTableGenerator_2_2.java deleted file mode 100644 index f46b30bc5c..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlTableGenerator_2_2.java +++ /dev/null @@ -1,65 +0,0 @@ -/******************************************************************************* - * 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.v2_2; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Table Generator 22'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlTableGenerator_2_2#getCreationSuffix Creation Suffix}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlTableGenerator_2_2() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlTableGenerator_2_2 extends EBaseObject -{ - /** - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlTableGenerator_2_2_CreationSuffix() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getCreationSuffix(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlTableGenerator_2_2#getCreationSuffix Creation Suffix}' attribute. - * - * - * @param value the new value of the 'Creation Suffix' attribute. - * @see #getCreationSuffix() - * @generated - */ - void setCreationSuffix(String value); - -} // XmlTableGenerator_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlTable_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlTable_2_2.java deleted file mode 100644 index b7dcac9582..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlTable_2_2.java +++ /dev/null @@ -1,65 +0,0 @@ -/******************************************************************************* - * 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.v2_2; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Table 22'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlTable_2_2#getCreationSuffix Creation Suffix}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlTable_2_2() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlTable_2_2 extends EBaseObject -{ - /** - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlTable_2_2_CreationSuffix() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getCreationSuffix(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlTable_2_2#getCreationSuffix Creation Suffix}' attribute. - * - * - * @param value the new value of the 'Creation Suffix' attribute. - * @see #getCreationSuffix() - * @generated - */ - void setCreationSuffix(String value); - -} // XmlTable_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlUnionPartitioning_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlUnionPartitioning_2_2.java deleted file mode 100644 index a691c7e9a6..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlUnionPartitioning_2_2.java +++ /dev/null @@ -1,65 +0,0 @@ -/******************************************************************************* - * 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.v2_2; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Union Partitioning 22'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlUnionPartitioning_2_2#getName Name}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlUnionPartitioning_2_2() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlUnionPartitioning_2_2 extends EBaseObject -{ - /** - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlUnionPartitioning_2_2_Name() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlUnionPartitioning_2_2#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - -} // XmlUnionPartitioning_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlValuePartitioning_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlValuePartitioning_2_2.java deleted file mode 100644 index 706f813f40..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlValuePartitioning_2_2.java +++ /dev/null @@ -1,65 +0,0 @@ -/******************************************************************************* - * 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.v2_2; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Value Partitioning 22'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlValuePartitioning_2_2#getName Name}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlValuePartitioning_2_2() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlValuePartitioning_2_2 extends EBaseObject -{ - /** - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlValuePartitioning_2_2_Name() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlValuePartitioning_2_2#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - -} // XmlValuePartitioning_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlVariableOneToOne_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlVariableOneToOne_2_2.java deleted file mode 100644 index ee10991c84..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlVariableOneToOne_2_2.java +++ /dev/null @@ -1,63 +0,0 @@ -/******************************************************************************* - * 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.v2_2; - - -/** - * - * A representation of the model object 'Xml Variable One To One 22'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlVariableOneToOne_2_2#isNonCacheable Non Cacheable}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlVariableOneToOne_2_2() - * @model kind="class" interface="true" abstract="true" - * @generated - */ -public interface XmlVariableOneToOne_2_2 extends XmlPartitioningGroup_2_2 -{ - /** - * Returns the value of the 'Non Cacheable' attribute. - * - *

- * If the meaning of the 'Non Cacheable' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Non Cacheable' attribute. - * @see #setNonCacheable(boolean) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlVariableOneToOne_2_2_NonCacheable() - * @model dataType="org.eclipse.emf.ecore.xml.type.Boolean" - * @generated - */ - boolean isNonCacheable(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlVariableOneToOne_2_2#isNonCacheable Non Cacheable}' attribute. - * - * - * @param value the new value of the 'Non Cacheable' attribute. - * @see #isNonCacheable() - * @generated - */ - void setNonCacheable(boolean value); - -} // XmlVariableOneToOne_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlVersion_2_2.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlVersion_2_2.java deleted file mode 100644 index 405c5cd841..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlVersion_2_2.java +++ /dev/null @@ -1,65 +0,0 @@ -/******************************************************************************* - * 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.v2_2; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Version 22'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlVersion_2_2#getIndex Index}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlVersion_2_2() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlVersion_2_2 extends EBaseObject -{ - /** - * 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.v2_2.EclipseLinkOrmV2_2Package#getXmlVersion_2_2_Index() - * @model containment="true" - * @generated - */ - XmlIndex_2_2 getIndex(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlVersion_2_2#getIndex Index}' containment reference. - * - * - * @param value the new value of the 'Index' containment reference. - * @see #getIndex() - * @generated - */ - void setIndex(XmlIndex_2_2 value); - -} // XmlVersion_2_2 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/EclipseLinkOrmV2_3Factory.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/EclipseLinkOrmV2_3Factory.java deleted file mode 100644 index 2196e070c1..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/EclipseLinkOrmV2_3Factory.java +++ /dev/null @@ -1,164 +0,0 @@ -/******************************************************************************* - * 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.v2_3; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.impl.EFactoryImpl; -import org.eclipse.emf.ecore.plugin.EcorePlugin; - -/** - * - * The Factory for the model. - * It provides a create method for each non-abstract class of the model. - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package - * @generated - */ -public class EclipseLinkOrmV2_3Factory extends EFactoryImpl -{ - /** - * The singleton instance of the factory. - * - * - * @generated - */ - public static final EclipseLinkOrmV2_3Factory eINSTANCE = init(); - - /** - * Creates the default factory implementation. - * - * - * @generated - */ - public static EclipseLinkOrmV2_3Factory init() - { - try - { - EclipseLinkOrmV2_3Factory theEclipseLinkOrmV2_3Factory = (EclipseLinkOrmV2_3Factory)EPackage.Registry.INSTANCE.getEFactory("jpt.eclipselink.orm.v2_3.xmi"); - if (theEclipseLinkOrmV2_3Factory != null) - { - return theEclipseLinkOrmV2_3Factory; - } - } - catch (Exception exception) - { - EcorePlugin.INSTANCE.log(exception); - } - return new EclipseLinkOrmV2_3Factory(); - } - - /** - * Creates an instance of the factory. - * - * - * @generated - */ - public EclipseLinkOrmV2_3Factory() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - public EObject create(EClass eClass) - { - switch (eClass.getClassifierID()) - { - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - @Override - public Object createFromString(EDataType eDataType, String initialValue) - { - switch (eDataType.getClassifierID()) - { - case EclipseLinkOrmV2_3Package.MULTITENANT_TYPE: - return createMultitenantTypeFromString(eDataType, initialValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - @Override - public String convertToString(EDataType eDataType, Object instanceValue) - { - switch (eDataType.getClassifierID()) - { - case EclipseLinkOrmV2_3Package.MULTITENANT_TYPE: - return convertMultitenantTypeToString(eDataType, instanceValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - public MultitenantType createMultitenantTypeFromString(EDataType eDataType, String initialValue) - { - MultitenantType result = MultitenantType.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * - * - * @generated - */ - public String convertMultitenantTypeToString(EDataType eDataType, Object instanceValue) - { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * - * - * @generated - */ - public EclipseLinkOrmV2_3Package getEclipseLinkOrmV2_3Package() - { - return (EclipseLinkOrmV2_3Package)getEPackage(); - } - - /** - * - * - * @deprecated - * @generated - */ - @Deprecated - public static EclipseLinkOrmV2_3Package getPackage() - { - return EclipseLinkOrmV2_3Package.eINSTANCE; - } - -} //EclipseLinkOrmV2_3Factory diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/EclipseLinkOrmV2_3Package.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/EclipseLinkOrmV2_3Package.java deleted file mode 100644 index a881ca63c1..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/EclipseLinkOrmV2_3Package.java +++ /dev/null @@ -1,2605 +0,0 @@ -/******************************************************************************* - * 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.v2_3; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EEnum; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; -import org.eclipse.emf.ecore.impl.EPackageImpl; -import org.eclipse.emf.ecore.xml.type.XMLTypePackage; -import org.eclipse.jpt.jpa.core.resource.orm.OrmPackage; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package; - -/** - * - * The Package for the model. - * It contains accessors for the meta objects to represent - *
    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • - *
- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Factory - * @model kind="package" - * @generated - */ -public class EclipseLinkOrmV2_3Package extends EPackageImpl -{ - /** - * The package name. - * - * - * @generated - */ - public static final String eNAME = "v2_3"; - - /** - * The package namespace URI. - * - * - * @generated - */ - public static final String eNS_URI = "jpt.eclipselink.orm.v2_3.xmi"; - - /** - * The package namespace name. - * - * - * @generated - */ - public static final String eNS_PREFIX = "org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3"; - - /** - * The singleton instance of the package. - * - * - * @generated - */ - public static final EclipseLinkOrmV2_3Package eINSTANCE = org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package.init(); - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEmbeddable_2_3 Xml Embeddable 23}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEmbeddable_2_3 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlEmbeddable_2_3() - * @generated - */ - public static final int XML_EMBEDDABLE_23 = 3; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMultitenant_2_3 Xml Multitenant 23}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMultitenant_2_3 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlMultitenant_2_3() - * @generated - */ - public static final int XML_MULTITENANT_23 = 7; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3 Xml Entity 23}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlEntity_2_3() - * @generated - */ - public static final int XML_ENTITY_23 = 4; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMappedSuperclass_2_3 Xml Mapped Superclass 23}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMappedSuperclass_2_3 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlMappedSuperclass_2_3() - * @generated - */ - public static final int XML_MAPPED_SUPERCLASS_23 = 6; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3 Xml Entity Mappings 23}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlEntityMappings_2_3() - * @generated - */ - public static final int XML_ENTITY_MAPPINGS_23 = 5; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredFunctionQuery_2_3 Xml Named Plsql Stored Function Query 23}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredFunctionQuery_2_3 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlNamedPlsqlStoredFunctionQuery_2_3() - * @generated - */ - public static final int XML_NAMED_PLSQL_STORED_FUNCTION_QUERY_23 = 8; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredProcedureQuery_2_3 Xml Named Plsql Stored Procedure Query 23}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredProcedureQuery_2_3 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlNamedPlsqlStoredProcedureQuery_2_3() - * @generated - */ - public static final int XML_NAMED_PLSQL_STORED_PROCEDURE_QUERY_23 = 9; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedStoredFunctionQuery_2_3 Xml Named Stored Function Query 23}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedStoredFunctionQuery_2_3 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlNamedStoredFunctionQuery_2_3() - * @generated - */ - public static final int XML_NAMED_STORED_FUNCTION_QUERY_23 = 10; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPersistenceUnitDefaults_2_3 Xml Persistence Unit Defaults 23}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPersistenceUnitDefaults_2_3 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlPersistenceUnitDefaults_2_3() - * @generated - */ - public static final int XML_PERSISTENCE_UNIT_DEFAULTS_23 = 11; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPlsqlRecord_2_3 Xml Plsql Record 23}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPlsqlRecord_2_3 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlPlsqlRecord_2_3() - * @generated - */ - public static final int XML_PLSQL_RECORD_23 = 12; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPlsqlTable_2_3 Xml Plsql Table 23}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPlsqlTable_2_3 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlPlsqlTable_2_3() - * @generated - */ - public static final int XML_PLSQL_TABLE_23 = 13; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlStruct_2_3 Xml Struct 23}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlStruct_2_3 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlStruct_2_3() - * @generated - */ - public static final int XML_STRUCT_23 = 14; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlAttributes_2_3 Xml Attributes 23}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlAttributes_2_3 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlAttributes_2_3() - * @generated - */ - public static final int XML_ATTRIBUTES_23 = 1; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlStructure_2_3 Xml Structure 23}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlStructure_2_3 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlStructure_2_3() - * @generated - */ - public static final int XML_STRUCTURE_23 = 16; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlArray_2_3 Xml Array 23}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlArray_2_3 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlArray_2_3() - * @generated - */ - public static final int XML_ARRAY_23 = 0; - - /** - * The feature id for the 'Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ARRAY_23__CONVERTERS = EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__CONVERTERS; - - /** - * The feature id for the 'Type Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ARRAY_23__TYPE_CONVERTERS = EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__TYPE_CONVERTERS; - - /** - * The feature id for the 'Object Type Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ARRAY_23__OBJECT_TYPE_CONVERTERS = EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS; - - /** - * The feature id for the 'Struct Converters' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ARRAY_23__STRUCT_CONVERTERS = EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS; - - /** - * The feature id for the 'Lob' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ARRAY_23__LOB = EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Temporal' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ARRAY_23__TEMPORAL = EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Enumerated' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ARRAY_23__ENUMERATED = EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER_FEATURE_COUNT + 2; - - /** - * The feature id for the 'Column' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ARRAY_23__COLUMN = EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER_FEATURE_COUNT + 3; - - /** - * The feature id for the 'Database Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ARRAY_23__DATABASE_TYPE = EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER_FEATURE_COUNT + 4; - - /** - * The feature id for the 'Target Class' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ARRAY_23__TARGET_CLASS = EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER_FEATURE_COUNT + 5; - - /** - * The number of structural features of the 'Xml Array 23' class. - * - * - * @generated - * @ordered - */ - public static final int XML_ARRAY_23_FEATURE_COUNT = EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER_FEATURE_COUNT + 6; - - /** - * The feature id for the 'Structures' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ATTRIBUTES_23__STRUCTURES = 0; - - /** - * The feature id for the 'Arrays' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ATTRIBUTES_23__ARRAYS = 1; - - /** - * The number of structural features of the 'Xml Attributes 23' class. - * - * - * @generated - * @ordered - */ - public static final int XML_ATTRIBUTES_23_FEATURE_COUNT = 2; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3 Xml Tenant Discriminator Column 23}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlTenantDiscriminatorColumn_2_3() - * @generated - */ - public static final int XML_TENANT_DISCRIMINATOR_COLUMN_23 = 15; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlElementCollection_2_3 Xml Element Collection 23}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlElementCollection_2_3 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlElementCollection_2_3() - * @generated - */ - public static final int XML_ELEMENT_COLLECTION_23 = 2; - - /** - * The feature id for the 'Composite Member' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION_23__COMPOSITE_MEMBER = 0; - - /** - * The number of structural features of the 'Xml Element Collection 23' class. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION_23_FEATURE_COUNT = 1; - - /** - * The feature id for the 'Plsql Records' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDABLE_23__PLSQL_RECORDS = 0; - - /** - * The feature id for the 'Plsql Tables' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDABLE_23__PLSQL_TABLES = 1; - - /** - * The feature id for the 'Struct' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDABLE_23__STRUCT = 2; - - /** - * The number of structural features of the 'Xml Embeddable 23' class. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDABLE_23_FEATURE_COUNT = 3; - - /** - * The feature id for the 'Multitenant' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_23__MULTITENANT = EclipseLinkOrmPackage.XML_MULTITENANT_HOLDER__MULTITENANT; - - /** - * The feature id for the 'Named Stored Function Queries' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_23__NAMED_STORED_FUNCTION_QUERIES = EclipseLinkOrmPackage.XML_MULTITENANT_HOLDER_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Named Plsql Stored Function Queries' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_23__NAMED_PLSQL_STORED_FUNCTION_QUERIES = EclipseLinkOrmPackage.XML_MULTITENANT_HOLDER_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Named Plsql Stored Procedure Queries' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_23__NAMED_PLSQL_STORED_PROCEDURE_QUERIES = EclipseLinkOrmPackage.XML_MULTITENANT_HOLDER_FEATURE_COUNT + 2; - - /** - * The feature id for the 'Plsql Records' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_23__PLSQL_RECORDS = EclipseLinkOrmPackage.XML_MULTITENANT_HOLDER_FEATURE_COUNT + 3; - - /** - * The feature id for the 'Plsql Tables' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_23__PLSQL_TABLES = EclipseLinkOrmPackage.XML_MULTITENANT_HOLDER_FEATURE_COUNT + 4; - - /** - * The feature id for the 'Struct' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_23__STRUCT = EclipseLinkOrmPackage.XML_MULTITENANT_HOLDER_FEATURE_COUNT + 5; - - /** - * The number of structural features of the 'Xml Entity 23' class. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_23_FEATURE_COUNT = EclipseLinkOrmPackage.XML_MULTITENANT_HOLDER_FEATURE_COUNT + 6; - - /** - * The feature id for the 'Tenant Discriminator Columns' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS_23__TENANT_DISCRIMINATOR_COLUMNS = 0; - - /** - * The feature id for the 'Named Stored Function Queries' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS_23__NAMED_STORED_FUNCTION_QUERIES = 1; - - /** - * The feature id for the 'Named Plsql Stored Function Queries' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS_23__NAMED_PLSQL_STORED_FUNCTION_QUERIES = 2; - - /** - * The feature id for the 'Named Plsql Stored Procedure Queries' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS_23__NAMED_PLSQL_STORED_PROCEDURE_QUERIES = 3; - - /** - * The feature id for the 'Plsql Records' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS_23__PLSQL_RECORDS = 4; - - /** - * The feature id for the 'Plsql Tables' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS_23__PLSQL_TABLES = 5; - - /** - * The number of structural features of the 'Xml Entity Mappings 23' class. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS_23_FEATURE_COUNT = 6; - - /** - * The feature id for the 'Multitenant' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS_23__MULTITENANT = EclipseLinkOrmPackage.XML_MULTITENANT_HOLDER__MULTITENANT; - - /** - * The feature id for the 'Named Stored Function Queries' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS_23__NAMED_STORED_FUNCTION_QUERIES = EclipseLinkOrmPackage.XML_MULTITENANT_HOLDER_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Named Plsql Stored Function Queries' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS_23__NAMED_PLSQL_STORED_FUNCTION_QUERIES = EclipseLinkOrmPackage.XML_MULTITENANT_HOLDER_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Named Plsql Stored Procedure Queries' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS_23__NAMED_PLSQL_STORED_PROCEDURE_QUERIES = EclipseLinkOrmPackage.XML_MULTITENANT_HOLDER_FEATURE_COUNT + 2; - - /** - * The feature id for the 'Plsql Records' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS_23__PLSQL_RECORDS = EclipseLinkOrmPackage.XML_MULTITENANT_HOLDER_FEATURE_COUNT + 3; - - /** - * The feature id for the 'Plsql Tables' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS_23__PLSQL_TABLES = EclipseLinkOrmPackage.XML_MULTITENANT_HOLDER_FEATURE_COUNT + 4; - - /** - * The number of structural features of the 'Xml Mapped Superclass 23' class. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS_23_FEATURE_COUNT = EclipseLinkOrmPackage.XML_MULTITENANT_HOLDER_FEATURE_COUNT + 5; - - /** - * The feature id for the 'Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MULTITENANT_23__TYPE = 0; - - /** - * The feature id for the 'Tenant Discriminator Columns' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MULTITENANT_23__TENANT_DISCRIMINATOR_COLUMNS = 1; - - /** - * The number of structural features of the 'Xml Multitenant 23' class. - * - * - * @generated - * @ordered - */ - public static final int XML_MULTITENANT_23_FEATURE_COUNT = 2; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_NAMED_PLSQL_STORED_FUNCTION_QUERY_23__NAME = 0; - - /** - * The number of structural features of the 'Xml Named Plsql Stored Function Query 23' class. - * - * - * @generated - * @ordered - */ - public static final int XML_NAMED_PLSQL_STORED_FUNCTION_QUERY_23_FEATURE_COUNT = 1; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_NAMED_PLSQL_STORED_PROCEDURE_QUERY_23__NAME = 0; - - /** - * The number of structural features of the 'Xml Named Plsql Stored Procedure Query 23' class. - * - * - * @generated - * @ordered - */ - public static final int XML_NAMED_PLSQL_STORED_PROCEDURE_QUERY_23_FEATURE_COUNT = 1; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_NAMED_STORED_FUNCTION_QUERY_23__NAME = 0; - - /** - * The number of structural features of the 'Xml Named Stored Function Query 23' class. - * - * - * @generated - * @ordered - */ - public static final int XML_NAMED_STORED_FUNCTION_QUERY_23_FEATURE_COUNT = 1; - - /** - * The feature id for the 'Tenant Discriminator Columns' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_PERSISTENCE_UNIT_DEFAULTS_23__TENANT_DISCRIMINATOR_COLUMNS = 0; - - /** - * The number of structural features of the 'Xml Persistence Unit Defaults 23' class. - * - * - * @generated - * @ordered - */ - public static final int XML_PERSISTENCE_UNIT_DEFAULTS_23_FEATURE_COUNT = 1; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_PLSQL_RECORD_23__NAME = 0; - - /** - * The number of structural features of the 'Xml Plsql Record 23' class. - * - * - * @generated - * @ordered - */ - public static final int XML_PLSQL_RECORD_23_FEATURE_COUNT = 1; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_PLSQL_TABLE_23__NAME = 0; - - /** - * The number of structural features of the 'Xml Plsql Table 23' class. - * - * - * @generated - * @ordered - */ - public static final int XML_PLSQL_TABLE_23_FEATURE_COUNT = 1; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_STRUCT_23__NAME = 0; - - /** - * The number of structural features of the 'Xml Struct 23' class. - * - * - * @generated - * @ordered - */ - public static final int XML_STRUCT_23_FEATURE_COUNT = 1; - - /** - * The feature id for the 'Column Definition' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TENANT_DISCRIMINATOR_COLUMN_23__COLUMN_DEFINITION = OrmPackage.XML_BASE_DISCRIMINATOR_COLUMN__COLUMN_DEFINITION; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TENANT_DISCRIMINATOR_COLUMN_23__NAME = OrmPackage.XML_BASE_DISCRIMINATOR_COLUMN__NAME; - - /** - * The feature id for the 'Discriminator Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TENANT_DISCRIMINATOR_COLUMN_23__DISCRIMINATOR_TYPE = OrmPackage.XML_BASE_DISCRIMINATOR_COLUMN__DISCRIMINATOR_TYPE; - - /** - * The feature id for the 'Length' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TENANT_DISCRIMINATOR_COLUMN_23__LENGTH = OrmPackage.XML_BASE_DISCRIMINATOR_COLUMN__LENGTH; - - /** - * The feature id for the 'Context Property' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TENANT_DISCRIMINATOR_COLUMN_23__CONTEXT_PROPERTY = OrmPackage.XML_BASE_DISCRIMINATOR_COLUMN_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Table' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TENANT_DISCRIMINATOR_COLUMN_23__TABLE = OrmPackage.XML_BASE_DISCRIMINATOR_COLUMN_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Primary Key' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TENANT_DISCRIMINATOR_COLUMN_23__PRIMARY_KEY = OrmPackage.XML_BASE_DISCRIMINATOR_COLUMN_FEATURE_COUNT + 2; - - /** - * The number of structural features of the 'Xml Tenant Discriminator Column 23' class. - * - * - * @generated - * @ordered - */ - public static final int XML_TENANT_DISCRIMINATOR_COLUMN_23_FEATURE_COUNT = OrmPackage.XML_BASE_DISCRIMINATOR_COLUMN_FEATURE_COUNT + 3; - - /** - * The number of structural features of the 'Xml Structure 23' class. - * - * - * @generated - * @ordered - */ - public static final int XML_STRUCTURE_23_FEATURE_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.MultitenantType Multitenant Type}' enum. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.MultitenantType - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getMultitenantType() - * @generated - */ - public static final int MULTITENANT_TYPE = 17; - - /** - * - * - * @generated - */ - private EClass xmlEmbeddable_2_3EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlMultitenant_2_3EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlNamedPlsqlStoredFunctionQuery_2_3EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlNamedPlsqlStoredProcedureQuery_2_3EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlNamedStoredFunctionQuery_2_3EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlEntity_2_3EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlMappedSuperclass_2_3EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlEntityMappings_2_3EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlPersistenceUnitDefaults_2_3EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlPlsqlRecord_2_3EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlPlsqlTable_2_3EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlStruct_2_3EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlTenantDiscriminatorColumn_2_3EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlAttributes_2_3EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlStructure_2_3EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlArray_2_3EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlElementCollection_2_3EClass = null; - - /** - * - * - * @generated - */ - private EEnum multitenantTypeEEnum = null; - - /** - * Creates an instance of the model Package, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - *

Note: 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.v2_3.EclipseLinkOrmV2_3Package#eNS_URI - * @see #init() - * @generated - */ - private EclipseLinkOrmV2_3Package() - { - super(eNS_URI, EclipseLinkOrmV2_3Factory.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 EclipseLinkOrmV2_3Package#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 EclipseLinkOrmV2_3Package init() - { - if (isInited) return (EclipseLinkOrmV2_3Package)EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmV2_3Package.eNS_URI); - - // Obtain or create and register package - EclipseLinkOrmV2_3Package theEclipseLinkOrmV2_3Package = (EclipseLinkOrmV2_3Package)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof EclipseLinkOrmV2_3Package ? EPackage.Registry.INSTANCE.get(eNS_URI) : new EclipseLinkOrmV2_3Package()); - - isInited = true; - - // Initialize simple dependencies - OrmPackage.eINSTANCE.eClass(); - XMLTypePackage.eINSTANCE.eClass(); - - // Obtain or create and register interdependencies - EclipseLinkOrmPackage theEclipseLinkOrmPackage = (EclipseLinkOrmPackage)(EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmPackage.eNS_URI) instanceof EclipseLinkOrmPackage ? EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmPackage.eNS_URI) : EclipseLinkOrmPackage.eINSTANCE); - 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_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 - theEclipseLinkOrmV2_3Package.createPackageContents(); - theEclipseLinkOrmPackage.createPackageContents(); - theEclipseLinkOrmV1_1Package.createPackageContents(); - theEclipseLinkOrmV2_0Package.createPackageContents(); - theEclipseLinkOrmV2_1Package.createPackageContents(); - theEclipseLinkOrmV2_2Package.createPackageContents(); - theEclipseLinkOrmV2_4Package.createPackageContents(); - - // Initialize created meta-data - theEclipseLinkOrmV2_3Package.initializePackageContents(); - theEclipseLinkOrmPackage.initializePackageContents(); - theEclipseLinkOrmV1_1Package.initializePackageContents(); - theEclipseLinkOrmV2_0Package.initializePackageContents(); - theEclipseLinkOrmV2_1Package.initializePackageContents(); - theEclipseLinkOrmV2_2Package.initializePackageContents(); - theEclipseLinkOrmV2_4Package.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theEclipseLinkOrmV2_3Package.freeze(); - - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(EclipseLinkOrmV2_3Package.eNS_URI, theEclipseLinkOrmV2_3Package); - return theEclipseLinkOrmV2_3Package; - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEmbeddable_2_3 Xml Embeddable 23}'. - * - * - * @return the meta object for class 'Xml Embeddable 23'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEmbeddable_2_3 - * @generated - */ - public EClass getXmlEmbeddable_2_3() - { - return xmlEmbeddable_2_3EClass; - } - - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEmbeddable_2_3#getPlsqlRecords Plsql Records}'. - * - * - * @return the meta object for the containment reference list 'Plsql Records'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEmbeddable_2_3#getPlsqlRecords() - * @see #getXmlEmbeddable_2_3() - * @generated - */ - public EReference getXmlEmbeddable_2_3_PlsqlRecords() - { - return (EReference)xmlEmbeddable_2_3EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEmbeddable_2_3#getPlsqlTables Plsql Tables}'. - * - * - * @return the meta object for the containment reference list 'Plsql Tables'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEmbeddable_2_3#getPlsqlTables() - * @see #getXmlEmbeddable_2_3() - * @generated - */ - public EReference getXmlEmbeddable_2_3_PlsqlTables() - { - return (EReference)xmlEmbeddable_2_3EClass.getEStructuralFeatures().get(1); - } - - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEmbeddable_2_3#getStruct Struct}'. - * - * - * @return the meta object for the containment reference 'Struct'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEmbeddable_2_3#getStruct() - * @see #getXmlEmbeddable_2_3() - * @generated - */ - public EReference getXmlEmbeddable_2_3_Struct() - { - return (EReference)xmlEmbeddable_2_3EClass.getEStructuralFeatures().get(2); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMultitenant_2_3 Xml Multitenant 23}'. - * - * - * @return the meta object for class 'Xml Multitenant 23'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMultitenant_2_3 - * @generated - */ - public EClass getXmlMultitenant_2_3() - { - return xmlMultitenant_2_3EClass; - } - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMultitenant_2_3#getType Type}'. - * - * - * @return the meta object for the attribute 'Type'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMultitenant_2_3#getType() - * @see #getXmlMultitenant_2_3() - * @generated - */ - public EAttribute getXmlMultitenant_2_3_Type() - { - return (EAttribute)xmlMultitenant_2_3EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMultitenant_2_3#getTenantDiscriminatorColumns Tenant Discriminator Columns}'. - * - * - * @return the meta object for the containment reference list 'Tenant Discriminator Columns'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMultitenant_2_3#getTenantDiscriminatorColumns() - * @see #getXmlMultitenant_2_3() - * @generated - */ - public EReference getXmlMultitenant_2_3_TenantDiscriminatorColumns() - { - return (EReference)xmlMultitenant_2_3EClass.getEStructuralFeatures().get(1); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredFunctionQuery_2_3 Xml Named Plsql Stored Function Query 23}'. - * - * - * @return the meta object for class 'Xml Named Plsql Stored Function Query 23'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredFunctionQuery_2_3 - * @generated - */ - public EClass getXmlNamedPlsqlStoredFunctionQuery_2_3() - { - return xmlNamedPlsqlStoredFunctionQuery_2_3EClass; - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredFunctionQuery_2_3#getName Name}'. - * - * - * @return the meta object for the attribute 'Name'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredFunctionQuery_2_3#getName() - * @see #getXmlNamedPlsqlStoredFunctionQuery_2_3() - * @generated - */ - public EAttribute getXmlNamedPlsqlStoredFunctionQuery_2_3_Name() - { - return (EAttribute)xmlNamedPlsqlStoredFunctionQuery_2_3EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredProcedureQuery_2_3 Xml Named Plsql Stored Procedure Query 23}'. - * - * - * @return the meta object for class 'Xml Named Plsql Stored Procedure Query 23'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredProcedureQuery_2_3 - * @generated - */ - public EClass getXmlNamedPlsqlStoredProcedureQuery_2_3() - { - return xmlNamedPlsqlStoredProcedureQuery_2_3EClass; - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredProcedureQuery_2_3#getName Name}'. - * - * - * @return the meta object for the attribute 'Name'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredProcedureQuery_2_3#getName() - * @see #getXmlNamedPlsqlStoredProcedureQuery_2_3() - * @generated - */ - public EAttribute getXmlNamedPlsqlStoredProcedureQuery_2_3_Name() - { - return (EAttribute)xmlNamedPlsqlStoredProcedureQuery_2_3EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedStoredFunctionQuery_2_3 Xml Named Stored Function Query 23}'. - * - * - * @return the meta object for class 'Xml Named Stored Function Query 23'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedStoredFunctionQuery_2_3 - * @generated - */ - public EClass getXmlNamedStoredFunctionQuery_2_3() - { - return xmlNamedStoredFunctionQuery_2_3EClass; - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedStoredFunctionQuery_2_3#getName Name}'. - * - * - * @return the meta object for the attribute 'Name'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedStoredFunctionQuery_2_3#getName() - * @see #getXmlNamedStoredFunctionQuery_2_3() - * @generated - */ - public EAttribute getXmlNamedStoredFunctionQuery_2_3_Name() - { - return (EAttribute)xmlNamedStoredFunctionQuery_2_3EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3 Xml Entity 23}'. - * - * - * @return the meta object for class 'Xml Entity 23'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3 - * @generated - */ - public EClass getXmlEntity_2_3() - { - return xmlEntity_2_3EClass; - } - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3#getNamedStoredFunctionQueries Named Stored Function Queries}'. - * - * - * @return the meta object for the containment reference list 'Named Stored Function Queries'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3#getNamedStoredFunctionQueries() - * @see #getXmlEntity_2_3() - * @generated - */ - public EReference getXmlEntity_2_3_NamedStoredFunctionQueries() - { - return (EReference)xmlEntity_2_3EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3#getNamedPlsqlStoredFunctionQueries Named Plsql Stored Function Queries}'. - * - * - * @return the meta object for the containment reference list 'Named Plsql Stored Function Queries'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3#getNamedPlsqlStoredFunctionQueries() - * @see #getXmlEntity_2_3() - * @generated - */ - public EReference getXmlEntity_2_3_NamedPlsqlStoredFunctionQueries() - { - return (EReference)xmlEntity_2_3EClass.getEStructuralFeatures().get(1); - } - - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3#getNamedPlsqlStoredProcedureQueries Named Plsql Stored Procedure Queries}'. - * - * - * @return the meta object for the containment reference list 'Named Plsql Stored Procedure Queries'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3#getNamedPlsqlStoredProcedureQueries() - * @see #getXmlEntity_2_3() - * @generated - */ - public EReference getXmlEntity_2_3_NamedPlsqlStoredProcedureQueries() - { - return (EReference)xmlEntity_2_3EClass.getEStructuralFeatures().get(2); - } - - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3#getPlsqlRecords Plsql Records}'. - * - * - * @return the meta object for the containment reference list 'Plsql Records'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3#getPlsqlRecords() - * @see #getXmlEntity_2_3() - * @generated - */ - public EReference getXmlEntity_2_3_PlsqlRecords() - { - return (EReference)xmlEntity_2_3EClass.getEStructuralFeatures().get(3); - } - - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3#getPlsqlTables Plsql Tables}'. - * - * - * @return the meta object for the containment reference list 'Plsql Tables'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3#getPlsqlTables() - * @see #getXmlEntity_2_3() - * @generated - */ - public EReference getXmlEntity_2_3_PlsqlTables() - { - return (EReference)xmlEntity_2_3EClass.getEStructuralFeatures().get(4); - } - - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3#getStruct Struct}'. - * - * - * @return the meta object for the containment reference 'Struct'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3#getStruct() - * @see #getXmlEntity_2_3() - * @generated - */ - public EReference getXmlEntity_2_3_Struct() - { - return (EReference)xmlEntity_2_3EClass.getEStructuralFeatures().get(5); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMappedSuperclass_2_3 Xml Mapped Superclass 23}'. - * - * - * @return the meta object for class 'Xml Mapped Superclass 23'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMappedSuperclass_2_3 - * @generated - */ - public EClass getXmlMappedSuperclass_2_3() - { - return xmlMappedSuperclass_2_3EClass; - } - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMappedSuperclass_2_3#getNamedStoredFunctionQueries Named Stored Function Queries}'. - * - * - * @return the meta object for the containment reference list 'Named Stored Function Queries'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMappedSuperclass_2_3#getNamedStoredFunctionQueries() - * @see #getXmlMappedSuperclass_2_3() - * @generated - */ - public EReference getXmlMappedSuperclass_2_3_NamedStoredFunctionQueries() - { - return (EReference)xmlMappedSuperclass_2_3EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMappedSuperclass_2_3#getNamedPlsqlStoredFunctionQueries Named Plsql Stored Function Queries}'. - * - * - * @return the meta object for the containment reference list 'Named Plsql Stored Function Queries'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMappedSuperclass_2_3#getNamedPlsqlStoredFunctionQueries() - * @see #getXmlMappedSuperclass_2_3() - * @generated - */ - public EReference getXmlMappedSuperclass_2_3_NamedPlsqlStoredFunctionQueries() - { - return (EReference)xmlMappedSuperclass_2_3EClass.getEStructuralFeatures().get(1); - } - - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMappedSuperclass_2_3#getNamedPlsqlStoredProcedureQueries Named Plsql Stored Procedure Queries}'. - * - * - * @return the meta object for the containment reference list 'Named Plsql Stored Procedure Queries'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMappedSuperclass_2_3#getNamedPlsqlStoredProcedureQueries() - * @see #getXmlMappedSuperclass_2_3() - * @generated - */ - public EReference getXmlMappedSuperclass_2_3_NamedPlsqlStoredProcedureQueries() - { - return (EReference)xmlMappedSuperclass_2_3EClass.getEStructuralFeatures().get(2); - } - - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMappedSuperclass_2_3#getPlsqlRecords Plsql Records}'. - * - * - * @return the meta object for the containment reference list 'Plsql Records'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMappedSuperclass_2_3#getPlsqlRecords() - * @see #getXmlMappedSuperclass_2_3() - * @generated - */ - public EReference getXmlMappedSuperclass_2_3_PlsqlRecords() - { - return (EReference)xmlMappedSuperclass_2_3EClass.getEStructuralFeatures().get(3); - } - - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMappedSuperclass_2_3#getPlsqlTables Plsql Tables}'. - * - * - * @return the meta object for the containment reference list 'Plsql Tables'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMappedSuperclass_2_3#getPlsqlTables() - * @see #getXmlMappedSuperclass_2_3() - * @generated - */ - public EReference getXmlMappedSuperclass_2_3_PlsqlTables() - { - return (EReference)xmlMappedSuperclass_2_3EClass.getEStructuralFeatures().get(4); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3 Xml Entity Mappings 23}'. - * - * - * @return the meta object for class 'Xml Entity Mappings 23'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3 - * @generated - */ - public EClass getXmlEntityMappings_2_3() - { - return xmlEntityMappings_2_3EClass; - } - - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3#getTenantDiscriminatorColumns Tenant Discriminator Columns}'. - * - * - * @return the meta object for the containment reference list 'Tenant Discriminator Columns'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3#getTenantDiscriminatorColumns() - * @see #getXmlEntityMappings_2_3() - * @generated - */ - public EReference getXmlEntityMappings_2_3_TenantDiscriminatorColumns() - { - return (EReference)xmlEntityMappings_2_3EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3#getNamedStoredFunctionQueries Named Stored Function Queries}'. - * - * - * @return the meta object for the containment reference list 'Named Stored Function Queries'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3#getNamedStoredFunctionQueries() - * @see #getXmlEntityMappings_2_3() - * @generated - */ - public EReference getXmlEntityMappings_2_3_NamedStoredFunctionQueries() - { - return (EReference)xmlEntityMappings_2_3EClass.getEStructuralFeatures().get(1); - } - - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3#getNamedPlsqlStoredFunctionQueries Named Plsql Stored Function Queries}'. - * - * - * @return the meta object for the containment reference list 'Named Plsql Stored Function Queries'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3#getNamedPlsqlStoredFunctionQueries() - * @see #getXmlEntityMappings_2_3() - * @generated - */ - public EReference getXmlEntityMappings_2_3_NamedPlsqlStoredFunctionQueries() - { - return (EReference)xmlEntityMappings_2_3EClass.getEStructuralFeatures().get(2); - } - - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3#getNamedPlsqlStoredProcedureQueries Named Plsql Stored Procedure Queries}'. - * - * - * @return the meta object for the containment reference list 'Named Plsql Stored Procedure Queries'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3#getNamedPlsqlStoredProcedureQueries() - * @see #getXmlEntityMappings_2_3() - * @generated - */ - public EReference getXmlEntityMappings_2_3_NamedPlsqlStoredProcedureQueries() - { - return (EReference)xmlEntityMappings_2_3EClass.getEStructuralFeatures().get(3); - } - - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3#getPlsqlRecords Plsql Records}'. - * - * - * @return the meta object for the containment reference list 'Plsql Records'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3#getPlsqlRecords() - * @see #getXmlEntityMappings_2_3() - * @generated - */ - public EReference getXmlEntityMappings_2_3_PlsqlRecords() - { - return (EReference)xmlEntityMappings_2_3EClass.getEStructuralFeatures().get(4); - } - - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3#getPlsqlTables Plsql Tables}'. - * - * - * @return the meta object for the containment reference list 'Plsql Tables'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3#getPlsqlTables() - * @see #getXmlEntityMappings_2_3() - * @generated - */ - public EReference getXmlEntityMappings_2_3_PlsqlTables() - { - return (EReference)xmlEntityMappings_2_3EClass.getEStructuralFeatures().get(5); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPersistenceUnitDefaults_2_3 Xml Persistence Unit Defaults 23}'. - * - * - * @return the meta object for class 'Xml Persistence Unit Defaults 23'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPersistenceUnitDefaults_2_3 - * @generated - */ - public EClass getXmlPersistenceUnitDefaults_2_3() - { - return xmlPersistenceUnitDefaults_2_3EClass; - } - - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPersistenceUnitDefaults_2_3#getTenantDiscriminatorColumns Tenant Discriminator Columns}'. - * - * - * @return the meta object for the containment reference list 'Tenant Discriminator Columns'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPersistenceUnitDefaults_2_3#getTenantDiscriminatorColumns() - * @see #getXmlPersistenceUnitDefaults_2_3() - * @generated - */ - public EReference getXmlPersistenceUnitDefaults_2_3_TenantDiscriminatorColumns() - { - return (EReference)xmlPersistenceUnitDefaults_2_3EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPlsqlRecord_2_3 Xml Plsql Record 23}'. - * - * - * @return the meta object for class 'Xml Plsql Record 23'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPlsqlRecord_2_3 - * @generated - */ - public EClass getXmlPlsqlRecord_2_3() - { - return xmlPlsqlRecord_2_3EClass; - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPlsqlRecord_2_3#getName Name}'. - * - * - * @return the meta object for the attribute 'Name'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPlsqlRecord_2_3#getName() - * @see #getXmlPlsqlRecord_2_3() - * @generated - */ - public EAttribute getXmlPlsqlRecord_2_3_Name() - { - return (EAttribute)xmlPlsqlRecord_2_3EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPlsqlTable_2_3 Xml Plsql Table 23}'. - * - * - * @return the meta object for class 'Xml Plsql Table 23'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPlsqlTable_2_3 - * @generated - */ - public EClass getXmlPlsqlTable_2_3() - { - return xmlPlsqlTable_2_3EClass; - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPlsqlTable_2_3#getName Name}'. - * - * - * @return the meta object for the attribute 'Name'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPlsqlTable_2_3#getName() - * @see #getXmlPlsqlTable_2_3() - * @generated - */ - public EAttribute getXmlPlsqlTable_2_3_Name() - { - return (EAttribute)xmlPlsqlTable_2_3EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlStruct_2_3 Xml Struct 23}'. - * - * - * @return the meta object for class 'Xml Struct 23'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlStruct_2_3 - * @generated - */ - public EClass getXmlStruct_2_3() - { - return xmlStruct_2_3EClass; - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlStruct_2_3#getName Name}'. - * - * - * @return the meta object for the attribute 'Name'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlStruct_2_3#getName() - * @see #getXmlStruct_2_3() - * @generated - */ - public EAttribute getXmlStruct_2_3_Name() - { - return (EAttribute)xmlStruct_2_3EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3 Xml Tenant Discriminator Column 23}'. - * - * - * @return the meta object for class 'Xml Tenant Discriminator Column 23'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3 - * @generated - */ - public EClass getXmlTenantDiscriminatorColumn_2_3() - { - return xmlTenantDiscriminatorColumn_2_3EClass; - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3#getContextProperty Context Property}'. - * - * - * @return the meta object for the attribute 'Context Property'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3#getContextProperty() - * @see #getXmlTenantDiscriminatorColumn_2_3() - * @generated - */ - public EAttribute getXmlTenantDiscriminatorColumn_2_3_ContextProperty() - { - return (EAttribute)xmlTenantDiscriminatorColumn_2_3EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3#getTable Table}'. - * - * - * @return the meta object for the attribute 'Table'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3#getTable() - * @see #getXmlTenantDiscriminatorColumn_2_3() - * @generated - */ - public EAttribute getXmlTenantDiscriminatorColumn_2_3_Table() - { - return (EAttribute)xmlTenantDiscriminatorColumn_2_3EClass.getEStructuralFeatures().get(1); - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3#getPrimaryKey Primary Key}'. - * - * - * @return the meta object for the attribute 'Primary Key'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3#getPrimaryKey() - * @see #getXmlTenantDiscriminatorColumn_2_3() - * @generated - */ - public EAttribute getXmlTenantDiscriminatorColumn_2_3_PrimaryKey() - { - return (EAttribute)xmlTenantDiscriminatorColumn_2_3EClass.getEStructuralFeatures().get(2); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlAttributes_2_3 Xml Attributes 23}'. - * - * - * @return the meta object for class 'Xml Attributes 23'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlAttributes_2_3 - * @generated - */ - public EClass getXmlAttributes_2_3() - { - return xmlAttributes_2_3EClass; - } - - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlAttributes_2_3#getStructures Structures}'. - * - * - * @return the meta object for the containment reference list 'Structures'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlAttributes_2_3#getStructures() - * @see #getXmlAttributes_2_3() - * @generated - */ - public EReference getXmlAttributes_2_3_Structures() - { - return (EReference)xmlAttributes_2_3EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlAttributes_2_3#getArrays Arrays}'. - * - * - * @return the meta object for the containment reference list 'Arrays'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlAttributes_2_3#getArrays() - * @see #getXmlAttributes_2_3() - * @generated - */ - public EReference getXmlAttributes_2_3_Arrays() - { - return (EReference)xmlAttributes_2_3EClass.getEStructuralFeatures().get(1); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlStructure_2_3 Xml Structure 23}'. - * - * - * @return the meta object for class 'Xml Structure 23'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlStructure_2_3 - * @generated - */ - public EClass getXmlStructure_2_3() - { - return xmlStructure_2_3EClass; - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlArray_2_3 Xml Array 23}'. - * - * - * @return the meta object for class 'Xml Array 23'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlArray_2_3 - * @generated - */ - public EClass getXmlArray_2_3() - { - return xmlArray_2_3EClass; - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlArray_2_3#getDatabaseType Database Type}'. - * - * - * @return the meta object for the attribute 'Database Type'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlArray_2_3#getDatabaseType() - * @see #getXmlArray_2_3() - * @generated - */ - public EAttribute getXmlArray_2_3_DatabaseType() - { - return (EAttribute)xmlArray_2_3EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlArray_2_3#getTargetClass Target Class}'. - * - * - * @return the meta object for the attribute 'Target Class'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlArray_2_3#getTargetClass() - * @see #getXmlArray_2_3() - * @generated - */ - public EAttribute getXmlArray_2_3_TargetClass() - { - return (EAttribute)xmlArray_2_3EClass.getEStructuralFeatures().get(1); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlElementCollection_2_3 Xml Element Collection 23}'. - * - * - * @return the meta object for class 'Xml Element Collection 23'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlElementCollection_2_3 - * @generated - */ - public EClass getXmlElementCollection_2_3() - { - return xmlElementCollection_2_3EClass; - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlElementCollection_2_3#getCompositeMember Composite Member}'. - * - * - * @return the meta object for the attribute 'Composite Member'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlElementCollection_2_3#getCompositeMember() - * @see #getXmlElementCollection_2_3() - * @generated - */ - public EAttribute getXmlElementCollection_2_3_CompositeMember() - { - return (EAttribute)xmlElementCollection_2_3EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for enum '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.MultitenantType Multitenant Type}'. - * - * - * @return the meta object for enum 'Multitenant Type'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.MultitenantType - * @generated - */ - public EEnum getMultitenantType() - { - return multitenantTypeEEnum; - } - - - /** - * Returns the factory that creates the instances of the model. - * - * - * @return the factory that creates the instances of the model. - * @generated - */ - public EclipseLinkOrmV2_3Factory getEclipseLinkOrmV2_3Factory() - { - return (EclipseLinkOrmV2_3Factory)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 - xmlArray_2_3EClass = createEClass(XML_ARRAY_23); - createEAttribute(xmlArray_2_3EClass, XML_ARRAY_23__DATABASE_TYPE); - createEAttribute(xmlArray_2_3EClass, XML_ARRAY_23__TARGET_CLASS); - - xmlAttributes_2_3EClass = createEClass(XML_ATTRIBUTES_23); - createEReference(xmlAttributes_2_3EClass, XML_ATTRIBUTES_23__STRUCTURES); - createEReference(xmlAttributes_2_3EClass, XML_ATTRIBUTES_23__ARRAYS); - - xmlElementCollection_2_3EClass = createEClass(XML_ELEMENT_COLLECTION_23); - createEAttribute(xmlElementCollection_2_3EClass, XML_ELEMENT_COLLECTION_23__COMPOSITE_MEMBER); - - xmlEmbeddable_2_3EClass = createEClass(XML_EMBEDDABLE_23); - createEReference(xmlEmbeddable_2_3EClass, XML_EMBEDDABLE_23__PLSQL_RECORDS); - createEReference(xmlEmbeddable_2_3EClass, XML_EMBEDDABLE_23__PLSQL_TABLES); - createEReference(xmlEmbeddable_2_3EClass, XML_EMBEDDABLE_23__STRUCT); - - xmlEntity_2_3EClass = createEClass(XML_ENTITY_23); - createEReference(xmlEntity_2_3EClass, XML_ENTITY_23__NAMED_STORED_FUNCTION_QUERIES); - createEReference(xmlEntity_2_3EClass, XML_ENTITY_23__NAMED_PLSQL_STORED_FUNCTION_QUERIES); - createEReference(xmlEntity_2_3EClass, XML_ENTITY_23__NAMED_PLSQL_STORED_PROCEDURE_QUERIES); - createEReference(xmlEntity_2_3EClass, XML_ENTITY_23__PLSQL_RECORDS); - createEReference(xmlEntity_2_3EClass, XML_ENTITY_23__PLSQL_TABLES); - createEReference(xmlEntity_2_3EClass, XML_ENTITY_23__STRUCT); - - xmlEntityMappings_2_3EClass = createEClass(XML_ENTITY_MAPPINGS_23); - createEReference(xmlEntityMappings_2_3EClass, XML_ENTITY_MAPPINGS_23__TENANT_DISCRIMINATOR_COLUMNS); - createEReference(xmlEntityMappings_2_3EClass, XML_ENTITY_MAPPINGS_23__NAMED_STORED_FUNCTION_QUERIES); - createEReference(xmlEntityMappings_2_3EClass, XML_ENTITY_MAPPINGS_23__NAMED_PLSQL_STORED_FUNCTION_QUERIES); - createEReference(xmlEntityMappings_2_3EClass, XML_ENTITY_MAPPINGS_23__NAMED_PLSQL_STORED_PROCEDURE_QUERIES); - createEReference(xmlEntityMappings_2_3EClass, XML_ENTITY_MAPPINGS_23__PLSQL_RECORDS); - createEReference(xmlEntityMappings_2_3EClass, XML_ENTITY_MAPPINGS_23__PLSQL_TABLES); - - xmlMappedSuperclass_2_3EClass = createEClass(XML_MAPPED_SUPERCLASS_23); - createEReference(xmlMappedSuperclass_2_3EClass, XML_MAPPED_SUPERCLASS_23__NAMED_STORED_FUNCTION_QUERIES); - createEReference(xmlMappedSuperclass_2_3EClass, XML_MAPPED_SUPERCLASS_23__NAMED_PLSQL_STORED_FUNCTION_QUERIES); - createEReference(xmlMappedSuperclass_2_3EClass, XML_MAPPED_SUPERCLASS_23__NAMED_PLSQL_STORED_PROCEDURE_QUERIES); - createEReference(xmlMappedSuperclass_2_3EClass, XML_MAPPED_SUPERCLASS_23__PLSQL_RECORDS); - createEReference(xmlMappedSuperclass_2_3EClass, XML_MAPPED_SUPERCLASS_23__PLSQL_TABLES); - - xmlMultitenant_2_3EClass = createEClass(XML_MULTITENANT_23); - createEAttribute(xmlMultitenant_2_3EClass, XML_MULTITENANT_23__TYPE); - createEReference(xmlMultitenant_2_3EClass, XML_MULTITENANT_23__TENANT_DISCRIMINATOR_COLUMNS); - - xmlNamedPlsqlStoredFunctionQuery_2_3EClass = createEClass(XML_NAMED_PLSQL_STORED_FUNCTION_QUERY_23); - createEAttribute(xmlNamedPlsqlStoredFunctionQuery_2_3EClass, XML_NAMED_PLSQL_STORED_FUNCTION_QUERY_23__NAME); - - xmlNamedPlsqlStoredProcedureQuery_2_3EClass = createEClass(XML_NAMED_PLSQL_STORED_PROCEDURE_QUERY_23); - createEAttribute(xmlNamedPlsqlStoredProcedureQuery_2_3EClass, XML_NAMED_PLSQL_STORED_PROCEDURE_QUERY_23__NAME); - - xmlNamedStoredFunctionQuery_2_3EClass = createEClass(XML_NAMED_STORED_FUNCTION_QUERY_23); - createEAttribute(xmlNamedStoredFunctionQuery_2_3EClass, XML_NAMED_STORED_FUNCTION_QUERY_23__NAME); - - xmlPersistenceUnitDefaults_2_3EClass = createEClass(XML_PERSISTENCE_UNIT_DEFAULTS_23); - createEReference(xmlPersistenceUnitDefaults_2_3EClass, XML_PERSISTENCE_UNIT_DEFAULTS_23__TENANT_DISCRIMINATOR_COLUMNS); - - xmlPlsqlRecord_2_3EClass = createEClass(XML_PLSQL_RECORD_23); - createEAttribute(xmlPlsqlRecord_2_3EClass, XML_PLSQL_RECORD_23__NAME); - - xmlPlsqlTable_2_3EClass = createEClass(XML_PLSQL_TABLE_23); - createEAttribute(xmlPlsqlTable_2_3EClass, XML_PLSQL_TABLE_23__NAME); - - xmlStruct_2_3EClass = createEClass(XML_STRUCT_23); - createEAttribute(xmlStruct_2_3EClass, XML_STRUCT_23__NAME); - - xmlTenantDiscriminatorColumn_2_3EClass = createEClass(XML_TENANT_DISCRIMINATOR_COLUMN_23); - createEAttribute(xmlTenantDiscriminatorColumn_2_3EClass, XML_TENANT_DISCRIMINATOR_COLUMN_23__CONTEXT_PROPERTY); - createEAttribute(xmlTenantDiscriminatorColumn_2_3EClass, XML_TENANT_DISCRIMINATOR_COLUMN_23__TABLE); - createEAttribute(xmlTenantDiscriminatorColumn_2_3EClass, XML_TENANT_DISCRIMINATOR_COLUMN_23__PRIMARY_KEY); - - xmlStructure_2_3EClass = createEClass(XML_STRUCTURE_23); - - // Create enums - multitenantTypeEEnum = createEEnum(MULTITENANT_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 - EclipseLinkOrmPackage theEclipseLinkOrmPackage = (EclipseLinkOrmPackage)EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmPackage.eNS_URI); - OrmPackage theOrmPackage = (OrmPackage)EPackage.Registry.INSTANCE.getEPackage(OrmPackage.eNS_URI); - XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - xmlArray_2_3EClass.getESuperTypes().add(theEclipseLinkOrmPackage.getXmlConverterContainer()); - xmlArray_2_3EClass.getESuperTypes().add(theOrmPackage.getXmlConvertibleMapping()); - xmlArray_2_3EClass.getESuperTypes().add(theOrmPackage.getColumnMapping()); - xmlEntity_2_3EClass.getESuperTypes().add(theEclipseLinkOrmPackage.getXmlMultitenantHolder()); - xmlMappedSuperclass_2_3EClass.getESuperTypes().add(theEclipseLinkOrmPackage.getXmlMultitenantHolder()); - xmlTenantDiscriminatorColumn_2_3EClass.getESuperTypes().add(theOrmPackage.getXmlBaseDiscriminatorColumn()); - - // Initialize classes and features; add operations and parameters - initEClass(xmlArray_2_3EClass, XmlArray_2_3.class, "XmlArray_2_3", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlArray_2_3_DatabaseType(), theXMLTypePackage.getString(), "databaseType", null, 0, 1, XmlArray_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXmlArray_2_3_TargetClass(), theXMLTypePackage.getString(), "targetClass", null, 0, 1, XmlArray_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlAttributes_2_3EClass, XmlAttributes_2_3.class, "XmlAttributes_2_3", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getXmlAttributes_2_3_Structures(), this.getXmlStructure_2_3(), null, "structures", null, 0, -1, XmlAttributes_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXmlAttributes_2_3_Arrays(), this.getXmlArray_2_3(), null, "arrays", null, 0, -1, XmlAttributes_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlElementCollection_2_3EClass, XmlElementCollection_2_3.class, "XmlElementCollection_2_3", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlElementCollection_2_3_CompositeMember(), theXMLTypePackage.getString(), "compositeMember", null, 0, 1, XmlElementCollection_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlEmbeddable_2_3EClass, XmlEmbeddable_2_3.class, "XmlEmbeddable_2_3", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getXmlEmbeddable_2_3_PlsqlRecords(), this.getXmlPlsqlRecord_2_3(), null, "plsqlRecords", null, 0, -1, XmlEmbeddable_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXmlEmbeddable_2_3_PlsqlTables(), theEclipseLinkOrmPackage.getXmlPlsqlTable(), null, "plsqlTables", null, 0, -1, XmlEmbeddable_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXmlEmbeddable_2_3_Struct(), this.getXmlStruct_2_3(), null, "struct", null, 0, 1, XmlEmbeddable_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlEntity_2_3EClass, XmlEntity_2_3.class, "XmlEntity_2_3", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getXmlEntity_2_3_NamedStoredFunctionQueries(), this.getXmlNamedStoredFunctionQuery_2_3(), null, "namedStoredFunctionQueries", null, 0, -1, XmlEntity_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXmlEntity_2_3_NamedPlsqlStoredFunctionQueries(), this.getXmlNamedPlsqlStoredFunctionQuery_2_3(), null, "namedPlsqlStoredFunctionQueries", null, 0, -1, XmlEntity_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXmlEntity_2_3_NamedPlsqlStoredProcedureQueries(), this.getXmlNamedPlsqlStoredProcedureQuery_2_3(), null, "namedPlsqlStoredProcedureQueries", null, 0, -1, XmlEntity_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXmlEntity_2_3_PlsqlRecords(), this.getXmlPlsqlRecord_2_3(), null, "plsqlRecords", null, 0, -1, XmlEntity_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXmlEntity_2_3_PlsqlTables(), theEclipseLinkOrmPackage.getXmlPlsqlTable(), null, "plsqlTables", null, 0, -1, XmlEntity_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXmlEntity_2_3_Struct(), this.getXmlStruct_2_3(), null, "struct", null, 0, 1, XmlEntity_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlEntityMappings_2_3EClass, XmlEntityMappings_2_3.class, "XmlEntityMappings_2_3", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getXmlEntityMappings_2_3_TenantDiscriminatorColumns(), this.getXmlTenantDiscriminatorColumn_2_3(), null, "tenantDiscriminatorColumns", null, 0, -1, XmlEntityMappings_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXmlEntityMappings_2_3_NamedStoredFunctionQueries(), this.getXmlNamedStoredFunctionQuery_2_3(), null, "namedStoredFunctionQueries", null, 0, -1, XmlEntityMappings_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXmlEntityMappings_2_3_NamedPlsqlStoredFunctionQueries(), this.getXmlNamedPlsqlStoredFunctionQuery_2_3(), null, "namedPlsqlStoredFunctionQueries", null, 0, -1, XmlEntityMappings_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXmlEntityMappings_2_3_NamedPlsqlStoredProcedureQueries(), this.getXmlNamedPlsqlStoredProcedureQuery_2_3(), null, "namedPlsqlStoredProcedureQueries", null, 0, -1, XmlEntityMappings_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXmlEntityMappings_2_3_PlsqlRecords(), this.getXmlPlsqlRecord_2_3(), null, "plsqlRecords", null, 0, -1, XmlEntityMappings_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXmlEntityMappings_2_3_PlsqlTables(), theEclipseLinkOrmPackage.getXmlPlsqlTable(), null, "plsqlTables", null, 0, -1, XmlEntityMappings_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlMappedSuperclass_2_3EClass, XmlMappedSuperclass_2_3.class, "XmlMappedSuperclass_2_3", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getXmlMappedSuperclass_2_3_NamedStoredFunctionQueries(), this.getXmlNamedStoredFunctionQuery_2_3(), null, "namedStoredFunctionQueries", null, 0, -1, XmlMappedSuperclass_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXmlMappedSuperclass_2_3_NamedPlsqlStoredFunctionQueries(), this.getXmlNamedPlsqlStoredFunctionQuery_2_3(), null, "namedPlsqlStoredFunctionQueries", null, 0, -1, XmlMappedSuperclass_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXmlMappedSuperclass_2_3_NamedPlsqlStoredProcedureQueries(), this.getXmlNamedPlsqlStoredProcedureQuery_2_3(), null, "namedPlsqlStoredProcedureQueries", null, 0, -1, XmlMappedSuperclass_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXmlMappedSuperclass_2_3_PlsqlRecords(), this.getXmlPlsqlRecord_2_3(), null, "plsqlRecords", null, 0, -1, XmlMappedSuperclass_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXmlMappedSuperclass_2_3_PlsqlTables(), theEclipseLinkOrmPackage.getXmlPlsqlTable(), null, "plsqlTables", null, 0, -1, XmlMappedSuperclass_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlMultitenant_2_3EClass, XmlMultitenant_2_3.class, "XmlMultitenant_2_3", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlMultitenant_2_3_Type(), this.getMultitenantType(), "type", null, 0, 1, XmlMultitenant_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXmlMultitenant_2_3_TenantDiscriminatorColumns(), this.getXmlTenantDiscriminatorColumn_2_3(), null, "tenantDiscriminatorColumns", null, 0, -1, XmlMultitenant_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlNamedPlsqlStoredFunctionQuery_2_3EClass, XmlNamedPlsqlStoredFunctionQuery_2_3.class, "XmlNamedPlsqlStoredFunctionQuery_2_3", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlNamedPlsqlStoredFunctionQuery_2_3_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, XmlNamedPlsqlStoredFunctionQuery_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlNamedPlsqlStoredProcedureQuery_2_3EClass, XmlNamedPlsqlStoredProcedureQuery_2_3.class, "XmlNamedPlsqlStoredProcedureQuery_2_3", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlNamedPlsqlStoredProcedureQuery_2_3_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, XmlNamedPlsqlStoredProcedureQuery_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlNamedStoredFunctionQuery_2_3EClass, XmlNamedStoredFunctionQuery_2_3.class, "XmlNamedStoredFunctionQuery_2_3", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlNamedStoredFunctionQuery_2_3_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, XmlNamedStoredFunctionQuery_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlPersistenceUnitDefaults_2_3EClass, XmlPersistenceUnitDefaults_2_3.class, "XmlPersistenceUnitDefaults_2_3", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getXmlPersistenceUnitDefaults_2_3_TenantDiscriminatorColumns(), this.getXmlTenantDiscriminatorColumn_2_3(), null, "tenantDiscriminatorColumns", null, 0, -1, XmlPersistenceUnitDefaults_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlPlsqlRecord_2_3EClass, XmlPlsqlRecord_2_3.class, "XmlPlsqlRecord_2_3", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlPlsqlRecord_2_3_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, XmlPlsqlRecord_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlPlsqlTable_2_3EClass, XmlPlsqlTable_2_3.class, "XmlPlsqlTable_2_3", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlPlsqlTable_2_3_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, XmlPlsqlTable_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlStruct_2_3EClass, XmlStruct_2_3.class, "XmlStruct_2_3", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlStruct_2_3_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, XmlStruct_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlTenantDiscriminatorColumn_2_3EClass, XmlTenantDiscriminatorColumn_2_3.class, "XmlTenantDiscriminatorColumn_2_3", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlTenantDiscriminatorColumn_2_3_ContextProperty(), theXMLTypePackage.getString(), "contextProperty", null, 0, 1, XmlTenantDiscriminatorColumn_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXmlTenantDiscriminatorColumn_2_3_Table(), theXMLTypePackage.getString(), "table", null, 0, 1, XmlTenantDiscriminatorColumn_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXmlTenantDiscriminatorColumn_2_3_PrimaryKey(), ecorePackage.getEBooleanObject(), "primaryKey", null, 0, 1, XmlTenantDiscriminatorColumn_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlStructure_2_3EClass, XmlStructure_2_3.class, "XmlStructure_2_3", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - // Initialize enums and add enum literals - initEEnum(multitenantTypeEEnum, MultitenantType.class, "MultitenantType"); - addEEnumLiteral(multitenantTypeEEnum, MultitenantType.SINGLE_TABLE); - addEEnumLiteral(multitenantTypeEEnum, MultitenantType.TABLE_PER_TENANT); - addEEnumLiteral(multitenantTypeEEnum, MultitenantType.VPD); - } - - /** - * - * Defines literals for the meta objects that represent - *

    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • - *
- * - * @generated - */ - public interface Literals - { - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEmbeddable_2_3 Xml Embeddable 23}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEmbeddable_2_3 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlEmbeddable_2_3() - * @generated - */ - public static final EClass XML_EMBEDDABLE_23 = eINSTANCE.getXmlEmbeddable_2_3(); - - /** - * The meta object literal for the 'Plsql Records' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_EMBEDDABLE_23__PLSQL_RECORDS = eINSTANCE.getXmlEmbeddable_2_3_PlsqlRecords(); - - /** - * The meta object literal for the 'Plsql Tables' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_EMBEDDABLE_23__PLSQL_TABLES = eINSTANCE.getXmlEmbeddable_2_3_PlsqlTables(); - - /** - * The meta object literal for the 'Struct' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_EMBEDDABLE_23__STRUCT = eINSTANCE.getXmlEmbeddable_2_3_Struct(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMultitenant_2_3 Xml Multitenant 23}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMultitenant_2_3 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlMultitenant_2_3() - * @generated - */ - public static final EClass XML_MULTITENANT_23 = eINSTANCE.getXmlMultitenant_2_3(); - - /** - * The meta object literal for the 'Type' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_MULTITENANT_23__TYPE = eINSTANCE.getXmlMultitenant_2_3_Type(); - - /** - * The meta object literal for the 'Tenant Discriminator Columns' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_MULTITENANT_23__TENANT_DISCRIMINATOR_COLUMNS = eINSTANCE.getXmlMultitenant_2_3_TenantDiscriminatorColumns(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredFunctionQuery_2_3 Xml Named Plsql Stored Function Query 23}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredFunctionQuery_2_3 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlNamedPlsqlStoredFunctionQuery_2_3() - * @generated - */ - public static final EClass XML_NAMED_PLSQL_STORED_FUNCTION_QUERY_23 = eINSTANCE.getXmlNamedPlsqlStoredFunctionQuery_2_3(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_NAMED_PLSQL_STORED_FUNCTION_QUERY_23__NAME = eINSTANCE.getXmlNamedPlsqlStoredFunctionQuery_2_3_Name(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredProcedureQuery_2_3 Xml Named Plsql Stored Procedure Query 23}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredProcedureQuery_2_3 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlNamedPlsqlStoredProcedureQuery_2_3() - * @generated - */ - public static final EClass XML_NAMED_PLSQL_STORED_PROCEDURE_QUERY_23 = eINSTANCE.getXmlNamedPlsqlStoredProcedureQuery_2_3(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_NAMED_PLSQL_STORED_PROCEDURE_QUERY_23__NAME = eINSTANCE.getXmlNamedPlsqlStoredProcedureQuery_2_3_Name(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedStoredFunctionQuery_2_3 Xml Named Stored Function Query 23}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedStoredFunctionQuery_2_3 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlNamedStoredFunctionQuery_2_3() - * @generated - */ - public static final EClass XML_NAMED_STORED_FUNCTION_QUERY_23 = eINSTANCE.getXmlNamedStoredFunctionQuery_2_3(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_NAMED_STORED_FUNCTION_QUERY_23__NAME = eINSTANCE.getXmlNamedStoredFunctionQuery_2_3_Name(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3 Xml Entity 23}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlEntity_2_3() - * @generated - */ - public static final EClass XML_ENTITY_23 = eINSTANCE.getXmlEntity_2_3(); - - /** - * The meta object literal for the 'Named Stored Function Queries' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_ENTITY_23__NAMED_STORED_FUNCTION_QUERIES = eINSTANCE.getXmlEntity_2_3_NamedStoredFunctionQueries(); - - /** - * The meta object literal for the 'Named Plsql Stored Function Queries' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_ENTITY_23__NAMED_PLSQL_STORED_FUNCTION_QUERIES = eINSTANCE.getXmlEntity_2_3_NamedPlsqlStoredFunctionQueries(); - - /** - * The meta object literal for the 'Named Plsql Stored Procedure Queries' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_ENTITY_23__NAMED_PLSQL_STORED_PROCEDURE_QUERIES = eINSTANCE.getXmlEntity_2_3_NamedPlsqlStoredProcedureQueries(); - - /** - * The meta object literal for the 'Plsql Records' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_ENTITY_23__PLSQL_RECORDS = eINSTANCE.getXmlEntity_2_3_PlsqlRecords(); - - /** - * The meta object literal for the 'Plsql Tables' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_ENTITY_23__PLSQL_TABLES = eINSTANCE.getXmlEntity_2_3_PlsqlTables(); - - /** - * The meta object literal for the 'Struct' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_ENTITY_23__STRUCT = eINSTANCE.getXmlEntity_2_3_Struct(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMappedSuperclass_2_3 Xml Mapped Superclass 23}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMappedSuperclass_2_3 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlMappedSuperclass_2_3() - * @generated - */ - public static final EClass XML_MAPPED_SUPERCLASS_23 = eINSTANCE.getXmlMappedSuperclass_2_3(); - - /** - * The meta object literal for the 'Named Stored Function Queries' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_MAPPED_SUPERCLASS_23__NAMED_STORED_FUNCTION_QUERIES = eINSTANCE.getXmlMappedSuperclass_2_3_NamedStoredFunctionQueries(); - - /** - * The meta object literal for the 'Named Plsql Stored Function Queries' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_MAPPED_SUPERCLASS_23__NAMED_PLSQL_STORED_FUNCTION_QUERIES = eINSTANCE.getXmlMappedSuperclass_2_3_NamedPlsqlStoredFunctionQueries(); - - /** - * The meta object literal for the 'Named Plsql Stored Procedure Queries' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_MAPPED_SUPERCLASS_23__NAMED_PLSQL_STORED_PROCEDURE_QUERIES = eINSTANCE.getXmlMappedSuperclass_2_3_NamedPlsqlStoredProcedureQueries(); - - /** - * The meta object literal for the 'Plsql Records' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_MAPPED_SUPERCLASS_23__PLSQL_RECORDS = eINSTANCE.getXmlMappedSuperclass_2_3_PlsqlRecords(); - - /** - * The meta object literal for the 'Plsql Tables' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_MAPPED_SUPERCLASS_23__PLSQL_TABLES = eINSTANCE.getXmlMappedSuperclass_2_3_PlsqlTables(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3 Xml Entity Mappings 23}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlEntityMappings_2_3() - * @generated - */ - public static final EClass XML_ENTITY_MAPPINGS_23 = eINSTANCE.getXmlEntityMappings_2_3(); - - /** - * The meta object literal for the 'Tenant Discriminator Columns' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_ENTITY_MAPPINGS_23__TENANT_DISCRIMINATOR_COLUMNS = eINSTANCE.getXmlEntityMappings_2_3_TenantDiscriminatorColumns(); - - /** - * The meta object literal for the 'Named Stored Function Queries' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_ENTITY_MAPPINGS_23__NAMED_STORED_FUNCTION_QUERIES = eINSTANCE.getXmlEntityMappings_2_3_NamedStoredFunctionQueries(); - - /** - * The meta object literal for the 'Named Plsql Stored Function Queries' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_ENTITY_MAPPINGS_23__NAMED_PLSQL_STORED_FUNCTION_QUERIES = eINSTANCE.getXmlEntityMappings_2_3_NamedPlsqlStoredFunctionQueries(); - - /** - * The meta object literal for the 'Named Plsql Stored Procedure Queries' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_ENTITY_MAPPINGS_23__NAMED_PLSQL_STORED_PROCEDURE_QUERIES = eINSTANCE.getXmlEntityMappings_2_3_NamedPlsqlStoredProcedureQueries(); - - /** - * The meta object literal for the 'Plsql Records' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_ENTITY_MAPPINGS_23__PLSQL_RECORDS = eINSTANCE.getXmlEntityMappings_2_3_PlsqlRecords(); - - /** - * The meta object literal for the 'Plsql Tables' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_ENTITY_MAPPINGS_23__PLSQL_TABLES = eINSTANCE.getXmlEntityMappings_2_3_PlsqlTables(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPersistenceUnitDefaults_2_3 Xml Persistence Unit Defaults 23}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPersistenceUnitDefaults_2_3 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlPersistenceUnitDefaults_2_3() - * @generated - */ - public static final EClass XML_PERSISTENCE_UNIT_DEFAULTS_23 = eINSTANCE.getXmlPersistenceUnitDefaults_2_3(); - - /** - * The meta object literal for the 'Tenant Discriminator Columns' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_PERSISTENCE_UNIT_DEFAULTS_23__TENANT_DISCRIMINATOR_COLUMNS = eINSTANCE.getXmlPersistenceUnitDefaults_2_3_TenantDiscriminatorColumns(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPlsqlRecord_2_3 Xml Plsql Record 23}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPlsqlRecord_2_3 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlPlsqlRecord_2_3() - * @generated - */ - public static final EClass XML_PLSQL_RECORD_23 = eINSTANCE.getXmlPlsqlRecord_2_3(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_PLSQL_RECORD_23__NAME = eINSTANCE.getXmlPlsqlRecord_2_3_Name(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPlsqlTable_2_3 Xml Plsql Table 23}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPlsqlTable_2_3 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlPlsqlTable_2_3() - * @generated - */ - public static final EClass XML_PLSQL_TABLE_23 = eINSTANCE.getXmlPlsqlTable_2_3(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_PLSQL_TABLE_23__NAME = eINSTANCE.getXmlPlsqlTable_2_3_Name(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlStruct_2_3 Xml Struct 23}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlStruct_2_3 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlStruct_2_3() - * @generated - */ - public static final EClass XML_STRUCT_23 = eINSTANCE.getXmlStruct_2_3(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_STRUCT_23__NAME = eINSTANCE.getXmlStruct_2_3_Name(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3 Xml Tenant Discriminator Column 23}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlTenantDiscriminatorColumn_2_3() - * @generated - */ - public static final EClass XML_TENANT_DISCRIMINATOR_COLUMN_23 = eINSTANCE.getXmlTenantDiscriminatorColumn_2_3(); - - /** - * The meta object literal for the 'Context Property' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_TENANT_DISCRIMINATOR_COLUMN_23__CONTEXT_PROPERTY = eINSTANCE.getXmlTenantDiscriminatorColumn_2_3_ContextProperty(); - - /** - * The meta object literal for the 'Table' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_TENANT_DISCRIMINATOR_COLUMN_23__TABLE = eINSTANCE.getXmlTenantDiscriminatorColumn_2_3_Table(); - - /** - * The meta object literal for the 'Primary Key' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_TENANT_DISCRIMINATOR_COLUMN_23__PRIMARY_KEY = eINSTANCE.getXmlTenantDiscriminatorColumn_2_3_PrimaryKey(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlAttributes_2_3 Xml Attributes 23}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlAttributes_2_3 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlAttributes_2_3() - * @generated - */ - public static final EClass XML_ATTRIBUTES_23 = eINSTANCE.getXmlAttributes_2_3(); - - /** - * The meta object literal for the 'Structures' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_ATTRIBUTES_23__STRUCTURES = eINSTANCE.getXmlAttributes_2_3_Structures(); - - /** - * The meta object literal for the 'Arrays' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_ATTRIBUTES_23__ARRAYS = eINSTANCE.getXmlAttributes_2_3_Arrays(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlStructure_2_3 Xml Structure 23}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlStructure_2_3 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlStructure_2_3() - * @generated - */ - public static final EClass XML_STRUCTURE_23 = eINSTANCE.getXmlStructure_2_3(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlArray_2_3 Xml Array 23}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlArray_2_3 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlArray_2_3() - * @generated - */ - public static final EClass XML_ARRAY_23 = eINSTANCE.getXmlArray_2_3(); - - /** - * The meta object literal for the 'Database Type' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_ARRAY_23__DATABASE_TYPE = eINSTANCE.getXmlArray_2_3_DatabaseType(); - - /** - * The meta object literal for the 'Target Class' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_ARRAY_23__TARGET_CLASS = eINSTANCE.getXmlArray_2_3_TargetClass(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlElementCollection_2_3 Xml Element Collection 23}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlElementCollection_2_3 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlElementCollection_2_3() - * @generated - */ - public static final EClass XML_ELEMENT_COLLECTION_23 = eINSTANCE.getXmlElementCollection_2_3(); - - /** - * The meta object literal for the 'Composite Member' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_ELEMENT_COLLECTION_23__COMPOSITE_MEMBER = eINSTANCE.getXmlElementCollection_2_3_CompositeMember(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.MultitenantType Multitenant Type}' enum. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.MultitenantType - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getMultitenantType() - * @generated - */ - public static final EEnum MULTITENANT_TYPE = eINSTANCE.getMultitenantType(); - - } - -} //EclipseLinkOrmV2_3Package diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/MultitenantType.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/MultitenantType.java deleted file mode 100644 index cfcf92e38e..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/MultitenantType.java +++ /dev/null @@ -1,254 +0,0 @@ -/******************************************************************************* - * 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.v2_3; - -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 'Multitenant Type', - * and utility methods for working with them. - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getMultitenantType() - * @model - * @generated - */ -public enum MultitenantType implements Enumerator -{ - /** - * The 'SINGLE TABLE' literal object. - * - * - * @see #SINGLE_TABLE_VALUE - * @generated - * @ordered - */ - SINGLE_TABLE(0, "SINGLE_TABLE", "SINGLE_TABLE"), - - /** - * The 'TABLE PER TENANT' literal object. - * - * - * @see #TABLE_PER_TENANT_VALUE - * @generated - * @ordered - */ - TABLE_PER_TENANT(1, "TABLE_PER_TENANT", "TABLE_PER_TENANT"), /** - * The 'VPD' literal object. - * - * - * @see #VPD_VALUE - * @generated - * @ordered - */ - VPD(2, "VPD", "VPD"); - - /** - * The 'SINGLE TABLE' literal value. - * - *

- * If the meaning of 'SINGLE TABLE' literal object isn't clear, - * there really should be more of a description here... - *

- * - * @see #SINGLE_TABLE - * @model - * @generated - * @ordered - */ - public static final int SINGLE_TABLE_VALUE = 0; - - /** - * The 'TABLE PER TENANT' literal value. - * - *

- * If the meaning of 'TABLE PER TENANT' literal object isn't clear, - * there really should be more of a description here... - *

- * - * @see #TABLE_PER_TENANT - * @model - * @generated - * @ordered - */ - public static final int TABLE_PER_TENANT_VALUE = 1; - - /** - * The 'VPD' literal value. - * - *

- * If the meaning of 'VPD' literal object isn't clear, - * there really should be more of a description here... - *

- * - * @see #VPD - * @model - * @generated - * @ordered - */ - public static final int VPD_VALUE = 2; - - /** - * An array of all the 'Multitenant Type' enumerators. - * - * - * @generated - */ - private static final MultitenantType[] VALUES_ARRAY = - new MultitenantType[] - { - SINGLE_TABLE, - TABLE_PER_TENANT, - VPD, - }; - - /** - * A public read-only list of all the 'Multitenant Type' enumerators. - * - * - * @generated - */ - public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the 'Multitenant Type' literal with the specified literal value. - * - * - * @generated - */ - public static MultitenantType get(String literal) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - MultitenantType result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) - { - return result; - } - } - return null; - } - - /** - * Returns the 'Multitenant Type' literal with the specified name. - * - * - * @generated - */ - public static MultitenantType getByName(String name) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - MultitenantType result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) - { - return result; - } - } - return null; - } - - /** - * Returns the 'Multitenant Type' literal with the specified integer value. - * - * - * @generated - */ - public static MultitenantType get(int value) - { - switch (value) - { - case SINGLE_TABLE_VALUE: return SINGLE_TABLE; - case TABLE_PER_TENANT_VALUE: return TABLE_PER_TENANT; - case VPD_VALUE: return VPD; - } - return null; - } - - /** - * - * - * @generated - */ - private final int value; - - /** - * - * - * @generated - */ - private final String name; - - /** - * - * - * @generated - */ - private final String literal; - - /** - * Only this class can construct instances. - * - * - * @generated - */ - private MultitenantType(int value, String name, String literal) - { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * - * - * @generated - */ - public int getValue() - { - return value; - } - - /** - * - * - * @generated - */ - public String getName() - { - return name; - } - - /** - * - * - * @generated - */ - public String getLiteral() - { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * - * - * @generated - */ - @Override - public String toString() - { - return literal; - } - -} //XmlMultitenantType diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlArray_2_3.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlArray_2_3.java deleted file mode 100644 index 6e8ae080a2..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlArray_2_3.java +++ /dev/null @@ -1,87 +0,0 @@ -/******************************************************************************* - * 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.v2_3; - -import org.eclipse.jpt.jpa.core.resource.orm.ColumnMapping; -import org.eclipse.jpt.jpa.core.resource.orm.XmlConvertibleMapping; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverterContainer; - -/** - * - * A representation of the model object 'Xml Array 23'. - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlArray_2_3#getDatabaseType Database Type}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlArray_2_3#getTargetClass Target Class}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlArray_2_3() - * @model kind="class" interface="true" abstract="true" - * @generated - */ -public interface XmlArray_2_3 extends XmlConverterContainer, XmlConvertibleMapping, ColumnMapping -{ - - /** - * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlArray_2_3_DatabaseType() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getDatabaseType(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlArray_2_3#getDatabaseType Database Type}' attribute. - * - * - * @param value the new value of the 'Database Type' attribute. - * @see #getDatabaseType() - * @generated - */ - void setDatabaseType(String value); - - /** - * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlArray_2_3_TargetClass() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getTargetClass(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlArray_2_3#getTargetClass Target Class}' attribute. - * - * - * @param value the new value of the 'Target Class' attribute. - * @see #getTargetClass() - * @generated - */ - void setTargetClass(String value); -} // XmlArray_2_3 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlAttributes_2_3.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlAttributes_2_3.java deleted file mode 100644 index 0f09d7526c..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlAttributes_2_3.java +++ /dev/null @@ -1,67 +0,0 @@ -/******************************************************************************* - * 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.v2_3; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Attributes 23'. - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlAttributes_2_3#getStructures Structures}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlAttributes_2_3#getArrays Arrays}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlAttributes_2_3() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlAttributes_2_3 extends EBaseObject -{ - /** - * Returns the value of the 'Structures' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlStructure_2_3}. - * - *

- * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlAttributes_2_3_Structures() - * @model containment="true" - * @generated - */ - EList getStructures(); - - /** - * Returns the value of the 'Arrays' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlArray_2_3}. - * - *

- * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlAttributes_2_3_Arrays() - * @model containment="true" - * @generated - */ - EList getArrays(); - -} // XmlAttributes_2_3 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlElementCollection_2_3.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlElementCollection_2_3.java deleted file mode 100644 index 1be52a1428..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlElementCollection_2_3.java +++ /dev/null @@ -1,56 +0,0 @@ -/** - * - * - * - * $Id: XmlElementCollection_2_3.java,v 1.1 2011/06/24 15:49:56 kmoore Exp $ - */ -package org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Element Collection 23'. - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlElementCollection_2_3#getCompositeMember Composite Member}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlElementCollection_2_3() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlElementCollection_2_3 extends EBaseObject -{ - /** - * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlElementCollection_2_3_CompositeMember() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getCompositeMember(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlElementCollection_2_3#getCompositeMember Composite Member}' attribute. - * - * - * @param value the new value of the 'Composite Member' attribute. - * @see #getCompositeMember() - * @generated - */ - void setCompositeMember(String value); - -} // XmlElementCollection_2_3 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlEmbeddable_2_3.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlEmbeddable_2_3.java deleted file mode 100644 index 3e38e7b41a..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlEmbeddable_2_3.java +++ /dev/null @@ -1,95 +0,0 @@ -/******************************************************************************* - * 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.v2_3; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPlsqlTable; - -/** - * - * A representation of the model object 'Xml Embeddable 23'. - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEmbeddable_2_3#getPlsqlRecords Plsql Records}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEmbeddable_2_3#getPlsqlTables Plsql Tables}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEmbeddable_2_3#getStruct Struct}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlEmbeddable_2_3() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlEmbeddable_2_3 extends EBaseObject -{ - /** - * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlEmbeddable_2_3_PlsqlRecords() - * @model containment="true" - * @generated - */ - EList getPlsqlRecords(); - - /** - * Returns the value of the 'Plsql Tables' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPlsqlTable}. - * - *

- * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlEmbeddable_2_3_PlsqlTables() - * @model containment="true" - * @generated - */ - EList getPlsqlTables(); - - /** - * Returns the value of the 'Struct' containment reference. - * - *

- * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlEmbeddable_2_3_Struct() - * @model containment="true" - * @generated - */ - XmlStruct_2_3 getStruct(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEmbeddable_2_3#getStruct Struct}' containment reference. - * - * - * @param value the new value of the 'Struct' containment reference. - * @see #getStruct() - * @generated - */ - void setStruct(XmlStruct_2_3 value); - -} // XmlEmbeddable_2_3 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlEntityMappings_2_3.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlEntityMappings_2_3.java deleted file mode 100644 index 68c1a8694e..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlEntityMappings_2_3.java +++ /dev/null @@ -1,136 +0,0 @@ -/******************************************************************************* - * 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.v2_3; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPlsqlTable; - -/** - * - * A representation of the model object 'Xml Entity Mappings 23'. - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3#getTenantDiscriminatorColumns Tenant Discriminator Columns}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3#getNamedStoredFunctionQueries Named Stored Function Queries}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3#getNamedPlsqlStoredFunctionQueries Named Plsql Stored Function Queries}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3#getNamedPlsqlStoredProcedureQueries Named Plsql Stored Procedure Queries}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3#getPlsqlRecords Plsql Records}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3#getPlsqlTables Plsql Tables}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlEntityMappings_2_3() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlEntityMappings_2_3 extends EBaseObject -{ - /** - * Returns the value of the 'Tenant Discriminator Columns' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3}. - * - *

- * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlEntityMappings_2_3_TenantDiscriminatorColumns() - * @model containment="true" - * @generated - */ - EList getTenantDiscriminatorColumns(); - - /** - * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlEntityMappings_2_3_NamedStoredFunctionQueries() - * @model containment="true" - * @generated - */ - EList getNamedStoredFunctionQueries(); - - /** - * Returns the value of the 'Named Plsql Stored Function Queries' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredFunctionQuery_2_3}. - * - *

- * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlEntityMappings_2_3_NamedPlsqlStoredFunctionQueries() - * @model containment="true" - * @generated - */ - EList getNamedPlsqlStoredFunctionQueries(); - - /** - * Returns the value of the 'Named Plsql Stored Procedure Queries' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredProcedureQuery_2_3}. - * - *

- * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlEntityMappings_2_3_NamedPlsqlStoredProcedureQueries() - * @model containment="true" - * @generated - */ - EList getNamedPlsqlStoredProcedureQueries(); - - /** - * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlEntityMappings_2_3_PlsqlRecords() - * @model containment="true" - * @generated - */ - EList getPlsqlRecords(); - - /** - * Returns the value of the 'Plsql Tables' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPlsqlTable}. - * - *

- * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlEntityMappings_2_3_PlsqlTables() - * @model containment="true" - * @generated - */ - EList getPlsqlTables(); - -} // XmlEntityMappings_2_3 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlEntity_2_3.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlEntity_2_3.java deleted file mode 100644 index dd27d915d5..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlEntity_2_3.java +++ /dev/null @@ -1,145 +0,0 @@ -/******************************************************************************* - * 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.v2_3; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMultitenantHolder; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPlsqlTable; - -/** - * - * A representation of the model object 'Xml Entity 23'. - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3#getNamedStoredFunctionQueries Named Stored Function Queries}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3#getNamedPlsqlStoredFunctionQueries Named Plsql Stored Function Queries}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3#getNamedPlsqlStoredProcedureQueries Named Plsql Stored Procedure Queries}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3#getPlsqlRecords Plsql Records}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3#getPlsqlTables Plsql Tables}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3#getStruct Struct}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlEntity_2_3() - * @model kind="class" interface="true" abstract="true" - * @generated - */ -public interface XmlEntity_2_3 extends XmlMultitenantHolder -{ - /** - * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlEntity_2_3_NamedStoredFunctionQueries() - * @model containment="true" - * @generated - */ - EList getNamedStoredFunctionQueries(); - - /** - * Returns the value of the 'Named Plsql Stored Function Queries' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredFunctionQuery_2_3}. - * - *

- * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlEntity_2_3_NamedPlsqlStoredFunctionQueries() - * @model containment="true" - * @generated - */ - EList getNamedPlsqlStoredFunctionQueries(); - - /** - * Returns the value of the 'Named Plsql Stored Procedure Queries' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredProcedureQuery_2_3}. - * - *

- * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlEntity_2_3_NamedPlsqlStoredProcedureQueries() - * @model containment="true" - * @generated - */ - EList getNamedPlsqlStoredProcedureQueries(); - - /** - * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlEntity_2_3_PlsqlRecords() - * @model containment="true" - * @generated - */ - EList getPlsqlRecords(); - - /** - * Returns the value of the 'Plsql Tables' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPlsqlTable}. - * - *

- * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlEntity_2_3_PlsqlTables() - * @model containment="true" - * @generated - */ - EList getPlsqlTables(); - - /** - * Returns the value of the 'Struct' containment reference. - * - *

- * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlEntity_2_3_Struct() - * @model containment="true" - * @generated - */ - XmlStruct_2_3 getStruct(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntity_2_3#getStruct Struct}' containment reference. - * - * - * @param value the new value of the 'Struct' containment reference. - * @see #getStruct() - * @generated - */ - void setStruct(XmlStruct_2_3 value); - -} // XmlEntity_2_3 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlMappedSuperclass_2_3.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlMappedSuperclass_2_3.java deleted file mode 100644 index 2868c3f44b..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlMappedSuperclass_2_3.java +++ /dev/null @@ -1,118 +0,0 @@ -/******************************************************************************* - * 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.v2_3; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMultitenantHolder; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPlsqlTable; - -/** - * - * A representation of the model object 'Xml Mapped Superclass 23'. - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMappedSuperclass_2_3#getNamedStoredFunctionQueries Named Stored Function Queries}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMappedSuperclass_2_3#getNamedPlsqlStoredFunctionQueries Named Plsql Stored Function Queries}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMappedSuperclass_2_3#getNamedPlsqlStoredProcedureQueries Named Plsql Stored Procedure Queries}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMappedSuperclass_2_3#getPlsqlRecords Plsql Records}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMappedSuperclass_2_3#getPlsqlTables Plsql Tables}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlMappedSuperclass_2_3() - * @model kind="class" interface="true" abstract="true" - * @generated - */ -public interface XmlMappedSuperclass_2_3 extends XmlMultitenantHolder -{ - /** - * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlMappedSuperclass_2_3_NamedStoredFunctionQueries() - * @model containment="true" - * @generated - */ - EList getNamedStoredFunctionQueries(); - - /** - * Returns the value of the 'Named Plsql Stored Function Queries' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredFunctionQuery_2_3}. - * - *

- * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlMappedSuperclass_2_3_NamedPlsqlStoredFunctionQueries() - * @model containment="true" - * @generated - */ - EList getNamedPlsqlStoredFunctionQueries(); - - /** - * Returns the value of the 'Named Plsql Stored Procedure Queries' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredProcedureQuery_2_3}. - * - *

- * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlMappedSuperclass_2_3_NamedPlsqlStoredProcedureQueries() - * @model containment="true" - * @generated - */ - EList getNamedPlsqlStoredProcedureQueries(); - - /** - * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlMappedSuperclass_2_3_PlsqlRecords() - * @model containment="true" - * @generated - */ - EList getPlsqlRecords(); - - /** - * Returns the value of the 'Plsql Tables' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPlsqlTable}. - * - *

- * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlMappedSuperclass_2_3_PlsqlTables() - * @model containment="true" - * @generated - */ - EList getPlsqlTables(); - -} // XmlMappedSuperclass_2_3 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlMultitenant_2_3.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlMultitenant_2_3.java deleted file mode 100644 index ca297b7065..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlMultitenant_2_3.java +++ /dev/null @@ -1,80 +0,0 @@ -/******************************************************************************* - * 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.v2_3; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Multitenant 23'. - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMultitenant_2_3#getType Type}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMultitenant_2_3#getTenantDiscriminatorColumns Tenant Discriminator Columns}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlMultitenant_2_3() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlMultitenant_2_3 extends EBaseObject -{ - - /** - * Returns the value of the 'Type' attribute. - * The literals are from the enumeration {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.MultitenantType}. - * - *

- * 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.v2_3.MultitenantType - * @see #setType(MultitenantType) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlMultitenant_2_3_Type() - * @model - * @generated - */ - MultitenantType getType(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMultitenant_2_3#getType Type}' attribute. - * - * - * @param value the new value of the 'Type' attribute. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.MultitenantType - * @see #getType() - * @generated - */ - void setType(MultitenantType value); - - /** - * Returns the value of the 'Tenant Discriminator Columns' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3}. - * - *

- * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlMultitenant_2_3_TenantDiscriminatorColumns() - * @model containment="true" - * @generated - */ - EList getTenantDiscriminatorColumns(); -} // XmlMultitenant_2_3 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlNamedPlsqlStoredFunctionQuery_2_3.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlNamedPlsqlStoredFunctionQuery_2_3.java deleted file mode 100644 index 96b6083049..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlNamedPlsqlStoredFunctionQuery_2_3.java +++ /dev/null @@ -1,59 +0,0 @@ -/******************************************************************************* - * 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.v2_3; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Named Plsql Stored Function Query2 3'. - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredFunctionQuery_2_3#getName Name}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlNamedPlsqlStoredFunctionQuery_2_3() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlNamedPlsqlStoredFunctionQuery_2_3 extends EBaseObject -{ - - /** - * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlNamedPlsqlStoredFunctionQuery_2_3_Name() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredFunctionQuery_2_3#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); -} // XmlNamedPlsqlStoredFunctionQuery2_3 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlNamedPlsqlStoredProcedureQuery_2_3.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlNamedPlsqlStoredProcedureQuery_2_3.java deleted file mode 100644 index c32a8622f2..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlNamedPlsqlStoredProcedureQuery_2_3.java +++ /dev/null @@ -1,59 +0,0 @@ -/******************************************************************************* - * 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.v2_3; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Named Plsql Stored Procedure Query2 3'. - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredProcedureQuery_2_3#getName Name}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlNamedPlsqlStoredProcedureQuery_2_3() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlNamedPlsqlStoredProcedureQuery_2_3 extends EBaseObject -{ - - /** - * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlNamedPlsqlStoredProcedureQuery_2_3_Name() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredProcedureQuery_2_3#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); -} // XmlNamedPlsqlStoredProcedureQuery2_3 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlNamedStoredFunctionQuery_2_3.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlNamedStoredFunctionQuery_2_3.java deleted file mode 100644 index cf016f7a05..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlNamedStoredFunctionQuery_2_3.java +++ /dev/null @@ -1,59 +0,0 @@ -/******************************************************************************* - * 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.v2_3; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Named Stored Function Query2 3'. - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedStoredFunctionQuery_2_3#getName Name}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlNamedStoredFunctionQuery_2_3() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlNamedStoredFunctionQuery_2_3 extends EBaseObject -{ - - /** - * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlNamedStoredFunctionQuery_2_3_Name() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedStoredFunctionQuery_2_3#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); -} // XmlNamedStoredFunctionQuery2_3 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlPersistenceUnitDefaults_2_3.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlPersistenceUnitDefaults_2_3.java deleted file mode 100644 index a133f3e816..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlPersistenceUnitDefaults_2_3.java +++ /dev/null @@ -1,50 +0,0 @@ -/******************************************************************************* - * 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.v2_3; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Persistence Unit Defaults 23'. - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPersistenceUnitDefaults_2_3#getTenantDiscriminatorColumns Tenant Discriminator Columns}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlPersistenceUnitDefaults_2_3() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlPersistenceUnitDefaults_2_3 extends EBaseObject -{ - /** - * Returns the value of the 'Tenant Discriminator Columns' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3}. - * - *

- * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlPersistenceUnitDefaults_2_3_TenantDiscriminatorColumns() - * @model containment="true" - * @generated - */ - EList getTenantDiscriminatorColumns(); - -} // XmlPersistenceUnitDefaults_2_3 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlPlsqlRecord_2_3.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlPlsqlRecord_2_3.java deleted file mode 100644 index c05aa9b9e6..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlPlsqlRecord_2_3.java +++ /dev/null @@ -1,59 +0,0 @@ -/******************************************************************************* - * 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.v2_3; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Plsql Record2 3'. - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPlsqlRecord_2_3#getName Name}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlPlsqlRecord_2_3() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlPlsqlRecord_2_3 extends EBaseObject -{ - - /** - * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlPlsqlRecord_2_3_Name() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPlsqlRecord_2_3#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); -} // XmlPlsqlRecord2_3 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlPlsqlTable_2_3.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlPlsqlTable_2_3.java deleted file mode 100644 index 12860f6ce7..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlPlsqlTable_2_3.java +++ /dev/null @@ -1,59 +0,0 @@ -/******************************************************************************* - * 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.v2_3; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Plsql Table2 3'. - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPlsqlTable_2_3#getName Name}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlPlsqlTable_2_3() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlPlsqlTable_2_3 extends EBaseObject -{ - - /** - * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlPlsqlTable_2_3_Name() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPlsqlTable_2_3#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); -} // XmlPlsqlTable2_3 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlStruct_2_3.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlStruct_2_3.java deleted file mode 100644 index 30eb4757bd..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlStruct_2_3.java +++ /dev/null @@ -1,59 +0,0 @@ -/******************************************************************************* - * 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.v2_3; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Struct2 3'. - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlStruct_2_3#getName Name}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlStruct_2_3() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlStruct_2_3 extends EBaseObject -{ - - /** - * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlStruct_2_3_Name() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlStruct_2_3#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); -} // XmlStruct2_3 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlStructure_2_3.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlStructure_2_3.java deleted file mode 100644 index 1399fa4294..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlStructure_2_3.java +++ /dev/null @@ -1,27 +0,0 @@ -/******************************************************************************* - * 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.v2_3; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Structure 23'. - * - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlStructure_2_3() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlStructure_2_3 extends EBaseObject -{ -} // XmlStructure_2_3 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlTenantDiscriminatorColumn_2_3.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlTenantDiscriminatorColumn_2_3.java deleted file mode 100644 index 8de9ea123c..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlTenantDiscriminatorColumn_2_3.java +++ /dev/null @@ -1,118 +0,0 @@ -/******************************************************************************* - * 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.v2_3; - -import org.eclipse.jpt.common.core.utility.TextRange; -import org.eclipse.jpt.jpa.core.resource.orm.XmlBaseDiscriminatorColumn; - - -/** - * - * A representation of the model object 'Xml Tenant Discriminator2 3'. - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3#getContextProperty Context Property}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3#getTable Table}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3#getPrimaryKey Primary Key}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlTenantDiscriminatorColumn_2_3() - * @model kind="class" interface="true" abstract="true" - * @generated - */ -public interface XmlTenantDiscriminatorColumn_2_3 extends XmlBaseDiscriminatorColumn -{ - - /** - * Returns the value of the 'Context Property' attribute. - * - *

- * If the meaning of the 'Context Property' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Context Property' attribute. - * @see #setContextProperty(String) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlTenantDiscriminatorColumn_2_3_ContextProperty() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getContextProperty(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3#getContextProperty Context Property}' attribute. - * - * - * @param value the new value of the 'Context Property' attribute. - * @see #getContextProperty() - * @generated - */ - void setContextProperty(String value); - - /** - * 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.v2_3.EclipseLinkOrmV2_3Package#getXmlTenantDiscriminatorColumn_2_3_Table() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getTable(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3#getTable Table}' attribute. - * - * - * @param value the new value of the 'Table' attribute. - * @see #getTable() - * @generated - */ - void setTable(String value); - - /** - * Returns the value of the 'Primary Key' attribute. - * - *

- * If the meaning of the 'Primary Key' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Primary Key' attribute. - * @see #setPrimaryKey(Boolean) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlTenantDiscriminatorColumn_2_3_PrimaryKey() - * @model - * @generated - */ - Boolean getPrimaryKey(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3#getPrimaryKey Primary Key}' attribute. - * - * - * @param value the new value of the 'Primary Key' attribute. - * @see #getPrimaryKey() - * @generated - */ - void setPrimaryKey(Boolean value); - - TextRange getTableTextRange(); - - boolean tableTouches(int pos); -} // XmlTenantDiscriminator2_3 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/DataFormatType.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/DataFormatType.java deleted file mode 100644 index a59c903805..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/DataFormatType.java +++ /dev/null @@ -1,262 +0,0 @@ -/******************************************************************************* - * 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.v2_4; - -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 'Data Format 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. - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getDataFormatType() - * @model - * @generated - */ -public enum DataFormatType implements Enumerator -{ - /** - * The 'XML' literal object. - * - * - * @see #XML_VALUE - * @generated - * @ordered - */ - XML(0, "XML", "XML"), - - /** - * The 'INDEXED' literal object. - * - * - * @see #INDEXED_VALUE - * @generated - * @ordered - */ - INDEXED(1, "INDEXED", "INDEXED"), - - /** - * The 'MAPPED' literal object. - * - * - * @see #MAPPED_VALUE - * @generated - * @ordered - */ - MAPPED(2, "MAPPED", "MAPPED"); - - /** - * The 'XML' literal value. - * - *

- * If the meaning of 'XML' literal object isn't clear, - * there really should be more of a description here... - *

- * - * @see #XML - * @model - * @generated - * @ordered - */ - public static final int XML_VALUE = 0; - - /** - * The 'INDEXED' literal value. - * - *

- * If the meaning of 'INDEXED' literal object isn't clear, - * there really should be more of a description here... - *

- * - * @see #INDEXED - * @model - * @generated - * @ordered - */ - public static final int INDEXED_VALUE = 1; - - /** - * The 'MAPPED' literal value. - * - *

- * If the meaning of 'MAPPED' literal object isn't clear, - * there really should be more of a description here... - *

- * - * @see #MAPPED - * @model - * @generated - * @ordered - */ - public static final int MAPPED_VALUE = 2; - - /** - * An array of all the 'Data Format Type' enumerators. - * - * - * @generated - */ - private static final DataFormatType[] VALUES_ARRAY = - new DataFormatType[] - { - XML, - INDEXED, - MAPPED, - }; - - /** - * A public read-only list of all the 'Data Format Type' enumerators. - * - * - * @generated - */ - public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the 'Data Format Type' literal with the specified literal value. - * - * - * @generated - */ - public static DataFormatType get(String literal) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - DataFormatType result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) - { - return result; - } - } - return null; - } - - /** - * Returns the 'Data Format Type' literal with the specified name. - * - * - * @generated - */ - public static DataFormatType getByName(String name) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - DataFormatType result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) - { - return result; - } - } - return null; - } - - /** - * Returns the 'Data Format Type' literal with the specified integer value. - * - * - * @generated - */ - public static DataFormatType get(int value) - { - switch (value) - { - case XML_VALUE: return XML; - case INDEXED_VALUE: return INDEXED; - case MAPPED_VALUE: return MAPPED; - } - return null; - } - - /** - * - * - * @generated - */ - private final int value; - - /** - * - * - * @generated - */ - private final String name; - - /** - * - * - * @generated - */ - private final String literal; - - /** - * Only this class can construct instances. - * - * - * @generated - */ - private DataFormatType(int value, String name, String literal) - { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * - * - * @generated - */ - public int getValue() - { - return value; - } - - /** - * - * - * @generated - */ - public String getName() - { - return name; - } - - /** - * - * - * @generated - */ - public String getLiteral() - { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * - * - * @generated - */ - @Override - public String toString() - { - return literal; - } - -} //DataFormatType diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/DatabaseChangeNotificationType.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/DatabaseChangeNotificationType.java deleted file mode 100644 index a6ef71bc7e..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/DatabaseChangeNotificationType.java +++ /dev/null @@ -1,229 +0,0 @@ -/******************************************************************************* - * 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.v2_4; - -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 'Database Change Notification Type', - * and utility methods for working with them. - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getDatabaseChangeNotificationType() - * @model - * @generated - */ -public enum DatabaseChangeNotificationType implements Enumerator -{ - /** - * The 'NONE' literal object. - * - * - * @see #NONE_VALUE - * @generated - * @ordered - */ - NONE(0, "NONE", "NONE"), - - /** - * The 'INVALIDATION' literal object. - * - * - * @see #INVALIDATION_VALUE - * @generated - * @ordered - */ - INVALIDATION(1, "INVALIDATION", "INVALIDATION"); - - /** - * 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 = 0; - - /** - * The 'INVALIDATION' literal value. - * - *

- * If the meaning of 'INVALIDATION' literal object isn't clear, - * there really should be more of a description here... - *

- * - * @see #INVALIDATION - * @model - * @generated - * @ordered - */ - public static final int INVALIDATION_VALUE = 1; - - /** - * An array of all the 'Database Change Notification Type' enumerators. - * - * - * @generated - */ - private static final DatabaseChangeNotificationType[] VALUES_ARRAY = - new DatabaseChangeNotificationType[] - { - NONE, - INVALIDATION, - }; - - /** - * A public read-only list of all the 'Database Change Notification Type' enumerators. - * - * - * @generated - */ - public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the 'Database Change Notification Type' literal with the specified literal value. - * - * - * @generated - */ - public static DatabaseChangeNotificationType get(String literal) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - DatabaseChangeNotificationType result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) - { - return result; - } - } - return null; - } - - /** - * Returns the 'Database Change Notification Type' literal with the specified name. - * - * - * @generated - */ - public static DatabaseChangeNotificationType getByName(String name) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - DatabaseChangeNotificationType result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) - { - return result; - } - } - return null; - } - - /** - * Returns the 'Database Change Notification Type' literal with the specified integer value. - * - * - * @generated - */ - public static DatabaseChangeNotificationType get(int value) - { - switch (value) - { - case NONE_VALUE: return NONE; - case INVALIDATION_VALUE: return INVALIDATION; - } - return null; - } - - /** - * - * - * @generated - */ - private final int value; - - /** - * - * - * @generated - */ - private final String name; - - /** - * - * - * @generated - */ - private final String literal; - - /** - * Only this class can construct instances. - * - * - * @generated - */ - private DatabaseChangeNotificationType(int value, String name, String literal) - { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * - * - * @generated - */ - public int getValue() - { - return value; - } - - /** - * - * - * @generated - */ - public String getName() - { - return name; - } - - /** - * - * - * @generated - */ - public String getLiteral() - { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * - * - * @generated - */ - @Override - public String toString() - { - return literal; - } - -} //DatabaseChangeNotificationType diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/EclipseLinkOrmV2_4Factory.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/EclipseLinkOrmV2_4Factory.java deleted file mode 100644 index 0d0692a68b..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/EclipseLinkOrmV2_4Factory.java +++ /dev/null @@ -1,216 +0,0 @@ -/******************************************************************************* - * 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.v2_4; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.impl.EFactoryImpl; -import org.eclipse.emf.ecore.plugin.EcorePlugin; - -/** - * - * The Factory for the model. - * It provides a create method for each non-abstract class of the model. - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package - * @generated - */ -public class EclipseLinkOrmV2_4Factory extends EFactoryImpl -{ - /** - * The singleton instance of the factory. - * - * - * @generated - */ - public static final EclipseLinkOrmV2_4Factory eINSTANCE = init(); - - /** - * Creates the default factory implementation. - * - * - * @generated - */ - public static EclipseLinkOrmV2_4Factory init() - { - try - { - EclipseLinkOrmV2_4Factory theEclipseLinkOrmV2_4Factory = (EclipseLinkOrmV2_4Factory)EPackage.Registry.INSTANCE.getEFactory("jpt.eclipselink.orm.v2_4.xmi"); - if (theEclipseLinkOrmV2_4Factory != null) - { - return theEclipseLinkOrmV2_4Factory; - } - } - catch (Exception exception) - { - EcorePlugin.INSTANCE.log(exception); - } - return new EclipseLinkOrmV2_4Factory(); - } - - /** - * Creates an instance of the factory. - * - * - * @generated - */ - public EclipseLinkOrmV2_4Factory() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - public EObject create(EClass eClass) - { - switch (eClass.getClassifierID()) - { - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - @Override - public Object createFromString(EDataType eDataType, String initialValue) - { - switch (eDataType.getClassifierID()) - { - case EclipseLinkOrmV2_4Package.DATABASE_CHANGE_NOTIFICATION_TYPE: - return createDatabaseChangeNotificationTypeFromString(eDataType, initialValue); - case EclipseLinkOrmV2_4Package.TENANT_TABLE_DISCRIMINATOR_TYPE: - return createTenantTableDiscriminatorTypeFromString(eDataType, initialValue); - case EclipseLinkOrmV2_4Package.DATA_FORMAT_TYPE: - return createDataFormatTypeFromString(eDataType, initialValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - @Override - public String convertToString(EDataType eDataType, Object instanceValue) - { - switch (eDataType.getClassifierID()) - { - case EclipseLinkOrmV2_4Package.DATABASE_CHANGE_NOTIFICATION_TYPE: - return convertDatabaseChangeNotificationTypeToString(eDataType, instanceValue); - case EclipseLinkOrmV2_4Package.TENANT_TABLE_DISCRIMINATOR_TYPE: - return convertTenantTableDiscriminatorTypeToString(eDataType, instanceValue); - case EclipseLinkOrmV2_4Package.DATA_FORMAT_TYPE: - return convertDataFormatTypeToString(eDataType, instanceValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - public DatabaseChangeNotificationType createDatabaseChangeNotificationTypeFromString(EDataType eDataType, String initialValue) - { - DatabaseChangeNotificationType result = DatabaseChangeNotificationType.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * - * - * @generated - */ - public String convertDatabaseChangeNotificationTypeToString(EDataType eDataType, Object instanceValue) - { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * - * - * @generated - */ - public TenantTableDiscriminatorType createTenantTableDiscriminatorTypeFromString(EDataType eDataType, String initialValue) - { - TenantTableDiscriminatorType result = TenantTableDiscriminatorType.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * - * - * @generated - */ - public String convertTenantTableDiscriminatorTypeToString(EDataType eDataType, Object instanceValue) - { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * - * - * @generated - */ - public DataFormatType createDataFormatTypeFromString(EDataType eDataType, String initialValue) - { - DataFormatType result = DataFormatType.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * - * - * @generated - */ - public String convertDataFormatTypeToString(EDataType eDataType, Object instanceValue) - { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * - * - * @generated - */ - public EclipseLinkOrmV2_4Package getEclipseLinkOrmV2_4Package() - { - return (EclipseLinkOrmV2_4Package)getEPackage(); - } - - /** - * - * - * @deprecated - * @generated - */ - @Deprecated - public static EclipseLinkOrmV2_4Package getPackage() - { - return EclipseLinkOrmV2_4Package.eINSTANCE; - } - -} //EclipseLinkOrmV2_4Factory diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/EclipseLinkOrmV2_4Package.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/EclipseLinkOrmV2_4Package.java deleted file mode 100644 index 72c07a6d03..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/EclipseLinkOrmV2_4Package.java +++ /dev/null @@ -1,2678 +0,0 @@ -/******************************************************************************* - * 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.v2_4; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EEnum; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; -import org.eclipse.emf.ecore.impl.EPackageImpl; -import org.eclipse.emf.ecore.xml.type.XMLTypePackage; -import org.eclipse.jpt.jpa.core.resource.orm.OrmPackage; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package; -import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package; - -/** - * - * The Package for the model. - * It contains accessors for the meta objects to represent - *
    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • - *
- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Factory - * @model kind="package" - * @generated - */ -public class EclipseLinkOrmV2_4Package extends EPackageImpl -{ - /** - * The package name. - * - * - * @generated - */ - public static final String eNAME = "v2_4"; - - /** - * The package namespace URI. - * - * - * @generated - */ - public static final String eNS_URI = "jpt.eclipselink.orm.v2_4.xmi"; - - /** - * The package namespace name. - * - * - * @generated - */ - public static final String eNS_PREFIX = "org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4"; - - /** - * The singleton instance of the package. - * - * - * @generated - */ - public static final EclipseLinkOrmV2_4Package eINSTANCE = org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package.init(); - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlGeneratorContainer2_4 Xml Generator Container2 4}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlGeneratorContainer2_4 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlGeneratorContainer2_4() - * @generated - */ - public static final int XML_GENERATOR_CONTAINER2_4 = 3; - - /** - * The feature id for the 'Sequence Generator' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_GENERATOR_CONTAINER2_4__SEQUENCE_GENERATOR = OrmPackage.XML_GENERATOR_CONTAINER__SEQUENCE_GENERATOR; - - /** - * The feature id for the 'Table Generator' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_GENERATOR_CONTAINER2_4__TABLE_GENERATOR = OrmPackage.XML_GENERATOR_CONTAINER__TABLE_GENERATOR; - - /** - * The feature id for the 'Uuid Generator' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_GENERATOR_CONTAINER2_4__UUID_GENERATOR = OrmPackage.XML_GENERATOR_CONTAINER_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Xml Generator Container2 4' class. - * - * - * @generated - * @ordered - */ - public static final int XML_GENERATOR_CONTAINER2_4_FEATURE_COUNT = OrmPackage.XML_GENERATOR_CONTAINER_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMultitenant_2_4 Xml Multitenant 24}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMultitenant_2_4 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlMultitenant_2_4() - * @generated - */ - public static final int XML_MULTITENANT_24 = 15; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlElementCollection_2_4 Xml Element Collection 24}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlElementCollection_2_4 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlElementCollection_2_4() - * @generated - */ - public static final int XML_ELEMENT_COLLECTION_24 = 4; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToMany_2_4 Xml One To Many 24}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToMany_2_4 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlOneToMany_2_4() - * @generated - */ - public static final int XML_ONE_TO_MANY_24 = 17; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntity_2_4 Xml Entity 24}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntity_2_4 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlEntity_2_4() - * @generated - */ - public static final int XML_ENTITY_24 = 7; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlBasic_2_4 Xml Basic 24}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlBasic_2_4 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlBasic_2_4() - * @generated - */ - public static final int XML_BASIC_24 = 0; - - /** - * The feature id for the 'Sequence Generator' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC_24__SEQUENCE_GENERATOR = XML_GENERATOR_CONTAINER2_4__SEQUENCE_GENERATOR; - - /** - * The feature id for the 'Table Generator' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC_24__TABLE_GENERATOR = XML_GENERATOR_CONTAINER2_4__TABLE_GENERATOR; - - /** - * The feature id for the 'Uuid Generator' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC_24__UUID_GENERATOR = XML_GENERATOR_CONTAINER2_4__UUID_GENERATOR; - - /** - * The feature id for the 'Field' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC_24__FIELD = XML_GENERATOR_CONTAINER2_4_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Cache Index' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC_24__CACHE_INDEX = XML_GENERATOR_CONTAINER2_4_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Xml Basic 24' class. - * - * - * @generated - * @ordered - */ - public static final int XML_BASIC_24_FEATURE_COUNT = XML_GENERATOR_CONTAINER2_4_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlCache_2_4 Xml Cache 24}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlCache_2_4 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlCache_2_4() - * @generated - */ - public static final int XML_CACHE_24 = 1; - - /** - * The feature id for the 'Database Change Notification Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_CACHE_24__DATABASE_CHANGE_NOTIFICATION_TYPE = 0; - - /** - * The number of structural features of the 'Xml Cache 24' class. - * - * - * @generated - * @ordered - */ - public static final int XML_CACHE_24_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlCacheIndex_2_4 Xml Cache Index 24}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlCacheIndex_2_4 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlCacheIndex_2_4() - * @generated - */ - public static final int XML_CACHE_INDEX_24 = 2; - - /** - * The feature id for the 'Column Names' attribute list. - * - * - * @generated - * @ordered - */ - public static final int XML_CACHE_INDEX_24__COLUMN_NAMES = 0; - - /** - * The number of structural features of the 'Xml Cache Index 24' class. - * - * - * @generated - * @ordered - */ - public static final int XML_CACHE_INDEX_24_FEATURE_COUNT = 1; - - /** - * The feature id for the 'Field' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION_24__FIELD = 0; - - /** - * The feature id for the 'Delete All' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION_24__DELETE_ALL = 1; - - /** - * The number of structural features of the 'Xml Element Collection 24' class. - * - * - * @generated - * @ordered - */ - public static final int XML_ELEMENT_COLLECTION_24_FEATURE_COUNT = 2; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEmbeddable_2_4 Xml Embeddable 24}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEmbeddable_2_4 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlEmbeddable_2_4() - * @generated - */ - public static final int XML_EMBEDDABLE_24 = 5; - - /** - * The feature id for the 'No Sql' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDABLE_24__NO_SQL = 0; - - /** - * The number of structural features of the 'Xml Embeddable 24' class. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDABLE_24_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEmbedded_2_4 Xml Embedded 24}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEmbedded_2_4 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlEmbedded_2_4() - * @generated - */ - public static final int XML_EMBEDDED_24 = 6; - - /** - * The feature id for the 'Field' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDED_24__FIELD = 0; - - /** - * The number of structural features of the 'Xml Embedded 24' class. - * - * - * @generated - * @ordered - */ - public static final int XML_EMBEDDED_24_FEATURE_COUNT = 1; - - /** - * The feature id for the 'Sequence Generator' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_24__SEQUENCE_GENERATOR = XML_GENERATOR_CONTAINER2_4__SEQUENCE_GENERATOR; - - /** - * The feature id for the 'Table Generator' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_24__TABLE_GENERATOR = XML_GENERATOR_CONTAINER2_4__TABLE_GENERATOR; - - /** - * The feature id for the 'Uuid Generator' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_24__UUID_GENERATOR = XML_GENERATOR_CONTAINER2_4__UUID_GENERATOR; - - /** - * The feature id for the 'Cache Index' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_24__CACHE_INDEX = XML_GENERATOR_CONTAINER2_4_FEATURE_COUNT + 0; - - /** - * The feature id for the 'No Sql' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_24__NO_SQL = XML_GENERATOR_CONTAINER2_4_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Xml Entity 24' class. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_24_FEATURE_COUNT = XML_GENERATOR_CONTAINER2_4_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntityMappings_2_4 Xml Entity Mappings 24}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntityMappings_2_4 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlEntityMappings_2_4() - * @generated - */ - public static final int XML_ENTITY_MAPPINGS_24 = 8; - - /** - * The feature id for the 'Uuid Generators' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS_24__UUID_GENERATORS = 0; - - /** - * The number of structural features of the 'Xml Entity Mappings 24' class. - * - * - * @generated - * @ordered - */ - public static final int XML_ENTITY_MAPPINGS_24_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlField_2_4 Xml Field 24}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlField_2_4 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlField_2_4() - * @generated - */ - public static final int XML_FIELD_24 = 9; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_FIELD_24__NAME = 0; - - /** - * The number of structural features of the 'Xml Field 24' class. - * - * - * @generated - * @ordered - */ - public static final int XML_FIELD_24_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlId_2_4 Xml Id 24}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlId_2_4 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlId_2_4() - * @generated - */ - public static final int XML_ID_24 = 10; - - /** - * The feature id for the 'Sequence Generator' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ID_24__SEQUENCE_GENERATOR = XML_GENERATOR_CONTAINER2_4__SEQUENCE_GENERATOR; - - /** - * The feature id for the 'Table Generator' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ID_24__TABLE_GENERATOR = XML_GENERATOR_CONTAINER2_4__TABLE_GENERATOR; - - /** - * The feature id for the 'Uuid Generator' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ID_24__UUID_GENERATOR = XML_GENERATOR_CONTAINER2_4__UUID_GENERATOR; - - /** - * The feature id for the 'Field' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ID_24__FIELD = XML_GENERATOR_CONTAINER2_4_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Cache Index' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_ID_24__CACHE_INDEX = XML_GENERATOR_CONTAINER2_4_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Xml Id 24' class. - * - * - * @generated - * @ordered - */ - public static final int XML_ID_24_FEATURE_COUNT = XML_GENERATOR_CONTAINER2_4_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlJoinField_2_4 Xml Join Field 24}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlJoinField_2_4 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlJoinField_2_4() - * @generated - */ - public static final int XML_JOIN_FIELD_24 = 11; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_JOIN_FIELD_24__NAME = 0; - - /** - * The feature id for the 'Referenced Field Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_JOIN_FIELD_24__REFERENCED_FIELD_NAME = 1; - - /** - * The number of structural features of the 'Xml Join Field 24' class. - * - * - * @generated - * @ordered - */ - public static final int XML_JOIN_FIELD_24_FEATURE_COUNT = 2; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlManyToMany_2_4 Xml Many To Many 24}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlManyToMany_2_4 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlManyToMany_2_4() - * @generated - */ - public static final int XML_MANY_TO_MANY_24 = 12; - - /** - * The feature id for the 'Join Fields' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY_24__JOIN_FIELDS = 0; - - /** - * The number of structural features of the 'Xml Many To Many 24' class. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_MANY_24_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlManyToOne_2_4 Xml Many To One 24}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlManyToOne_2_4 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlManyToOne_2_4() - * @generated - */ - public static final int XML_MANY_TO_ONE_24 = 13; - - /** - * The feature id for the 'Join Fields' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_ONE_24__JOIN_FIELDS = 0; - - /** - * The number of structural features of the 'Xml Many To One 24' class. - * - * - * @generated - * @ordered - */ - public static final int XML_MANY_TO_ONE_24_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMappedSuperclass_2_4 Xml Mapped Superclass 24}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMappedSuperclass_2_4 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlMappedSuperclass_2_4() - * @generated - */ - public static final int XML_MAPPED_SUPERCLASS_24 = 14; - - /** - * The feature id for the 'Sequence Generator' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS_24__SEQUENCE_GENERATOR = XML_GENERATOR_CONTAINER2_4__SEQUENCE_GENERATOR; - - /** - * The feature id for the 'Table Generator' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS_24__TABLE_GENERATOR = XML_GENERATOR_CONTAINER2_4__TABLE_GENERATOR; - - /** - * The feature id for the 'Uuid Generator' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS_24__UUID_GENERATOR = XML_GENERATOR_CONTAINER2_4__UUID_GENERATOR; - - /** - * The feature id for the 'Cache Index' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS_24__CACHE_INDEX = XML_GENERATOR_CONTAINER2_4_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Xml Mapped Superclass 24' class. - * - * - * @generated - * @ordered - */ - public static final int XML_MAPPED_SUPERCLASS_24_FEATURE_COUNT = XML_GENERATOR_CONTAINER2_4_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Include Criteria' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_MULTITENANT_24__INCLUDE_CRITERIA = 0; - - /** - * The feature id for the 'Tenant Table Discriminator' containment reference. - * - * - * @generated - * @ordered - */ - public static final int XML_MULTITENANT_24__TENANT_TABLE_DISCRIMINATOR = 1; - - /** - * The number of structural features of the 'Xml Multitenant 24' class. - * - * - * @generated - * @ordered - */ - public static final int XML_MULTITENANT_24_FEATURE_COUNT = 2; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlNoSql_2_4 Xml No Sql 24}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlNoSql_2_4 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlNoSql_2_4() - * @generated - */ - public static final int XML_NO_SQL_24 = 16; - - /** - * The feature id for the 'Data Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_NO_SQL_24__DATA_TYPE = 0; - - /** - * The feature id for the 'Data Format' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_NO_SQL_24__DATA_FORMAT = 1; - - /** - * The number of structural features of the 'Xml No Sql 24' class. - * - * - * @generated - * @ordered - */ - public static final int XML_NO_SQL_24_FEATURE_COUNT = 2; - - /** - * The feature id for the 'Join Fields' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY_24__JOIN_FIELDS = 0; - - /** - * The feature id for the 'Delete All' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY_24__DELETE_ALL = 1; - - /** - * The number of structural features of the 'Xml One To Many 24' class. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_MANY_24_FEATURE_COUNT = 2; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToOne_2_4 Xml One To One 24}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToOne_2_4 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlOneToOne_2_4() - * @generated - */ - public static final int XML_ONE_TO_ONE_24 = 18; - - /** - * The feature id for the 'Join Fields' containment reference list. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE_24__JOIN_FIELDS = 0; - - /** - * The number of structural features of the 'Xml One To One 24' class. - * - * - * @generated - * @ordered - */ - public static final int XML_ONE_TO_ONE_24_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlTenantTableDiscriminator_2_4 Xml Tenant Table Discriminator 24}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlTenantTableDiscriminator_2_4 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlTenantTableDiscriminator_2_4() - * @generated - */ - public static final int XML_TENANT_TABLE_DISCRIMINATOR_24 = 19; - - /** - * The feature id for the 'Context Property' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TENANT_TABLE_DISCRIMINATOR_24__CONTEXT_PROPERTY = 0; - - /** - * The feature id for the 'Type' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_TENANT_TABLE_DISCRIMINATOR_24__TYPE = 1; - - /** - * The number of structural features of the 'Xml Tenant Table Discriminator 24' class. - * - * - * @generated - * @ordered - */ - public static final int XML_TENANT_TABLE_DISCRIMINATOR_24_FEATURE_COUNT = 2; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlUuidGenerator_2_4 Xml Uuid Generator 24}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlUuidGenerator_2_4 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlUuidGenerator_2_4() - * @generated - */ - public static final int XML_UUID_GENERATOR_24 = 20; - - /** - * The feature id for the 'Description' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_UUID_GENERATOR_24__DESCRIPTION = OrmPackage.XML_GENERATOR__DESCRIPTION; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_UUID_GENERATOR_24__NAME = OrmPackage.XML_GENERATOR__NAME; - - /** - * The feature id for the 'Initial Value' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_UUID_GENERATOR_24__INITIAL_VALUE = OrmPackage.XML_GENERATOR__INITIAL_VALUE; - - /** - * The feature id for the 'Allocation Size' attribute. - * - * - * @generated - * @ordered - */ - public static final int XML_UUID_GENERATOR_24__ALLOCATION_SIZE = OrmPackage.XML_GENERATOR__ALLOCATION_SIZE; - - /** - * The number of structural features of the 'Xml Uuid Generator 24' class. - * - * - * @generated - * @ordered - */ - public static final int XML_UUID_GENERATOR_24_FEATURE_COUNT = OrmPackage.XML_GENERATOR_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.DatabaseChangeNotificationType Database Change Notification Type}' enum. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.DatabaseChangeNotificationType - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getDatabaseChangeNotificationType() - * @generated - */ - public static final int DATABASE_CHANGE_NOTIFICATION_TYPE = 21; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.TenantTableDiscriminatorType Tenant Table Discriminator Type}' enum. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.TenantTableDiscriminatorType - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getTenantTableDiscriminatorType() - * @generated - */ - public static final int TENANT_TABLE_DISCRIMINATOR_TYPE = 22; - - /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.DataFormatType Data Format Type}' enum. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.DataFormatType - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getDataFormatType() - * @generated - */ - public static final int DATA_FORMAT_TYPE = 23; - - /** - * - * - * @generated - */ - private EClass xmlMultitenant_2_4EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlNoSql_2_4EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlElementCollection_2_4EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlEmbeddable_2_4EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlEmbedded_2_4EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlOneToMany_2_4EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlOneToOne_2_4EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlTenantTableDiscriminator_2_4EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlUuidGenerator_2_4EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlEntity_2_4EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlEntityMappings_2_4EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlField_2_4EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlBasic_2_4EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlCache_2_4EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlCacheIndex_2_4EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlGeneratorContainer2_4EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlId_2_4EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlJoinField_2_4EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlManyToMany_2_4EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlManyToOne_2_4EClass = null; - - /** - * - * - * @generated - */ - private EClass xmlMappedSuperclass_2_4EClass = null; - - /** - * - * - * @generated - */ - private EEnum databaseChangeNotificationTypeEEnum = null; - - /** - * - * - * @generated - */ - private EEnum tenantTableDiscriminatorTypeEEnum = null; - - /** - * - * - * @generated - */ - private EEnum dataFormatTypeEEnum = null; - - /** - * Creates an instance of the model Package, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - *

Note: 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.v2_4.EclipseLinkOrmV2_4Package#eNS_URI - * @see #init() - * @generated - */ - private EclipseLinkOrmV2_4Package() - { - super(eNS_URI, EclipseLinkOrmV2_4Factory.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 EclipseLinkOrmV2_4Package#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 EclipseLinkOrmV2_4Package init() - { - if (isInited) return (EclipseLinkOrmV2_4Package)EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmV2_4Package.eNS_URI); - - // Obtain or create and register package - EclipseLinkOrmV2_4Package theEclipseLinkOrmV2_4Package = (EclipseLinkOrmV2_4Package)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof EclipseLinkOrmV2_4Package ? EPackage.Registry.INSTANCE.get(eNS_URI) : new EclipseLinkOrmV2_4Package()); - - isInited = true; - - // Initialize simple dependencies - OrmPackage.eINSTANCE.eClass(); - XMLTypePackage.eINSTANCE.eClass(); - - // Obtain or create and register interdependencies - EclipseLinkOrmPackage theEclipseLinkOrmPackage = (EclipseLinkOrmPackage)(EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmPackage.eNS_URI) instanceof EclipseLinkOrmPackage ? EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmPackage.eNS_URI) : EclipseLinkOrmPackage.eINSTANCE); - 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); - - // Create package meta-data objects - theEclipseLinkOrmV2_4Package.createPackageContents(); - theEclipseLinkOrmPackage.createPackageContents(); - theEclipseLinkOrmV1_1Package.createPackageContents(); - theEclipseLinkOrmV2_0Package.createPackageContents(); - theEclipseLinkOrmV2_1Package.createPackageContents(); - theEclipseLinkOrmV2_2Package.createPackageContents(); - theEclipseLinkOrmV2_3Package.createPackageContents(); - - // Initialize created meta-data - theEclipseLinkOrmV2_4Package.initializePackageContents(); - theEclipseLinkOrmPackage.initializePackageContents(); - theEclipseLinkOrmV1_1Package.initializePackageContents(); - theEclipseLinkOrmV2_0Package.initializePackageContents(); - theEclipseLinkOrmV2_1Package.initializePackageContents(); - theEclipseLinkOrmV2_2Package.initializePackageContents(); - theEclipseLinkOrmV2_3Package.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theEclipseLinkOrmV2_4Package.freeze(); - - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(EclipseLinkOrmV2_4Package.eNS_URI, theEclipseLinkOrmV2_4Package); - return theEclipseLinkOrmV2_4Package; - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMultitenant_2_4 Xml Multitenant 24}'. - * - * - * @return the meta object for class 'Xml Multitenant 24'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMultitenant_2_4 - * @generated - */ - public EClass getXmlMultitenant_2_4() - { - return xmlMultitenant_2_4EClass; - } - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMultitenant_2_4#getIncludeCriteria Include Criteria}'. - * - * - * @return the meta object for the attribute 'Include Criteria'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMultitenant_2_4#getIncludeCriteria() - * @see #getXmlMultitenant_2_4() - * @generated - */ - public EAttribute getXmlMultitenant_2_4_IncludeCriteria() - { - return (EAttribute)xmlMultitenant_2_4EClass.getEStructuralFeatures().get(0); - } - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMultitenant_2_4#getTenantTableDiscriminator Tenant Table Discriminator}'. - * - * - * @return the meta object for the containment reference 'Tenant Table Discriminator'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMultitenant_2_4#getTenantTableDiscriminator() - * @see #getXmlMultitenant_2_4() - * @generated - */ - public EReference getXmlMultitenant_2_4_TenantTableDiscriminator() - { - return (EReference)xmlMultitenant_2_4EClass.getEStructuralFeatures().get(1); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlNoSql_2_4 Xml No Sql 24}'. - * - * - * @return the meta object for class 'Xml No Sql 24'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlNoSql_2_4 - * @generated - */ - public EClass getXmlNoSql_2_4() - { - return xmlNoSql_2_4EClass; - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlNoSql_2_4#getDataType Data Type}'. - * - * - * @return the meta object for the attribute 'Data Type'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlNoSql_2_4#getDataType() - * @see #getXmlNoSql_2_4() - * @generated - */ - public EAttribute getXmlNoSql_2_4_DataType() - { - return (EAttribute)xmlNoSql_2_4EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlNoSql_2_4#getDataFormat Data Format}'. - * - * - * @return the meta object for the attribute 'Data Format'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlNoSql_2_4#getDataFormat() - * @see #getXmlNoSql_2_4() - * @generated - */ - public EAttribute getXmlNoSql_2_4_DataFormat() - { - return (EAttribute)xmlNoSql_2_4EClass.getEStructuralFeatures().get(1); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlElementCollection_2_4 Xml Element Collection 24}'. - * - * - * @return the meta object for class 'Xml Element Collection 24'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlElementCollection_2_4 - * @generated - */ - public EClass getXmlElementCollection_2_4() - { - return xmlElementCollection_2_4EClass; - } - - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlElementCollection_2_4#getField Field}'. - * - * - * @return the meta object for the containment reference 'Field'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlElementCollection_2_4#getField() - * @see #getXmlElementCollection_2_4() - * @generated - */ - public EReference getXmlElementCollection_2_4_Field() - { - return (EReference)xmlElementCollection_2_4EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlElementCollection_2_4#isDeleteAll Delete All}'. - * - * - * @return the meta object for the attribute 'Delete All'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlElementCollection_2_4#isDeleteAll() - * @see #getXmlElementCollection_2_4() - * @generated - */ - public EAttribute getXmlElementCollection_2_4_DeleteAll() - { - return (EAttribute)xmlElementCollection_2_4EClass.getEStructuralFeatures().get(1); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEmbeddable_2_4 Xml Embeddable 24}'. - * - * - * @return the meta object for class 'Xml Embeddable 24'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEmbeddable_2_4 - * @generated - */ - public EClass getXmlEmbeddable_2_4() - { - return xmlEmbeddable_2_4EClass; - } - - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEmbeddable_2_4#getNoSql No Sql}'. - * - * - * @return the meta object for the containment reference 'No Sql'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEmbeddable_2_4#getNoSql() - * @see #getXmlEmbeddable_2_4() - * @generated - */ - public EReference getXmlEmbeddable_2_4_NoSql() - { - return (EReference)xmlEmbeddable_2_4EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEmbedded_2_4 Xml Embedded 24}'. - * - * - * @return the meta object for class 'Xml Embedded 24'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEmbedded_2_4 - * @generated - */ - public EClass getXmlEmbedded_2_4() - { - return xmlEmbedded_2_4EClass; - } - - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEmbedded_2_4#getField Field}'. - * - * - * @return the meta object for the containment reference 'Field'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEmbedded_2_4#getField() - * @see #getXmlEmbedded_2_4() - * @generated - */ - public EReference getXmlEmbedded_2_4_Field() - { - return (EReference)xmlEmbedded_2_4EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToMany_2_4 Xml One To Many 24}'. - * - * - * @return the meta object for class 'Xml One To Many 24'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToMany_2_4 - * @generated - */ - public EClass getXmlOneToMany_2_4() - { - return xmlOneToMany_2_4EClass; - } - - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToMany_2_4#getJoinFields Join Fields}'. - * - * - * @return the meta object for the containment reference list 'Join Fields'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToMany_2_4#getJoinFields() - * @see #getXmlOneToMany_2_4() - * @generated - */ - public EReference getXmlOneToMany_2_4_JoinFields() - { - return (EReference)xmlOneToMany_2_4EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToMany_2_4#isDeleteAll Delete All}'. - * - * - * @return the meta object for the attribute 'Delete All'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToMany_2_4#isDeleteAll() - * @see #getXmlOneToMany_2_4() - * @generated - */ - public EAttribute getXmlOneToMany_2_4_DeleteAll() - { - return (EAttribute)xmlOneToMany_2_4EClass.getEStructuralFeatures().get(1); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToOne_2_4 Xml One To One 24}'. - * - * - * @return the meta object for class 'Xml One To One 24'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToOne_2_4 - * @generated - */ - public EClass getXmlOneToOne_2_4() - { - return xmlOneToOne_2_4EClass; - } - - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToOne_2_4#getJoinFields Join Fields}'. - * - * - * @return the meta object for the containment reference list 'Join Fields'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToOne_2_4#getJoinFields() - * @see #getXmlOneToOne_2_4() - * @generated - */ - public EReference getXmlOneToOne_2_4_JoinFields() - { - return (EReference)xmlOneToOne_2_4EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlTenantTableDiscriminator_2_4 Xml Tenant Table Discriminator 24}'. - * - * - * @return the meta object for class 'Xml Tenant Table Discriminator 24'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlTenantTableDiscriminator_2_4 - * @generated - */ - public EClass getXmlTenantTableDiscriminator_2_4() - { - return xmlTenantTableDiscriminator_2_4EClass; - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlTenantTableDiscriminator_2_4#getContextProperty Context Property}'. - * - * - * @return the meta object for the attribute 'Context Property'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlTenantTableDiscriminator_2_4#getContextProperty() - * @see #getXmlTenantTableDiscriminator_2_4() - * @generated - */ - public EAttribute getXmlTenantTableDiscriminator_2_4_ContextProperty() - { - return (EAttribute)xmlTenantTableDiscriminator_2_4EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlTenantTableDiscriminator_2_4#getType Type}'. - * - * - * @return the meta object for the attribute 'Type'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlTenantTableDiscriminator_2_4#getType() - * @see #getXmlTenantTableDiscriminator_2_4() - * @generated - */ - public EAttribute getXmlTenantTableDiscriminator_2_4_Type() - { - return (EAttribute)xmlTenantTableDiscriminator_2_4EClass.getEStructuralFeatures().get(1); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlUuidGenerator_2_4 Xml Uuid Generator 24}'. - * - * - * @return the meta object for class 'Xml Uuid Generator 24'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlUuidGenerator_2_4 - * @generated - */ - public EClass getXmlUuidGenerator_2_4() - { - return xmlUuidGenerator_2_4EClass; - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntity_2_4 Xml Entity 24}'. - * - * - * @return the meta object for class 'Xml Entity 24'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntity_2_4 - * @generated - */ - public EClass getXmlEntity_2_4() - { - return xmlEntity_2_4EClass; - } - - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntity_2_4#getCacheIndex Cache Index}'. - * - * - * @return the meta object for the containment reference 'Cache Index'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntity_2_4#getCacheIndex() - * @see #getXmlEntity_2_4() - * @generated - */ - public EReference getXmlEntity_2_4_CacheIndex() - { - return (EReference)xmlEntity_2_4EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntity_2_4#getNoSql No Sql}'. - * - * - * @return the meta object for the containment reference 'No Sql'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntity_2_4#getNoSql() - * @see #getXmlEntity_2_4() - * @generated - */ - public EReference getXmlEntity_2_4_NoSql() - { - return (EReference)xmlEntity_2_4EClass.getEStructuralFeatures().get(1); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntityMappings_2_4 Xml Entity Mappings 24}'. - * - * - * @return the meta object for class 'Xml Entity Mappings 24'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntityMappings_2_4 - * @generated - */ - public EClass getXmlEntityMappings_2_4() - { - return xmlEntityMappings_2_4EClass; - } - - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntityMappings_2_4#getUuidGenerators Uuid Generators}'. - * - * - * @return the meta object for the containment reference list 'Uuid Generators'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntityMappings_2_4#getUuidGenerators() - * @see #getXmlEntityMappings_2_4() - * @generated - */ - public EReference getXmlEntityMappings_2_4_UuidGenerators() - { - return (EReference)xmlEntityMappings_2_4EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlField_2_4 Xml Field 24}'. - * - * - * @return the meta object for class 'Xml Field 24'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlField_2_4 - * @generated - */ - public EClass getXmlField_2_4() - { - return xmlField_2_4EClass; - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlField_2_4#getName Name}'. - * - * - * @return the meta object for the attribute 'Name'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlField_2_4#getName() - * @see #getXmlField_2_4() - * @generated - */ - public EAttribute getXmlField_2_4_Name() - { - return (EAttribute)xmlField_2_4EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlBasic_2_4 Xml Basic 24}'. - * - * - * @return the meta object for class 'Xml Basic 24'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlBasic_2_4 - * @generated - */ - public EClass getXmlBasic_2_4() - { - return xmlBasic_2_4EClass; - } - - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlBasic_2_4#getField Field}'. - * - * - * @return the meta object for the containment reference 'Field'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlBasic_2_4#getField() - * @see #getXmlBasic_2_4() - * @generated - */ - public EReference getXmlBasic_2_4_Field() - { - return (EReference)xmlBasic_2_4EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlBasic_2_4#getCacheIndex Cache Index}'. - * - * - * @return the meta object for the containment reference 'Cache Index'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlBasic_2_4#getCacheIndex() - * @see #getXmlBasic_2_4() - * @generated - */ - public EReference getXmlBasic_2_4_CacheIndex() - { - return (EReference)xmlBasic_2_4EClass.getEStructuralFeatures().get(1); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlCache_2_4 Xml Cache 24}'. - * - * - * @return the meta object for class 'Xml Cache 24'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlCache_2_4 - * @generated - */ - public EClass getXmlCache_2_4() - { - return xmlCache_2_4EClass; - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlCache_2_4#getDatabaseChangeNotificationType Database Change Notification Type}'. - * - * - * @return the meta object for the attribute 'Database Change Notification Type'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlCache_2_4#getDatabaseChangeNotificationType() - * @see #getXmlCache_2_4() - * @generated - */ - public EAttribute getXmlCache_2_4_DatabaseChangeNotificationType() - { - return (EAttribute)xmlCache_2_4EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlCacheIndex_2_4 Xml Cache Index 24}'. - * - * - * @return the meta object for class 'Xml Cache Index 24'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlCacheIndex_2_4 - * @generated - */ - public EClass getXmlCacheIndex_2_4() - { - return xmlCacheIndex_2_4EClass; - } - - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlCacheIndex_2_4#getColumnNames Column Names}'. - * - * - * @return the meta object for the attribute list 'Column Names'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlCacheIndex_2_4#getColumnNames() - * @see #getXmlCacheIndex_2_4() - * @generated - */ - public EAttribute getXmlCacheIndex_2_4_ColumnNames() - { - return (EAttribute)xmlCacheIndex_2_4EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlGeneratorContainer2_4 Xml Generator Container2 4}'. - * - * - * @return the meta object for class 'Xml Generator Container2 4'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlGeneratorContainer2_4 - * @generated - */ - public EClass getXmlGeneratorContainer2_4() - { - return xmlGeneratorContainer2_4EClass; - } - - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlGeneratorContainer2_4#getUuidGenerator Uuid Generator}'. - * - * - * @return the meta object for the containment reference 'Uuid Generator'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlGeneratorContainer2_4#getUuidGenerator() - * @see #getXmlGeneratorContainer2_4() - * @generated - */ - public EReference getXmlGeneratorContainer2_4_UuidGenerator() - { - return (EReference)xmlGeneratorContainer2_4EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlId_2_4 Xml Id 24}'. - * - * - * @return the meta object for class 'Xml Id 24'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlId_2_4 - * @generated - */ - public EClass getXmlId_2_4() - { - return xmlId_2_4EClass; - } - - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlId_2_4#getField Field}'. - * - * - * @return the meta object for the containment reference 'Field'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlId_2_4#getField() - * @see #getXmlId_2_4() - * @generated - */ - public EReference getXmlId_2_4_Field() - { - return (EReference)xmlId_2_4EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlId_2_4#getCacheIndex Cache Index}'. - * - * - * @return the meta object for the containment reference 'Cache Index'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlId_2_4#getCacheIndex() - * @see #getXmlId_2_4() - * @generated - */ - public EReference getXmlId_2_4_CacheIndex() - { - return (EReference)xmlId_2_4EClass.getEStructuralFeatures().get(1); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlJoinField_2_4 Xml Join Field 24}'. - * - * - * @return the meta object for class 'Xml Join Field 24'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlJoinField_2_4 - * @generated - */ - public EClass getXmlJoinField_2_4() - { - return xmlJoinField_2_4EClass; - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlJoinField_2_4#getName Name}'. - * - * - * @return the meta object for the attribute 'Name'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlJoinField_2_4#getName() - * @see #getXmlJoinField_2_4() - * @generated - */ - public EAttribute getXmlJoinField_2_4_Name() - { - return (EAttribute)xmlJoinField_2_4EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlJoinField_2_4#getReferencedFieldName Referenced Field Name}'. - * - * - * @return the meta object for the attribute 'Referenced Field Name'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlJoinField_2_4#getReferencedFieldName() - * @see #getXmlJoinField_2_4() - * @generated - */ - public EAttribute getXmlJoinField_2_4_ReferencedFieldName() - { - return (EAttribute)xmlJoinField_2_4EClass.getEStructuralFeatures().get(1); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlManyToMany_2_4 Xml Many To Many 24}'. - * - * - * @return the meta object for class 'Xml Many To Many 24'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlManyToMany_2_4 - * @generated - */ - public EClass getXmlManyToMany_2_4() - { - return xmlManyToMany_2_4EClass; - } - - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlManyToMany_2_4#getJoinFields Join Fields}'. - * - * - * @return the meta object for the containment reference list 'Join Fields'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlManyToMany_2_4#getJoinFields() - * @see #getXmlManyToMany_2_4() - * @generated - */ - public EReference getXmlManyToMany_2_4_JoinFields() - { - return (EReference)xmlManyToMany_2_4EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlManyToOne_2_4 Xml Many To One 24}'. - * - * - * @return the meta object for class 'Xml Many To One 24'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlManyToOne_2_4 - * @generated - */ - public EClass getXmlManyToOne_2_4() - { - return xmlManyToOne_2_4EClass; - } - - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlManyToOne_2_4#getJoinFields Join Fields}'. - * - * - * @return the meta object for the containment reference list 'Join Fields'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlManyToOne_2_4#getJoinFields() - * @see #getXmlManyToOne_2_4() - * @generated - */ - public EReference getXmlManyToOne_2_4_JoinFields() - { - return (EReference)xmlManyToOne_2_4EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMappedSuperclass_2_4 Xml Mapped Superclass 24}'. - * - * - * @return the meta object for class 'Xml Mapped Superclass 24'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMappedSuperclass_2_4 - * @generated - */ - public EClass getXmlMappedSuperclass_2_4() - { - return xmlMappedSuperclass_2_4EClass; - } - - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMappedSuperclass_2_4#getCacheIndex Cache Index}'. - * - * - * @return the meta object for the containment reference 'Cache Index'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMappedSuperclass_2_4#getCacheIndex() - * @see #getXmlMappedSuperclass_2_4() - * @generated - */ - public EReference getXmlMappedSuperclass_2_4_CacheIndex() - { - return (EReference)xmlMappedSuperclass_2_4EClass.getEStructuralFeatures().get(0); - } - - - /** - * Returns the meta object for enum '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.DatabaseChangeNotificationType Database Change Notification Type}'. - * - * - * @return the meta object for enum 'Database Change Notification Type'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.DatabaseChangeNotificationType - * @generated - */ - public EEnum getDatabaseChangeNotificationType() - { - return databaseChangeNotificationTypeEEnum; - } - - - /** - * Returns the meta object for enum '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.TenantTableDiscriminatorType Tenant Table Discriminator Type}'. - * - * - * @return the meta object for enum 'Tenant Table Discriminator Type'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.TenantTableDiscriminatorType - * @generated - */ - public EEnum getTenantTableDiscriminatorType() - { - return tenantTableDiscriminatorTypeEEnum; - } - - - /** - * Returns the meta object for enum '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.DataFormatType Data Format Type}'. - * - * - * @return the meta object for enum 'Data Format Type'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.DataFormatType - * @generated - */ - public EEnum getDataFormatType() - { - return dataFormatTypeEEnum; - } - - - /** - * Returns the factory that creates the instances of the model. - * - * - * @return the factory that creates the instances of the model. - * @generated - */ - public EclipseLinkOrmV2_4Factory getEclipseLinkOrmV2_4Factory() - { - return (EclipseLinkOrmV2_4Factory)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 - xmlBasic_2_4EClass = createEClass(XML_BASIC_24); - createEReference(xmlBasic_2_4EClass, XML_BASIC_24__FIELD); - createEReference(xmlBasic_2_4EClass, XML_BASIC_24__CACHE_INDEX); - - xmlCache_2_4EClass = createEClass(XML_CACHE_24); - createEAttribute(xmlCache_2_4EClass, XML_CACHE_24__DATABASE_CHANGE_NOTIFICATION_TYPE); - - xmlCacheIndex_2_4EClass = createEClass(XML_CACHE_INDEX_24); - createEAttribute(xmlCacheIndex_2_4EClass, XML_CACHE_INDEX_24__COLUMN_NAMES); - - xmlGeneratorContainer2_4EClass = createEClass(XML_GENERATOR_CONTAINER2_4); - createEReference(xmlGeneratorContainer2_4EClass, XML_GENERATOR_CONTAINER2_4__UUID_GENERATOR); - - xmlElementCollection_2_4EClass = createEClass(XML_ELEMENT_COLLECTION_24); - createEReference(xmlElementCollection_2_4EClass, XML_ELEMENT_COLLECTION_24__FIELD); - createEAttribute(xmlElementCollection_2_4EClass, XML_ELEMENT_COLLECTION_24__DELETE_ALL); - - xmlEmbeddable_2_4EClass = createEClass(XML_EMBEDDABLE_24); - createEReference(xmlEmbeddable_2_4EClass, XML_EMBEDDABLE_24__NO_SQL); - - xmlEmbedded_2_4EClass = createEClass(XML_EMBEDDED_24); - createEReference(xmlEmbedded_2_4EClass, XML_EMBEDDED_24__FIELD); - - xmlEntity_2_4EClass = createEClass(XML_ENTITY_24); - createEReference(xmlEntity_2_4EClass, XML_ENTITY_24__CACHE_INDEX); - createEReference(xmlEntity_2_4EClass, XML_ENTITY_24__NO_SQL); - - xmlEntityMappings_2_4EClass = createEClass(XML_ENTITY_MAPPINGS_24); - createEReference(xmlEntityMappings_2_4EClass, XML_ENTITY_MAPPINGS_24__UUID_GENERATORS); - - xmlField_2_4EClass = createEClass(XML_FIELD_24); - createEAttribute(xmlField_2_4EClass, XML_FIELD_24__NAME); - - xmlId_2_4EClass = createEClass(XML_ID_24); - createEReference(xmlId_2_4EClass, XML_ID_24__FIELD); - createEReference(xmlId_2_4EClass, XML_ID_24__CACHE_INDEX); - - xmlJoinField_2_4EClass = createEClass(XML_JOIN_FIELD_24); - createEAttribute(xmlJoinField_2_4EClass, XML_JOIN_FIELD_24__NAME); - createEAttribute(xmlJoinField_2_4EClass, XML_JOIN_FIELD_24__REFERENCED_FIELD_NAME); - - xmlManyToMany_2_4EClass = createEClass(XML_MANY_TO_MANY_24); - createEReference(xmlManyToMany_2_4EClass, XML_MANY_TO_MANY_24__JOIN_FIELDS); - - xmlManyToOne_2_4EClass = createEClass(XML_MANY_TO_ONE_24); - createEReference(xmlManyToOne_2_4EClass, XML_MANY_TO_ONE_24__JOIN_FIELDS); - - xmlMappedSuperclass_2_4EClass = createEClass(XML_MAPPED_SUPERCLASS_24); - createEReference(xmlMappedSuperclass_2_4EClass, XML_MAPPED_SUPERCLASS_24__CACHE_INDEX); - - xmlMultitenant_2_4EClass = createEClass(XML_MULTITENANT_24); - createEAttribute(xmlMultitenant_2_4EClass, XML_MULTITENANT_24__INCLUDE_CRITERIA); - createEReference(xmlMultitenant_2_4EClass, XML_MULTITENANT_24__TENANT_TABLE_DISCRIMINATOR); - - xmlNoSql_2_4EClass = createEClass(XML_NO_SQL_24); - createEAttribute(xmlNoSql_2_4EClass, XML_NO_SQL_24__DATA_TYPE); - createEAttribute(xmlNoSql_2_4EClass, XML_NO_SQL_24__DATA_FORMAT); - - xmlOneToMany_2_4EClass = createEClass(XML_ONE_TO_MANY_24); - createEReference(xmlOneToMany_2_4EClass, XML_ONE_TO_MANY_24__JOIN_FIELDS); - createEAttribute(xmlOneToMany_2_4EClass, XML_ONE_TO_MANY_24__DELETE_ALL); - - xmlOneToOne_2_4EClass = createEClass(XML_ONE_TO_ONE_24); - createEReference(xmlOneToOne_2_4EClass, XML_ONE_TO_ONE_24__JOIN_FIELDS); - - xmlTenantTableDiscriminator_2_4EClass = createEClass(XML_TENANT_TABLE_DISCRIMINATOR_24); - createEAttribute(xmlTenantTableDiscriminator_2_4EClass, XML_TENANT_TABLE_DISCRIMINATOR_24__CONTEXT_PROPERTY); - createEAttribute(xmlTenantTableDiscriminator_2_4EClass, XML_TENANT_TABLE_DISCRIMINATOR_24__TYPE); - - xmlUuidGenerator_2_4EClass = createEClass(XML_UUID_GENERATOR_24); - - // Create enums - databaseChangeNotificationTypeEEnum = createEEnum(DATABASE_CHANGE_NOTIFICATION_TYPE); - tenantTableDiscriminatorTypeEEnum = createEEnum(TENANT_TABLE_DISCRIMINATOR_TYPE); - dataFormatTypeEEnum = createEEnum(DATA_FORMAT_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 - XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI); - OrmPackage theOrmPackage = (OrmPackage)EPackage.Registry.INSTANCE.getEPackage(OrmPackage.eNS_URI); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - xmlBasic_2_4EClass.getESuperTypes().add(this.getXmlGeneratorContainer2_4()); - xmlGeneratorContainer2_4EClass.getESuperTypes().add(theOrmPackage.getXmlGeneratorContainer()); - xmlEntity_2_4EClass.getESuperTypes().add(this.getXmlGeneratorContainer2_4()); - xmlId_2_4EClass.getESuperTypes().add(this.getXmlGeneratorContainer2_4()); - xmlMappedSuperclass_2_4EClass.getESuperTypes().add(this.getXmlGeneratorContainer2_4()); - xmlUuidGenerator_2_4EClass.getESuperTypes().add(theOrmPackage.getXmlGenerator()); - - // Initialize classes and features; add operations and parameters - initEClass(xmlBasic_2_4EClass, XmlBasic_2_4.class, "XmlBasic_2_4", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getXmlBasic_2_4_Field(), this.getXmlField_2_4(), null, "field", null, 0, 1, XmlBasic_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXmlBasic_2_4_CacheIndex(), this.getXmlCacheIndex_2_4(), null, "cacheIndex", null, 0, 1, XmlBasic_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlCache_2_4EClass, XmlCache_2_4.class, "XmlCache_2_4", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlCache_2_4_DatabaseChangeNotificationType(), this.getDatabaseChangeNotificationType(), "databaseChangeNotificationType", "", 0, 1, XmlCache_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlCacheIndex_2_4EClass, XmlCacheIndex_2_4.class, "XmlCacheIndex_2_4", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlCacheIndex_2_4_ColumnNames(), theXMLTypePackage.getString(), "columnNames", null, 0, -1, XmlCacheIndex_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlGeneratorContainer2_4EClass, XmlGeneratorContainer2_4.class, "XmlGeneratorContainer2_4", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getXmlGeneratorContainer2_4_UuidGenerator(), this.getXmlUuidGenerator_2_4(), null, "uuidGenerator", null, 0, 1, XmlGeneratorContainer2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlElementCollection_2_4EClass, XmlElementCollection_2_4.class, "XmlElementCollection_2_4", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getXmlElementCollection_2_4_Field(), this.getXmlField_2_4(), null, "field", null, 0, 1, XmlElementCollection_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXmlElementCollection_2_4_DeleteAll(), theXMLTypePackage.getBoolean(), "deleteAll", null, 0, 1, XmlElementCollection_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlEmbeddable_2_4EClass, XmlEmbeddable_2_4.class, "XmlEmbeddable_2_4", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getXmlEmbeddable_2_4_NoSql(), this.getXmlNoSql_2_4(), null, "noSql", null, 0, 1, XmlEmbeddable_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlEmbedded_2_4EClass, XmlEmbedded_2_4.class, "XmlEmbedded_2_4", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getXmlEmbedded_2_4_Field(), this.getXmlField_2_4(), null, "field", null, 0, 1, XmlEmbedded_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlEntity_2_4EClass, XmlEntity_2_4.class, "XmlEntity_2_4", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getXmlEntity_2_4_CacheIndex(), this.getXmlCacheIndex_2_4(), null, "cacheIndex", null, 0, 1, XmlEntity_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXmlEntity_2_4_NoSql(), this.getXmlNoSql_2_4(), null, "noSql", null, 0, 1, XmlEntity_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlEntityMappings_2_4EClass, XmlEntityMappings_2_4.class, "XmlEntityMappings_2_4", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getXmlEntityMappings_2_4_UuidGenerators(), this.getXmlUuidGenerator_2_4(), null, "uuidGenerators", null, 0, -1, XmlEntityMappings_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlField_2_4EClass, XmlField_2_4.class, "XmlField_2_4", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlField_2_4_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, XmlField_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlId_2_4EClass, XmlId_2_4.class, "XmlId_2_4", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getXmlId_2_4_Field(), this.getXmlField_2_4(), null, "field", null, 0, 1, XmlId_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXmlId_2_4_CacheIndex(), this.getXmlCacheIndex_2_4(), null, "cacheIndex", null, 0, 1, XmlId_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlJoinField_2_4EClass, XmlJoinField_2_4.class, "XmlJoinField_2_4", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlJoinField_2_4_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, XmlJoinField_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXmlJoinField_2_4_ReferencedFieldName(), theXMLTypePackage.getString(), "referencedFieldName", null, 0, 1, XmlJoinField_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlManyToMany_2_4EClass, XmlManyToMany_2_4.class, "XmlManyToMany_2_4", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getXmlManyToMany_2_4_JoinFields(), this.getXmlJoinField_2_4(), null, "joinFields", null, 0, -1, XmlManyToMany_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlManyToOne_2_4EClass, XmlManyToOne_2_4.class, "XmlManyToOne_2_4", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getXmlManyToOne_2_4_JoinFields(), this.getXmlJoinField_2_4(), null, "joinFields", null, 0, -1, XmlManyToOne_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlMappedSuperclass_2_4EClass, XmlMappedSuperclass_2_4.class, "XmlMappedSuperclass_2_4", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getXmlMappedSuperclass_2_4_CacheIndex(), this.getXmlCacheIndex_2_4(), null, "cacheIndex", null, 0, 1, XmlMappedSuperclass_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlMultitenant_2_4EClass, XmlMultitenant_2_4.class, "XmlMultitenant_2_4", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlMultitenant_2_4_IncludeCriteria(), theXMLTypePackage.getBooleanObject(), "includeCriteria", null, 0, 1, XmlMultitenant_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getXmlMultitenant_2_4_TenantTableDiscriminator(), this.getXmlTenantTableDiscriminator_2_4(), null, "tenantTableDiscriminator", null, 0, 1, XmlMultitenant_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlNoSql_2_4EClass, XmlNoSql_2_4.class, "XmlNoSql_2_4", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlNoSql_2_4_DataType(), theXMLTypePackage.getString(), "dataType", null, 0, 1, XmlNoSql_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXmlNoSql_2_4_DataFormat(), this.getDataFormatType(), "dataFormat", "", 0, 1, XmlNoSql_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlOneToMany_2_4EClass, XmlOneToMany_2_4.class, "XmlOneToMany_2_4", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getXmlOneToMany_2_4_JoinFields(), this.getXmlJoinField_2_4(), null, "joinFields", null, 0, -1, XmlOneToMany_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXmlOneToMany_2_4_DeleteAll(), theXMLTypePackage.getBoolean(), "deleteAll", null, 0, 1, XmlOneToMany_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlOneToOne_2_4EClass, XmlOneToOne_2_4.class, "XmlOneToOne_2_4", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getXmlOneToOne_2_4_JoinFields(), this.getXmlJoinField_2_4(), null, "joinFields", null, 0, -1, XmlOneToOne_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlTenantTableDiscriminator_2_4EClass, XmlTenantTableDiscriminator_2_4.class, "XmlTenantTableDiscriminator_2_4", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getXmlTenantTableDiscriminator_2_4_ContextProperty(), theXMLTypePackage.getString(), "contextProperty", null, 0, 1, XmlTenantTableDiscriminator_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getXmlTenantTableDiscriminator_2_4_Type(), this.getTenantTableDiscriminatorType(), "type", null, 0, 1, XmlTenantTableDiscriminator_2_4.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(xmlUuidGenerator_2_4EClass, XmlUuidGenerator_2_4.class, "XmlUuidGenerator_2_4", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - // Initialize enums and add enum literals - initEEnum(databaseChangeNotificationTypeEEnum, DatabaseChangeNotificationType.class, "DatabaseChangeNotificationType"); - addEEnumLiteral(databaseChangeNotificationTypeEEnum, DatabaseChangeNotificationType.NONE); - addEEnumLiteral(databaseChangeNotificationTypeEEnum, DatabaseChangeNotificationType.INVALIDATION); - - initEEnum(tenantTableDiscriminatorTypeEEnum, TenantTableDiscriminatorType.class, "TenantTableDiscriminatorType"); - addEEnumLiteral(tenantTableDiscriminatorTypeEEnum, TenantTableDiscriminatorType.SCHEMA); - addEEnumLiteral(tenantTableDiscriminatorTypeEEnum, TenantTableDiscriminatorType.SUFFIX); - addEEnumLiteral(tenantTableDiscriminatorTypeEEnum, TenantTableDiscriminatorType.PREFIX); - - initEEnum(dataFormatTypeEEnum, DataFormatType.class, "DataFormatType"); - addEEnumLiteral(dataFormatTypeEEnum, DataFormatType.XML); - addEEnumLiteral(dataFormatTypeEEnum, DataFormatType.INDEXED); - addEEnumLiteral(dataFormatTypeEEnum, DataFormatType.MAPPED); - } - - /** - * - * Defines literals for the meta objects that represent - *

    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • - *
- * - * @generated - */ - public interface Literals - { - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMultitenant_2_4 Xml Multitenant 24}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMultitenant_2_4 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlMultitenant_2_4() - * @generated - */ - public static final EClass XML_MULTITENANT_24 = eINSTANCE.getXmlMultitenant_2_4(); - - /** - * The meta object literal for the 'Include Criteria' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_MULTITENANT_24__INCLUDE_CRITERIA = eINSTANCE.getXmlMultitenant_2_4_IncludeCriteria(); - - /** - * The meta object literal for the 'Tenant Table Discriminator' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_MULTITENANT_24__TENANT_TABLE_DISCRIMINATOR = eINSTANCE.getXmlMultitenant_2_4_TenantTableDiscriminator(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlNoSql_2_4 Xml No Sql 24}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlNoSql_2_4 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlNoSql_2_4() - * @generated - */ - public static final EClass XML_NO_SQL_24 = eINSTANCE.getXmlNoSql_2_4(); - - /** - * The meta object literal for the 'Data Type' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_NO_SQL_24__DATA_TYPE = eINSTANCE.getXmlNoSql_2_4_DataType(); - - /** - * The meta object literal for the 'Data Format' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_NO_SQL_24__DATA_FORMAT = eINSTANCE.getXmlNoSql_2_4_DataFormat(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlElementCollection_2_4 Xml Element Collection 24}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlElementCollection_2_4 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlElementCollection_2_4() - * @generated - */ - public static final EClass XML_ELEMENT_COLLECTION_24 = eINSTANCE.getXmlElementCollection_2_4(); - - /** - * The meta object literal for the 'Field' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_ELEMENT_COLLECTION_24__FIELD = eINSTANCE.getXmlElementCollection_2_4_Field(); - - /** - * The meta object literal for the 'Delete All' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_ELEMENT_COLLECTION_24__DELETE_ALL = eINSTANCE.getXmlElementCollection_2_4_DeleteAll(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEmbeddable_2_4 Xml Embeddable 24}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEmbeddable_2_4 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlEmbeddable_2_4() - * @generated - */ - public static final EClass XML_EMBEDDABLE_24 = eINSTANCE.getXmlEmbeddable_2_4(); - - /** - * The meta object literal for the 'No Sql' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_EMBEDDABLE_24__NO_SQL = eINSTANCE.getXmlEmbeddable_2_4_NoSql(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEmbedded_2_4 Xml Embedded 24}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEmbedded_2_4 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlEmbedded_2_4() - * @generated - */ - public static final EClass XML_EMBEDDED_24 = eINSTANCE.getXmlEmbedded_2_4(); - - /** - * The meta object literal for the 'Field' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_EMBEDDED_24__FIELD = eINSTANCE.getXmlEmbedded_2_4_Field(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToMany_2_4 Xml One To Many 24}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToMany_2_4 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlOneToMany_2_4() - * @generated - */ - public static final EClass XML_ONE_TO_MANY_24 = eINSTANCE.getXmlOneToMany_2_4(); - - /** - * The meta object literal for the 'Join Fields' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_ONE_TO_MANY_24__JOIN_FIELDS = eINSTANCE.getXmlOneToMany_2_4_JoinFields(); - - /** - * The meta object literal for the 'Delete All' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_ONE_TO_MANY_24__DELETE_ALL = eINSTANCE.getXmlOneToMany_2_4_DeleteAll(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToOne_2_4 Xml One To One 24}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToOne_2_4 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlOneToOne_2_4() - * @generated - */ - public static final EClass XML_ONE_TO_ONE_24 = eINSTANCE.getXmlOneToOne_2_4(); - - /** - * The meta object literal for the 'Join Fields' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_ONE_TO_ONE_24__JOIN_FIELDS = eINSTANCE.getXmlOneToOne_2_4_JoinFields(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlTenantTableDiscriminator_2_4 Xml Tenant Table Discriminator 24}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlTenantTableDiscriminator_2_4 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlTenantTableDiscriminator_2_4() - * @generated - */ - public static final EClass XML_TENANT_TABLE_DISCRIMINATOR_24 = eINSTANCE.getXmlTenantTableDiscriminator_2_4(); - - /** - * The meta object literal for the 'Context Property' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_TENANT_TABLE_DISCRIMINATOR_24__CONTEXT_PROPERTY = eINSTANCE.getXmlTenantTableDiscriminator_2_4_ContextProperty(); - - /** - * The meta object literal for the 'Type' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_TENANT_TABLE_DISCRIMINATOR_24__TYPE = eINSTANCE.getXmlTenantTableDiscriminator_2_4_Type(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlUuidGenerator_2_4 Xml Uuid Generator 24}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlUuidGenerator_2_4 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlUuidGenerator_2_4() - * @generated - */ - public static final EClass XML_UUID_GENERATOR_24 = eINSTANCE.getXmlUuidGenerator_2_4(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntity_2_4 Xml Entity 24}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntity_2_4 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlEntity_2_4() - * @generated - */ - public static final EClass XML_ENTITY_24 = eINSTANCE.getXmlEntity_2_4(); - - /** - * The meta object literal for the 'Cache Index' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_ENTITY_24__CACHE_INDEX = eINSTANCE.getXmlEntity_2_4_CacheIndex(); - - /** - * The meta object literal for the 'No Sql' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_ENTITY_24__NO_SQL = eINSTANCE.getXmlEntity_2_4_NoSql(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntityMappings_2_4 Xml Entity Mappings 24}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntityMappings_2_4 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlEntityMappings_2_4() - * @generated - */ - public static final EClass XML_ENTITY_MAPPINGS_24 = eINSTANCE.getXmlEntityMappings_2_4(); - - /** - * The meta object literal for the 'Uuid Generators' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_ENTITY_MAPPINGS_24__UUID_GENERATORS = eINSTANCE.getXmlEntityMappings_2_4_UuidGenerators(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlField_2_4 Xml Field 24}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlField_2_4 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlField_2_4() - * @generated - */ - public static final EClass XML_FIELD_24 = eINSTANCE.getXmlField_2_4(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_FIELD_24__NAME = eINSTANCE.getXmlField_2_4_Name(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlBasic_2_4 Xml Basic 24}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlBasic_2_4 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlBasic_2_4() - * @generated - */ - public static final EClass XML_BASIC_24 = eINSTANCE.getXmlBasic_2_4(); - - /** - * The meta object literal for the 'Field' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_BASIC_24__FIELD = eINSTANCE.getXmlBasic_2_4_Field(); - - /** - * The meta object literal for the 'Cache Index' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_BASIC_24__CACHE_INDEX = eINSTANCE.getXmlBasic_2_4_CacheIndex(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlCache_2_4 Xml Cache 24}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlCache_2_4 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlCache_2_4() - * @generated - */ - public static final EClass XML_CACHE_24 = eINSTANCE.getXmlCache_2_4(); - - /** - * The meta object literal for the 'Database Change Notification Type' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_CACHE_24__DATABASE_CHANGE_NOTIFICATION_TYPE = eINSTANCE.getXmlCache_2_4_DatabaseChangeNotificationType(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlCacheIndex_2_4 Xml Cache Index 24}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlCacheIndex_2_4 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlCacheIndex_2_4() - * @generated - */ - public static final EClass XML_CACHE_INDEX_24 = eINSTANCE.getXmlCacheIndex_2_4(); - - /** - * The meta object literal for the 'Column Names' attribute list feature. - * - * - * @generated - */ - public static final EAttribute XML_CACHE_INDEX_24__COLUMN_NAMES = eINSTANCE.getXmlCacheIndex_2_4_ColumnNames(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlGeneratorContainer2_4 Xml Generator Container2 4}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlGeneratorContainer2_4 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlGeneratorContainer2_4() - * @generated - */ - public static final EClass XML_GENERATOR_CONTAINER2_4 = eINSTANCE.getXmlGeneratorContainer2_4(); - - /** - * The meta object literal for the 'Uuid Generator' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_GENERATOR_CONTAINER2_4__UUID_GENERATOR = eINSTANCE.getXmlGeneratorContainer2_4_UuidGenerator(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlId_2_4 Xml Id 24}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlId_2_4 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlId_2_4() - * @generated - */ - public static final EClass XML_ID_24 = eINSTANCE.getXmlId_2_4(); - - /** - * The meta object literal for the 'Field' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_ID_24__FIELD = eINSTANCE.getXmlId_2_4_Field(); - - /** - * The meta object literal for the 'Cache Index' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_ID_24__CACHE_INDEX = eINSTANCE.getXmlId_2_4_CacheIndex(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlJoinField_2_4 Xml Join Field 24}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlJoinField_2_4 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlJoinField_2_4() - * @generated - */ - public static final EClass XML_JOIN_FIELD_24 = eINSTANCE.getXmlJoinField_2_4(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_JOIN_FIELD_24__NAME = eINSTANCE.getXmlJoinField_2_4_Name(); - - /** - * The meta object literal for the 'Referenced Field Name' attribute feature. - * - * - * @generated - */ - public static final EAttribute XML_JOIN_FIELD_24__REFERENCED_FIELD_NAME = eINSTANCE.getXmlJoinField_2_4_ReferencedFieldName(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlManyToMany_2_4 Xml Many To Many 24}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlManyToMany_2_4 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlManyToMany_2_4() - * @generated - */ - public static final EClass XML_MANY_TO_MANY_24 = eINSTANCE.getXmlManyToMany_2_4(); - - /** - * The meta object literal for the 'Join Fields' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_MANY_TO_MANY_24__JOIN_FIELDS = eINSTANCE.getXmlManyToMany_2_4_JoinFields(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlManyToOne_2_4 Xml Many To One 24}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlManyToOne_2_4 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlManyToOne_2_4() - * @generated - */ - public static final EClass XML_MANY_TO_ONE_24 = eINSTANCE.getXmlManyToOne_2_4(); - - /** - * The meta object literal for the 'Join Fields' containment reference list feature. - * - * - * @generated - */ - public static final EReference XML_MANY_TO_ONE_24__JOIN_FIELDS = eINSTANCE.getXmlManyToOne_2_4_JoinFields(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMappedSuperclass_2_4 Xml Mapped Superclass 24}' class. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMappedSuperclass_2_4 - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlMappedSuperclass_2_4() - * @generated - */ - public static final EClass XML_MAPPED_SUPERCLASS_24 = eINSTANCE.getXmlMappedSuperclass_2_4(); - - /** - * The meta object literal for the 'Cache Index' containment reference feature. - * - * - * @generated - */ - public static final EReference XML_MAPPED_SUPERCLASS_24__CACHE_INDEX = eINSTANCE.getXmlMappedSuperclass_2_4_CacheIndex(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.DatabaseChangeNotificationType Database Change Notification Type}' enum. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.DatabaseChangeNotificationType - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getDatabaseChangeNotificationType() - * @generated - */ - public static final EEnum DATABASE_CHANGE_NOTIFICATION_TYPE = eINSTANCE.getDatabaseChangeNotificationType(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.TenantTableDiscriminatorType Tenant Table Discriminator Type}' enum. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.TenantTableDiscriminatorType - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getTenantTableDiscriminatorType() - * @generated - */ - public static final EEnum TENANT_TABLE_DISCRIMINATOR_TYPE = eINSTANCE.getTenantTableDiscriminatorType(); - - /** - * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.DataFormatType Data Format Type}' enum. - * - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.DataFormatType - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getDataFormatType() - * @generated - */ - public static final EEnum DATA_FORMAT_TYPE = eINSTANCE.getDataFormatType(); - - } - -} //EclipseLinkOrmV2_4Package diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/TenantTableDiscriminatorType.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/TenantTableDiscriminatorType.java deleted file mode 100644 index ec69ebbac1..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/TenantTableDiscriminatorType.java +++ /dev/null @@ -1,262 +0,0 @@ -/******************************************************************************* - * 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.v2_4; - -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 'Tenant Table Discriminator 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. - * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getTenantTableDiscriminatorType() - * @model - * @generated - */ -public enum TenantTableDiscriminatorType implements Enumerator -{ - /** - * The 'SCHEMA' literal object. - * - * - * @see #SCHEMA_VALUE - * @generated - * @ordered - */ - SCHEMA(0, "SCHEMA", "SCHEMA"), - - /** - * The 'SUFFIX' literal object. - * - * - * @see #SUFFIX_VALUE - * @generated - * @ordered - */ - SUFFIX(1, "SUFFIX", "SUFFIX"), - - /** - * The 'PREFIX' literal object. - * - * - * @see #PREFIX_VALUE - * @generated - * @ordered - */ - PREFIX(2, "PREFIX", "PREFIX"); - - /** - * The 'SCHEMA' literal value. - * - *

- * If the meaning of 'SCHEMA' literal object isn't clear, - * there really should be more of a description here... - *

- * - * @see #SCHEMA - * @model - * @generated - * @ordered - */ - public static final int SCHEMA_VALUE = 0; - - /** - * The 'SUFFIX' literal value. - * - *

- * If the meaning of 'SUFFIX' literal object isn't clear, - * there really should be more of a description here... - *

- * - * @see #SUFFIX - * @model - * @generated - * @ordered - */ - public static final int SUFFIX_VALUE = 1; - - /** - * The 'PREFIX' literal value. - * - *

- * If the meaning of 'PREFIX' literal object isn't clear, - * there really should be more of a description here... - *

- * - * @see #PREFIX - * @model - * @generated - * @ordered - */ - public static final int PREFIX_VALUE = 2; - - /** - * An array of all the 'Tenant Table Discriminator Type' enumerators. - * - * - * @generated - */ - private static final TenantTableDiscriminatorType[] VALUES_ARRAY = - new TenantTableDiscriminatorType[] - { - SCHEMA, - SUFFIX, - PREFIX, - }; - - /** - * A public read-only list of all the 'Tenant Table Discriminator Type' enumerators. - * - * - * @generated - */ - public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the 'Tenant Table Discriminator Type' literal with the specified literal value. - * - * - * @generated - */ - public static TenantTableDiscriminatorType get(String literal) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - TenantTableDiscriminatorType result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) - { - return result; - } - } - return null; - } - - /** - * Returns the 'Tenant Table Discriminator Type' literal with the specified name. - * - * - * @generated - */ - public static TenantTableDiscriminatorType getByName(String name) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - TenantTableDiscriminatorType result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) - { - return result; - } - } - return null; - } - - /** - * Returns the 'Tenant Table Discriminator Type' literal with the specified integer value. - * - * - * @generated - */ - public static TenantTableDiscriminatorType get(int value) - { - switch (value) - { - case SCHEMA_VALUE: return SCHEMA; - case SUFFIX_VALUE: return SUFFIX; - case PREFIX_VALUE: return PREFIX; - } - return null; - } - - /** - * - * - * @generated - */ - private final int value; - - /** - * - * - * @generated - */ - private final String name; - - /** - * - * - * @generated - */ - private final String literal; - - /** - * Only this class can construct instances. - * - * - * @generated - */ - private TenantTableDiscriminatorType(int value, String name, String literal) - { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * - * - * @generated - */ - public int getValue() - { - return value; - } - - /** - * - * - * @generated - */ - public String getName() - { - return name; - } - - /** - * - * - * @generated - */ - public String getLiteral() - { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * - * - * @generated - */ - @Override - public String toString() - { - return literal; - } - -} //TenantTableDiscriminatorType diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlBasic_2_4.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlBasic_2_4.java deleted file mode 100644 index c02ce4129b..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlBasic_2_4.java +++ /dev/null @@ -1,84 +0,0 @@ -/******************************************************************************* - * 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.v2_4; - - -/** - * - * A representation of the model object 'Xml Basic 24'. - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlBasic_2_4#getField Field}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlBasic_2_4#getCacheIndex Cache Index}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlBasic_2_4() - * @model kind="class" interface="true" abstract="true" - * @generated - */ -public interface XmlBasic_2_4 extends XmlGeneratorContainer2_4 -{ - /** - * 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.v2_4.EclipseLinkOrmV2_4Package#getXmlBasic_2_4_Field() - * @model containment="true" - * @generated - */ - XmlField_2_4 getField(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlBasic_2_4#getField Field}' containment reference. - * - * - * @param value the new value of the 'Field' containment reference. - * @see #getField() - * @generated - */ - void setField(XmlField_2_4 value); - - /** - * 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.v2_4.EclipseLinkOrmV2_4Package#getXmlBasic_2_4_CacheIndex() - * @model containment="true" - * @generated - */ - XmlCacheIndex_2_4 getCacheIndex(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlBasic_2_4#getCacheIndex Cache Index}' containment reference. - * - * - * @param value the new value of the 'Cache Index' containment reference. - * @see #getCacheIndex() - * @generated - */ - void setCacheIndex(XmlCacheIndex_2_4 value); - -} // XmlBasic_2_4 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlCacheIndex_2_4.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlCacheIndex_2_4.java deleted file mode 100644 index f0cd90708f..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlCacheIndex_2_4.java +++ /dev/null @@ -1,50 +0,0 @@ -/******************************************************************************* - * 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.v2_4; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Cache Index 24'. - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlCacheIndex_2_4#getColumnNames Column Names}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlCacheIndex_2_4() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlCacheIndex_2_4 extends EBaseObject -{ - /** - * 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.v2_4.EclipseLinkOrmV2_4Package#getXmlCacheIndex_2_4_ColumnNames() - * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - EList getColumnNames(); - -} // XmlCacheIndex_2_4 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlCache_2_4.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlCache_2_4.java deleted file mode 100644 index 898398f334..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlCache_2_4.java +++ /dev/null @@ -1,63 +0,0 @@ -/******************************************************************************* - * 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.v2_4; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Cache2 4'. - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlCache_2_4#getDatabaseChangeNotificationType Database Change Notification Type}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlCache_2_4() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlCache_2_4 extends EBaseObject -{ - /** - * 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.v2_4.EclipseLinkOrmV2_4Package#getXmlCache_2_4_DatabaseChangeNotificationType() - * @model default="" - * @generated - */ - DatabaseChangeNotificationType getDatabaseChangeNotificationType(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlCache_2_4#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 - */ - void setDatabaseChangeNotificationType(DatabaseChangeNotificationType value); - -} // XmlCache2_4 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlElementCollection_2_4.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlElementCollection_2_4.java deleted file mode 100644 index 31ea975470..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlElementCollection_2_4.java +++ /dev/null @@ -1,86 +0,0 @@ -/******************************************************************************* - * 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.v2_4; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Element Collection 24'. - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlElementCollection_2_4#getField Field}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlElementCollection_2_4#isDeleteAll Delete All}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlElementCollection_2_4() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlElementCollection_2_4 extends EBaseObject -{ - /** - * 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.v2_4.EclipseLinkOrmV2_4Package#getXmlElementCollection_2_4_Field() - * @model containment="true" - * @generated - */ - XmlField_2_4 getField(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlElementCollection_2_4#getField Field}' containment reference. - * - * - * @param value the new value of the 'Field' containment reference. - * @see #getField() - * @generated - */ - void setField(XmlField_2_4 value); - - /** - * 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.v2_4.EclipseLinkOrmV2_4Package#getXmlElementCollection_2_4_DeleteAll() - * @model dataType="org.eclipse.emf.ecore.xml.type.Boolean" - * @generated - */ - boolean isDeleteAll(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlElementCollection_2_4#isDeleteAll Delete All}' attribute. - * - * - * @param value the new value of the 'Delete All' attribute. - * @see #isDeleteAll() - * @generated - */ - void setDeleteAll(boolean value); - -} // XmlElementCollection_2_4 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlEmbeddable_2_4.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlEmbeddable_2_4.java deleted file mode 100644 index a3b47b4d49..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlEmbeddable_2_4.java +++ /dev/null @@ -1,65 +0,0 @@ -/******************************************************************************* - * 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.v2_4; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Embeddable 24'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEmbeddable_2_4#getNoSql No Sql}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlEmbeddable_2_4() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlEmbeddable_2_4 extends EBaseObject -{ - /** - * 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.v2_4.EclipseLinkOrmV2_4Package#getXmlEmbeddable_2_4_NoSql() - * @model containment="true" - * @generated - */ - XmlNoSql_2_4 getNoSql(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEmbeddable_2_4#getNoSql No Sql}' containment reference. - * - * - * @param value the new value of the 'No Sql' containment reference. - * @see #getNoSql() - * @generated - */ - void setNoSql(XmlNoSql_2_4 value); - -} // XmlEmbeddable_2_4 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlEmbedded_2_4.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlEmbedded_2_4.java deleted file mode 100644 index 6013ce4e48..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlEmbedded_2_4.java +++ /dev/null @@ -1,65 +0,0 @@ -/******************************************************************************* - * 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.v2_4; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Embedded 24'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEmbedded_2_4#getField Field}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlEmbedded_2_4() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlEmbedded_2_4 extends EBaseObject -{ - /** - * 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.v2_4.EclipseLinkOrmV2_4Package#getXmlEmbedded_2_4_Field() - * @model containment="true" - * @generated - */ - XmlField_2_4 getField(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEmbedded_2_4#getField Field}' containment reference. - * - * - * @param value the new value of the 'Field' containment reference. - * @see #getField() - * @generated - */ - void setField(XmlField_2_4 value); - -} // XmlEmbedded_2_4 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlEntityMappings_2_4.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlEntityMappings_2_4.java deleted file mode 100644 index 9c16a12166..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlEntityMappings_2_4.java +++ /dev/null @@ -1,56 +0,0 @@ -/******************************************************************************* - * 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.v2_4; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Entity Mappings 24'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntityMappings_2_4#getUuidGenerators Uuid Generators}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlEntityMappings_2_4() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlEntityMappings_2_4 extends EBaseObject -{ - /** - * Returns the value of the 'Uuid Generators' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlUuidGenerator_2_4}. - * - *

- * 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.v2_4.EclipseLinkOrmV2_4Package#getXmlEntityMappings_2_4_UuidGenerators() - * @model containment="true" - * @generated - */ - EList getUuidGenerators(); - -} // XmlEntityMappings_2_4 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlEntity_2_4.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlEntity_2_4.java deleted file mode 100644 index f0bc085580..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlEntity_2_4.java +++ /dev/null @@ -1,83 +0,0 @@ -/******************************************************************************* - * 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.v2_4; - -/** - * - * A representation of the model object 'Xml Entity 24'. - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntity_2_4#getCacheIndex Cache Index}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntity_2_4#getNoSql No Sql}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlEntity_2_4() - * @model kind="class" interface="true" abstract="true" - * @generated - */ -public interface XmlEntity_2_4 extends XmlGeneratorContainer2_4 -{ - /** - * 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.v2_4.EclipseLinkOrmV2_4Package#getXmlEntity_2_4_CacheIndex() - * @model containment="true" - * @generated - */ - XmlCacheIndex_2_4 getCacheIndex(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntity_2_4#getCacheIndex Cache Index}' containment reference. - * - * - * @param value the new value of the 'Cache Index' containment reference. - * @see #getCacheIndex() - * @generated - */ - void setCacheIndex(XmlCacheIndex_2_4 value); - - /** - * 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.v2_4.EclipseLinkOrmV2_4Package#getXmlEntity_2_4_NoSql() - * @model containment="true" - * @generated - */ - XmlNoSql_2_4 getNoSql(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntity_2_4#getNoSql No Sql}' containment reference. - * - * - * @param value the new value of the 'No Sql' containment reference. - * @see #getNoSql() - * @generated - */ - void setNoSql(XmlNoSql_2_4 value); - -} // XmlEntity_2_4 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlField_2_4.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlField_2_4.java deleted file mode 100644 index 62a25fe915..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlField_2_4.java +++ /dev/null @@ -1,65 +0,0 @@ -/******************************************************************************* - * 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.v2_4; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Field 24'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlField_2_4#getName Name}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlField_2_4() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlField_2_4 extends EBaseObject -{ - /** - * 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.v2_4.EclipseLinkOrmV2_4Package#getXmlField_2_4_Name() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlField_2_4#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - -} // XmlField_2_4 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlGeneratorContainer2_4.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlGeneratorContainer2_4.java deleted file mode 100644 index eeb63cf55d..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlGeneratorContainer2_4.java +++ /dev/null @@ -1,58 +0,0 @@ -/******************************************************************************* - * 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.v2_4; - -import org.eclipse.jpt.jpa.core.resource.orm.XmlGeneratorContainer; - -/** - * - * A representation of the model object 'Xml Generator Container2 4'. - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlGeneratorContainer2_4#getUuidGenerator Uuid Generator}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlGeneratorContainer2_4() - * @model kind="class" interface="true" abstract="true" - * @generated - */ -public interface XmlGeneratorContainer2_4 extends XmlGeneratorContainer -{ - /** - * 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.v2_4.EclipseLinkOrmV2_4Package#getXmlGeneratorContainer2_4_UuidGenerator() - * @model containment="true" - * @generated - */ - XmlUuidGenerator_2_4 getUuidGenerator(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlGeneratorContainer2_4#getUuidGenerator Uuid Generator}' containment reference. - * - * - * @param value the new value of the 'Uuid Generator' containment reference. - * @see #getUuidGenerator() - * @generated - */ - void setUuidGenerator(XmlUuidGenerator_2_4 value); - -} // XmlGeneratorContainer2_4 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlId_2_4.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlId_2_4.java deleted file mode 100644 index b69222f1b1..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlId_2_4.java +++ /dev/null @@ -1,83 +0,0 @@ -/******************************************************************************* - * 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.v2_4; - -/** - * - * A representation of the model object 'Xml Id 24'. - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlId_2_4#getField Field}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlId_2_4#getCacheIndex Cache Index}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlId_2_4() - * @model kind="class" interface="true" abstract="true" - * @generated - */ -public interface XmlId_2_4 extends XmlGeneratorContainer2_4 -{ - /** - * 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.v2_4.EclipseLinkOrmV2_4Package#getXmlId_2_4_Field() - * @model containment="true" - * @generated - */ - XmlField_2_4 getField(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlId_2_4#getField Field}' containment reference. - * - * - * @param value the new value of the 'Field' containment reference. - * @see #getField() - * @generated - */ - void setField(XmlField_2_4 value); - - /** - * 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.v2_4.EclipseLinkOrmV2_4Package#getXmlId_2_4_CacheIndex() - * @model containment="true" - * @generated - */ - XmlCacheIndex_2_4 getCacheIndex(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlId_2_4#getCacheIndex Cache Index}' containment reference. - * - * - * @param value the new value of the 'Cache Index' containment reference. - * @see #getCacheIndex() - * @generated - */ - void setCacheIndex(XmlCacheIndex_2_4 value); - -} // XmlId_2_4 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlJoinField_2_4.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlJoinField_2_4.java deleted file mode 100644 index 3cbff96f89..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlJoinField_2_4.java +++ /dev/null @@ -1,92 +0,0 @@ -/******************************************************************************* - * 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.v2_4; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Join Field 24'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlJoinField_2_4#getName Name}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlJoinField_2_4#getReferencedFieldName Referenced Field Name}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlJoinField_2_4() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlJoinField_2_4 extends EBaseObject -{ - /** - * 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.v2_4.EclipseLinkOrmV2_4Package#getXmlJoinField_2_4_Name() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlJoinField_2_4#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - - /** - * 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.v2_4.EclipseLinkOrmV2_4Package#getXmlJoinField_2_4_ReferencedFieldName() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getReferencedFieldName(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlJoinField_2_4#getReferencedFieldName Referenced Field Name}' attribute. - * - * - * @param value the new value of the 'Referenced Field Name' attribute. - * @see #getReferencedFieldName() - * @generated - */ - void setReferencedFieldName(String value); - -} // XmlJoinField_2_4 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlManyToMany_2_4.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlManyToMany_2_4.java deleted file mode 100644 index ef14af273f..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlManyToMany_2_4.java +++ /dev/null @@ -1,56 +0,0 @@ -/******************************************************************************* - * 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.v2_4; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Many To Many 24'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlManyToMany_2_4#getJoinFields Join Fields}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlManyToMany_2_4() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlManyToMany_2_4 extends EBaseObject -{ - /** - * Returns the value of the 'Join Fields' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlJoinField_2_4}. - * - *

- * If the meaning of the 'Join Fields' containment reference list isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Join Fields' containment reference list. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlManyToMany_2_4_JoinFields() - * @model containment="true" - * @generated - */ - EList getJoinFields(); - -} // XmlManyToMany_2_4 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlManyToOne_2_4.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlManyToOne_2_4.java deleted file mode 100644 index 0a9a5a5332..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlManyToOne_2_4.java +++ /dev/null @@ -1,56 +0,0 @@ -/******************************************************************************* - * 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.v2_4; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Many To One 24'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlManyToOne_2_4#getJoinFields Join Fields}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlManyToOne_2_4() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlManyToOne_2_4 extends EBaseObject -{ - /** - * Returns the value of the 'Join Fields' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlJoinField_2_4}. - * - *

- * If the meaning of the 'Join Fields' containment reference list isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Join Fields' containment reference list. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlManyToOne_2_4_JoinFields() - * @model containment="true" - * @generated - */ - EList getJoinFields(); - -} // XmlManyToOne_2_4 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlMappedSuperclass_2_4.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlMappedSuperclass_2_4.java deleted file mode 100644 index 2ebf36b060..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlMappedSuperclass_2_4.java +++ /dev/null @@ -1,56 +0,0 @@ -/******************************************************************************* - * 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.v2_4; - -/** - * - * A representation of the model object 'Xml Mapped Superclass 24'. - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMappedSuperclass_2_4#getCacheIndex Cache Index}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlMappedSuperclass_2_4() - * @model kind="class" interface="true" abstract="true" - * @generated - */ -public interface XmlMappedSuperclass_2_4 extends XmlGeneratorContainer2_4 -{ - /** - * 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.v2_4.EclipseLinkOrmV2_4Package#getXmlMappedSuperclass_2_4_CacheIndex() - * @model containment="true" - * @generated - */ - XmlCacheIndex_2_4 getCacheIndex(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMappedSuperclass_2_4#getCacheIndex Cache Index}' containment reference. - * - * - * @param value the new value of the 'Cache Index' containment reference. - * @see #getCacheIndex() - * @generated - */ - void setCacheIndex(XmlCacheIndex_2_4 value); - -} // XmlMappedSuperclass_2_4 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlMultitenant_2_4.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlMultitenant_2_4.java deleted file mode 100644 index d75c4eb93f..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlMultitenant_2_4.java +++ /dev/null @@ -1,89 +0,0 @@ -/******************************************************************************* - * 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.v2_4; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; -import org.eclipse.jpt.common.core.utility.TextRange; - -/** - * - * A representation of the model object 'Xml Multitenant 24'. - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMultitenant_2_4#getIncludeCriteria Include Criteria}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMultitenant_2_4#getTenantTableDiscriminator Tenant Table Discriminator}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlMultitenant_2_4() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlMultitenant_2_4 extends EBaseObject -{ - /** - * Returns the value of the 'Include Criteria' attribute. - * - *

- * If the meaning of the 'Include Criteria' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Include Criteria' attribute. - * @see #setIncludeCriteria(Boolean) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlMultitenant_2_4_IncludeCriteria() - * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" - * @generated - */ - Boolean getIncludeCriteria(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMultitenant_2_4#getIncludeCriteria Include Criteria}' attribute. - * - * - * @param value the new value of the 'Include Criteria' attribute. - * @see #getIncludeCriteria() - * @generated - */ - void setIncludeCriteria(Boolean value); - - /** - * Returns the value of the 'Tenant Table Discriminator' containment reference. - * - *

- * If the meaning of the 'Tenant Table Discriminator' containment reference isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Tenant Table Discriminator' containment reference. - * @see #setTenantTableDiscriminator(XmlTenantTableDiscriminator_2_4) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlMultitenant_2_4_TenantTableDiscriminator() - * @model containment="true" - * @generated - */ - XmlTenantTableDiscriminator_2_4 getTenantTableDiscriminator(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMultitenant_2_4#getTenantTableDiscriminator Tenant Table Discriminator}' containment reference. - * - * - * @param value the new value of the 'Tenant Table Discriminator' containment reference. - * @see #getTenantTableDiscriminator() - * @generated - */ - void setTenantTableDiscriminator(XmlTenantTableDiscriminator_2_4 value); - - TextRange getIncludeCriteriaTextRange(); - -} // XmlMultitenant_2_4 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlNoSql_2_4.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlNoSql_2_4.java deleted file mode 100644 index 05c8cb79ba..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlNoSql_2_4.java +++ /dev/null @@ -1,96 +0,0 @@ -/******************************************************************************* - * 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.v2_4; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml No Sql 24'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlNoSql_2_4#getDataType Data Type}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlNoSql_2_4#getDataFormat Data Format}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlNoSql_2_4() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlNoSql_2_4 extends EBaseObject -{ - /** - * Returns the value of the 'Data Type' attribute. - * - *

- * If the meaning of the 'Data Type' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Data Type' attribute. - * @see #setDataType(String) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlNoSql_2_4_DataType() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getDataType(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlNoSql_2_4#getDataType Data Type}' attribute. - * - * - * @param value the new value of the 'Data Type' attribute. - * @see #getDataType() - * @generated - */ - void setDataType(String value); - - /** - * Returns the value of the 'Data Format' attribute. - * The default value is "". - * The literals are from the enumeration {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.DataFormatType}. - * - *

- * If the meaning of the 'Data Format' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Data Format' attribute. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.DataFormatType - * @see #setDataFormat(DataFormatType) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlNoSql_2_4_DataFormat() - * @model default="" - * @generated - */ - DataFormatType getDataFormat(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlNoSql_2_4#getDataFormat Data Format}' attribute. - * - * - * @param value the new value of the 'Data Format' attribute. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.DataFormatType - * @see #getDataFormat() - * @generated - */ - void setDataFormat(DataFormatType value); - -} // XmlNoSql_2_4 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlOneToMany_2_4.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlOneToMany_2_4.java deleted file mode 100644 index 190b9ddcd0..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlOneToMany_2_4.java +++ /dev/null @@ -1,77 +0,0 @@ -/******************************************************************************* - * 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.v2_4; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml One To Many 24'. - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToMany_2_4#getJoinFields Join Fields}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToMany_2_4#isDeleteAll Delete All}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlOneToMany_2_4() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlOneToMany_2_4 extends EBaseObject -{ - /** - * Returns the value of the 'Join Fields' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlJoinField_2_4}. - * - *

- * If the meaning of the 'Join Fields' containment reference list isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Join Fields' containment reference list. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlOneToMany_2_4_JoinFields() - * @model containment="true" - * @generated - */ - EList getJoinFields(); - - /** - * 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.v2_4.EclipseLinkOrmV2_4Package#getXmlOneToMany_2_4_DeleteAll() - * @model dataType="org.eclipse.emf.ecore.xml.type.Boolean" - * @generated - */ - boolean isDeleteAll(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToMany_2_4#isDeleteAll Delete All}' attribute. - * - * - * @param value the new value of the 'Delete All' attribute. - * @see #isDeleteAll() - * @generated - */ - void setDeleteAll(boolean value); - -} // XmlOneToMany_2_4 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlOneToOne_2_4.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlOneToOne_2_4.java deleted file mode 100644 index dc2a7d91e8..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlOneToOne_2_4.java +++ /dev/null @@ -1,56 +0,0 @@ -/******************************************************************************* - * 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.v2_4; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml One To One 24'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToOne_2_4#getJoinFields Join Fields}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlOneToOne_2_4() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlOneToOne_2_4 extends EBaseObject -{ - /** - * Returns the value of the 'Join Fields' containment reference list. - * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlJoinField_2_4}. - * - *

- * If the meaning of the 'Join Fields' containment reference list isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Join Fields' containment reference list. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlOneToOne_2_4_JoinFields() - * @model containment="true" - * @generated - */ - EList getJoinFields(); - -} // XmlOneToOne_2_4 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlTenantTableDiscriminator_2_4.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlTenantTableDiscriminator_2_4.java deleted file mode 100644 index 864672709e..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlTenantTableDiscriminator_2_4.java +++ /dev/null @@ -1,95 +0,0 @@ -/******************************************************************************* - * 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.v2_4; - -import org.eclipse.jpt.common.core.resource.xml.EBaseObject; - -/** - * - * A representation of the model object 'Xml Tenant Table Discriminator 24'. - * - * 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: - *

    - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlTenantTableDiscriminator_2_4#getContextProperty Context Property}
  • - *
  • {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlTenantTableDiscriminator_2_4#getType Type}
  • - *
- *

- * - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlTenantTableDiscriminator_2_4() - * @model kind="class" interface="true" abstract="true" - * @extends EBaseObject - * @generated - */ -public interface XmlTenantTableDiscriminator_2_4 extends EBaseObject -{ - /** - * Returns the value of the 'Context Property' attribute. - * - *

- * If the meaning of the 'Context Property' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Context Property' attribute. - * @see #setContextProperty(String) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlTenantTableDiscriminator_2_4_ContextProperty() - * @model dataType="org.eclipse.emf.ecore.xml.type.String" - * @generated - */ - String getContextProperty(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlTenantTableDiscriminator_2_4#getContextProperty Context Property}' attribute. - * - * - * @param value the new value of the 'Context Property' attribute. - * @see #getContextProperty() - * @generated - */ - void setContextProperty(String value); - - /** - * Returns the value of the 'Type' attribute. - * The literals are from the enumeration {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.TenantTableDiscriminatorType}. - * - *

- * 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.v2_4.TenantTableDiscriminatorType - * @see #setType(TenantTableDiscriminatorType) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlTenantTableDiscriminator_2_4_Type() - * @model - * @generated - */ - TenantTableDiscriminatorType getType(); - - /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlTenantTableDiscriminator_2_4#getType Type}' attribute. - * - * - * @param value the new value of the 'Type' attribute. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.TenantTableDiscriminatorType - * @see #getType() - * @generated - */ - void setType(TenantTableDiscriminatorType value); - -} // XmlTenantTableDiscriminator_2_4 diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlUuidGenerator_2_4.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlUuidGenerator_2_4.java deleted file mode 100644 index cea67aa230..0000000000 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlUuidGenerator_2_4.java +++ /dev/null @@ -1,33 +0,0 @@ -/******************************************************************************* - * 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.v2_4; - -import org.eclipse.jpt.jpa.core.resource.orm.XmlGenerator; - -/** - * - * A representation of the model object 'Xml Uuid Generator 24'. - * - * 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.v2_4.EclipseLinkOrmV2_4Package#getXmlUuidGenerator_2_4() - * @model kind="class" interface="true" abstract="true" - * @generated - */ -public interface XmlUuidGenerator_2_4 extends XmlGenerator -{ - -} // XmlUuidGenerator_2_4 \ No newline at end of file -- cgit v1.2.3