diff options
author | kmoore | 2011-09-02 20:59:40 +0000 |
---|---|---|
committer | kmoore | 2011-09-02 20:59:40 +0000 |
commit | e747829bc1eca1ca10ce9ede2cdf59d1acc59b79 (patch) | |
tree | 236ab15ac96fc4f75f62a9d8c506dd1aa4aa7ac1 /jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm | |
parent | 2a0950cb6f7a51d90a1e44aa5eef107e24a5ef34 (diff) | |
download | webtools.dali-e747829bc1eca1ca10ce9ede2cdf59d1acc59b79.tar.gz webtools.dali-e747829bc1eca1ca10ce9ede2cdf59d1acc59b79.tar.xz webtools.dali-e747829bc1eca1ca10ce9ede2cdf59d1acc59b79.zip |
updated orm resource model for the 2.4 eclipselink-orm.xml schema
Diffstat (limited to 'jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm')
31 files changed, 3091 insertions, 344 deletions
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 index 164897b06a..4da6baf902 100644 --- 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 @@ -90,6 +90,7 @@ public class EclipseLinkOrmFactory extends EFactoryImpl 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(); @@ -320,6 +321,17 @@ public class EclipseLinkOrmFactory extends EFactoryImpl * <!-- end-user-doc --> * @generated */ + public XmlCacheIndex createXmlCacheIndex() + { + XmlCacheIndex xmlCacheIndex = new XmlCacheIndex(); + return xmlCacheIndex; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ public XmlChangeTracking createXmlChangeTracking() { XmlChangeTracking xmlChangeTracking = new XmlChangeTracking(); 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 index 4175d750fb..3ff7a45877 100644 --- 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 @@ -24,6 +24,7 @@ import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0 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; /** * <!-- begin-user-doc --> @@ -535,13 +536,29 @@ public class EclipseLinkOrmPackage extends EPackageImpl */ public static final int XML_BASIC__ATTRIBUTE_TYPE = OrmPackage.XML_BASIC_FEATURE_COUNT + 5; /** + * The feature id for the '<em><b>Index</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int XML_BASIC__INDEX = OrmPackage.XML_BASIC_FEATURE_COUNT + 6; + /** + * The feature id for the '<em><b>Cache Index</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int XML_BASIC__CACHE_INDEX = OrmPackage.XML_BASIC_FEATURE_COUNT + 7; + /** * The feature id for the '<em><b>Access Methods</b></em>' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ - public static final int XML_BASIC__ACCESS_METHODS = OrmPackage.XML_BASIC_FEATURE_COUNT + 6; + public static final int XML_BASIC__ACCESS_METHODS = OrmPackage.XML_BASIC_FEATURE_COUNT + 8; /** * The feature id for the '<em><b>Properties</b></em>' containment reference list. * <!-- begin-user-doc --> @@ -549,7 +566,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_BASIC__PROPERTIES = OrmPackage.XML_BASIC_FEATURE_COUNT + 7; + public static final int XML_BASIC__PROPERTIES = OrmPackage.XML_BASIC_FEATURE_COUNT + 9; /** * The feature id for the '<em><b>Mutable</b></em>' attribute. * <!-- begin-user-doc --> @@ -557,7 +574,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_BASIC__MUTABLE = OrmPackage.XML_BASIC_FEATURE_COUNT + 8; + public static final int XML_BASIC__MUTABLE = OrmPackage.XML_BASIC_FEATURE_COUNT + 10; /** * The feature id for the '<em><b>Converter</b></em>' containment reference. * <!-- begin-user-doc --> @@ -565,7 +582,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_BASIC__CONVERTER = OrmPackage.XML_BASIC_FEATURE_COUNT + 9; + public static final int XML_BASIC__CONVERTER = OrmPackage.XML_BASIC_FEATURE_COUNT + 11; /** * The feature id for the '<em><b>Type Converter</b></em>' containment reference. * <!-- begin-user-doc --> @@ -573,7 +590,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_BASIC__TYPE_CONVERTER = OrmPackage.XML_BASIC_FEATURE_COUNT + 10; + public static final int XML_BASIC__TYPE_CONVERTER = OrmPackage.XML_BASIC_FEATURE_COUNT + 12; /** * The feature id for the '<em><b>Object Type Converter</b></em>' containment reference. * <!-- begin-user-doc --> @@ -581,7 +598,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_BASIC__OBJECT_TYPE_CONVERTER = OrmPackage.XML_BASIC_FEATURE_COUNT + 11; + public static final int XML_BASIC__OBJECT_TYPE_CONVERTER = OrmPackage.XML_BASIC_FEATURE_COUNT + 13; /** * The feature id for the '<em><b>Struct Converter</b></em>' containment reference. * <!-- begin-user-doc --> @@ -589,7 +606,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_BASIC__STRUCT_CONVERTER = OrmPackage.XML_BASIC_FEATURE_COUNT + 12; + public static final int XML_BASIC__STRUCT_CONVERTER = OrmPackage.XML_BASIC_FEATURE_COUNT + 14; /** * The feature id for the '<em><b>Convert</b></em>' attribute. * <!-- begin-user-doc --> @@ -597,7 +614,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_BASIC__CONVERT = OrmPackage.XML_BASIC_FEATURE_COUNT + 13; + public static final int XML_BASIC__CONVERT = OrmPackage.XML_BASIC_FEATURE_COUNT + 15; /** * The number of structural features of the '<em>Xml Basic</em>' class. * <!-- begin-user-doc --> @@ -605,7 +622,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_BASIC_FEATURE_COUNT = OrmPackage.XML_BASIC_FEATURE_COUNT + 14; + public static final int XML_BASIC_FEATURE_COUNT = OrmPackage.XML_BASIC_FEATURE_COUNT + 16; /** * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasicCollection <em>Xml Basic Collection</em>}' class. * <!-- begin-user-doc --> @@ -901,6 +918,31 @@ public class EclipseLinkOrmPackage extends EPackageImpl */ 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 <em>Xml Cache Index</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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 '<em><b>Column Names</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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 '<em>Xml Cache Index</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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 <em>Xml Change Tracking</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -908,7 +950,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlChangeTracking() * @generated */ - public static final int XML_CHANGE_TRACKING = 13; + public static final int XML_CHANGE_TRACKING = 14; /** * The feature id for the '<em><b>Type</b></em>' attribute. * <!-- begin-user-doc --> @@ -933,7 +975,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlChangeTrackingHolder() * @generated */ - public static final int XML_CHANGE_TRACKING_HOLDER = 14; + public static final int XML_CHANGE_TRACKING_HOLDER = 15; /** * The feature id for the '<em><b>Change Tracking</b></em>' containment reference. * <!-- begin-user-doc --> @@ -958,7 +1000,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCloneCopyPolicy() * @generated */ - public static final int XML_CLONE_COPY_POLICY = 15; + public static final int XML_CLONE_COPY_POLICY = 16; /** * The feature id for the '<em><b>Method</b></em>' attribute. * <!-- begin-user-doc --> @@ -991,7 +1033,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCollectionTable() * @generated */ - public static final int XML_COLLECTION_TABLE = 16; + public static final int XML_COLLECTION_TABLE = 17; /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> @@ -1056,7 +1098,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConversionValue() * @generated */ - public static final int XML_CONVERSION_VALUE = 17; + public static final int XML_CONVERSION_VALUE = 18; /** * The feature id for the '<em><b>Data Value</b></em>' attribute. * <!-- begin-user-doc --> @@ -1089,7 +1131,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedConverter() * @generated */ - public static final int XML_NAMED_CONVERTER = 44; + public static final int XML_NAMED_CONVERTER = 45; /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> @@ -1114,7 +1156,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverter() * @generated */ - public static final int XML_CONVERTER = 18; + public static final int XML_CONVERTER = 19; /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> @@ -1147,7 +1189,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverterHolder() * @generated */ - public static final int XML_CONVERTER_HOLDER = 19; + public static final int XML_CONVERTER_HOLDER = 20; /** * The feature id for the '<em><b>Converter</b></em>' containment reference. * <!-- begin-user-doc --> @@ -1196,7 +1238,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConvertersHolder() * @generated */ - public static final int XML_CONVERTERS_HOLDER = 20; + public static final int XML_CONVERTERS_HOLDER = 21; /** * The feature id for the '<em><b>Converters</b></em>' containment reference list. * <!-- begin-user-doc --> @@ -1245,7 +1287,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConvertibleMapping() * @generated */ - public static final int XML_CONVERTIBLE_MAPPING = 21; + public static final int XML_CONVERTIBLE_MAPPING = 22; /** * The feature id for the '<em><b>Lob</b></em>' attribute. * <!-- begin-user-doc --> @@ -1326,7 +1368,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCopyPolicy() * @generated */ - public static final int XML_COPY_POLICY = 22; + public static final int XML_COPY_POLICY = 23; /** * The feature id for the '<em><b>Class</b></em>' attribute. * <!-- begin-user-doc --> @@ -1351,7 +1393,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCustomizer() * @generated */ - public static final int XML_CUSTOMIZER = 23; + public static final int XML_CUSTOMIZER = 24; /** * The feature id for the '<em><b>Customizer Class Name</b></em>' attribute. * <!-- begin-user-doc --> @@ -1376,7 +1418,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCustomizerHolder() * @generated */ - public static final int XML_CUSTOMIZER_HOLDER = 24; + public static final int XML_CUSTOMIZER_HOLDER = 25; /** * The feature id for the '<em><b>Customizer</b></em>' containment reference. * <!-- begin-user-doc --> @@ -1401,7 +1443,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlElementCollection() * @generated */ - public static final int XML_ELEMENT_COLLECTION = 25; + public static final int XML_ELEMENT_COLLECTION = 26; /** * The feature id for the '<em><b>Access</b></em>' attribute. * <!-- begin-user-doc --> @@ -1771,13 +1813,13 @@ public class EclipseLinkOrmPackage extends EPackageImpl */ public static final int XML_ELEMENT_COLLECTION__CASCADE_ON_DELETE = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 25; /** - * The feature id for the '<em><b>Non Cacheable</b></em>' attribute. + * The feature id for the '<em><b>Noncacheable</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ - public static final int XML_ELEMENT_COLLECTION__NON_CACHEABLE = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 26; + public static final int XML_ELEMENT_COLLECTION__NONCACHEABLE = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 26; /** * The feature id for the '<em><b>Composite Member</b></em>' attribute. * <!-- begin-user-doc --> @@ -1787,13 +1829,21 @@ public class EclipseLinkOrmPackage extends EPackageImpl */ public static final int XML_ELEMENT_COLLECTION__COMPOSITE_MEMBER = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 27; /** + * The feature id for the '<em><b>Delete All</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION__DELETE_ALL = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 28; + /** * The number of structural features of the '<em>Xml Element Collection</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ - public static final int XML_ELEMENT_COLLECTION_FEATURE_COUNT = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 28; + public static final int XML_ELEMENT_COLLECTION_FEATURE_COUNT = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 29; /** * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddable <em>Xml Embeddable</em>}' class. * <!-- begin-user-doc --> @@ -1802,7 +1852,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEmbeddable() * @generated */ - public static final int XML_EMBEDDABLE = 26; + public static final int XML_EMBEDDABLE = 27; /** * The feature id for the '<em><b>Access</b></em>' attribute. * <!-- begin-user-doc --> @@ -2003,7 +2053,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEmbedded() * @generated */ - public static final int XML_EMBEDDED = 27; + public static final int XML_EMBEDDED = 28; /** * The feature id for the '<em><b>Access</b></em>' attribute. * <!-- begin-user-doc --> @@ -2076,7 +2126,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEmbeddedId() * @generated */ - public static final int XML_EMBEDDED_ID = 28; + public static final int XML_EMBEDDED_ID = 29; /** * The feature id for the '<em><b>Access</b></em>' attribute. * <!-- begin-user-doc --> @@ -2141,7 +2191,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntity() * @generated */ - public static final int XML_ENTITY = 29; + public static final int XML_ENTITY = 30; /** * The feature id for the '<em><b>Access</b></em>' attribute. * <!-- begin-user-doc --> @@ -2599,13 +2649,21 @@ public class EclipseLinkOrmPackage extends EPackageImpl */ public static final int XML_ENTITY__STRUCT = OrmPackage.XML_ENTITY_FEATURE_COUNT + 25; /** + * The feature id for the '<em><b>Cache Index</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int XML_ENTITY__CACHE_INDEX = OrmPackage.XML_ENTITY_FEATURE_COUNT + 26; + /** * The feature id for the '<em><b>Read Only</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ - public static final int XML_ENTITY__READ_ONLY = OrmPackage.XML_ENTITY_FEATURE_COUNT + 26; + public static final int XML_ENTITY__READ_ONLY = OrmPackage.XML_ENTITY_FEATURE_COUNT + 27; /** * The feature id for the '<em><b>Customizer</b></em>' containment reference. * <!-- begin-user-doc --> @@ -2613,7 +2671,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_ENTITY__CUSTOMIZER = OrmPackage.XML_ENTITY_FEATURE_COUNT + 27; + public static final int XML_ENTITY__CUSTOMIZER = OrmPackage.XML_ENTITY_FEATURE_COUNT + 28; /** * The feature id for the '<em><b>Change Tracking</b></em>' containment reference. * <!-- begin-user-doc --> @@ -2621,7 +2679,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_ENTITY__CHANGE_TRACKING = OrmPackage.XML_ENTITY_FEATURE_COUNT + 28; + public static final int XML_ENTITY__CHANGE_TRACKING = OrmPackage.XML_ENTITY_FEATURE_COUNT + 29; /** * The feature id for the '<em><b>Cache</b></em>' containment reference. * <!-- begin-user-doc --> @@ -2629,7 +2687,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_ENTITY__CACHE = OrmPackage.XML_ENTITY_FEATURE_COUNT + 29; + public static final int XML_ENTITY__CACHE = OrmPackage.XML_ENTITY_FEATURE_COUNT + 30; /** * The feature id for the '<em><b>Existence Checking</b></em>' attribute. * <!-- begin-user-doc --> @@ -2637,7 +2695,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_ENTITY__EXISTENCE_CHECKING = OrmPackage.XML_ENTITY_FEATURE_COUNT + 30; + public static final int XML_ENTITY__EXISTENCE_CHECKING = OrmPackage.XML_ENTITY_FEATURE_COUNT + 31; /** * The feature id for the '<em><b>Converters</b></em>' containment reference list. * <!-- begin-user-doc --> @@ -2645,7 +2703,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_ENTITY__CONVERTERS = OrmPackage.XML_ENTITY_FEATURE_COUNT + 31; + public static final int XML_ENTITY__CONVERTERS = OrmPackage.XML_ENTITY_FEATURE_COUNT + 32; /** * The feature id for the '<em><b>Type Converters</b></em>' containment reference list. * <!-- begin-user-doc --> @@ -2653,7 +2711,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_ENTITY__TYPE_CONVERTERS = OrmPackage.XML_ENTITY_FEATURE_COUNT + 32; + public static final int XML_ENTITY__TYPE_CONVERTERS = OrmPackage.XML_ENTITY_FEATURE_COUNT + 33; /** * The feature id for the '<em><b>Object Type Converters</b></em>' containment reference list. * <!-- begin-user-doc --> @@ -2661,7 +2719,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_ENTITY__OBJECT_TYPE_CONVERTERS = OrmPackage.XML_ENTITY_FEATURE_COUNT + 33; + public static final int XML_ENTITY__OBJECT_TYPE_CONVERTERS = OrmPackage.XML_ENTITY_FEATURE_COUNT + 34; /** * The feature id for the '<em><b>Struct Converters</b></em>' containment reference list. * <!-- begin-user-doc --> @@ -2669,7 +2727,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_ENTITY__STRUCT_CONVERTERS = OrmPackage.XML_ENTITY_FEATURE_COUNT + 34; + public static final int XML_ENTITY__STRUCT_CONVERTERS = OrmPackage.XML_ENTITY_FEATURE_COUNT + 35; /** * The feature id for the '<em><b>Named Stored Procedure Queries</b></em>' containment reference list. * <!-- begin-user-doc --> @@ -2677,7 +2735,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_ENTITY__NAMED_STORED_PROCEDURE_QUERIES = OrmPackage.XML_ENTITY_FEATURE_COUNT + 35; + public static final int XML_ENTITY__NAMED_STORED_PROCEDURE_QUERIES = OrmPackage.XML_ENTITY_FEATURE_COUNT + 36; /** * The feature id for the '<em><b>Properties</b></em>' containment reference list. * <!-- begin-user-doc --> @@ -2685,7 +2743,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_ENTITY__PROPERTIES = OrmPackage.XML_ENTITY_FEATURE_COUNT + 36; + public static final int XML_ENTITY__PROPERTIES = OrmPackage.XML_ENTITY_FEATURE_COUNT + 37; /** * The feature id for the '<em><b>Optimistic Locking</b></em>' containment reference. * <!-- begin-user-doc --> @@ -2693,7 +2751,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_ENTITY__OPTIMISTIC_LOCKING = OrmPackage.XML_ENTITY_FEATURE_COUNT + 37; + public static final int XML_ENTITY__OPTIMISTIC_LOCKING = OrmPackage.XML_ENTITY_FEATURE_COUNT + 38; /** * The feature id for the '<em><b>Copy Policy</b></em>' containment reference. * <!-- begin-user-doc --> @@ -2701,7 +2759,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_ENTITY__COPY_POLICY = OrmPackage.XML_ENTITY_FEATURE_COUNT + 38; + public static final int XML_ENTITY__COPY_POLICY = OrmPackage.XML_ENTITY_FEATURE_COUNT + 39; /** * The feature id for the '<em><b>Instantiation Copy Policy</b></em>' containment reference. * <!-- begin-user-doc --> @@ -2709,7 +2767,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_ENTITY__INSTANTIATION_COPY_POLICY = OrmPackage.XML_ENTITY_FEATURE_COUNT + 39; + public static final int XML_ENTITY__INSTANTIATION_COPY_POLICY = OrmPackage.XML_ENTITY_FEATURE_COUNT + 40; /** * The feature id for the '<em><b>Clone Copy Policy</b></em>' containment reference. * <!-- begin-user-doc --> @@ -2717,7 +2775,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_ENTITY__CLONE_COPY_POLICY = OrmPackage.XML_ENTITY_FEATURE_COUNT + 40; + public static final int XML_ENTITY__CLONE_COPY_POLICY = OrmPackage.XML_ENTITY_FEATURE_COUNT + 41; /** * The feature id for the '<em><b>Exclude Default Mappings</b></em>' attribute. * <!-- begin-user-doc --> @@ -2725,7 +2783,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_ENTITY__EXCLUDE_DEFAULT_MAPPINGS = OrmPackage.XML_ENTITY_FEATURE_COUNT + 41; + public static final int XML_ENTITY__EXCLUDE_DEFAULT_MAPPINGS = OrmPackage.XML_ENTITY_FEATURE_COUNT + 42; /** * The number of structural features of the '<em>Xml Entity</em>' class. * <!-- begin-user-doc --> @@ -2733,7 +2791,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_ENTITY_FEATURE_COUNT = OrmPackage.XML_ENTITY_FEATURE_COUNT + 42; + public static final int XML_ENTITY_FEATURE_COUNT = OrmPackage.XML_ENTITY_FEATURE_COUNT + 43; /** * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntityMappings <em>Xml Entity Mappings</em>}' class. * <!-- begin-user-doc --> @@ -2742,7 +2800,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntityMappings() * @generated */ - public static final int XML_ENTITY_MAPPINGS = 30; + public static final int XML_ENTITY_MAPPINGS = 31; /** * The feature id for the '<em><b>Version</b></em>' attribute. * <!-- begin-user-doc --> @@ -3047,7 +3105,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlFetchAttribute() * @generated */ - public static final int XML_FETCH_ATTRIBUTE = 31; + public static final int XML_FETCH_ATTRIBUTE = 32; /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> @@ -3072,7 +3130,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlFetchGroup() * @generated */ - public static final int XML_FETCH_GROUP = 32; + public static final int XML_FETCH_GROUP = 33; /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> @@ -3113,7 +3171,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlId() * @generated */ - public static final int XML_ID = 34; + public static final int XML_ID = 35; /** * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlIndex <em>Xml Index</em>}' class. * <!-- begin-user-doc --> @@ -3122,7 +3180,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlIndex() * @generated */ - public static final int XML_INDEX = 35; + public static final int XML_INDEX = 36; /** * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlInstantiationCopyPolicy <em>Xml Instantiation Copy Policy</em>}' class. * <!-- begin-user-doc --> @@ -3131,7 +3189,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlInstantiationCopyPolicy() * @generated */ - public static final int XML_INSTANTIATION_COPY_POLICY = 36; + 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 <em>Xml Join Fetch</em>}' class. * <!-- begin-user-doc --> @@ -3140,7 +3198,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlJoinFetch() * @generated */ - public static final int XML_JOIN_FETCH = 37; + public static final int XML_JOIN_FETCH = 38; /** * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinTable <em>Xml Join Table</em>}' class. * <!-- begin-user-doc --> @@ -3149,7 +3207,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlJoinTable() * @generated */ - public static final int XML_JOIN_TABLE = 38; + public static final int XML_JOIN_TABLE = 39; /** * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToMany <em>Xml Many To Many</em>}' class. * <!-- begin-user-doc --> @@ -3158,7 +3216,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlManyToMany() * @generated */ - public static final int XML_MANY_TO_MANY = 39; + public static final int XML_MANY_TO_MANY = 40; /** * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToOne <em>Xml Many To One</em>}' class. * <!-- begin-user-doc --> @@ -3167,7 +3225,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlManyToOne() * @generated */ - public static final int XML_MANY_TO_ONE = 40; + public static final int XML_MANY_TO_ONE = 41; /** * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass <em>Xml Mapped Superclass</em>}' class. * <!-- begin-user-doc --> @@ -3176,7 +3234,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlMappedSuperclass() * @generated */ - public static final int XML_MAPPED_SUPERCLASS = 41; + public static final int XML_MAPPED_SUPERCLASS = 42; /** * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMutable <em>Xml Mutable</em>}' class. * <!-- begin-user-doc --> @@ -3185,7 +3243,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlMutable() * @generated */ - public static final int XML_MUTABLE = 43; + public static final int XML_MUTABLE = 44; /** * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery <em>Xml Named Stored Procedure Query</em>}' class. * <!-- begin-user-doc --> @@ -3194,7 +3252,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedStoredProcedureQuery() * @generated */ - public static final int XML_NAMED_STORED_PROCEDURE_QUERY = 48; + public static final int XML_NAMED_STORED_PROCEDURE_QUERY = 49; /** * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter <em>Xml Object Type Converter</em>}' class. * <!-- begin-user-doc --> @@ -3203,7 +3261,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlObjectTypeConverter() * @generated */ - public static final int XML_OBJECT_TYPE_CONVERTER = 49; + public static final int XML_OBJECT_TYPE_CONVERTER = 50; /** * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToMany <em>Xml One To Many</em>}' class. * <!-- begin-user-doc --> @@ -3212,7 +3270,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOneToMany() * @generated */ - public static final int XML_ONE_TO_MANY = 50; + public static final int XML_ONE_TO_MANY = 51; /** * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToOne <em>Xml One To One</em>}' class. * <!-- begin-user-doc --> @@ -3221,7 +3279,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOneToOne() * @generated */ - public static final int XML_ONE_TO_ONE = 51; + public static final int XML_ONE_TO_ONE = 52; /** * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOptimisticLocking <em>Xml Optimistic Locking</em>}' class. * <!-- begin-user-doc --> @@ -3230,7 +3288,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOptimisticLocking() * @generated */ - public static final int XML_OPTIMISTIC_LOCKING = 52; + public static final int XML_OPTIMISTIC_LOCKING = 53; /** * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOrderColumn <em>Xml Order Column</em>}' class. * <!-- begin-user-doc --> @@ -3239,7 +3297,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOrderColumn() * @generated */ - public static final int XML_ORDER_COLUMN = 53; + public static final int XML_ORDER_COLUMN = 54; /** * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPersistenceUnitDefaults <em>Xml Persistence Unit Defaults</em>}' class. * <!-- begin-user-doc --> @@ -3248,7 +3306,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPersistenceUnitDefaults() * @generated */ - public static final int XML_PERSISTENCE_UNIT_DEFAULTS = 55; + public static final int XML_PERSISTENCE_UNIT_DEFAULTS = 56; /** * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPersistenceUnitMetadata <em>Xml Persistence Unit Metadata</em>}' class. * <!-- begin-user-doc --> @@ -3257,7 +3315,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPersistenceUnitMetadata() * @generated */ - public static final int XML_PERSISTENCE_UNIT_METADATA = 56; + public static final int XML_PERSISTENCE_UNIT_METADATA = 57; /** * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPrimaryKey <em>Xml Primary Key</em>}' class. * <!-- begin-user-doc --> @@ -3266,7 +3324,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPrimaryKey() * @generated */ - public static final int XML_PRIMARY_KEY = 60; + public static final int XML_PRIMARY_KEY = 61; /** * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPrivateOwned <em>Xml Private Owned</em>}' class. * <!-- begin-user-doc --> @@ -3275,7 +3333,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPrivateOwned() * @generated */ - public static final int XML_PRIVATE_OWNED = 61; + public static final int XML_PRIVATE_OWNED = 62; /** * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlProperty <em>Xml Property</em>}' class. * <!-- begin-user-doc --> @@ -3284,7 +3342,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlProperty() * @generated */ - public static final int XML_PROPERTY = 62; + public static final int XML_PROPERTY = 63; /** * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPropertyContainer <em>Xml Property Container</em>}' class. * <!-- begin-user-doc --> @@ -3293,7 +3351,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPropertyContainer() * @generated */ - public static final int XML_PROPERTY_CONTAINER = 63; + public static final int XML_PROPERTY_CONTAINER = 64; /** * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryContainer <em>Xml Query Container</em>}' class. * <!-- begin-user-doc --> @@ -3302,7 +3360,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlQueryContainer() * @generated */ - public static final int XML_QUERY_CONTAINER = 64; + public static final int XML_QUERY_CONTAINER = 65; /** * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryRedirectors <em>Xml Query Redirectors</em>}' class. * <!-- begin-user-doc --> @@ -3311,7 +3369,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlQueryRedirectors() * @generated */ - public static final int XML_QUERY_REDIRECTORS = 65; + public static final int XML_QUERY_REDIRECTORS = 66; /** * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlReadOnly <em>Xml Read Only</em>}' class. * <!-- begin-user-doc --> @@ -3320,7 +3378,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlReadOnly() * @generated */ - public static final int XML_READ_ONLY = 67; + public static final int XML_READ_ONLY = 68; /** * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlReturnInsert <em>Xml Return Insert</em>}' class. * <!-- begin-user-doc --> @@ -3329,7 +3387,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlReturnInsert() * @generated */ - public static final int XML_RETURN_INSERT = 69; + public static final int XML_RETURN_INSERT = 70; /** * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlSecondaryTable <em>Xml Secondary Table</em>}' class. * <!-- begin-user-doc --> @@ -3338,7 +3396,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlSecondaryTable() * @generated */ - public static final int XML_SECONDARY_TABLE = 71; + public static final int XML_SECONDARY_TABLE = 72; /** * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter <em>Xml Stored Procedure Parameter</em>}' class. * <!-- begin-user-doc --> @@ -3347,7 +3405,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlStoredProcedureParameter() * @generated */ - public static final int XML_STORED_PROCEDURE_PARAMETER = 72; + public static final int XML_STORED_PROCEDURE_PARAMETER = 73; /** * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructConverter <em>Xml Struct Converter</em>}' class. * <!-- begin-user-doc --> @@ -3356,7 +3414,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlStructConverter() * @generated */ - public static final int XML_STRUCT_CONVERTER = 74; + public static final int XML_STRUCT_CONVERTER = 75; /** * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTable <em>Xml Table</em>}' class. * <!-- begin-user-doc --> @@ -3365,7 +3423,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTable() * @generated */ - public static final int XML_TABLE = 76; + public static final int XML_TABLE = 77; /** * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTableGenerator <em>Xml Table Generator</em>}' class. * <!-- begin-user-doc --> @@ -3374,7 +3432,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTableGenerator() * @generated */ - public static final int XML_TABLE_GENERATOR = 77; + public static final int XML_TABLE_GENERATOR = 78; /** * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTimeOfDay <em>Xml Time Of Day</em>}' class. * <!-- begin-user-doc --> @@ -3383,7 +3441,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTimeOfDay() * @generated */ - public static final int XML_TIME_OF_DAY = 79; + public static final int XML_TIME_OF_DAY = 80; /** * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTransformation <em>Xml Transformation</em>}' class. * <!-- begin-user-doc --> @@ -3392,7 +3450,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTransformation() * @generated */ - public static final int XML_TRANSFORMATION = 80; + public static final int XML_TRANSFORMATION = 81; /** * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTransient <em>Xml Transient</em>}' class. * <!-- begin-user-doc --> @@ -3401,7 +3459,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTransient() * @generated */ - public static final int XML_TRANSIENT = 81; + public static final int XML_TRANSIENT = 82; /** * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter <em>Xml Type Converter</em>}' class. * <!-- begin-user-doc --> @@ -3410,7 +3468,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTypeConverter() * @generated */ - public static final int XML_TYPE_CONVERTER = 82; + public static final int XML_TYPE_CONVERTER = 83; /** * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlVariableOneToOne <em>Xml Variable One To One</em>}' class. * <!-- begin-user-doc --> @@ -3419,7 +3477,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlVariableOneToOne() * @generated */ - public static final int XML_VARIABLE_ONE_TO_ONE = 85; + public static final int XML_VARIABLE_ONE_TO_ONE = 86; /** * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlVersion <em>Xml Version</em>}' class. * <!-- begin-user-doc --> @@ -3428,7 +3486,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlVersion() * @generated */ - public static final int XML_VERSION = 86; + public static final int XML_VERSION = 87; /** * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlHashPartitioning <em>Xml Hash Partitioning</em>}' class. * <!-- begin-user-doc --> @@ -3437,7 +3495,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlHashPartitioning() * @generated */ - public static final int XML_HASH_PARTITIONING = 33; + public static final int XML_HASH_PARTITIONING = 34; /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> @@ -3543,13 +3601,21 @@ public class EclipseLinkOrmPackage extends EPackageImpl */ public static final int XML_ID__INDEX = OrmPackage.XML_ID_FEATURE_COUNT + 1; /** + * The feature id for the '<em><b>Cache Index</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int XML_ID__CACHE_INDEX = OrmPackage.XML_ID_FEATURE_COUNT + 2; + /** * The feature id for the '<em><b>Access Methods</b></em>' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ - public static final int XML_ID__ACCESS_METHODS = OrmPackage.XML_ID_FEATURE_COUNT + 2; + public static final int XML_ID__ACCESS_METHODS = OrmPackage.XML_ID_FEATURE_COUNT + 3; /** * The feature id for the '<em><b>Properties</b></em>' containment reference list. * <!-- begin-user-doc --> @@ -3557,7 +3623,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_ID__PROPERTIES = OrmPackage.XML_ID_FEATURE_COUNT + 3; + public static final int XML_ID__PROPERTIES = OrmPackage.XML_ID_FEATURE_COUNT + 4; /** * The feature id for the '<em><b>Mutable</b></em>' attribute. * <!-- begin-user-doc --> @@ -3565,7 +3631,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_ID__MUTABLE = OrmPackage.XML_ID_FEATURE_COUNT + 4; + public static final int XML_ID__MUTABLE = OrmPackage.XML_ID_FEATURE_COUNT + 5; /** * The feature id for the '<em><b>Converter</b></em>' containment reference. * <!-- begin-user-doc --> @@ -3573,7 +3639,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_ID__CONVERTER = OrmPackage.XML_ID_FEATURE_COUNT + 5; + public static final int XML_ID__CONVERTER = OrmPackage.XML_ID_FEATURE_COUNT + 6; /** * The feature id for the '<em><b>Type Converter</b></em>' containment reference. * <!-- begin-user-doc --> @@ -3581,7 +3647,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_ID__TYPE_CONVERTER = OrmPackage.XML_ID_FEATURE_COUNT + 6; + public static final int XML_ID__TYPE_CONVERTER = OrmPackage.XML_ID_FEATURE_COUNT + 7; /** * The feature id for the '<em><b>Object Type Converter</b></em>' containment reference. * <!-- begin-user-doc --> @@ -3589,7 +3655,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_ID__OBJECT_TYPE_CONVERTER = OrmPackage.XML_ID_FEATURE_COUNT + 7; + public static final int XML_ID__OBJECT_TYPE_CONVERTER = OrmPackage.XML_ID_FEATURE_COUNT + 8; /** * The feature id for the '<em><b>Struct Converter</b></em>' containment reference. * <!-- begin-user-doc --> @@ -3597,7 +3663,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_ID__STRUCT_CONVERTER = OrmPackage.XML_ID_FEATURE_COUNT + 8; + public static final int XML_ID__STRUCT_CONVERTER = OrmPackage.XML_ID_FEATURE_COUNT + 9; /** * The feature id for the '<em><b>Convert</b></em>' attribute. * <!-- begin-user-doc --> @@ -3605,7 +3671,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_ID__CONVERT = OrmPackage.XML_ID_FEATURE_COUNT + 9; + public static final int XML_ID__CONVERT = OrmPackage.XML_ID_FEATURE_COUNT + 10; /** * The number of structural features of the '<em>Xml Id</em>' class. * <!-- begin-user-doc --> @@ -3613,7 +3679,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_ID_FEATURE_COUNT = OrmPackage.XML_ID_FEATURE_COUNT + 10; + public static final int XML_ID_FEATURE_COUNT = OrmPackage.XML_ID_FEATURE_COUNT + 11; /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> @@ -4591,13 +4657,21 @@ public class EclipseLinkOrmPackage extends EPackageImpl */ public static final int XML_MAPPED_SUPERCLASS__PLSQL_TABLES = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 30; /** + * The feature id for the '<em><b>Cache Index</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS__CACHE_INDEX = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 31; + /** * The feature id for the '<em><b>Read Only</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ - public static final int XML_MAPPED_SUPERCLASS__READ_ONLY = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 31; + public static final int XML_MAPPED_SUPERCLASS__READ_ONLY = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 32; /** * The feature id for the '<em><b>Customizer</b></em>' containment reference. * <!-- begin-user-doc --> @@ -4605,7 +4679,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_MAPPED_SUPERCLASS__CUSTOMIZER = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 32; + public static final int XML_MAPPED_SUPERCLASS__CUSTOMIZER = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 33; /** * The feature id for the '<em><b>Change Tracking</b></em>' containment reference. * <!-- begin-user-doc --> @@ -4613,7 +4687,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_MAPPED_SUPERCLASS__CHANGE_TRACKING = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 33; + public static final int XML_MAPPED_SUPERCLASS__CHANGE_TRACKING = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 34; /** * The feature id for the '<em><b>Cache</b></em>' containment reference. * <!-- begin-user-doc --> @@ -4621,7 +4695,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_MAPPED_SUPERCLASS__CACHE = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 34; + public static final int XML_MAPPED_SUPERCLASS__CACHE = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 35; /** * The feature id for the '<em><b>Existence Checking</b></em>' attribute. * <!-- begin-user-doc --> @@ -4629,7 +4703,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_MAPPED_SUPERCLASS__EXISTENCE_CHECKING = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 35; + public static final int XML_MAPPED_SUPERCLASS__EXISTENCE_CHECKING = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 36; /** * The feature id for the '<em><b>Converters</b></em>' containment reference list. * <!-- begin-user-doc --> @@ -4637,7 +4711,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_MAPPED_SUPERCLASS__CONVERTERS = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 36; + public static final int XML_MAPPED_SUPERCLASS__CONVERTERS = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 37; /** * The feature id for the '<em><b>Type Converters</b></em>' containment reference list. * <!-- begin-user-doc --> @@ -4645,7 +4719,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_MAPPED_SUPERCLASS__TYPE_CONVERTERS = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 37; + public static final int XML_MAPPED_SUPERCLASS__TYPE_CONVERTERS = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 38; /** * The feature id for the '<em><b>Object Type Converters</b></em>' containment reference list. * <!-- begin-user-doc --> @@ -4653,7 +4727,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_MAPPED_SUPERCLASS__OBJECT_TYPE_CONVERTERS = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 38; + public static final int XML_MAPPED_SUPERCLASS__OBJECT_TYPE_CONVERTERS = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 39; /** * The feature id for the '<em><b>Struct Converters</b></em>' containment reference list. * <!-- begin-user-doc --> @@ -4661,7 +4735,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_MAPPED_SUPERCLASS__STRUCT_CONVERTERS = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 39; + public static final int XML_MAPPED_SUPERCLASS__STRUCT_CONVERTERS = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 40; /** * The feature id for the '<em><b>Properties</b></em>' containment reference list. * <!-- begin-user-doc --> @@ -4669,7 +4743,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_MAPPED_SUPERCLASS__PROPERTIES = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 40; + public static final int XML_MAPPED_SUPERCLASS__PROPERTIES = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 41; /** * The feature id for the '<em><b>Optimistic Locking</b></em>' containment reference. * <!-- begin-user-doc --> @@ -4677,7 +4751,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_MAPPED_SUPERCLASS__OPTIMISTIC_LOCKING = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 41; + public static final int XML_MAPPED_SUPERCLASS__OPTIMISTIC_LOCKING = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 42; /** * The feature id for the '<em><b>Copy Policy</b></em>' containment reference. * <!-- begin-user-doc --> @@ -4685,7 +4759,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_MAPPED_SUPERCLASS__COPY_POLICY = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 42; + public static final int XML_MAPPED_SUPERCLASS__COPY_POLICY = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 43; /** * The feature id for the '<em><b>Instantiation Copy Policy</b></em>' containment reference. * <!-- begin-user-doc --> @@ -4693,7 +4767,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_MAPPED_SUPERCLASS__INSTANTIATION_COPY_POLICY = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 43; + public static final int XML_MAPPED_SUPERCLASS__INSTANTIATION_COPY_POLICY = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 44; /** * The feature id for the '<em><b>Clone Copy Policy</b></em>' containment reference. * <!-- begin-user-doc --> @@ -4701,7 +4775,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_MAPPED_SUPERCLASS__CLONE_COPY_POLICY = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 44; + public static final int XML_MAPPED_SUPERCLASS__CLONE_COPY_POLICY = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 45; /** * The feature id for the '<em><b>Exclude Default Mappings</b></em>' attribute. * <!-- begin-user-doc --> @@ -4709,7 +4783,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_MAPPED_SUPERCLASS__EXCLUDE_DEFAULT_MAPPINGS = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 45; + public static final int XML_MAPPED_SUPERCLASS__EXCLUDE_DEFAULT_MAPPINGS = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 46; /** * The number of structural features of the '<em>Xml Mapped Superclass</em>' class. * <!-- begin-user-doc --> @@ -4717,7 +4791,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_MAPPED_SUPERCLASS_FEATURE_COUNT = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 46; + public static final int XML_MAPPED_SUPERCLASS_FEATURE_COUNT = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 47; /** * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMultitenant <em>Xml Multitenant</em>}' class. * <!-- begin-user-doc --> @@ -4726,7 +4800,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlMultitenant() * @generated */ - public static final int XML_MULTITENANT = 42; + public static final int XML_MULTITENANT = 43; /** * The feature id for the '<em><b>Type</b></em>' attribute. * <!-- begin-user-doc --> @@ -4744,13 +4818,21 @@ public class EclipseLinkOrmPackage extends EPackageImpl */ public static final int XML_MULTITENANT__TENANT_DISCRIMINATOR_COLUMNS = EclipseLinkOrmV2_3Package.XML_MULTITENANT_23__TENANT_DISCRIMINATOR_COLUMNS; /** + * The feature id for the '<em><b>Include Criteria</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int XML_MULTITENANT__INCLUDE_CRITERIA = EclipseLinkOrmV2_3Package.XML_MULTITENANT_23_FEATURE_COUNT + 0; + /** * The number of structural features of the '<em>Xml Multitenant</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ - public static final int XML_MULTITENANT_FEATURE_COUNT = EclipseLinkOrmV2_3Package.XML_MULTITENANT_23_FEATURE_COUNT + 0; + public static final int XML_MULTITENANT_FEATURE_COUNT = EclipseLinkOrmV2_3Package.XML_MULTITENANT_23_FEATURE_COUNT + 1; /** * The feature id for the '<em><b>Mutable</b></em>' attribute. * <!-- begin-user-doc --> @@ -4775,7 +4857,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedPlsqlStoredFunctionQuery() * @generated */ - public static final int XML_NAMED_PLSQL_STORED_FUNCTION_QUERY = 45; + public static final int XML_NAMED_PLSQL_STORED_FUNCTION_QUERY = 46; /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> @@ -4800,7 +4882,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedPlsqlStoredProcedureQuery() * @generated */ - public static final int XML_NAMED_PLSQL_STORED_PROCEDURE_QUERY = 46; + public static final int XML_NAMED_PLSQL_STORED_PROCEDURE_QUERY = 47; /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> @@ -4825,7 +4907,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedStoredFunctionQuery() * @generated */ - public static final int XML_NAMED_STORED_FUNCTION_QUERY = 47; + public static final int XML_NAMED_STORED_FUNCTION_QUERY = 48; /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> @@ -5243,13 +5325,21 @@ public class EclipseLinkOrmPackage extends EPackageImpl */ public static final int XML_ONE_TO_MANY__CASCADE_ON_DELETE = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 17; /** - * The feature id for the '<em><b>Non Cacheable</b></em>' attribute. + * The feature id for the '<em><b>Noncacheable</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ - public static final int XML_ONE_TO_MANY__NON_CACHEABLE = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 18; + public static final int XML_ONE_TO_MANY__NONCACHEABLE = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 18; + /** + * The feature id for the '<em><b>Delete All</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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 '<em><b>Access Methods</b></em>' containment reference. * <!-- begin-user-doc --> @@ -5257,7 +5347,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_ONE_TO_MANY__ACCESS_METHODS = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 19; + public static final int XML_ONE_TO_MANY__ACCESS_METHODS = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 20; /** * The feature id for the '<em><b>Properties</b></em>' containment reference list. * <!-- begin-user-doc --> @@ -5265,7 +5355,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_ONE_TO_MANY__PROPERTIES = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 20; + public static final int XML_ONE_TO_MANY__PROPERTIES = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 21; /** * The feature id for the '<em><b>Private Owned</b></em>' attribute. * <!-- begin-user-doc --> @@ -5273,7 +5363,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_ONE_TO_MANY__PRIVATE_OWNED = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 21; + public static final int XML_ONE_TO_MANY__PRIVATE_OWNED = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 22; /** * The feature id for the '<em><b>Join Fetch</b></em>' attribute. * <!-- begin-user-doc --> @@ -5281,7 +5371,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_ONE_TO_MANY__JOIN_FETCH = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 22; + public static final int XML_ONE_TO_MANY__JOIN_FETCH = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 23; /** * The number of structural features of the '<em>Xml One To Many</em>' class. * <!-- begin-user-doc --> @@ -5289,7 +5379,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @generated * @ordered */ - public static final int XML_ONE_TO_MANY_FEATURE_COUNT = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 23; + public static final int XML_ONE_TO_MANY_FEATURE_COUNT = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 24; /** * The feature id for the '<em><b>Access</b></em>' attribute. * <!-- begin-user-doc --> @@ -5626,7 +5716,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioning() * @generated */ - public static final int XML_PARTITIONING = 54; + public static final int XML_PARTITIONING = 55; /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> @@ -5771,7 +5861,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPinnedPartitioning() * @generated */ - public static final int XML_PINNED_PARTITIONING = 57; + public static final int XML_PINNED_PARTITIONING = 58; /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> @@ -5796,7 +5886,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPlsqlRecord() * @generated */ - public static final int XML_PLSQL_RECORD = 58; + public static final int XML_PLSQL_RECORD = 59; /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> @@ -5821,7 +5911,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPlsqlTable() * @generated */ - public static final int XML_PLSQL_TABLE = 59; + public static final int XML_PLSQL_TABLE = 60; /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> @@ -6022,7 +6112,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlRangePartitioning() * @generated */ - public static final int XML_RANGE_PARTITIONING = 66; + public static final int XML_RANGE_PARTITIONING = 67; /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> @@ -6063,7 +6153,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlReplicationPartitioning() * @generated */ - public static final int XML_REPLICATION_PARTITIONING = 68; + public static final int XML_REPLICATION_PARTITIONING = 69; /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> @@ -6104,7 +6194,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlRoundRobinPartitioning() * @generated */ - public static final int XML_ROUND_ROBIN_PARTITIONING = 70; + public static final int XML_ROUND_ROBIN_PARTITIONING = 71; /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> @@ -6241,7 +6331,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlStruct() * @generated */ - public static final int XML_STRUCT = 73; + public static final int XML_STRUCT = 74; /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> @@ -6290,7 +6380,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlStructure() * @generated */ - public static final int XML_STRUCTURE = 75; + public static final int XML_STRUCTURE = 76; /** * The feature id for the '<em><b>Access</b></em>' attribute. * <!-- begin-user-doc --> @@ -6491,7 +6581,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTenantDiscriminatorColumn() * @generated */ - public static final int XML_TENANT_DISCRIMINATOR_COLUMN = 78; + public static final int XML_TENANT_DISCRIMINATOR_COLUMN = 79; /** * The feature id for the '<em><b>Column Definition</b></em>' attribute. * <!-- begin-user-doc --> @@ -6724,7 +6814,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlUnionPartitioning() * @generated */ - public static final int XML_UNION_PARTITIONING = 83; + public static final int XML_UNION_PARTITIONING = 84; /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> @@ -6749,7 +6839,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlValuePartitioning() * @generated */ - public static final int XML_VALUE_PARTITIONING = 84; + public static final int XML_VALUE_PARTITIONING = 85; /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> @@ -7030,7 +7120,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getCacheCoordinationType() * @generated */ - public static final int CACHE_COORDINATION_TYPE = 87; + public static final int CACHE_COORDINATION_TYPE = 88; /** * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.CacheType <em>Cache Type</em>}' enum. * <!-- begin-user-doc --> @@ -7039,7 +7129,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getCacheType() * @generated */ - public static final int CACHE_TYPE = 88; + public static final int CACHE_TYPE = 89; /** * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlChangeTrackingType <em>Xml Change Tracking Type</em>}' enum. * <!-- begin-user-doc --> @@ -7048,7 +7138,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlChangeTrackingType() * @generated */ - public static final int XML_CHANGE_TRACKING_TYPE = 89; + public static final int XML_CHANGE_TRACKING_TYPE = 90; /** * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlDirection <em>Xml Direction</em>}' enum. * <!-- begin-user-doc --> @@ -7057,7 +7147,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlDirection() * @generated */ - public static final int XML_DIRECTION = 90; + public static final int XML_DIRECTION = 91; /** * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.ExistenceType <em>Existence Type</em>}' enum. * <!-- begin-user-doc --> @@ -7066,7 +7156,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getExistenceType() * @generated */ - public static final int EXISTENCE_TYPE = 91; + public static final int EXISTENCE_TYPE = 92; /** * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinFetchType <em>Xml Join Fetch Type</em>}' enum. * <!-- begin-user-doc --> @@ -7075,7 +7165,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlJoinFetchType() * @generated */ - public static final int XML_JOIN_FETCH_TYPE = 92; + public static final int XML_JOIN_FETCH_TYPE = 93; /** * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOptimisticLockingType <em>Xml Optimistic Locking Type</em>}' enum. * <!-- begin-user-doc --> @@ -7084,7 +7174,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOptimisticLockingType() * @generated */ - public static final int XML_OPTIMISTIC_LOCKING_TYPE = 93; + public static final int XML_OPTIMISTIC_LOCKING_TYPE = 94; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -7168,6 +7258,12 @@ public class EclipseLinkOrmPackage extends EPackageImpl * <!-- end-user-doc --> * @generated */ + private EClass xmlCacheIndexEClass = null; + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ private EClass xmlChangeTrackingEClass = null; /** * <!-- begin-user-doc --> @@ -7709,6 +7805,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl 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(); @@ -7717,6 +7814,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl theEclipseLinkOrmV2_1Package.createPackageContents(); theEclipseLinkOrmV2_2Package.createPackageContents(); theEclipseLinkOrmV2_3Package.createPackageContents(); + theEclipseLinkOrmV2_4Package.createPackageContents(); // Initialize created meta-data theEclipseLinkOrmPackage.initializePackageContents(); @@ -7725,6 +7823,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl theEclipseLinkOrmV2_1Package.initializePackageContents(); theEclipseLinkOrmV2_2Package.initializePackageContents(); theEclipseLinkOrmV2_3Package.initializePackageContents(); + theEclipseLinkOrmV2_4Package.initializePackageContents(); // Mark meta-data to indicate it can't be changed theEclipseLinkOrmPackage.freeze(); @@ -8171,6 +8270,19 @@ public class EclipseLinkOrmPackage extends EPackageImpl } /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCacheIndex <em>Xml Cache Index</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Xml Cache Index</em>'. + * @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 <em>Xml Change Tracking</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -10294,6 +10406,8 @@ public class EclipseLinkOrmPackage extends EPackageImpl 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); @@ -10553,6 +10667,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl 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); @@ -10562,6 +10677,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl getESubpackages().add(theEclipseLinkOrmV2_1Package); getESubpackages().add(theEclipseLinkOrmV2_2Package); getESubpackages().add(theEclipseLinkOrmV2_3Package); + getESubpackages().add(theEclipseLinkOrmV2_4Package); // Create type parameters @@ -10580,6 +10696,8 @@ public class EclipseLinkOrmPackage extends EPackageImpl 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()); @@ -10590,6 +10708,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl xmlBasicMapEClass.getESuperTypes().add(this.getXmlAttributeMapping()); xmlBasicMapEClass.getESuperTypes().add(theEclipseLinkOrmV2_2Package.getXmlBasicMap_2_2()); xmlBatchFetchEClass.getESuperTypes().add(theEclipseLinkOrmV2_1Package.getXmlBatchFetch_2_1()); + 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()); @@ -10600,6 +10719,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl 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(theEclipseLinkOrmV2_1Package.getXmlEmbeddable_2_1()); xmlEmbeddableEClass.getESuperTypes().add(theEclipseLinkOrmV2_2Package.getXmlEmbeddable_2_2()); @@ -10620,6 +10740,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl 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()); @@ -10639,6 +10760,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl xmlIdEClass.getESuperTypes().add(theOrmPackage.getXmlId()); xmlIdEClass.getESuperTypes().add(theEclipseLinkOrmV2_1Package.getXmlId_2_1()); 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()); @@ -10662,6 +10784,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl 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()); @@ -10669,6 +10792,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl xmlMappedSuperclassEClass.getESuperTypes().add(this.getXmlConvertersHolder()); 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()); @@ -10677,6 +10801,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl 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()); @@ -10780,6 +10905,8 @@ public class EclipseLinkOrmPackage extends EPackageImpl 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); @@ -11344,6 +11471,16 @@ public class EclipseLinkOrmPackage extends EPackageImpl 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 <em>Xml Cache Index</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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 <em>Xml Change Tracking</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> 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 index 23324306c6..2ed293aa9b 100644 --- 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 @@ -35,6 +35,12 @@ import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1 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.wst.common.internal.emf.resource.Translator; /** @@ -58,7 +64,7 @@ import org.eclipse.wst.common.internal.emf.resource.Translator; * @model kind="class" * @generated */ -public class XmlBasic extends org.eclipse.jpt.jpa.core.resource.orm.XmlBasic implements XmlBasic_1_1, XmlBasic_2_1, XmlAttributeMapping, XmlMutable, XmlConvertibleMapping +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 { /** * The cached value of the '{@link #getSequenceGenerator() <em>Sequence Generator</em>}' containment reference. @@ -135,6 +141,24 @@ public class XmlBasic extends org.eclipse.jpt.jpa.core.resource.orm.XmlBasic imp */ protected String attributeType = ATTRIBUTE_TYPE_EDEFAULT; /** + * The cached value of the '{@link #getIndex() <em>Index</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getIndex() + * @generated + * @ordered + */ + protected XmlIndex_2_2 index; + /** + * The cached value of the '{@link #getCacheIndex() <em>Cache Index</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getCacheIndex() + * @generated + * @ordered + */ + protected XmlCacheIndex_2_4 cacheIndex; + /** * The cached value of the '{@link #getAccessMethods() <em>Access Methods</em>}' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -627,6 +651,126 @@ public class XmlBasic extends org.eclipse.jpt.jpa.core.resource.orm.XmlBasic imp } /** + * Returns the value of the '<em><b>Index</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Index</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Index</em>' 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; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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 <em>Index</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Index</em>' 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 '<em><b>Cache Index</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Cache Index</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Cache Index</em>' 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; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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 <em>Cache Index</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Cache Index</em>' 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 '<em><b>Access Methods</b></em>' containment reference. * <!-- begin-user-doc --> * <p> @@ -967,6 +1111,10 @@ public class XmlBasic extends org.eclipse.jpt.jpa.core.resource.orm.XmlBasic imp 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__CACHE_INDEX: + return basicSetCacheIndex(null, msgs); case EclipseLinkOrmPackage.XML_BASIC__ACCESS_METHODS: return basicSetAccessMethods(null, msgs); case EclipseLinkOrmPackage.XML_BASIC__PROPERTIES: @@ -1005,6 +1153,10 @@ public class XmlBasic extends org.eclipse.jpt.jpa.core.resource.orm.XmlBasic imp return getReturnUpdate(); case EclipseLinkOrmPackage.XML_BASIC__ATTRIBUTE_TYPE: return getAttributeType(); + case EclipseLinkOrmPackage.XML_BASIC__INDEX: + return getIndex(); + case EclipseLinkOrmPackage.XML_BASIC__CACHE_INDEX: + return getCacheIndex(); case EclipseLinkOrmPackage.XML_BASIC__ACCESS_METHODS: return getAccessMethods(); case EclipseLinkOrmPackage.XML_BASIC__PROPERTIES: @@ -1054,6 +1206,12 @@ public class XmlBasic extends org.eclipse.jpt.jpa.core.resource.orm.XmlBasic imp case EclipseLinkOrmPackage.XML_BASIC__ATTRIBUTE_TYPE: setAttributeType((String)newValue); return; + case EclipseLinkOrmPackage.XML_BASIC__INDEX: + setIndex((XmlIndex_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_BASIC__CACHE_INDEX: + setCacheIndex((XmlCacheIndex_2_4)newValue); + return; case EclipseLinkOrmPackage.XML_BASIC__ACCESS_METHODS: setAccessMethods((XmlAccessMethods)newValue); return; @@ -1111,6 +1269,12 @@ public class XmlBasic extends org.eclipse.jpt.jpa.core.resource.orm.XmlBasic imp case EclipseLinkOrmPackage.XML_BASIC__ATTRIBUTE_TYPE: setAttributeType(ATTRIBUTE_TYPE_EDEFAULT); return; + case EclipseLinkOrmPackage.XML_BASIC__INDEX: + setIndex((XmlIndex_2_2)null); + return; + case EclipseLinkOrmPackage.XML_BASIC__CACHE_INDEX: + setCacheIndex((XmlCacheIndex_2_4)null); + return; case EclipseLinkOrmPackage.XML_BASIC__ACCESS_METHODS: setAccessMethods((XmlAccessMethods)null); return; @@ -1161,6 +1325,10 @@ public class XmlBasic extends org.eclipse.jpt.jpa.core.resource.orm.XmlBasic imp return RETURN_UPDATE_EDEFAULT == null ? returnUpdate != null : !RETURN_UPDATE_EDEFAULT.equals(returnUpdate); case EclipseLinkOrmPackage.XML_BASIC__ATTRIBUTE_TYPE: return ATTRIBUTE_TYPE_EDEFAULT == null ? attributeType != null : !ATTRIBUTE_TYPE_EDEFAULT.equals(attributeType); + case EclipseLinkOrmPackage.XML_BASIC__INDEX: + return index != null; + case EclipseLinkOrmPackage.XML_BASIC__CACHE_INDEX: + return cacheIndex != null; case EclipseLinkOrmPackage.XML_BASIC__ACCESS_METHODS: return accessMethods != null; case EclipseLinkOrmPackage.XML_BASIC__PROPERTIES: @@ -1216,6 +1384,22 @@ public class XmlBasic extends org.eclipse.jpt.jpa.core.resource.orm.XmlBasic imp 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 == XmlBasic_2_4.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_BASIC__CACHE_INDEX: return EclipseLinkOrmV2_4Package.XML_BASIC_24__CACHE_INDEX; + default: return -1; + } + } if (baseClass == XmlAccessMethodsHolder.class) { switch (derivedFeatureID) @@ -1304,6 +1488,22 @@ public class XmlBasic extends org.eclipse.jpt.jpa.core.resource.orm.XmlBasic imp 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 == XmlBasic_2_4.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_4Package.XML_BASIC_24__CACHE_INDEX: return EclipseLinkOrmPackage.XML_BASIC__CACHE_INDEX; + default: return -1; + } + } if (baseClass == XmlAccessMethodsHolder.class) { switch (baseFeatureID) @@ -1408,6 +1608,7 @@ public class XmlBasic extends org.eclipse.jpt.jpa.core.resource.orm.XmlBasic imp buildAttributeTypeTranslator(), buildColumnTranslator(), buildIndexTranslator(), + buildCacheIndexTranslator(), buildGeneratedValueTranslator(), buildLobTranslator(), buildTemporalTranslator(), @@ -1432,6 +1633,10 @@ public class XmlBasic extends org.eclipse.jpt.jpa.core.resource.orm.XmlBasic imp 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()); 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 new file mode 100644 index 0000000000..aa252f224c --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCacheIndex.java @@ -0,0 +1,201 @@ +/******************************************************************************* + * 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.jpa.core.resource.xml.AbstractJpaEObject; + +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; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Xml Cache Index</b></em>'. + * <!-- end-user-doc --> + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCacheIndex() + * @model kind="class" + * @generated + */ +public class XmlCacheIndex extends AbstractJpaEObject implements XmlCacheIndex_2_4 +{ + /** + * The cached value of the '{@link #getColumnNames() <em>Column Names</em>}' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getColumnNames() + * @generated + * @ordered + */ + protected EList<String> columnNames; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected XmlCacheIndex() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_CACHE_INDEX; + } + + /** + * Returns the value of the '<em><b>Column Names</b></em>' attribute list. + * The list contents are of type {@link java.lang.String}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Column Names</em>' attribute list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Column Names</em>' 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<String> getColumnNames() + { + if (columnNames == null) + { + columnNames = new EDataTypeEList<String>(String.class, this, EclipseLinkOrmPackage.XML_CACHE_INDEX__COLUMN_NAMES); + } + return columnNames; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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<? extends String>)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_CACHE_INDEX__COLUMN_NAMES: + getColumnNames().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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/XmlElementCollection.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlElementCollection.java index dbdac1c7f5..7cf943227d 100644 --- 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 @@ -54,6 +54,9 @@ import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlValuePartitioni 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.wst.common.internal.emf.resource.Translator; /** @@ -75,7 +78,7 @@ import org.eclipse.wst.common.internal.emf.resource.Translator; * @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 +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() <em>Access Methods</em>}' containment reference. @@ -394,24 +397,24 @@ public class XmlElementCollection extends org.eclipse.jpt.jpa.core.resource.orm. protected Boolean cascadeOnDelete = CASCADE_ON_DELETE_EDEFAULT; /** - * The default value of the '{@link #isNonCacheable() <em>Non Cacheable</em>}' attribute. + * The default value of the '{@link #isNoncacheable() <em>Noncacheable</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * @see #isNonCacheable() + * @see #isNoncacheable() * @generated * @ordered */ - protected static final boolean NON_CACHEABLE_EDEFAULT = false; + protected static final boolean NONCACHEABLE_EDEFAULT = false; /** - * The cached value of the '{@link #isNonCacheable() <em>Non Cacheable</em>}' attribute. + * The cached value of the '{@link #isNoncacheable() <em>Noncacheable</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * @see #isNonCacheable() + * @see #isNoncacheable() * @generated * @ordered */ - protected boolean nonCacheable = NON_CACHEABLE_EDEFAULT; + protected boolean noncacheable = NONCACHEABLE_EDEFAULT; /** * The default value of the '{@link #getCompositeMember() <em>Composite Member</em>}' attribute. @@ -434,6 +437,26 @@ public class XmlElementCollection extends org.eclipse.jpt.jpa.core.resource.orm. protected String compositeMember = COMPOSITE_MEMBER_EDEFAULT; /** + * The default value of the '{@link #isDeleteAll() <em>Delete All</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isDeleteAll() + * @generated + * @ordered + */ + protected static final boolean DELETE_ALL_EDEFAULT = false; + + /** + * The cached value of the '{@link #isDeleteAll() <em>Delete All</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isDeleteAll() + * @generated + * @ordered + */ + protected boolean deleteAll = DELETE_ALL_EDEFAULT; + + /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated @@ -1646,38 +1669,38 @@ public class XmlElementCollection extends org.eclipse.jpt.jpa.core.resource.orm. } /** - * Returns the value of the '<em><b>Non Cacheable</b></em>' attribute. + * Returns the value of the '<em><b>Noncacheable</b></em>' attribute. * <!-- begin-user-doc --> * <p> - * If the meaning of the '<em>Non Cacheable</em>' attribute isn't clear, + * If the meaning of the '<em>Noncacheable</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> - * @return the value of the '<em>Non Cacheable</em>' attribute. - * @see #setNonCacheable(boolean) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlElementCollection_2_2_NonCacheable() + * @return the value of the '<em>Noncacheable</em>' 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() + public boolean isNoncacheable() { - return nonCacheable; + return noncacheable; } /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlElementCollection#isNonCacheable <em>Non Cacheable</em>}' attribute. + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlElementCollection#isNoncacheable <em>Noncacheable</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * @param value the new value of the '<em>Non Cacheable</em>' attribute. - * @see #isNonCacheable() + * @param value the new value of the '<em>Noncacheable</em>' attribute. + * @see #isNoncacheable() * @generated */ - public void setNonCacheable(boolean newNonCacheable) + public void setNoncacheable(boolean newNoncacheable) { - boolean oldNonCacheable = nonCacheable; - nonCacheable = newNonCacheable; + boolean oldNoncacheable = noncacheable; + noncacheable = newNoncacheable; if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__NON_CACHEABLE, oldNonCacheable, nonCacheable)); + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__NONCACHEABLE, oldNoncacheable, noncacheable)); } /** @@ -1716,6 +1739,41 @@ public class XmlElementCollection extends org.eclipse.jpt.jpa.core.resource.orm. } /** + * Returns the value of the '<em><b>Delete All</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Delete All</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Delete All</em>' 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 <em>Delete All</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Delete All</em>' 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)); + } + + /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated @@ -1831,10 +1889,12 @@ public class XmlElementCollection extends org.eclipse.jpt.jpa.core.resource.orm. return getPartitioned(); case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CASCADE_ON_DELETE: return getCascadeOnDelete(); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__NON_CACHEABLE: - return isNonCacheable(); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__NONCACHEABLE: + return isNoncacheable(); case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__COMPOSITE_MEMBER: return getCompositeMember(); + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__DELETE_ALL: + return isDeleteAll(); } return super.eGet(featureID, resolve, coreType); } @@ -1934,12 +1994,15 @@ public class XmlElementCollection extends org.eclipse.jpt.jpa.core.resource.orm. case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CASCADE_ON_DELETE: setCascadeOnDelete((Boolean)newValue); return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__NON_CACHEABLE: - setNonCacheable((Boolean)newValue); + 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__DELETE_ALL: + setDeleteAll((Boolean)newValue); + return; } super.eSet(featureID, newValue); } @@ -2032,12 +2095,15 @@ public class XmlElementCollection extends org.eclipse.jpt.jpa.core.resource.orm. case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CASCADE_ON_DELETE: setCascadeOnDelete(CASCADE_ON_DELETE_EDEFAULT); return; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__NON_CACHEABLE: - setNonCacheable(NON_CACHEABLE_EDEFAULT); + 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__DELETE_ALL: + setDeleteAll(DELETE_ALL_EDEFAULT); + return; } super.eUnset(featureID); } @@ -2104,10 +2170,12 @@ public class XmlElementCollection extends org.eclipse.jpt.jpa.core.resource.orm. return PARTITIONED_EDEFAULT == null ? partitioned != null : !PARTITIONED_EDEFAULT.equals(partitioned); case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CASCADE_ON_DELETE: return CASCADE_ON_DELETE_EDEFAULT == null ? cascadeOnDelete != null : !CASCADE_ON_DELETE_EDEFAULT.equals(cascadeOnDelete); - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__NON_CACHEABLE: - return nonCacheable != NON_CACHEABLE_EDEFAULT; + 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__DELETE_ALL: + return deleteAll != DELETE_ALL_EDEFAULT; } return super.eIsSet(featureID); } @@ -2241,7 +2309,7 @@ public class XmlElementCollection extends org.eclipse.jpt.jpa.core.resource.orm. switch (derivedFeatureID) { case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CASCADE_ON_DELETE: return EclipseLinkOrmV2_2Package.XML_ELEMENT_COLLECTION_22__CASCADE_ON_DELETE; - case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__NON_CACHEABLE: return EclipseLinkOrmV2_2Package.XML_ELEMENT_COLLECTION_22__NON_CACHEABLE; + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__NONCACHEABLE: return EclipseLinkOrmV2_2Package.XML_ELEMENT_COLLECTION_22__NONCACHEABLE; default: return -1; } } @@ -2253,6 +2321,14 @@ public class XmlElementCollection extends org.eclipse.jpt.jpa.core.resource.orm. default: return -1; } } + if (baseClass == XmlElementCollection_2_4.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__DELETE_ALL: return EclipseLinkOrmV2_4Package.XML_ELEMENT_COLLECTION_24__DELETE_ALL; + default: return -1; + } + } return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); } @@ -2385,7 +2461,7 @@ public class XmlElementCollection extends org.eclipse.jpt.jpa.core.resource.orm. switch (baseFeatureID) { case EclipseLinkOrmV2_2Package.XML_ELEMENT_COLLECTION_22__CASCADE_ON_DELETE: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CASCADE_ON_DELETE; - case EclipseLinkOrmV2_2Package.XML_ELEMENT_COLLECTION_22__NON_CACHEABLE: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__NON_CACHEABLE; + case EclipseLinkOrmV2_2Package.XML_ELEMENT_COLLECTION_22__NONCACHEABLE: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__NONCACHEABLE; default: return -1; } } @@ -2397,6 +2473,14 @@ public class XmlElementCollection extends org.eclipse.jpt.jpa.core.resource.orm. default: return -1; } } + if (baseClass == XmlElementCollection_2_4.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_4Package.XML_ELEMENT_COLLECTION_24__DELETE_ALL: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__DELETE_ALL; + default: return -1; + } + } return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass); } @@ -2423,10 +2507,12 @@ public class XmlElementCollection extends org.eclipse.jpt.jpa.core.resource.orm. result.append(partitioned); result.append(", cascadeOnDelete: "); result.append(cascadeOnDelete); - result.append(", nonCacheable: "); - result.append(nonCacheable); + result.append(", noncacheable: "); + result.append(noncacheable); result.append(", compositeMember: "); result.append(compositeMember); + result.append(", deleteAll: "); + result.append(deleteAll); result.append(')'); return result.toString(); } @@ -2505,6 +2591,7 @@ public class XmlElementCollection extends org.eclipse.jpt.jpa.core.resource.orm. 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()), @@ -2553,11 +2640,15 @@ public class XmlElementCollection extends org.eclipse.jpt.jpa.core.resource.orm. } protected static Translator buildNoncacheableTranslator() { - return new EmptyTagBooleanTranslator(EclipseLink2_2.NONCACHEABLE, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlElementCollection_2_2_NonCacheable()); + 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()); + } } 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 index c7c8da7dad..2f558050a6 100644 --- 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 @@ -59,6 +59,10 @@ import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStore 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_3.EclipseLink2_3; import org.eclipse.wst.common.internal.emf.resource.Translator; @@ -93,7 +97,7 @@ import org.eclipse.wst.common.internal.emf.resource.Translator; * @model kind="class" * @generated */ -public class XmlEntity extends org.eclipse.jpt.jpa.core.resource.orm.XmlEntity implements XmlEntity_1_1, XmlEntity_2_0, XmlEntity_2_1, XmlEntity_2_2, XmlEntity_2_3, XmlReadOnly, XmlCustomizerHolder, XmlChangeTrackingHolder, XmlCacheHolder, XmlConvertersHolder, XmlQueryContainer, XmlPropertyContainer +public class XmlEntity extends org.eclipse.jpt.jpa.core.resource.orm.XmlEntity implements XmlEntity_1_1, XmlEntity_2_0, XmlEntity_2_1, XmlEntity_2_2, XmlEntity_2_3, XmlEntity_2_4, XmlReadOnly, XmlCustomizerHolder, XmlChangeTrackingHolder, XmlCacheHolder, XmlConvertersHolder, XmlQueryContainer, XmlPropertyContainer { /** * The cached value of the '{@link #getPrimaryKey() <em>Primary Key</em>}' containment reference. @@ -386,6 +390,16 @@ public class XmlEntity extends org.eclipse.jpt.jpa.core.resource.orm.XmlEntity i protected XmlStruct_2_3 struct; /** + * The cached value of the '{@link #getCacheIndex() <em>Cache Index</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getCacheIndex() + * @generated + * @ordered + */ + protected XmlCacheIndex_2_4 cacheIndex; + + /** * The default value of the '{@link #getReadOnly() <em>Read Only</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -2428,6 +2442,66 @@ public class XmlEntity extends org.eclipse.jpt.jpa.core.resource.orm.XmlEntity i } /** + * Returns the value of the '<em><b>Cache Index</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Cache Index</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Cache Index</em>' 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; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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 <em>Cache Index</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Cache Index</em>' 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 '<em><b>Additional Criteria</b></em>' containment reference. * <!-- begin-user-doc --> * <p> @@ -2578,6 +2652,8 @@ public class XmlEntity extends org.eclipse.jpt.jpa.core.resource.orm.XmlEntity i return ((InternalEList<?>)getPlsqlTables()).basicRemove(otherEnd, msgs); case EclipseLinkOrmPackage.XML_ENTITY__STRUCT: return basicSetStruct(null, msgs); + case EclipseLinkOrmPackage.XML_ENTITY__CACHE_INDEX: + return basicSetCacheIndex(null, msgs); case EclipseLinkOrmPackage.XML_ENTITY__CUSTOMIZER: return basicSetCustomizer(null, msgs); case EclipseLinkOrmPackage.XML_ENTITY__CHANGE_TRACKING: @@ -2670,6 +2746,8 @@ public class XmlEntity extends org.eclipse.jpt.jpa.core.resource.orm.XmlEntity i return getPlsqlTables(); case EclipseLinkOrmPackage.XML_ENTITY__STRUCT: return getStruct(); + case EclipseLinkOrmPackage.XML_ENTITY__CACHE_INDEX: + return getCacheIndex(); case EclipseLinkOrmPackage.XML_ENTITY__READ_ONLY: return getReadOnly(); case EclipseLinkOrmPackage.XML_ENTITY__CUSTOMIZER: @@ -2801,6 +2879,9 @@ public class XmlEntity extends org.eclipse.jpt.jpa.core.resource.orm.XmlEntity i case EclipseLinkOrmPackage.XML_ENTITY__STRUCT: setStruct((XmlStruct_2_3)newValue); return; + case EclipseLinkOrmPackage.XML_ENTITY__CACHE_INDEX: + setCacheIndex((XmlCacheIndex_2_4)newValue); + return; case EclipseLinkOrmPackage.XML_ENTITY__READ_ONLY: setReadOnly((Boolean)newValue); return; @@ -2947,6 +3028,9 @@ public class XmlEntity extends org.eclipse.jpt.jpa.core.resource.orm.XmlEntity i case EclipseLinkOrmPackage.XML_ENTITY__STRUCT: setStruct((XmlStruct_2_3)null); return; + case EclipseLinkOrmPackage.XML_ENTITY__CACHE_INDEX: + setCacheIndex((XmlCacheIndex_2_4)null); + return; case EclipseLinkOrmPackage.XML_ENTITY__READ_ONLY: setReadOnly(READ_ONLY_EDEFAULT); return; @@ -3061,6 +3145,8 @@ public class XmlEntity extends org.eclipse.jpt.jpa.core.resource.orm.XmlEntity i return plsqlTables != null && !plsqlTables.isEmpty(); case EclipseLinkOrmPackage.XML_ENTITY__STRUCT: return struct != null; + case EclipseLinkOrmPackage.XML_ENTITY__CACHE_INDEX: + return cacheIndex != null; case EclipseLinkOrmPackage.XML_ENTITY__READ_ONLY: return READ_ONLY_EDEFAULT == null ? readOnly != null : !READ_ONLY_EDEFAULT.equals(readOnly); case EclipseLinkOrmPackage.XML_ENTITY__CUSTOMIZER: @@ -3187,6 +3273,14 @@ public class XmlEntity extends org.eclipse.jpt.jpa.core.resource.orm.XmlEntity i 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; + default: return -1; + } + } if (baseClass == XmlReadOnly.class) { switch (derivedFeatureID) @@ -3340,6 +3434,14 @@ public class XmlEntity extends org.eclipse.jpt.jpa.core.resource.orm.XmlEntity i 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; + default: return -1; + } + } if (baseClass == XmlReadOnly.class) { switch (baseFeatureID) @@ -3476,6 +3578,7 @@ public class XmlEntity extends org.eclipse.jpt.jpa.core.resource.orm.XmlEntity i buildOptimisticLockingTranslator(), buildCacheTranslator(), buildCacheInterceptorTranslator(), + buildCacheIndexTranslator(), buildFetchGroupsTranslator(), buildConverterTranslator(), buildTypeConverterTranslator(), @@ -3548,6 +3651,10 @@ public class XmlEntity extends org.eclipse.jpt.jpa.core.resource.orm.XmlEntity i 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()); 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 index 72f032cc95..4ba59442e6 100644 --- 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 @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2008, 2010 Oracle. All rights reserved. + * 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. @@ -29,6 +29,10 @@ 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.XmlId_2_4; 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; @@ -54,7 +58,7 @@ import org.eclipse.wst.common.internal.emf.resource.Translator; * @model kind="class" * @generated */ -public class XmlId extends org.eclipse.jpt.jpa.core.resource.orm.XmlId implements XmlId_2_1, XmlId_2_2, XmlAttributeMapping, XmlMutable, XmlConvertibleMapping +public class XmlId extends org.eclipse.jpt.jpa.core.resource.orm.XmlId implements XmlId_2_1, XmlId_2_2, XmlId_2_4, XmlAttributeMapping, XmlMutable, XmlConvertibleMapping { /** * The default value of the '{@link #getAttributeType() <em>Attribute Type</em>}' attribute. @@ -87,6 +91,16 @@ public class XmlId extends org.eclipse.jpt.jpa.core.resource.orm.XmlId implement protected XmlIndex_2_2 index; /** + * The cached value of the '{@link #getCacheIndex() <em>Cache Index</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getCacheIndex() + * @generated + * @ordered + */ + protected XmlCacheIndex_2_4 cacheIndex; + + /** * The cached value of the '{@link #getAccessMethods() <em>Access Methods</em>}' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -303,6 +317,66 @@ public class XmlId extends org.eclipse.jpt.jpa.core.resource.orm.XmlId implement } /** + * Returns the value of the '<em><b>Cache Index</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Cache Index</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Cache Index</em>' 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; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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 <em>Cache Index</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Cache Index</em>' 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 '<em><b>Mutable</b></em>' attribute. * <!-- begin-user-doc --> * <p> @@ -707,6 +781,8 @@ public class XmlId extends org.eclipse.jpt.jpa.core.resource.orm.XmlId implement { case EclipseLinkOrmPackage.XML_ID__INDEX: return basicSetIndex(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: @@ -737,6 +813,8 @@ public class XmlId extends org.eclipse.jpt.jpa.core.resource.orm.XmlId implement return getAttributeType(); case EclipseLinkOrmPackage.XML_ID__INDEX: return getIndex(); + case EclipseLinkOrmPackage.XML_ID__CACHE_INDEX: + return getCacheIndex(); case EclipseLinkOrmPackage.XML_ID__ACCESS_METHODS: return getAccessMethods(); case EclipseLinkOrmPackage.XML_ID__PROPERTIES: @@ -774,6 +852,9 @@ public class XmlId extends org.eclipse.jpt.jpa.core.resource.orm.XmlId implement case EclipseLinkOrmPackage.XML_ID__INDEX: setIndex((XmlIndex_2_2)newValue); return; + case EclipseLinkOrmPackage.XML_ID__CACHE_INDEX: + setCacheIndex((XmlCacheIndex_2_4)newValue); + return; case EclipseLinkOrmPackage.XML_ID__ACCESS_METHODS: setAccessMethods((XmlAccessMethods)newValue); return; @@ -819,6 +900,9 @@ public class XmlId extends org.eclipse.jpt.jpa.core.resource.orm.XmlId implement case EclipseLinkOrmPackage.XML_ID__INDEX: setIndex((XmlIndex_2_2)null); return; + case EclipseLinkOrmPackage.XML_ID__CACHE_INDEX: + setCacheIndex((XmlCacheIndex_2_4)null); + return; case EclipseLinkOrmPackage.XML_ID__ACCESS_METHODS: setAccessMethods((XmlAccessMethods)null); return; @@ -861,6 +945,8 @@ public class XmlId extends org.eclipse.jpt.jpa.core.resource.orm.XmlId implement return ATTRIBUTE_TYPE_EDEFAULT == null ? attributeType != null : !ATTRIBUTE_TYPE_EDEFAULT.equals(attributeType); case EclipseLinkOrmPackage.XML_ID__INDEX: return index != null; + case EclipseLinkOrmPackage.XML_ID__CACHE_INDEX: + return cacheIndex != null; case EclipseLinkOrmPackage.XML_ID__ACCESS_METHODS: return accessMethods != null; case EclipseLinkOrmPackage.XML_ID__PROPERTIES: @@ -905,6 +991,14 @@ public class XmlId extends org.eclipse.jpt.jpa.core.resource.orm.XmlId implement default: return -1; } } + if (baseClass == XmlId_2_4.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ID__CACHE_INDEX: return EclipseLinkOrmV2_4Package.XML_ID_24__CACHE_INDEX; + default: return -1; + } + } if (baseClass == XmlAccessMethodsHolder.class) { switch (derivedFeatureID) @@ -982,6 +1076,14 @@ public class XmlId extends org.eclipse.jpt.jpa.core.resource.orm.XmlId implement default: return -1; } } + if (baseClass == XmlId_2_4.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_4Package.XML_ID_24__CACHE_INDEX: return EclipseLinkOrmPackage.XML_ID__CACHE_INDEX; + default: return -1; + } + } if (baseClass == XmlAccessMethodsHolder.class) { switch (baseFeatureID) @@ -1083,6 +1185,7 @@ public class XmlId extends org.eclipse.jpt.jpa.core.resource.orm.XmlId implement buildAttributeTypeTranslator(), buildColumnTranslator(), buildIndexTranslator(), + buildCacheIndexTranslator(), buildGeneratedValueTranslator(), buildTemporalTranslator(), buildEnumeratedTranslator(), @@ -1105,6 +1208,10 @@ public class XmlId extends org.eclipse.jpt.jpa.core.resource.orm.XmlId implement 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()); 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 index e19edfb882..3c4a6ef302 100644 --- 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 @@ -68,6 +68,10 @@ import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStore 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.XmlMappedSuperclass_2_4; import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLink2_3; import org.eclipse.wst.common.internal.emf.resource.Translator; @@ -102,7 +106,7 @@ import org.eclipse.wst.common.internal.emf.resource.Translator; * @model kind="class" * @generated */ -public class XmlMappedSuperclass extends org.eclipse.jpt.jpa.core.resource.orm.XmlMappedSuperclass implements XmlMappedSuperclass_1_1, XmlMappedSuperclass_2_0, XmlMappedSuperclass_2_1, XmlMappedSuperclass_2_2, XmlMappedSuperclass_2_3, XmlReadOnly, XmlCustomizerHolder, XmlChangeTrackingHolder, XmlCacheHolder, XmlConvertersHolder, XmlPropertyContainer +public class XmlMappedSuperclass extends org.eclipse.jpt.jpa.core.resource.orm.XmlMappedSuperclass implements XmlMappedSuperclass_1_1, XmlMappedSuperclass_2_0, XmlMappedSuperclass_2_1, XmlMappedSuperclass_2_2, XmlMappedSuperclass_2_3, XmlMappedSuperclass_2_4, XmlReadOnly, XmlCustomizerHolder, XmlChangeTrackingHolder, XmlCacheHolder, XmlConvertersHolder, XmlPropertyContainer { /** * The cached value of the '{@link #getPrimaryKey() <em>Primary Key</em>}' containment reference. @@ -445,6 +449,16 @@ public class XmlMappedSuperclass extends org.eclipse.jpt.jpa.core.resource.orm.X protected EList<XmlPlsqlTable> plsqlTables; /** + * The cached value of the '{@link #getCacheIndex() <em>Cache Index</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getCacheIndex() + * @generated + * @ordered + */ + protected XmlCacheIndex_2_4 cacheIndex; + + /** * The default value of the '{@link #getReadOnly() <em>Read Only</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -2592,6 +2606,66 @@ public class XmlMappedSuperclass extends org.eclipse.jpt.jpa.core.resource.orm.X } /** + * Returns the value of the '<em><b>Cache Index</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Cache Index</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Cache Index</em>' 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; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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 <em>Cache Index</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Cache Index</em>' 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 '<em><b>Exclude Default Mappings</b></em>' attribute. * <!-- begin-user-doc --> * <p> @@ -2692,6 +2766,8 @@ public class XmlMappedSuperclass extends org.eclipse.jpt.jpa.core.resource.orm.X return ((InternalEList<?>)getPlsqlRecords()).basicRemove(otherEnd, msgs); case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PLSQL_TABLES: return ((InternalEList<?>)getPlsqlTables()).basicRemove(otherEnd, 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: @@ -2792,6 +2868,8 @@ public class XmlMappedSuperclass extends org.eclipse.jpt.jpa.core.resource.orm.X return getPlsqlRecords(); case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PLSQL_TABLES: return getPlsqlTables(); + case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CACHE_INDEX: + return getCacheIndex(); case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__READ_ONLY: return getReadOnly(); case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CUSTOMIZER: @@ -2942,6 +3020,9 @@ public class XmlMappedSuperclass extends org.eclipse.jpt.jpa.core.resource.orm.X getPlsqlTables().clear(); getPlsqlTables().addAll((Collection<? extends XmlPlsqlTable>)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; @@ -3099,6 +3180,9 @@ public class XmlMappedSuperclass extends org.eclipse.jpt.jpa.core.resource.orm.X case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PLSQL_TABLES: getPlsqlTables().clear(); 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; @@ -3220,6 +3304,8 @@ public class XmlMappedSuperclass extends org.eclipse.jpt.jpa.core.resource.orm.X return plsqlRecords != null && !plsqlRecords.isEmpty(); case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PLSQL_TABLES: return plsqlTables != null && !plsqlTables.isEmpty(); + 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: @@ -3391,6 +3477,14 @@ public class XmlMappedSuperclass extends org.eclipse.jpt.jpa.core.resource.orm.X 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) @@ -3583,6 +3677,14 @@ public class XmlMappedSuperclass extends org.eclipse.jpt.jpa.core.resource.orm.X 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) @@ -3706,6 +3808,7 @@ public class XmlMappedSuperclass extends org.eclipse.jpt.jpa.core.resource.orm.X buildOptimisticLockingTranslator(), buildCacheTranslator(), buildCacheInterceptorTranslator(), + buildCacheIndexTranslator(), buildFetchGroupsTranslator(), buildConverterTranslator(), buildTypeConverterTranslator(), @@ -3781,7 +3884,11 @@ public class XmlMappedSuperclass extends org.eclipse.jpt.jpa.core.resource.orm.X 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()); } 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 index 8496e8717b..845126d9ee 100644 --- 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 @@ -21,11 +21,14 @@ 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.core.resource.xml.AbstractJpaEObject; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.MultitenantType; 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.XmlMultitenantType; 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.wst.common.internal.emf.resource.Translator; /** @@ -38,17 +41,14 @@ import org.eclipse.wst.common.internal.emf.resource.Translator; * @model kind="class" * @generated */ -public class XmlMultitenant extends AbstractJpaEObject implements XmlMultitenant_2_3 +public class XmlMultitenant extends AbstractJpaEObject implements XmlMultitenant_2_3, XmlMultitenant_2_4 { /** - * The default value of the '{@link #getType() <em>Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getType() - * @generated - * @ordered + * 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 XmlMultitenantType TYPE_EDEFAULT = XmlMultitenantType.SINGLE_TABLE; + protected static final MultitenantType TYPE_EDEFAULT = null; + /** * The cached value of the '{@link #getType() <em>Type</em>}' attribute. * <!-- begin-user-doc --> @@ -57,7 +57,7 @@ public class XmlMultitenant extends AbstractJpaEObject implements XmlMultitenant * @generated * @ordered */ - protected XmlMultitenantType type = TYPE_EDEFAULT; + protected MultitenantType type = TYPE_EDEFAULT; /** * The cached value of the '{@link #getTenantDiscriminatorColumns() <em>Tenant Discriminator Columns</em>}' containment reference list. @@ -70,6 +70,25 @@ public class XmlMultitenant extends AbstractJpaEObject implements XmlMultitenant protected EList<XmlTenantDiscriminatorColumn_2_3> tenantDiscriminatorColumns; /** + * The default value of the '{@link #getIncludeCriteria() <em>Include Criteria</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getIncludeCriteria() + * @generated + * @ordered + */ + protected static final Boolean INCLUDE_CRITERIA_EDEFAULT = null; + /** + * The cached value of the '{@link #getIncludeCriteria() <em>Include Criteria</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getIncludeCriteria() + * @generated + * @ordered + */ + protected Boolean includeCriteria = INCLUDE_CRITERIA_EDEFAULT; + + /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated @@ -92,7 +111,7 @@ public class XmlMultitenant extends AbstractJpaEObject implements XmlMultitenant /** * Returns the value of the '<em><b>Type</b></em>' attribute. - * The literals are from the enumeration {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMultitenantType}. + * The literals are from the enumeration {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.MultitenantType}. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Type</em>' attribute isn't clear, @@ -100,13 +119,13 @@ public class XmlMultitenant extends AbstractJpaEObject implements XmlMultitenant * </p> * <!-- end-user-doc --> * @return the value of the '<em>Type</em>' attribute. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMultitenantType - * @see #setType(XmlMultitenantType) + * @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 XmlMultitenantType getType() + public MultitenantType getType() { return type; } @@ -116,13 +135,13 @@ public class XmlMultitenant extends AbstractJpaEObject implements XmlMultitenant * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Type</em>' attribute. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMultitenantType + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.MultitenantType * @see #getType() * @generated */ - public void setType(XmlMultitenantType newType) + public void setType(MultitenantType newType) { - XmlMultitenantType oldType = type; + MultitenantType oldType = type; type = newType == null ? TYPE_EDEFAULT : newType; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MULTITENANT__TYPE, oldType, type)); @@ -152,6 +171,41 @@ public class XmlMultitenant extends AbstractJpaEObject implements XmlMultitenant } /** + * Returns the value of the '<em><b>Include Criteria</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Include Criteria</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Include Criteria</em>' 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 <em>Include Criteria</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Include Criteria</em>' 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)); + } + + /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated @@ -181,6 +235,8 @@ public class XmlMultitenant extends AbstractJpaEObject implements XmlMultitenant return getType(); case EclipseLinkOrmPackage.XML_MULTITENANT__TENANT_DISCRIMINATOR_COLUMNS: return getTenantDiscriminatorColumns(); + case EclipseLinkOrmPackage.XML_MULTITENANT__INCLUDE_CRITERIA: + return getIncludeCriteria(); } return super.eGet(featureID, resolve, coreType); } @@ -197,12 +253,15 @@ public class XmlMultitenant extends AbstractJpaEObject implements XmlMultitenant switch (featureID) { case EclipseLinkOrmPackage.XML_MULTITENANT__TYPE: - setType((XmlMultitenantType)newValue); + setType((MultitenantType)newValue); return; case EclipseLinkOrmPackage.XML_MULTITENANT__TENANT_DISCRIMINATOR_COLUMNS: getTenantDiscriminatorColumns().clear(); getTenantDiscriminatorColumns().addAll((Collection<? extends XmlTenantDiscriminatorColumn_2_3>)newValue); return; + case EclipseLinkOrmPackage.XML_MULTITENANT__INCLUDE_CRITERIA: + setIncludeCriteria((Boolean)newValue); + return; } super.eSet(featureID, newValue); } @@ -223,6 +282,9 @@ public class XmlMultitenant extends AbstractJpaEObject implements XmlMultitenant case EclipseLinkOrmPackage.XML_MULTITENANT__TENANT_DISCRIMINATOR_COLUMNS: getTenantDiscriminatorColumns().clear(); return; + case EclipseLinkOrmPackage.XML_MULTITENANT__INCLUDE_CRITERIA: + setIncludeCriteria(INCLUDE_CRITERIA_EDEFAULT); + return; } super.eUnset(featureID); } @@ -241,6 +303,8 @@ public class XmlMultitenant extends AbstractJpaEObject implements XmlMultitenant 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); } return super.eIsSet(featureID); } @@ -251,6 +315,44 @@ public class XmlMultitenant extends AbstractJpaEObject implements XmlMultitenant * @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; + default: return -1; + } + } + return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) + { + if (baseClass == XmlMultitenant_2_4.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_4Package.XML_MULTITENANT_24__INCLUDE_CRITERIA: return EclipseLinkOrmPackage.XML_MULTITENANT__INCLUDE_CRITERIA; + default: return -1; + } + } + return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override public String toString() { if (eIsProxy()) return super.toString(); @@ -258,6 +360,8 @@ public class XmlMultitenant extends AbstractJpaEObject implements XmlMultitenant StringBuffer result = new StringBuffer(super.toString()); result.append(" (type: "); result.append(type); + result.append(", includeCriteria: "); + result.append(includeCriteria); result.append(')'); return result.toString(); } @@ -275,6 +379,7 @@ public class XmlMultitenant extends AbstractJpaEObject implements XmlMultitenant private static Translator[] buildTranslatorChildren() { return new Translator[] { buildTypeTranslator(), + buildIncludeCriteriaTranslator(), buildTenantDiscriminatorColumnsTranslator() }; } @@ -286,5 +391,9 @@ public class XmlMultitenant extends AbstractJpaEObject implements XmlMultitenant 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); + } } // XmlMultitenant 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 index 923cd642ff..096efbfde7 100644 --- 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 @@ -49,6 +49,9 @@ import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlReplicationPart 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.XmlOneToMany_2_4; import org.eclipse.wst.common.internal.emf.resource.Translator; /** @@ -72,7 +75,7 @@ import org.eclipse.wst.common.internal.emf.resource.Translator; * @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, XmlAttributeMapping, XmlPrivateOwned, XmlJoinFetch +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 #getConverter() <em>Converter</em>}' containment reference. @@ -295,24 +298,44 @@ public class XmlOneToMany extends org.eclipse.jpt.jpa.core.resource.orm.XmlOneTo protected Boolean cascadeOnDelete = CASCADE_ON_DELETE_EDEFAULT; /** - * The default value of the '{@link #isNonCacheable() <em>Non Cacheable</em>}' attribute. + * The default value of the '{@link #isNoncacheable() <em>Noncacheable</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * @see #isNonCacheable() + * @see #isNoncacheable() * @generated * @ordered */ - protected static final boolean NON_CACHEABLE_EDEFAULT = false; + protected static final boolean NONCACHEABLE_EDEFAULT = false; /** - * The cached value of the '{@link #isNonCacheable() <em>Non Cacheable</em>}' attribute. + * The cached value of the '{@link #isNoncacheable() <em>Noncacheable</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * @see #isNonCacheable() + * @see #isNoncacheable() * @generated * @ordered */ - protected boolean nonCacheable = NON_CACHEABLE_EDEFAULT; + protected boolean noncacheable = NONCACHEABLE_EDEFAULT; + + /** + * The default value of the '{@link #isDeleteAll() <em>Delete All</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isDeleteAll() + * @generated + * @ordered + */ + protected static final boolean DELETE_ALL_EDEFAULT = false; + + /** + * The cached value of the '{@link #isDeleteAll() <em>Delete All</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isDeleteAll() + * @generated + * @ordered + */ + protected boolean deleteAll = DELETE_ALL_EDEFAULT; /** * The cached value of the '{@link #getAccessMethods() <em>Access Methods</em>}' containment reference. @@ -1408,38 +1431,73 @@ public class XmlOneToMany extends org.eclipse.jpt.jpa.core.resource.orm.XmlOneTo } /** - * Returns the value of the '<em><b>Non Cacheable</b></em>' attribute. + * Returns the value of the '<em><b>Noncacheable</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Noncacheable</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Noncacheable</em>' 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 <em>Noncacheable</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Noncacheable</em>' attribute. + * @see #isNoncacheable() + * @generated + */ + public void setNoncacheable(boolean newNoncacheable) + { + boolean oldNoncacheable = noncacheable; + noncacheable = newNoncacheable; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_MANY__NONCACHEABLE, oldNoncacheable, noncacheable)); + } + + /** + * Returns the value of the '<em><b>Delete All</b></em>' attribute. * <!-- begin-user-doc --> * <p> - * If the meaning of the '<em>Non Cacheable</em>' attribute isn't clear, + * If the meaning of the '<em>Delete All</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> - * @return the value of the '<em>Non Cacheable</em>' attribute. - * @see #setNonCacheable(boolean) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOneToMany_2_2_NonCacheable() + * @return the value of the '<em>Delete All</em>' 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 isNonCacheable() + public boolean isDeleteAll() { - return nonCacheable; + return deleteAll; } /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToMany#isNonCacheable <em>Non Cacheable</em>}' attribute. + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToMany#isDeleteAll <em>Delete All</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * @param value the new value of the '<em>Non Cacheable</em>' attribute. - * @see #isNonCacheable() + * @param value the new value of the '<em>Delete All</em>' attribute. + * @see #isDeleteAll() * @generated */ - public void setNonCacheable(boolean newNonCacheable) + public void setDeleteAll(boolean newDeleteAll) { - boolean oldNonCacheable = nonCacheable; - nonCacheable = newNonCacheable; + boolean oldDeleteAll = deleteAll; + deleteAll = newDeleteAll; if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_MANY__NON_CACHEABLE, oldNonCacheable, nonCacheable)); + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_MANY__DELETE_ALL, oldDeleteAll, deleteAll)); } /** @@ -1617,8 +1675,10 @@ public class XmlOneToMany extends org.eclipse.jpt.jpa.core.resource.orm.XmlOneTo return getPartitioned(); case EclipseLinkOrmPackage.XML_ONE_TO_MANY__CASCADE_ON_DELETE: return getCascadeOnDelete(); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__NON_CACHEABLE: - return isNonCacheable(); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__NONCACHEABLE: + return isNoncacheable(); + 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: @@ -1697,8 +1757,11 @@ public class XmlOneToMany extends org.eclipse.jpt.jpa.core.resource.orm.XmlOneTo case EclipseLinkOrmPackage.XML_ONE_TO_MANY__CASCADE_ON_DELETE: setCascadeOnDelete((Boolean)newValue); return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__NON_CACHEABLE: - setNonCacheable((Boolean)newValue); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__NONCACHEABLE: + setNoncacheable((Boolean)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); @@ -1781,8 +1844,11 @@ public class XmlOneToMany extends org.eclipse.jpt.jpa.core.resource.orm.XmlOneTo case EclipseLinkOrmPackage.XML_ONE_TO_MANY__CASCADE_ON_DELETE: setCascadeOnDelete(CASCADE_ON_DELETE_EDEFAULT); return; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__NON_CACHEABLE: - setNonCacheable(NON_CACHEABLE_EDEFAULT); + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__NONCACHEABLE: + setNoncacheable(NONCACHEABLE_EDEFAULT); + 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); @@ -1846,8 +1912,10 @@ public class XmlOneToMany extends org.eclipse.jpt.jpa.core.resource.orm.XmlOneTo return PARTITIONED_EDEFAULT == null ? partitioned != null : !PARTITIONED_EDEFAULT.equals(partitioned); case EclipseLinkOrmPackage.XML_ONE_TO_MANY__CASCADE_ON_DELETE: return CASCADE_ON_DELETE_EDEFAULT == null ? cascadeOnDelete != null : !CASCADE_ON_DELETE_EDEFAULT.equals(cascadeOnDelete); - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__NON_CACHEABLE: - return nonCacheable != NON_CACHEABLE_EDEFAULT; + case EclipseLinkOrmPackage.XML_ONE_TO_MANY__NONCACHEABLE: + return noncacheable != NONCACHEABLE_EDEFAULT; + 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: @@ -1939,7 +2007,15 @@ public class XmlOneToMany extends org.eclipse.jpt.jpa.core.resource.orm.XmlOneTo switch (derivedFeatureID) { case EclipseLinkOrmPackage.XML_ONE_TO_MANY__CASCADE_ON_DELETE: return EclipseLinkOrmV2_2Package.XML_ONE_TO_MANY_22__CASCADE_ON_DELETE; - case EclipseLinkOrmPackage.XML_ONE_TO_MANY__NON_CACHEABLE: return EclipseLinkOrmV2_2Package.XML_ONE_TO_MANY_22__NON_CACHEABLE; + 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__DELETE_ALL: return EclipseLinkOrmV2_4Package.XML_ONE_TO_MANY_24__DELETE_ALL; default: return -1; } } @@ -2064,7 +2140,15 @@ public class XmlOneToMany extends org.eclipse.jpt.jpa.core.resource.orm.XmlOneTo switch (baseFeatureID) { case EclipseLinkOrmV2_2Package.XML_ONE_TO_MANY_22__CASCADE_ON_DELETE: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__CASCADE_ON_DELETE; - case EclipseLinkOrmV2_2Package.XML_ONE_TO_MANY_22__NON_CACHEABLE: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__NON_CACHEABLE; + 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__DELETE_ALL: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__DELETE_ALL; default: return -1; } } @@ -2129,8 +2213,10 @@ public class XmlOneToMany extends org.eclipse.jpt.jpa.core.resource.orm.XmlOneTo result.append(partitioned); result.append(", cascadeOnDelete: "); result.append(cascadeOnDelete); - result.append(", nonCacheable: "); - result.append(nonCacheable); + result.append(", noncacheable: "); + result.append(noncacheable); + result.append(", deleteAll: "); + result.append(deleteAll); result.append(", privateOwned: "); result.append(privateOwned); result.append(", joinFetch: "); @@ -2192,6 +2278,7 @@ public class XmlOneToMany extends org.eclipse.jpt.jpa.core.resource.orm.XmlOneTo 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()), @@ -2261,10 +2348,14 @@ public class XmlOneToMany extends org.eclipse.jpt.jpa.core.resource.orm.XmlOneTo } protected static Translator buildNoncacheableTranslator() { - return new EmptyTagBooleanTranslator(EclipseLink2_2.NONCACHEABLE, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlOneToMany_2_2_NonCacheable()); + 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()); + } } 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 index 5aa090939e..42e5d8554d 100644 --- 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 @@ -24,6 +24,7 @@ import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0 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; /** * <!-- begin-user-doc --> @@ -316,6 +317,7 @@ public class EclipseLinkOrmV1_1Package extends EPackageImpl 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(); @@ -324,6 +326,7 @@ public class EclipseLinkOrmV1_1Package extends EPackageImpl theEclipseLinkOrmV2_1Package.createPackageContents(); theEclipseLinkOrmV2_2Package.createPackageContents(); theEclipseLinkOrmV2_3Package.createPackageContents(); + theEclipseLinkOrmV2_4Package.createPackageContents(); // Initialize created meta-data theEclipseLinkOrmV1_1Package.initializePackageContents(); @@ -332,6 +335,7 @@ public class EclipseLinkOrmV1_1Package extends EPackageImpl 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(); 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 index 781a2407dc..7b6ade8e55 100644 --- 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 @@ -26,6 +26,7 @@ import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1 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; /** * <!-- begin-user-doc --> @@ -791,6 +792,7 @@ public class EclipseLinkOrmV2_0Package extends EPackageImpl 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(); @@ -799,6 +801,7 @@ public class EclipseLinkOrmV2_0Package extends EPackageImpl theEclipseLinkOrmV2_1Package.createPackageContents(); theEclipseLinkOrmV2_2Package.createPackageContents(); theEclipseLinkOrmV2_3Package.createPackageContents(); + theEclipseLinkOrmV2_4Package.createPackageContents(); // Initialize created meta-data theEclipseLinkOrmV2_0Package.initializePackageContents(); @@ -807,6 +810,7 @@ public class EclipseLinkOrmV2_0Package extends EPackageImpl 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(); 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 index 0b1007f20d..22a2392882 100644 --- 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 @@ -25,6 +25,7 @@ import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1 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; /** * <!-- begin-user-doc --> @@ -1145,6 +1146,7 @@ public class EclipseLinkOrmV2_1Package extends EPackageImpl 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(); @@ -1153,6 +1155,7 @@ public class EclipseLinkOrmV2_1Package extends EPackageImpl theEclipseLinkOrmV2_0Package.createPackageContents(); theEclipseLinkOrmV2_2Package.createPackageContents(); theEclipseLinkOrmV2_3Package.createPackageContents(); + theEclipseLinkOrmV2_4Package.createPackageContents(); // Initialize created meta-data theEclipseLinkOrmV2_1Package.initializePackageContents(); @@ -1161,6 +1164,7 @@ public class EclipseLinkOrmV2_1Package extends EPackageImpl 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(); 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 index f5304a2915..18c23c6ffd 100644 --- 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 @@ -22,6 +22,7 @@ import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1 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; /** * <!-- begin-user-doc --> @@ -419,13 +420,13 @@ public class EclipseLinkOrmV2_2Package extends EPackageImpl public static final int XML_ELEMENT_COLLECTION_22__CASCADE_ON_DELETE = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 0; /** - * The feature id for the '<em><b>Non Cacheable</b></em>' attribute. + * The feature id for the '<em><b>Noncacheable</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ - public static final int XML_ELEMENT_COLLECTION_22__NON_CACHEABLE = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 1; + public static final int XML_ELEMENT_COLLECTION_22__NONCACHEABLE = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 1; /** * The number of structural features of the '<em>Xml Element Collection 22</em>' class. @@ -1462,13 +1463,13 @@ public class EclipseLinkOrmV2_2Package extends EPackageImpl public static final int XML_ONE_TO_MANY_22__CASCADE_ON_DELETE = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 0; /** - * The feature id for the '<em><b>Non Cacheable</b></em>' attribute. + * The feature id for the '<em><b>Noncacheable</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ - public static final int XML_ONE_TO_MANY_22__NON_CACHEABLE = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 1; + public static final int XML_ONE_TO_MANY_22__NONCACHEABLE = XML_PARTITIONING_GROUP_22_FEATURE_COUNT + 1; /** * The number of structural features of the '<em>Xml One To Many 22</em>' class. @@ -2122,6 +2123,7 @@ public class EclipseLinkOrmV2_2Package extends EPackageImpl 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(); @@ -2130,6 +2132,7 @@ public class EclipseLinkOrmV2_2Package extends EPackageImpl theEclipseLinkOrmV2_0Package.createPackageContents(); theEclipseLinkOrmV2_1Package.createPackageContents(); theEclipseLinkOrmV2_3Package.createPackageContents(); + theEclipseLinkOrmV2_4Package.createPackageContents(); // Initialize created meta-data theEclipseLinkOrmV2_2Package.initializePackageContents(); @@ -2138,6 +2141,7 @@ public class EclipseLinkOrmV2_2Package extends EPackageImpl 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(); @@ -2314,15 +2318,15 @@ public class EclipseLinkOrmV2_2Package extends EPackageImpl } /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlElementCollection_2_2#isNonCacheable <em>Non Cacheable</em>}'. + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlElementCollection_2_2#isNoncacheable <em>Noncacheable</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Non Cacheable</em>'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlElementCollection_2_2#isNonCacheable() + * @return the meta object for the attribute '<em>Noncacheable</em>'. + * @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() + public EAttribute getXmlElementCollection_2_2_Noncacheable() { return (EAttribute)xmlElementCollection_2_2EClass.getEStructuralFeatures().get(1); } @@ -2688,15 +2692,15 @@ public class EclipseLinkOrmV2_2Package extends EPackageImpl } /** - * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToMany_2_2#isNonCacheable <em>Non Cacheable</em>}'. + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToMany_2_2#isNoncacheable <em>Noncacheable</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Non Cacheable</em>'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToMany_2_2#isNonCacheable() + * @return the meta object for the attribute '<em>Noncacheable</em>'. + * @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() + public EAttribute getXmlOneToMany_2_2_Noncacheable() { return (EAttribute)xmlOneToMany_2_2EClass.getEStructuralFeatures().get(1); } @@ -3453,7 +3457,7 @@ public class EclipseLinkOrmV2_2Package extends EPackageImpl 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__NON_CACHEABLE); + createEAttribute(xmlElementCollection_2_2EClass, XML_ELEMENT_COLLECTION_22__NONCACHEABLE); xmlEmbeddable_2_2EClass = createEClass(XML_EMBEDDABLE_22); createEAttribute(xmlEmbeddable_2_2EClass, XML_EMBEDDABLE_22__PARENT_CLASS); @@ -3506,7 +3510,7 @@ public class EclipseLinkOrmV2_2Package extends EPackageImpl 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__NON_CACHEABLE); + 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); @@ -3618,7 +3622,7 @@ public class EclipseLinkOrmV2_2Package extends EPackageImpl 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); + 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); initEAttribute(getXmlEmbeddable_2_2_ParentClass(), theXMLTypePackage.getString(), "parentClass", null, 0, 1, XmlEmbeddable_2_2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); @@ -3671,7 +3675,7 @@ public class EclipseLinkOrmV2_2Package extends EPackageImpl 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); + 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); @@ -3844,12 +3848,12 @@ public class EclipseLinkOrmV2_2Package extends EPackageImpl public static final EAttribute XML_ELEMENT_COLLECTION_22__CASCADE_ON_DELETE = eINSTANCE.getXmlElementCollection_2_2_CascadeOnDelete(); /** - * The meta object literal for the '<em><b>Non Cacheable</b></em>' attribute feature. + * The meta object literal for the '<em><b>Noncacheable</b></em>' attribute feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ - public static final EAttribute XML_ELEMENT_COLLECTION_22__NON_CACHEABLE = eINSTANCE.getXmlElementCollection_2_2_NonCacheable(); + 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 <em>Xml Entity 22</em>}' class. @@ -4066,12 +4070,12 @@ public class EclipseLinkOrmV2_2Package extends EPackageImpl public static final EAttribute XML_ONE_TO_MANY_22__CASCADE_ON_DELETE = eINSTANCE.getXmlOneToMany_2_2_CascadeOnDelete(); /** - * The meta object literal for the '<em><b>Non Cacheable</b></em>' attribute feature. + * The meta object literal for the '<em><b>Noncacheable</b></em>' attribute feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ - public static final EAttribute XML_ONE_TO_MANY_22__NON_CACHEABLE = eINSTANCE.getXmlOneToMany_2_2_NonCacheable(); + 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 <em>Xml Partitioning 22</em>}' class. 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 index ed9c3e7c80..ebed8e887e 100644 --- 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 @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2010 Oracle. All rights reserved. + * 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. @@ -25,7 +25,7 @@ package org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2; * The following features are supported: * <ul> * <li>{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlElementCollection_2_2#getCascadeOnDelete <em>Cascade On Delete</em>}</li> - * <li>{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlElementCollection_2_2#isNonCacheable <em>Non Cacheable</em>}</li> + * <li>{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlElementCollection_2_2#isNoncacheable <em>Noncacheable</em>}</li> * </ul> * </p> * @@ -62,29 +62,29 @@ public interface XmlElementCollection_2_2 extends XmlPartitioningGroup_2_2 void setCascadeOnDelete(Boolean value); /** - * Returns the value of the '<em><b>Non Cacheable</b></em>' attribute. + * Returns the value of the '<em><b>Noncacheable</b></em>' attribute. * <!-- begin-user-doc --> * <p> - * If the meaning of the '<em>Non Cacheable</em>' attribute isn't clear, + * If the meaning of the '<em>Noncacheable</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> - * @return the value of the '<em>Non Cacheable</em>' attribute. - * @see #setNonCacheable(boolean) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlElementCollection_2_2_NonCacheable() + * @return the value of the '<em>Noncacheable</em>' 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(); + boolean isNoncacheable(); /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlElementCollection_2_2#isNonCacheable <em>Non Cacheable</em>}' attribute. + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlElementCollection_2_2#isNoncacheable <em>Noncacheable</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * @param value the new value of the '<em>Non Cacheable</em>' attribute. - * @see #isNonCacheable() + * @param value the new value of the '<em>Noncacheable</em>' attribute. + * @see #isNoncacheable() * @generated */ - void setNonCacheable(boolean value); + 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/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 index 8fbf7c555d..6807ef6f1b 100644 --- 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 @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2010 Oracle. All rights reserved. + * 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. @@ -25,7 +25,7 @@ package org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2; * The following features are supported: * <ul> * <li>{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToMany_2_2#getCascadeOnDelete <em>Cascade On Delete</em>}</li> - * <li>{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToMany_2_2#isNonCacheable <em>Non Cacheable</em>}</li> + * <li>{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToMany_2_2#isNoncacheable <em>Noncacheable</em>}</li> * </ul> * </p> * @@ -62,29 +62,29 @@ public interface XmlOneToMany_2_2 extends XmlPartitioningGroup_2_2 void setCascadeOnDelete(Boolean value); /** - * Returns the value of the '<em><b>Non Cacheable</b></em>' attribute. + * Returns the value of the '<em><b>Noncacheable</b></em>' attribute. * <!-- begin-user-doc --> * <p> - * If the meaning of the '<em>Non Cacheable</em>' attribute isn't clear, + * If the meaning of the '<em>Noncacheable</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> - * @return the value of the '<em>Non Cacheable</em>' attribute. - * @see #setNonCacheable(boolean) - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package#getXmlOneToMany_2_2_NonCacheable() + * @return the value of the '<em>Noncacheable</em>' 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(); + boolean isNoncacheable(); /** - * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToMany_2_2#isNonCacheable <em>Non Cacheable</em>}' attribute. + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlOneToMany_2_2#isNoncacheable <em>Noncacheable</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * @param value the new value of the '<em>Non Cacheable</em>' attribute. - * @see #isNonCacheable() + * @param value the new value of the '<em>Noncacheable</em>' attribute. + * @see #isNoncacheable() * @generated */ - void setNonCacheable(boolean value); + 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_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 index aa4cd334fd..a9cb1f678f 100644 --- 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 @@ -95,8 +95,8 @@ public class EclipseLinkOrmV2_3Factory extends EFactoryImpl { switch (eDataType.getClassifierID()) { - case EclipseLinkOrmV2_3Package.XML_MULTITENANT_TYPE: - return createXmlMultitenantTypeFromString(eDataType, initialValue); + case EclipseLinkOrmV2_3Package.MULTITENANT_TYPE: + return createMultitenantTypeFromString(eDataType, initialValue); default: throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); } @@ -112,8 +112,8 @@ public class EclipseLinkOrmV2_3Factory extends EFactoryImpl { switch (eDataType.getClassifierID()) { - case EclipseLinkOrmV2_3Package.XML_MULTITENANT_TYPE: - return convertXmlMultitenantTypeToString(eDataType, instanceValue); + case EclipseLinkOrmV2_3Package.MULTITENANT_TYPE: + return convertMultitenantTypeToString(eDataType, instanceValue); default: throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); } @@ -124,9 +124,9 @@ public class EclipseLinkOrmV2_3Factory extends EFactoryImpl * <!-- end-user-doc --> * @generated */ - public XmlMultitenantType createXmlMultitenantTypeFromString(EDataType eDataType, String initialValue) + public MultitenantType createMultitenantTypeFromString(EDataType eDataType, String initialValue) { - XmlMultitenantType result = XmlMultitenantType.get(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; } @@ -136,7 +136,7 @@ public class EclipseLinkOrmV2_3Factory extends EFactoryImpl * <!-- end-user-doc --> * @generated */ - public String convertXmlMultitenantTypeToString(EDataType eDataType, Object instanceValue) + public String convertMultitenantTypeToString(EDataType eDataType, Object instanceValue) { return instanceValue == null ? null : instanceValue.toString(); } 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 index 5c6729658d..ea7bae5498 100644 --- 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 @@ -14,23 +14,16 @@ 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.xml.CommonPackage; - 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; /** * <!-- begin-user-doc --> @@ -774,14 +767,14 @@ public class EclipseLinkOrmV2_3Package extends EPackageImpl public static final int XML_ELEMENT_COLLECTION_23_FEATURE_COUNT = 1; /** - * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMultitenantType <em>Xml Multitenant Type</em>}' enum. + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.MultitenantType <em>Multitenant Type</em>}' enum. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMultitenantType - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlMultitenantType() + * @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 XML_MULTITENANT_TYPE = 17; + public static final int MULTITENANT_TYPE = 17; /** * <!-- begin-user-doc --> @@ -907,7 +900,7 @@ public class EclipseLinkOrmV2_3Package extends EPackageImpl * <!-- end-user-doc --> * @generated */ - private EEnum xmlMultitenantTypeEEnum = null; + private EEnum multitenantTypeEEnum = null; /** * Creates an instance of the model <b>Package</b>, registered with @@ -968,6 +961,7 @@ public class EclipseLinkOrmV2_3Package extends EPackageImpl 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(); @@ -976,6 +970,7 @@ public class EclipseLinkOrmV2_3Package extends EPackageImpl theEclipseLinkOrmV2_0Package.createPackageContents(); theEclipseLinkOrmV2_1Package.createPackageContents(); theEclipseLinkOrmV2_2Package.createPackageContents(); + theEclipseLinkOrmV2_4Package.createPackageContents(); // Initialize created meta-data theEclipseLinkOrmV2_3Package.initializePackageContents(); @@ -984,6 +979,7 @@ public class EclipseLinkOrmV2_3Package extends EPackageImpl 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(); @@ -1784,16 +1780,16 @@ public class EclipseLinkOrmV2_3Package extends EPackageImpl /** - * Returns the meta object for enum '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMultitenantType <em>Xml Multitenant Type</em>}'. + * Returns the meta object for enum '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.MultitenantType <em>Multitenant Type</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * @return the meta object for enum '<em>Xml Multitenant Type</em>'. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMultitenantType + * @return the meta object for enum '<em>Multitenant Type</em>'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.MultitenantType * @generated */ - public EEnum getXmlMultitenantType() + public EEnum getMultitenantType() { - return xmlMultitenantTypeEEnum; + return multitenantTypeEEnum; } @@ -1901,7 +1897,7 @@ public class EclipseLinkOrmV2_3Package extends EPackageImpl createEAttribute(xmlElementCollection_2_3EClass, XML_ELEMENT_COLLECTION_23__COMPOSITE_MEMBER); // Create enums - xmlMultitenantTypeEEnum = createEEnum(XML_MULTITENANT_TYPE); + multitenantTypeEEnum = createEEnum(MULTITENANT_TYPE); } /** @@ -1978,7 +1974,7 @@ public class EclipseLinkOrmV2_3Package extends EPackageImpl 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.getXmlMultitenantType(), "type", null, 0, 1, XmlMultitenant_2_3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + 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); @@ -2013,9 +2009,9 @@ public class EclipseLinkOrmV2_3Package extends EPackageImpl 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); // Initialize enums and add enum literals - initEEnum(xmlMultitenantTypeEEnum, XmlMultitenantType.class, "XmlMultitenantType"); - addEEnumLiteral(xmlMultitenantTypeEEnum, XmlMultitenantType.SINGLE_TABLE); - addEEnumLiteral(xmlMultitenantTypeEEnum, XmlMultitenantType.TABLE_PER_TENANT); + initEEnum(multitenantTypeEEnum, MultitenantType.class, "MultitenantType"); + addEEnumLiteral(multitenantTypeEEnum, MultitenantType.SINGLE_TABLE); + addEEnumLiteral(multitenantTypeEEnum, MultitenantType.TABLE_PER_TENANT); } /** @@ -2499,14 +2495,14 @@ public class EclipseLinkOrmV2_3Package extends EPackageImpl 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.XmlMultitenantType <em>Xml Multitenant Type</em>}' enum. + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.MultitenantType <em>Multitenant Type</em>}' enum. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMultitenantType - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlMultitenantType() + * @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 XML_MULTITENANT_TYPE = eINSTANCE.getXmlMultitenantType(); + public static final EEnum MULTITENANT_TYPE = eINSTANCE.getMultitenantType(); } diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlMultitenantType.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/MultitenantType.java index 8f7efaba91..2276439c01 100644 --- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlMultitenantType.java +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/MultitenantType.java @@ -1,9 +1,12 @@ -/** - * <copyright> - * </copyright> - * - * $Id: XmlMultitenantType.java,v 1.1 2011/07/07 19:27:07 kmoore Exp $ - */ +/******************************************************************************* + * 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; @@ -14,14 +17,14 @@ import org.eclipse.emf.common.util.Enumerator; /** * <!-- begin-user-doc --> - * A representation of the literals of the enumeration '<em><b>Xml Multitenant Type</b></em>', + * A representation of the literals of the enumeration '<em><b>Multitenant Type</b></em>', * and utility methods for working with them. * <!-- end-user-doc --> - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getXmlMultitenantType() + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package#getMultitenantType() * @model * @generated */ -public enum XmlMultitenantType implements Enumerator +public enum MultitenantType implements Enumerator { /** * The '<em><b>SINGLE TABLE</b></em>' literal object. @@ -41,7 +44,7 @@ public enum XmlMultitenantType implements Enumerator * @generated * @ordered */ - TABLE_PER_TENANT(1, "TABLE_PER_TENANT", "CHANGED_COLUMNS"); + TABLE_PER_TENANT(1, "TABLE_PER_TENANT", "TABLE_PER_TENANT"); /** * The '<em><b>SINGLE TABLE</b></em>' literal value. @@ -67,44 +70,44 @@ public enum XmlMultitenantType implements Enumerator * </p> * <!-- end-user-doc --> * @see #TABLE_PER_TENANT - * @model literal="CHANGED_COLUMNS" + * @model * @generated * @ordered */ public static final int TABLE_PER_TENANT_VALUE = 1; /** - * An array of all the '<em><b>Xml Multitenant Type</b></em>' enumerators. + * An array of all the '<em><b>Multitenant Type</b></em>' enumerators. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ - private static final XmlMultitenantType[] VALUES_ARRAY = - new XmlMultitenantType[] + private static final MultitenantType[] VALUES_ARRAY = + new MultitenantType[] { SINGLE_TABLE, TABLE_PER_TENANT, }; /** - * A public read-only list of all the '<em><b>Xml Multitenant Type</b></em>' enumerators. + * A public read-only list of all the '<em><b>Multitenant Type</b></em>' enumerators. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ - public static final List<XmlMultitenantType> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + public static final List<MultitenantType> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); /** - * Returns the '<em><b>Xml Multitenant Type</b></em>' literal with the specified literal value. + * Returns the '<em><b>Multitenant Type</b></em>' literal with the specified literal value. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ - public static XmlMultitenantType get(String literal) + public static MultitenantType get(String literal) { for (int i = 0; i < VALUES_ARRAY.length; ++i) { - XmlMultitenantType result = VALUES_ARRAY[i]; + MultitenantType result = VALUES_ARRAY[i]; if (result.toString().equals(literal)) { return result; @@ -114,16 +117,16 @@ public enum XmlMultitenantType implements Enumerator } /** - * Returns the '<em><b>Xml Multitenant Type</b></em>' literal with the specified name. + * Returns the '<em><b>Multitenant Type</b></em>' literal with the specified name. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ - public static XmlMultitenantType getByName(String name) + public static MultitenantType getByName(String name) { for (int i = 0; i < VALUES_ARRAY.length; ++i) { - XmlMultitenantType result = VALUES_ARRAY[i]; + MultitenantType result = VALUES_ARRAY[i]; if (result.getName().equals(name)) { return result; @@ -133,12 +136,12 @@ public enum XmlMultitenantType implements Enumerator } /** - * Returns the '<em><b>Xml Multitenant Type</b></em>' literal with the specified integer value. + * Returns the '<em><b>Multitenant Type</b></em>' literal with the specified integer value. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ - public static XmlMultitenantType get(int value) + public static MultitenantType get(int value) { switch (value) { @@ -175,7 +178,7 @@ public enum XmlMultitenantType implements Enumerator * <!-- end-user-doc --> * @generated */ - private XmlMultitenantType(int value, String name, String literal) + private MultitenantType(int value, String name, String literal) { this.value = value; this.name = name; 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 index 10dab96854..907e1e1000 100644 --- 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 @@ -35,7 +35,7 @@ public interface XmlMultitenant_2_3 extends JpaEObject /** * Returns the value of the '<em><b>Type</b></em>' attribute. - * The literals are from the enumeration {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMultitenantType}. + * The literals are from the enumeration {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.MultitenantType}. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Type</em>' attribute isn't clear, @@ -43,24 +43,24 @@ public interface XmlMultitenant_2_3 extends JpaEObject * </p> * <!-- end-user-doc --> * @return the value of the '<em>Type</em>' attribute. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMultitenantType - * @see #setType(XmlMultitenantType) + * @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 */ - XmlMultitenantType getType(); + MultitenantType getType(); /** * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMultitenant_2_3#getType <em>Type</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Type</em>' attribute. - * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlMultitenantType + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.MultitenantType * @see #getType() * @generated */ - void setType(XmlMultitenantType value); + void setType(MultitenantType value); /** * Returns the value of the '<em><b>Tenant Discriminator Columns</b></em>' containment reference list. diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/EclipseLink2_4.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/EclipseLink2_4.java new file mode 100644 index 0000000000..6d04cf5189 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/EclipseLink2_4.java @@ -0,0 +1,31 @@ +/******************************************************************************* + * 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.jpa.eclipselink.core.resource.orm.EclipseLink; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLink2_2; + + +@SuppressWarnings("nls") +public interface EclipseLink2_4 + extends EclipseLink2_2 +{ + String SCHEMA_NAMESPACE = EclipseLink.SCHEMA_NAMESPACE; + String SCHEMA_LOCATION = "http://www.eclipse.org/eclipselink/xsds/eclipselink_orm_2_4.xsd"; + String SCHEMA_VERSION = "2.4"; + + // EclipseLink 2.4 specific nodes + String DELETE_ALL = "delete-all"; + String CACHE_INDEX = "cache-index"; + String CACHE_INDEX__COLUMN_NAME = "column-name"; + String MULTITENANT__INCLUDE_CRITERIA = "include-criteria"; + + +}
\ 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/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 new file mode 100644 index 0000000000..36195478ab --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/EclipseLinkOrmV2_4Factory.java @@ -0,0 +1,109 @@ +/******************************************************************************* + * 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.ecore.EClass; +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; + +/** + * <!-- begin-user-doc --> + * The <b>Factory</b> for the model. + * It provides a create method for each non-abstract class of the model. + * <!-- end-user-doc --> + * @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. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final EclipseLinkOrmV2_4Factory eINSTANCE = init(); + + /** + * Creates the default factory implementation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EclipseLinkOrmV2_4Factory() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public EObject create(EClass eClass) + { + switch (eClass.getClassifierID()) + { + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); + } + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EclipseLinkOrmV2_4Package getEclipseLinkOrmV2_4Package() + { + return (EclipseLinkOrmV2_4Package)getEPackage(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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 new file mode 100644 index 0000000000..006839277e --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/EclipseLinkOrmV2_4Package.java @@ -0,0 +1,961 @@ +/******************************************************************************* + * 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.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +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.xml.CommonPackage; + +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; + +/** + * <!-- begin-user-doc --> + * The <b>Package</b> for the model. + * It contains accessors for the meta objects to represent + * <ul> + * <li>each class,</li> + * <li>each feature of each class,</li> + * <li>each enum,</li> + * <li>and each data type</li> + * </ul> + * <!-- end-user-doc --> + * @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. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String eNAME = "v2_4"; + + /** + * The package namespace URI. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String eNS_URI = "jpt.eclipselink.orm.v2_4.xmi"; + + /** + * The package namespace name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String eNS_PREFIX = "org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4"; + + /** + * The singleton instance of the package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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.XmlMultitenant_2_4 <em>Xml Multitenant 24</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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 = 0; + + /** + * The feature id for the '<em><b>Include Criteria</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int XML_MULTITENANT_24__INCLUDE_CRITERIA = 0; + + /** + * The number of structural features of the '<em>Xml Multitenant 24</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int XML_MULTITENANT_24_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlElementCollection_2_4 <em>Xml Element Collection 24</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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 = 1; + + /** + * The feature id for the '<em><b>Delete All</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION_24__DELETE_ALL = 0; + + /** + * The number of structural features of the '<em>Xml Element Collection 24</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int XML_ELEMENT_COLLECTION_24_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToMany_2_4 <em>Xml One To Many 24</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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 = 2; + + /** + * The feature id for the '<em><b>Delete All</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY_24__DELETE_ALL = 0; + + /** + * The number of structural features of the '<em>Xml One To Many 24</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int XML_ONE_TO_MANY_24_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntity_2_4 <em>Xml Entity 24</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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 = 3; + + /** + * The feature id for the '<em><b>Cache Index</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int XML_ENTITY_24__CACHE_INDEX = 0; + + /** + * The number of structural features of the '<em>Xml Entity 24</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int XML_ENTITY_24_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlBasic_2_4 <em>Xml Basic 24</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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 = 4; + + /** + * The feature id for the '<em><b>Cache Index</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int XML_BASIC_24__CACHE_INDEX = 0; + + /** + * The number of structural features of the '<em>Xml Basic 24</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int XML_BASIC_24_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlCacheIndex_2_4 <em>Xml Cache Index 24</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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 = 5; + + /** + * The feature id for the '<em><b>Column Names</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int XML_CACHE_INDEX_24__COLUMN_NAMES = 0; + + /** + * The number of structural features of the '<em>Xml Cache Index 24</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int XML_CACHE_INDEX_24_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlId_2_4 <em>Xml Id 24</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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 = 6; + + /** + * The feature id for the '<em><b>Cache Index</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int XML_ID_24__CACHE_INDEX = 0; + + /** + * The number of structural features of the '<em>Xml Id 24</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int XML_ID_24_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMappedSuperclass_2_4 <em>Xml Mapped Superclass 24</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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 = 7; + + /** + * The feature id for the '<em><b>Cache Index</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS_24__CACHE_INDEX = 0; + + /** + * The number of structural features of the '<em>Xml Mapped Superclass 24</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + public static final int XML_MAPPED_SUPERCLASS_24_FEATURE_COUNT = 1; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass xmlMultitenant_2_4EClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass xmlElementCollection_2_4EClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass xmlOneToMany_2_4EClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass xmlEntity_2_4EClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass xmlBasic_2_4EClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass xmlCacheIndex_2_4EClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass xmlId_2_4EClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass xmlMappedSuperclass_2_4EClass = null; + + /** + * Creates an instance of the model <b>Package</b>, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + * <p>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. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. + * + * <p>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. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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(); + CommonPackage.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 <em>Xml Multitenant 24</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Xml Multitenant 24</em>'. + * @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 <em>Include Criteria</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Include Criteria</em>'. + * @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 class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlElementCollection_2_4 <em>Xml Element Collection 24</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Xml Element Collection 24</em>'. + * @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 attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlElementCollection_2_4#isDeleteAll <em>Delete All</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Delete All</em>'. + * @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(0); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToMany_2_4 <em>Xml One To Many 24</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Xml One To Many 24</em>'. + * @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 attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToMany_2_4#isDeleteAll <em>Delete All</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Delete All</em>'. + * @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(0); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntity_2_4 <em>Xml Entity 24</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Xml Entity 24</em>'. + * @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 <em>Cache Index</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Cache Index</em>'. + * @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 class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlBasic_2_4 <em>Xml Basic 24</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Xml Basic 24</em>'. + * @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#getCacheIndex <em>Cache Index</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Cache Index</em>'. + * @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(0); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlCacheIndex_2_4 <em>Xml Cache Index 24</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Xml Cache Index 24</em>'. + * @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 <em>Column Names</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute list '<em>Column Names</em>'. + * @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.XmlId_2_4 <em>Xml Id 24</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Xml Id 24</em>'. + * @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#getCacheIndex <em>Cache Index</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Cache Index</em>'. + * @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(0); + } + + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMappedSuperclass_2_4 <em>Xml Mapped Superclass 24</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Xml Mapped Superclass 24</em>'. + * @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 <em>Cache Index</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Cache Index</em>'. + * @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 factory that creates the instances of the model. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the factory that creates the instances of the model. + * @generated + */ + public EclipseLinkOrmV2_4Factory getEclipseLinkOrmV2_4Factory() + { + return (EclipseLinkOrmV2_4Factory)getEFactoryInstance(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void createPackageContents() + { + if (isCreated) return; + isCreated = true; + + // Create classes and their features + xmlMultitenant_2_4EClass = createEClass(XML_MULTITENANT_24); + createEAttribute(xmlMultitenant_2_4EClass, XML_MULTITENANT_24__INCLUDE_CRITERIA); + + xmlElementCollection_2_4EClass = createEClass(XML_ELEMENT_COLLECTION_24); + createEAttribute(xmlElementCollection_2_4EClass, XML_ELEMENT_COLLECTION_24__DELETE_ALL); + + xmlOneToMany_2_4EClass = createEClass(XML_ONE_TO_MANY_24); + createEAttribute(xmlOneToMany_2_4EClass, XML_ONE_TO_MANY_24__DELETE_ALL); + + xmlEntity_2_4EClass = createEClass(XML_ENTITY_24); + createEReference(xmlEntity_2_4EClass, XML_ENTITY_24__CACHE_INDEX); + + xmlBasic_2_4EClass = createEClass(XML_BASIC_24); + createEReference(xmlBasic_2_4EClass, XML_BASIC_24__CACHE_INDEX); + + xmlCacheIndex_2_4EClass = createEClass(XML_CACHE_INDEX_24); + createEAttribute(xmlCacheIndex_2_4EClass, XML_CACHE_INDEX_24__COLUMN_NAMES); + + xmlId_2_4EClass = createEClass(XML_ID_24); + createEReference(xmlId_2_4EClass, XML_ID_24__CACHE_INDEX); + + xmlMappedSuperclass_2_4EClass = createEClass(XML_MAPPED_SUPERCLASS_24); + createEReference(xmlMappedSuperclass_2_4EClass, XML_MAPPED_SUPERCLASS_24__CACHE_INDEX); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + + // Initialize classes and features; add operations and parameters + 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); + + initEClass(xmlElementCollection_2_4EClass, XmlElementCollection_2_4.class, "XmlElementCollection_2_4", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + 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(xmlOneToMany_2_4EClass, XmlOneToMany_2_4.class, "XmlOneToMany_2_4", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + 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(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); + + initEClass(xmlBasic_2_4EClass, XmlBasic_2_4.class, "XmlBasic_2_4", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + 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(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(xmlId_2_4EClass, XmlId_2_4.class, "XmlId_2_4", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + 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(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); + } + + /** + * <!-- begin-user-doc --> + * Defines literals for the meta objects that represent + * <ul> + * <li>each class,</li> + * <li>each feature of each class,</li> + * <li>each enum,</li> + * <li>and each data type</li> + * </ul> + * <!-- end-user-doc --> + * @generated + */ + public interface Literals + { + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMultitenant_2_4 <em>Xml Multitenant 24</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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 '<em><b>Include Criteria</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final EAttribute XML_MULTITENANT_24__INCLUDE_CRITERIA = eINSTANCE.getXmlMultitenant_2_4_IncludeCriteria(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlElementCollection_2_4 <em>Xml Element Collection 24</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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 '<em><b>Delete All</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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.XmlOneToMany_2_4 <em>Xml One To Many 24</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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 '<em><b>Delete All</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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.XmlEntity_2_4 <em>Xml Entity 24</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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 '<em><b>Cache Index</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final EReference XML_ENTITY_24__CACHE_INDEX = eINSTANCE.getXmlEntity_2_4_CacheIndex(); + + /** + * The meta object literal for the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlBasic_2_4 <em>Xml Basic 24</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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 '<em><b>Cache Index</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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.XmlCacheIndex_2_4 <em>Xml Cache Index 24</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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 '<em><b>Column Names</b></em>' attribute list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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.XmlId_2_4 <em>Xml Id 24</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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 '<em><b>Cache Index</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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.XmlMappedSuperclass_2_4 <em>Xml Mapped Superclass 24</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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 '<em><b>Cache Index</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final EReference XML_MAPPED_SUPERCLASS_24__CACHE_INDEX = eINSTANCE.getXmlMappedSuperclass_2_4_CacheIndex(); + + } + +} //EclipseLinkOrmV2_4Package 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 new file mode 100644 index 0000000000..b21c332b05 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlBasic_2_4.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_4; + +import org.eclipse.jpt.jpa.core.resource.xml.JpaEObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Xml Basic 24</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlBasic_2_4#getCacheIndex <em>Cache Index</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlBasic_2_4() + * @model kind="class" interface="true" abstract="true" + * @extends JpaEObject + * @generated + */ +public interface XmlBasic_2_4 extends JpaEObject +{ + /** + * Returns the value of the '<em><b>Cache Index</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Cache Index</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Cache Index</em>' 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 <em>Cache Index</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Cache Index</em>' 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 new file mode 100644 index 0000000000..86a129458b --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlCacheIndex_2_4.java @@ -0,0 +1,51 @@ +/******************************************************************************* + * 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.jpa.core.resource.xml.JpaEObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Xml Cache Index 24</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlCacheIndex_2_4#getColumnNames <em>Column Names</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlCacheIndex_2_4() + * @model kind="class" interface="true" abstract="true" + * @extends JpaEObject + * @generated + */ +public interface XmlCacheIndex_2_4 extends JpaEObject +{ + /** + * Returns the value of the '<em><b>Column Names</b></em>' attribute list. + * The list contents are of type {@link java.lang.String}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Column Names</em>' attribute list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Column Names</em>' 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<String> 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/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 new file mode 100644 index 0000000000..8564b2b1ad --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlElementCollection_2_4.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_4; + +import org.eclipse.jpt.jpa.core.resource.xml.JpaEObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Xml Element Collection 24</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlElementCollection_2_4#isDeleteAll <em>Delete All</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlElementCollection_2_4() + * @model kind="class" interface="true" abstract="true" + * @extends JpaEObject + * @generated + */ +public interface XmlElementCollection_2_4 extends JpaEObject +{ + /** + * Returns the value of the '<em><b>Delete All</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Delete All</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Delete All</em>' 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 <em>Delete All</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Delete All</em>' 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/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 new file mode 100644 index 0000000000..0d7a419336 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlEntity_2_4.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_4; + +import org.eclipse.jpt.jpa.core.resource.xml.JpaEObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Xml Entity 24</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntity_2_4#getCacheIndex <em>Cache Index</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlEntity_2_4() + * @model kind="class" interface="true" abstract="true" + * @extends JpaEObject + * @generated + */ +public interface XmlEntity_2_4 extends JpaEObject +{ + /** + * Returns the value of the '<em><b>Cache Index</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Cache Index</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Cache Index</em>' 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 <em>Cache Index</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Cache Index</em>' containment reference. + * @see #getCacheIndex() + * @generated + */ + void setCacheIndex(XmlCacheIndex_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/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 new file mode 100644 index 0000000000..2e108a7a81 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlId_2_4.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_4; + +import org.eclipse.jpt.jpa.core.resource.xml.JpaEObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Xml Id 24</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlId_2_4#getCacheIndex <em>Cache Index</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlId_2_4() + * @model kind="class" interface="true" abstract="true" + * @extends JpaEObject + * @generated + */ +public interface XmlId_2_4 extends JpaEObject +{ + /** + * Returns the value of the '<em><b>Cache Index</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Cache Index</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Cache Index</em>' 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 <em>Cache Index</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Cache Index</em>' 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/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 new file mode 100644 index 0000000000..823e4f8eee --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlMappedSuperclass_2_4.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_4; + +import org.eclipse.jpt.jpa.core.resource.xml.JpaEObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Xml Mapped Superclass 24</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMappedSuperclass_2_4#getCacheIndex <em>Cache Index</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlMappedSuperclass_2_4() + * @model kind="class" interface="true" abstract="true" + * @extends JpaEObject + * @generated + */ +public interface XmlMappedSuperclass_2_4 extends JpaEObject +{ + /** + * Returns the value of the '<em><b>Cache Index</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Cache Index</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Cache Index</em>' 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 <em>Cache Index</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Cache Index</em>' 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 new file mode 100644 index 0000000000..a8c7b5d69f --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlMultitenant_2_4.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_4; + +import org.eclipse.jpt.jpa.core.resource.xml.JpaEObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Xml Multitenant 24</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlMultitenant_2_4#getIncludeCriteria <em>Include Criteria</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlMultitenant_2_4() + * @model kind="class" interface="true" abstract="true" + * @extends JpaEObject + * @generated + */ +public interface XmlMultitenant_2_4 extends JpaEObject +{ + /** + * Returns the value of the '<em><b>Include Criteria</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Include Criteria</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Include Criteria</em>' 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 <em>Include Criteria</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Include Criteria</em>' attribute. + * @see #getIncludeCriteria() + * @generated + */ + void setIncludeCriteria(Boolean value); + +} // 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/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 new file mode 100644 index 0000000000..87cd3826bb --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlOneToMany_2_4.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_4; + +import org.eclipse.jpt.jpa.core.resource.xml.JpaEObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Xml One To Many 24</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlOneToMany_2_4#isDeleteAll <em>Delete All</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package#getXmlOneToMany_2_4() + * @model kind="class" interface="true" abstract="true" + * @extends JpaEObject + * @generated + */ +public interface XmlOneToMany_2_4 extends JpaEObject +{ + /** + * Returns the value of the '<em><b>Delete All</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Delete All</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Delete All</em>' 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 <em>Delete All</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Delete All</em>' attribute. + * @see #isDeleteAll() + * @generated + */ + void setDeleteAll(boolean value); + +} // XmlOneToMany_2_4 |