| /******************************************************************************* |
| * Copyright (c) 2009, 2012 Oracle. |
| * All rights reserved. This program and the accompanying materials are |
| * made available under the terms of the Eclipse Public License v1.0 which |
| * accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * Oracle - initial API and implementation |
| *******************************************************************************/ |
| |
| package org.eclipse.jpt.jpa.eclipselink.core.resource.orm; |
| |
| import java.util.Collection; |
| import org.eclipse.emf.common.notify.Notification; |
| import org.eclipse.emf.common.notify.NotificationChain; |
| import org.eclipse.emf.common.util.EList; |
| import org.eclipse.emf.ecore.EClass; |
| import org.eclipse.emf.ecore.EStructuralFeature; |
| import org.eclipse.emf.ecore.InternalEObject; |
| import org.eclipse.emf.ecore.impl.ENotificationImpl; |
| import org.eclipse.emf.ecore.util.EObjectContainmentEList; |
| import org.eclipse.emf.ecore.util.InternalEList; |
| import org.eclipse.jpt.common.core.internal.utility.translators.EmptyTagBooleanTranslator; |
| import org.eclipse.jpt.common.core.internal.utility.translators.SimpleTranslator; |
| import org.eclipse.jpt.common.core.utility.TextRange; |
| import org.eclipse.jpt.jpa.core.resource.orm.CascadeType; |
| import org.eclipse.jpt.jpa.core.resource.orm.JPA; |
| import org.eclipse.jpt.jpa.core.resource.orm.XmlAssociationOverride; |
| import org.eclipse.jpt.jpa.core.resource.orm.XmlColumn; |
| import org.eclipse.jpt.jpa.core.resource.orm.XmlJoinColumn; |
| import org.eclipse.jpt.jpa.core.resource.orm.v2_0.JPA2_0; |
| import org.eclipse.jpt.jpa.core.resource.orm.v2_0.OrmV2_0Package; |
| import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLink2_0; |
| import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package; |
| import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlCollectionMapping_2_0; |
| import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlElementCollection_2_0; |
| import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlMapKeyAssociationOverrideContainer_2_0; |
| import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLink2_1; |
| import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlElementCollection_2_1; |
| import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLink2_2; |
| import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package; |
| import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlElementCollection_2_2; |
| import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlHashPartitioning_2_2; |
| import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2; |
| import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioning_2_2; |
| import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPinnedPartitioning_2_2; |
| import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRangePartitioning_2_2; |
| import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlReplicationPartitioning_2_2; |
| import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRoundRobinPartitioning_2_2; |
| import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlUnionPartitioning_2_2; |
| import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlValuePartitioning_2_2; |
| import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLink2_3; |
| import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package; |
| import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlElementCollection_2_3; |
| import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLink2_4; |
| import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package; |
| import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlElementCollection_2_4; |
| import org.eclipse.wst.common.internal.emf.resource.Translator; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Xml Element Collection</b></em>'. |
| * |
| * Provisional API: This interface is part of an interim API that is still |
| * under development and expected to change significantly before reaching |
| * stability. It is available at this early stage to solicit feedback from |
| * pioneering adopters on the understanding that any code that uses this API |
| * will almost certainly be broken (repeatedly) as the API evolves. |
| * |
| * @version 2.3 |
| * @since 2.1 |
| * <!-- end-user-doc --> |
| * |
| * |
| * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlElementCollection() |
| * @model kind="class" |
| * @generated |
| */ |
| public class XmlElementCollection extends org.eclipse.jpt.jpa.core.resource.orm.XmlElementCollection implements XmlElementCollection_2_0, XmlElementCollection_2_1, XmlElementCollection_2_2, XmlElementCollection_2_3, XmlElementCollection_2_4 |
| { |
| /** |
| * The cached value of the '{@link #getAccessMethods() <em>Access Methods</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getAccessMethods() |
| * @generated |
| * @ordered |
| */ |
| protected XmlAccessMethods accessMethods; |
| |
| /** |
| * The cached value of the '{@link #getProperties() <em>Properties</em>}' containment reference list. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getProperties() |
| * @generated |
| * @ordered |
| */ |
| protected EList<XmlProperty> properties; |
| |
| /** |
| * The default value of the '{@link #getAttributeType() <em>Attribute Type</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getAttributeType() |
| * @generated |
| * @ordered |
| */ |
| protected static final String ATTRIBUTE_TYPE_EDEFAULT = null; |
| |
| /** |
| * The cached value of the '{@link #getAttributeType() <em>Attribute Type</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getAttributeType() |
| * @generated |
| * @ordered |
| */ |
| protected String attributeType = ATTRIBUTE_TYPE_EDEFAULT; |
| |
| /** |
| * The default value of the '{@link #getConvert() <em>Convert</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getConvert() |
| * @generated |
| * @ordered |
| */ |
| protected static final String CONVERT_EDEFAULT = null; |
| |
| /** |
| * The cached value of the '{@link #getConvert() <em>Convert</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getConvert() |
| * @generated |
| * @ordered |
| */ |
| protected String convert = CONVERT_EDEFAULT; |
| |
| /** |
| * The cached value of the '{@link #getMapKeyAssociationOverrides() <em>Map Key Association Overrides</em>}' containment reference list. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getMapKeyAssociationOverrides() |
| * @generated |
| * @ordered |
| */ |
| protected EList<XmlAssociationOverride> mapKeyAssociationOverrides; |
| |
| /** |
| * The cached value of the '{@link #getConverters() <em>Converters</em>}' containment reference list. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getConverters() |
| * @generated |
| * @ordered |
| */ |
| protected EList<XmlConverter> converters; |
| |
| /** |
| * The cached value of the '{@link #getTypeConverters() <em>Type Converters</em>}' containment reference list. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getTypeConverters() |
| * @generated |
| * @ordered |
| */ |
| protected EList<XmlTypeConverter> typeConverters; |
| |
| /** |
| * The cached value of the '{@link #getObjectTypeConverters() <em>Object Type Converters</em>}' containment reference list. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getObjectTypeConverters() |
| * @generated |
| * @ordered |
| */ |
| protected EList<XmlObjectTypeConverter> objectTypeConverters; |
| |
| /** |
| * The cached value of the '{@link #getStructConverters() <em>Struct Converters</em>}' containment reference list. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getStructConverters() |
| * @generated |
| * @ordered |
| */ |
| protected EList<XmlStructConverter> structConverters; |
| |
| /** |
| * The default value of the '{@link #getMapKeyConvert() <em>Map Key Convert</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getMapKeyConvert() |
| * @generated |
| * @ordered |
| */ |
| protected static final String MAP_KEY_CONVERT_EDEFAULT = null; |
| |
| /** |
| * The cached value of the '{@link #getMapKeyConvert() <em>Map Key Convert</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getMapKeyConvert() |
| * @generated |
| * @ordered |
| */ |
| protected String mapKeyConvert = MAP_KEY_CONVERT_EDEFAULT; |
| |
| /** |
| * changed this to null and removed the generated flag so emf won't generate over it |
| * we don't want a default for enums, just null if the tag does not exist |
| */ |
| protected static final XmlJoinFetchType JOIN_FETCH_EDEFAULT = null; |
| |
| /** |
| * The cached value of the '{@link #getJoinFetch() <em>Join Fetch</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getJoinFetch() |
| * @generated |
| * @ordered |
| */ |
| protected XmlJoinFetchType joinFetch = JOIN_FETCH_EDEFAULT; |
| |
| /** |
| * The cached value of the '{@link #getBatchFetch() <em>Batch Fetch</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getBatchFetch() |
| * @generated |
| * @ordered |
| */ |
| protected XmlBatchFetch batchFetch; |
| |
| /** |
| * The cached value of the '{@link #getPartitioning() <em>Partitioning</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getPartitioning() |
| * @generated |
| * @ordered |
| */ |
| protected XmlPartitioning_2_2 partitioning; |
| |
| /** |
| * The cached value of the '{@link #getReplicationPartitioning() <em>Replication Partitioning</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getReplicationPartitioning() |
| * @generated |
| * @ordered |
| */ |
| protected XmlReplicationPartitioning_2_2 replicationPartitioning; |
| |
| /** |
| * The cached value of the '{@link #getRoundRobinPartitioning() <em>Round Robin Partitioning</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getRoundRobinPartitioning() |
| * @generated |
| * @ordered |
| */ |
| protected XmlRoundRobinPartitioning_2_2 roundRobinPartitioning; |
| |
| /** |
| * The cached value of the '{@link #getPinnedPartitioning() <em>Pinned Partitioning</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getPinnedPartitioning() |
| * @generated |
| * @ordered |
| */ |
| protected XmlPinnedPartitioning_2_2 pinnedPartitioning; |
| |
| /** |
| * The cached value of the '{@link #getRangePartitioning() <em>Range Partitioning</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getRangePartitioning() |
| * @generated |
| * @ordered |
| */ |
| protected XmlRangePartitioning_2_2 rangePartitioning; |
| |
| /** |
| * The cached value of the '{@link #getValuePartitioning() <em>Value Partitioning</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getValuePartitioning() |
| * @generated |
| * @ordered |
| */ |
| protected XmlValuePartitioning_2_2 valuePartitioning; |
| |
| /** |
| * The cached value of the '{@link #getHashPartitioning() <em>Hash Partitioning</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getHashPartitioning() |
| * @generated |
| * @ordered |
| */ |
| protected XmlHashPartitioning_2_2 hashPartitioning; |
| |
| /** |
| * The cached value of the '{@link #getUnionPartitioning() <em>Union Partitioning</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getUnionPartitioning() |
| * @generated |
| * @ordered |
| */ |
| protected XmlUnionPartitioning_2_2 unionPartitioning; |
| |
| /** |
| * The default value of the '{@link #getPartitioned() <em>Partitioned</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getPartitioned() |
| * @generated |
| * @ordered |
| */ |
| protected static final String PARTITIONED_EDEFAULT = null; |
| |
| /** |
| * The cached value of the '{@link #getPartitioned() <em>Partitioned</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getPartitioned() |
| * @generated |
| * @ordered |
| */ |
| protected String partitioned = PARTITIONED_EDEFAULT; |
| |
| /** |
| * The default value of the '{@link #getCascadeOnDelete() <em>Cascade On Delete</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getCascadeOnDelete() |
| * @generated |
| * @ordered |
| */ |
| protected static final Boolean CASCADE_ON_DELETE_EDEFAULT = null; |
| |
| /** |
| * The cached value of the '{@link #getCascadeOnDelete() <em>Cascade On Delete</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getCascadeOnDelete() |
| * @generated |
| * @ordered |
| */ |
| protected Boolean cascadeOnDelete = CASCADE_ON_DELETE_EDEFAULT; |
| |
| /** |
| * The default value of the '{@link #isNoncacheable() <em>Noncacheable</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #isNoncacheable() |
| * @generated |
| * @ordered |
| */ |
| protected static final boolean NONCACHEABLE_EDEFAULT = false; |
| |
| /** |
| * The cached value of the '{@link #isNoncacheable() <em>Noncacheable</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #isNoncacheable() |
| * @generated |
| * @ordered |
| */ |
| protected boolean noncacheable = NONCACHEABLE_EDEFAULT; |
| |
| /** |
| * The default value of the '{@link #getCompositeMember() <em>Composite Member</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getCompositeMember() |
| * @generated |
| * @ordered |
| */ |
| protected static final String COMPOSITE_MEMBER_EDEFAULT = null; |
| |
| /** |
| * The cached value of the '{@link #getCompositeMember() <em>Composite Member</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getCompositeMember() |
| * @generated |
| * @ordered |
| */ |
| protected String compositeMember = COMPOSITE_MEMBER_EDEFAULT; |
| |
| /** |
| * The default value of the '{@link #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 |
| */ |
| protected XmlElementCollection() |
| { |
| super(); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| @Override |
| protected EClass eStaticClass() |
| { |
| return EclipseLinkOrmPackage.Literals.XML_ELEMENT_COLLECTION; |
| } |
| |
| /** |
| * Returns the value of the '<em><b>Access Methods</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Access Methods</em>' containment reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Access Methods</em>' containment reference. |
| * @see #setAccessMethods(XmlAccessMethods) |
| * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAccessMethodsHolder_AccessMethods() |
| * @model containment="true" |
| * @generated |
| */ |
| public XmlAccessMethods getAccessMethods() |
| { |
| return accessMethods; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public NotificationChain basicSetAccessMethods(XmlAccessMethods newAccessMethods, NotificationChain msgs) |
| { |
| XmlAccessMethods oldAccessMethods = accessMethods; |
| accessMethods = newAccessMethods; |
| if (eNotificationRequired()) |
| { |
| ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ACCESS_METHODS, oldAccessMethods, newAccessMethods); |
| if (msgs == null) msgs = notification; else msgs.add(notification); |
| } |
| return msgs; |
| } |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlElementCollection#getAccessMethods <em>Access Methods</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Access Methods</em>' containment reference. |
| * @see #getAccessMethods() |
| * @generated |
| */ |
| public void setAccessMethods(XmlAccessMethods newAccessMethods) |
| { |
| if (newAccessMethods != accessMethods) |
| { |
| NotificationChain msgs = null; |
| if (accessMethods != null) |
| msgs = ((InternalEObject)accessMethods).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ACCESS_METHODS, null, msgs); |
| if (newAccessMethods != null) |
| msgs = ((InternalEObject)newAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ACCESS_METHODS, null, msgs); |
| msgs = basicSetAccessMethods(newAccessMethods, msgs); |
| if (msgs != null) msgs.dispatch(); |
| } |
| else if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ACCESS_METHODS, newAccessMethods, newAccessMethods)); |
| } |
| |
| /** |
| * Returns the value of the '<em><b>Properties</b></em>' containment reference list. |
| * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlProperty}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Properties</em>' containment reference list isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Properties</em>' containment reference list. |
| * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPropertyContainer_Properties() |
| * @model containment="true" |
| * @generated |
| */ |
| public EList<XmlProperty> getProperties() |
| { |
| if (properties == null) |
| { |
| properties = new EObjectContainmentEList<XmlProperty>(XmlProperty.class, this, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PROPERTIES); |
| } |
| return properties; |
| } |
| |
| /** |
| * Returns the value of the '<em><b>Convert</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Convert</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Convert</em>' attribute. |
| * @see #setConvert(String) |
| * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConvertibleMapping_Convert() |
| * @model dataType="org.eclipse.emf.ecore.xml.type.String" |
| * @generated |
| */ |
| public String getConvert() |
| { |
| return convert; |
| } |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlElementCollection#getConvert <em>Convert</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Convert</em>' attribute. |
| * @see #getConvert() |
| * @generated |
| */ |
| public void setConvert(String newConvert) |
| { |
| String oldConvert = convert; |
| convert = newConvert; |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CONVERT, oldConvert, convert)); |
| } |
| |
| /** |
| * Returns the value of the '<em><b>Map Key Association Overrides</b></em>' containment reference list. |
| * The list contents are of type {@link org.eclipse.jpt.jpa.core.resource.orm.XmlAssociationOverride}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Map Key Association Overrides</em>' containment reference list isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Map Key Association Overrides</em>' containment reference list. |
| * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlMapKeyAssociationOverrideContainer_2_0_MapKeyAssociationOverrides() |
| * @model containment="true" |
| * @generated |
| */ |
| public EList<XmlAssociationOverride> getMapKeyAssociationOverrides() |
| { |
| if (mapKeyAssociationOverrides == null) |
| { |
| mapKeyAssociationOverrides = new EObjectContainmentEList<XmlAssociationOverride>(XmlAssociationOverride.class, this, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_ASSOCIATION_OVERRIDES); |
| } |
| return mapKeyAssociationOverrides; |
| } |
| |
| /** |
| * Returns the value of the '<em><b>Map Key Convert</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Map Key Convert</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Map Key Convert</em>' attribute. |
| * @see #setMapKeyConvert(String) |
| * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCollectionMapping_2_0_MapKeyConvert() |
| * @model dataType="org.eclipse.emf.ecore.xml.type.String" |
| * @generated |
| */ |
| public String getMapKeyConvert() |
| { |
| return mapKeyConvert; |
| } |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlElementCollection#getMapKeyConvert <em>Map Key Convert</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Map Key Convert</em>' attribute. |
| * @see #getMapKeyConvert() |
| * @generated |
| */ |
| public void setMapKeyConvert(String newMapKeyConvert) |
| { |
| String oldMapKeyConvert = mapKeyConvert; |
| mapKeyConvert = newMapKeyConvert; |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_CONVERT, oldMapKeyConvert, mapKeyConvert)); |
| } |
| |
| /** |
| * Returns the value of the '<em><b>Join Fetch</b></em>' attribute. |
| * The literals are from the enumeration {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinFetchType}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Join Fetch</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Join Fetch</em>' attribute. |
| * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinFetchType |
| * @see #setJoinFetch(XmlJoinFetchType) |
| * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlJoinFetch_JoinFetch() |
| * @model |
| * @generated |
| */ |
| public XmlJoinFetchType getJoinFetch() |
| { |
| return joinFetch; |
| } |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlElementCollection#getJoinFetch <em>Join Fetch</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Join Fetch</em>' attribute. |
| * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinFetchType |
| * @see #getJoinFetch() |
| * @generated |
| */ |
| public void setJoinFetch(XmlJoinFetchType newJoinFetch) |
| { |
| XmlJoinFetchType oldJoinFetch = joinFetch; |
| joinFetch = newJoinFetch == null ? JOIN_FETCH_EDEFAULT : newJoinFetch; |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__JOIN_FETCH, oldJoinFetch, joinFetch)); |
| } |
| |
| /** |
| * Returns the value of the '<em><b>Batch Fetch</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Batch Fetch</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>Batch Fetch</em>' containment reference. |
| * @see #setBatchFetch(XmlBatchFetch) |
| * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlBatchFetchHolder_BatchFetch() |
| * @model containment="true" |
| * @generated |
| */ |
| public XmlBatchFetch getBatchFetch() |
| { |
| return batchFetch; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public NotificationChain basicSetBatchFetch(XmlBatchFetch newBatchFetch, NotificationChain msgs) |
| { |
| XmlBatchFetch oldBatchFetch = batchFetch; |
| batchFetch = newBatchFetch; |
| if (eNotificationRequired()) |
| { |
| ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__BATCH_FETCH, oldBatchFetch, newBatchFetch); |
| if (msgs == null) msgs = notification; else msgs.add(notification); |
| } |
| return msgs; |
| } |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlElementCollection#getBatchFetch <em>Batch Fetch</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Batch Fetch</em>' containment reference. |
| * @see #getBatchFetch() |
| * @generated |
| */ |
| public void setBatchFetch(XmlBatchFetch newBatchFetch) |
| { |
| if (newBatchFetch != batchFetch) |
| { |
| NotificationChain msgs = null; |
| if (batchFetch != null) |
| msgs = ((InternalEObject)batchFetch).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__BATCH_FETCH, null, msgs); |
| if (newBatchFetch != null) |
| msgs = ((InternalEObject)newBatchFetch).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__BATCH_FETCH, null, msgs); |
| msgs = basicSetBatchFetch(newBatchFetch, msgs); |
| if (msgs != null) msgs.dispatch(); |
| } |
| else if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__BATCH_FETCH, newBatchFetch, newBatchFetch)); |
| } |
| |
| /** |
| * Returns the value of the '<em><b>Attribute Type</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Attribute Type</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Attribute Type</em>' attribute. |
| * @see #setAttributeType(String) |
| * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAttributeMapping_AttributeType() |
| * @model dataType="org.eclipse.emf.ecore.xml.type.String" |
| * @generated |
| */ |
| public String getAttributeType() |
| { |
| return attributeType; |
| } |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlElementCollection#getAttributeType <em>Attribute Type</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Attribute Type</em>' attribute. |
| * @see #getAttributeType() |
| * @generated |
| */ |
| public void setAttributeType(String newAttributeType) |
| { |
| String oldAttributeType = attributeType; |
| attributeType = newAttributeType; |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ATTRIBUTE_TYPE, oldAttributeType, attributeType)); |
| } |
| |
| /** |
| * Returns the value of the '<em><b>Partitioning</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Partitioning</em>' containment reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Partitioning</em>' containment reference. |
| * @see #setPartitioning(XmlPartitioning_2_2) |
| * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_Partitioning() |
| * @model containment="true" |
| * @generated |
| */ |
| public XmlPartitioning_2_2 getPartitioning() |
| { |
| return partitioning; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public NotificationChain basicSetPartitioning(XmlPartitioning_2_2 newPartitioning, NotificationChain msgs) |
| { |
| XmlPartitioning_2_2 oldPartitioning = partitioning; |
| partitioning = newPartitioning; |
| if (eNotificationRequired()) |
| { |
| ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONING, oldPartitioning, newPartitioning); |
| if (msgs == null) msgs = notification; else msgs.add(notification); |
| } |
| return msgs; |
| } |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlElementCollection#getPartitioning <em>Partitioning</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Partitioning</em>' containment reference. |
| * @see #getPartitioning() |
| * @generated |
| */ |
| public void setPartitioning(XmlPartitioning_2_2 newPartitioning) |
| { |
| if (newPartitioning != partitioning) |
| { |
| NotificationChain msgs = null; |
| if (partitioning != null) |
| msgs = ((InternalEObject)partitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONING, null, msgs); |
| if (newPartitioning != null) |
| msgs = ((InternalEObject)newPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONING, null, msgs); |
| msgs = basicSetPartitioning(newPartitioning, msgs); |
| if (msgs != null) msgs.dispatch(); |
| } |
| else if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONING, newPartitioning, newPartitioning)); |
| } |
| |
| /** |
| * Returns the value of the '<em><b>Replication Partitioning</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Replication Partitioning</em>' containment reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Replication Partitioning</em>' containment reference. |
| * @see #setReplicationPartitioning(XmlReplicationPartitioning_2_2) |
| * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_ReplicationPartitioning() |
| * @model containment="true" |
| * @generated |
| */ |
| public XmlReplicationPartitioning_2_2 getReplicationPartitioning() |
| { |
| return replicationPartitioning; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public NotificationChain basicSetReplicationPartitioning(XmlReplicationPartitioning_2_2 newReplicationPartitioning, NotificationChain msgs) |
| { |
| XmlReplicationPartitioning_2_2 oldReplicationPartitioning = replicationPartitioning; |
| replicationPartitioning = newReplicationPartitioning; |
| if (eNotificationRequired()) |
| { |
| ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__REPLICATION_PARTITIONING, oldReplicationPartitioning, newReplicationPartitioning); |
| if (msgs == null) msgs = notification; else msgs.add(notification); |
| } |
| return msgs; |
| } |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlElementCollection#getReplicationPartitioning <em>Replication Partitioning</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Replication Partitioning</em>' containment reference. |
| * @see #getReplicationPartitioning() |
| * @generated |
| */ |
| public void setReplicationPartitioning(XmlReplicationPartitioning_2_2 newReplicationPartitioning) |
| { |
| if (newReplicationPartitioning != replicationPartitioning) |
| { |
| NotificationChain msgs = null; |
| if (replicationPartitioning != null) |
| msgs = ((InternalEObject)replicationPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__REPLICATION_PARTITIONING, null, msgs); |
| if (newReplicationPartitioning != null) |
| msgs = ((InternalEObject)newReplicationPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__REPLICATION_PARTITIONING, null, msgs); |
| msgs = basicSetReplicationPartitioning(newReplicationPartitioning, msgs); |
| if (msgs != null) msgs.dispatch(); |
| } |
| else if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__REPLICATION_PARTITIONING, newReplicationPartitioning, newReplicationPartitioning)); |
| } |
| |
| /** |
| * Returns the value of the '<em><b>Round Robin Partitioning</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Round Robin Partitioning</em>' containment reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Round Robin Partitioning</em>' containment reference. |
| * @see #setRoundRobinPartitioning(XmlRoundRobinPartitioning_2_2) |
| * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_RoundRobinPartitioning() |
| * @model containment="true" |
| * @generated |
| */ |
| public XmlRoundRobinPartitioning_2_2 getRoundRobinPartitioning() |
| { |
| return roundRobinPartitioning; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public NotificationChain basicSetRoundRobinPartitioning(XmlRoundRobinPartitioning_2_2 newRoundRobinPartitioning, NotificationChain msgs) |
| { |
| XmlRoundRobinPartitioning_2_2 oldRoundRobinPartitioning = roundRobinPartitioning; |
| roundRobinPartitioning = newRoundRobinPartitioning; |
| if (eNotificationRequired()) |
| { |
| ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING, oldRoundRobinPartitioning, newRoundRobinPartitioning); |
| if (msgs == null) msgs = notification; else msgs.add(notification); |
| } |
| return msgs; |
| } |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlElementCollection#getRoundRobinPartitioning <em>Round Robin Partitioning</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Round Robin Partitioning</em>' containment reference. |
| * @see #getRoundRobinPartitioning() |
| * @generated |
| */ |
| public void setRoundRobinPartitioning(XmlRoundRobinPartitioning_2_2 newRoundRobinPartitioning) |
| { |
| if (newRoundRobinPartitioning != roundRobinPartitioning) |
| { |
| NotificationChain msgs = null; |
| if (roundRobinPartitioning != null) |
| msgs = ((InternalEObject)roundRobinPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING, null, msgs); |
| if (newRoundRobinPartitioning != null) |
| msgs = ((InternalEObject)newRoundRobinPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING, null, msgs); |
| msgs = basicSetRoundRobinPartitioning(newRoundRobinPartitioning, msgs); |
| if (msgs != null) msgs.dispatch(); |
| } |
| else if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING, newRoundRobinPartitioning, newRoundRobinPartitioning)); |
| } |
| |
| /** |
| * Returns the value of the '<em><b>Pinned Partitioning</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Pinned Partitioning</em>' containment reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Pinned Partitioning</em>' containment reference. |
| * @see #setPinnedPartitioning(XmlPinnedPartitioning_2_2) |
| * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_PinnedPartitioning() |
| * @model containment="true" |
| * @generated |
| */ |
| public XmlPinnedPartitioning_2_2 getPinnedPartitioning() |
| { |
| return pinnedPartitioning; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public NotificationChain basicSetPinnedPartitioning(XmlPinnedPartitioning_2_2 newPinnedPartitioning, NotificationChain msgs) |
| { |
| XmlPinnedPartitioning_2_2 oldPinnedPartitioning = pinnedPartitioning; |
| pinnedPartitioning = newPinnedPartitioning; |
| if (eNotificationRequired()) |
| { |
| ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PINNED_PARTITIONING, oldPinnedPartitioning, newPinnedPartitioning); |
| if (msgs == null) msgs = notification; else msgs.add(notification); |
| } |
| return msgs; |
| } |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlElementCollection#getPinnedPartitioning <em>Pinned Partitioning</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Pinned Partitioning</em>' containment reference. |
| * @see #getPinnedPartitioning() |
| * @generated |
| */ |
| public void setPinnedPartitioning(XmlPinnedPartitioning_2_2 newPinnedPartitioning) |
| { |
| if (newPinnedPartitioning != pinnedPartitioning) |
| { |
| NotificationChain msgs = null; |
| if (pinnedPartitioning != null) |
| msgs = ((InternalEObject)pinnedPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PINNED_PARTITIONING, null, msgs); |
| if (newPinnedPartitioning != null) |
| msgs = ((InternalEObject)newPinnedPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PINNED_PARTITIONING, null, msgs); |
| msgs = basicSetPinnedPartitioning(newPinnedPartitioning, msgs); |
| if (msgs != null) msgs.dispatch(); |
| } |
| else if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PINNED_PARTITIONING, newPinnedPartitioning, newPinnedPartitioning)); |
| } |
| |
| /** |
| * Returns the value of the '<em><b>Range Partitioning</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Range Partitioning</em>' containment reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Range Partitioning</em>' containment reference. |
| * @see #setRangePartitioning(XmlRangePartitioning_2_2) |
| * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_RangePartitioning() |
| * @model containment="true" |
| * @generated |
| */ |
| public XmlRangePartitioning_2_2 getRangePartitioning() |
| { |
| return rangePartitioning; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public NotificationChain basicSetRangePartitioning(XmlRangePartitioning_2_2 newRangePartitioning, NotificationChain msgs) |
| { |
| XmlRangePartitioning_2_2 oldRangePartitioning = rangePartitioning; |
| rangePartitioning = newRangePartitioning; |
| if (eNotificationRequired()) |
| { |
| ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__RANGE_PARTITIONING, oldRangePartitioning, newRangePartitioning); |
| if (msgs == null) msgs = notification; else msgs.add(notification); |
| } |
| return msgs; |
| } |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlElementCollection#getRangePartitioning <em>Range Partitioning</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Range Partitioning</em>' containment reference. |
| * @see #getRangePartitioning() |
| * @generated |
| */ |
| public void setRangePartitioning(XmlRangePartitioning_2_2 newRangePartitioning) |
| { |
| if (newRangePartitioning != rangePartitioning) |
| { |
| NotificationChain msgs = null; |
| if (rangePartitioning != null) |
| msgs = ((InternalEObject)rangePartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__RANGE_PARTITIONING, null, msgs); |
| if (newRangePartitioning != null) |
| msgs = ((InternalEObject)newRangePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__RANGE_PARTITIONING, null, msgs); |
| msgs = basicSetRangePartitioning(newRangePartitioning, msgs); |
| if (msgs != null) msgs.dispatch(); |
| } |
| else if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__RANGE_PARTITIONING, newRangePartitioning, newRangePartitioning)); |
| } |
| |
| /** |
| * Returns the value of the '<em><b>Value Partitioning</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Value Partitioning</em>' containment reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Value Partitioning</em>' containment reference. |
| * @see #setValuePartitioning(XmlValuePartitioning_2_2) |
| * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_ValuePartitioning() |
| * @model containment="true" |
| * @generated |
| */ |
| public XmlValuePartitioning_2_2 getValuePartitioning() |
| { |
| return valuePartitioning; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public NotificationChain basicSetValuePartitioning(XmlValuePartitioning_2_2 newValuePartitioning, NotificationChain msgs) |
| { |
| XmlValuePartitioning_2_2 oldValuePartitioning = valuePartitioning; |
| valuePartitioning = newValuePartitioning; |
| if (eNotificationRequired()) |
| { |
| ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__VALUE_PARTITIONING, oldValuePartitioning, newValuePartitioning); |
| if (msgs == null) msgs = notification; else msgs.add(notification); |
| } |
| return msgs; |
| } |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlElementCollection#getValuePartitioning <em>Value Partitioning</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Value Partitioning</em>' containment reference. |
| * @see #getValuePartitioning() |
| * @generated |
| */ |
| public void setValuePartitioning(XmlValuePartitioning_2_2 newValuePartitioning) |
| { |
| if (newValuePartitioning != valuePartitioning) |
| { |
| NotificationChain msgs = null; |
| if (valuePartitioning != null) |
| msgs = ((InternalEObject)valuePartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__VALUE_PARTITIONING, null, msgs); |
| if (newValuePartitioning != null) |
| msgs = ((InternalEObject)newValuePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__VALUE_PARTITIONING, null, msgs); |
| msgs = basicSetValuePartitioning(newValuePartitioning, msgs); |
| if (msgs != null) msgs.dispatch(); |
| } |
| else if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__VALUE_PARTITIONING, newValuePartitioning, newValuePartitioning)); |
| } |
| |
| /** |
| * Returns the value of the '<em><b>Hash Partitioning</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Hash Partitioning</em>' containment reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Hash Partitioning</em>' containment reference. |
| * @see #setHashPartitioning(XmlHashPartitioning_2_2) |
| * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_HashPartitioning() |
| * @model containment="true" |
| * @generated |
| */ |
| public XmlHashPartitioning_2_2 getHashPartitioning() |
| { |
| return hashPartitioning; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public NotificationChain basicSetHashPartitioning(XmlHashPartitioning_2_2 newHashPartitioning, NotificationChain msgs) |
| { |
| XmlHashPartitioning_2_2 oldHashPartitioning = hashPartitioning; |
| hashPartitioning = newHashPartitioning; |
| if (eNotificationRequired()) |
| { |
| ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__HASH_PARTITIONING, oldHashPartitioning, newHashPartitioning); |
| if (msgs == null) msgs = notification; else msgs.add(notification); |
| } |
| return msgs; |
| } |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlElementCollection#getHashPartitioning <em>Hash Partitioning</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Hash Partitioning</em>' containment reference. |
| * @see #getHashPartitioning() |
| * @generated |
| */ |
| public void setHashPartitioning(XmlHashPartitioning_2_2 newHashPartitioning) |
| { |
| if (newHashPartitioning != hashPartitioning) |
| { |
| NotificationChain msgs = null; |
| if (hashPartitioning != null) |
| msgs = ((InternalEObject)hashPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__HASH_PARTITIONING, null, msgs); |
| if (newHashPartitioning != null) |
| msgs = ((InternalEObject)newHashPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__HASH_PARTITIONING, null, msgs); |
| msgs = basicSetHashPartitioning(newHashPartitioning, msgs); |
| if (msgs != null) msgs.dispatch(); |
| } |
| else if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__HASH_PARTITIONING, newHashPartitioning, newHashPartitioning)); |
| } |
| |
| /** |
| * Returns the value of the '<em><b>Union Partitioning</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Union Partitioning</em>' containment reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Union Partitioning</em>' containment reference. |
| * @see #setUnionPartitioning(XmlUnionPartitioning_2_2) |
| * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_UnionPartitioning() |
| * @model containment="true" |
| * @generated |
| */ |
| public XmlUnionPartitioning_2_2 getUnionPartitioning() |
| { |
| return unionPartitioning; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public NotificationChain basicSetUnionPartitioning(XmlUnionPartitioning_2_2 newUnionPartitioning, NotificationChain msgs) |
| { |
| XmlUnionPartitioning_2_2 oldUnionPartitioning = unionPartitioning; |
| unionPartitioning = newUnionPartitioning; |
| if (eNotificationRequired()) |
| { |
| ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__UNION_PARTITIONING, oldUnionPartitioning, newUnionPartitioning); |
| if (msgs == null) msgs = notification; else msgs.add(notification); |
| } |
| return msgs; |
| } |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlElementCollection#getUnionPartitioning <em>Union Partitioning</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Union Partitioning</em>' containment reference. |
| * @see #getUnionPartitioning() |
| * @generated |
| */ |
| public void setUnionPartitioning(XmlUnionPartitioning_2_2 newUnionPartitioning) |
| { |
| if (newUnionPartitioning != unionPartitioning) |
| { |
| NotificationChain msgs = null; |
| if (unionPartitioning != null) |
| msgs = ((InternalEObject)unionPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__UNION_PARTITIONING, null, msgs); |
| if (newUnionPartitioning != null) |
| msgs = ((InternalEObject)newUnionPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__UNION_PARTITIONING, null, msgs); |
| msgs = basicSetUnionPartitioning(newUnionPartitioning, msgs); |
| if (msgs != null) msgs.dispatch(); |
| } |
| else if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__UNION_PARTITIONING, newUnionPartitioning, newUnionPartitioning)); |
| } |
| |
| /** |
| * Returns the value of the '<em><b>Partitioned</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Partitioned</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Partitioned</em>' attribute. |
| * @see #setPartitioned(String) |
| * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_Partitioned() |
| * @model dataType="org.eclipse.emf.ecore.xml.type.String" |
| * @generated |
| */ |
| public String getPartitioned() |
| { |
| return partitioned; |
| } |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlElementCollection#getPartitioned <em>Partitioned</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Partitioned</em>' attribute. |
| * @see #getPartitioned() |
| * @generated |
| */ |
| public void setPartitioned(String newPartitioned) |
| { |
| String oldPartitioned = partitioned; |
| partitioned = newPartitioned; |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONED, oldPartitioned, partitioned)); |
| } |
| |
| /** |
| * Returns the value of the '<em><b>Cascade On Delete</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Cascade On Delete</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Cascade On Delete</em>' attribute. |
| * @see #setCascadeOnDelete(Boolean) |
| * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlElementCollection_2_2_CascadeOnDelete() |
| * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" |
| * @generated |
| */ |
| public Boolean getCascadeOnDelete() |
| { |
| return cascadeOnDelete; |
| } |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlElementCollection#getCascadeOnDelete <em>Cascade On Delete</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Cascade On Delete</em>' attribute. |
| * @see #getCascadeOnDelete() |
| * @generated |
| */ |
| public void setCascadeOnDelete(Boolean newCascadeOnDelete) |
| { |
| Boolean oldCascadeOnDelete = cascadeOnDelete; |
| cascadeOnDelete = newCascadeOnDelete; |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CASCADE_ON_DELETE, oldCascadeOnDelete, cascadeOnDelete)); |
| } |
| |
| /** |
| * Returns the value of the '<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#getXmlElementCollection_2_2_Noncacheable() |
| * @model dataType="org.eclipse.emf.ecore.xml.type.Boolean" |
| * @generated |
| */ |
| public boolean isNoncacheable() |
| { |
| return noncacheable; |
| } |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlElementCollection#isNoncacheable <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_ELEMENT_COLLECTION__NONCACHEABLE, oldNoncacheable, noncacheable)); |
| } |
| |
| /** |
| * Returns the value of the '<em><b>Composite Member</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Composite Member</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Composite Member</em>' attribute. |
| * @see #setCompositeMember(String) |
| * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlElementCollection_2_3_CompositeMember() |
| * @model dataType="org.eclipse.emf.ecore.xml.type.String" |
| * @generated |
| */ |
| public String getCompositeMember() |
| { |
| return compositeMember; |
| } |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlElementCollection#getCompositeMember <em>Composite Member</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Composite Member</em>' attribute. |
| * @see #getCompositeMember() |
| * @generated |
| */ |
| public void setCompositeMember(String newCompositeMember) |
| { |
| String oldCompositeMember = compositeMember; |
| compositeMember = newCompositeMember; |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__COMPOSITE_MEMBER, oldCompositeMember, compositeMember)); |
| } |
| |
| /** |
| * Returns the value of the '<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)); |
| } |
| |
| /** |
| * Returns the value of the '<em><b>Converters</b></em>' containment reference list. |
| * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverter}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Converters</em>' containment reference list isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Converters</em>' containment reference list. |
| * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverterContainer_Converters() |
| * @model containment="true" |
| * @generated |
| */ |
| public EList<XmlConverter> getConverters() |
| { |
| if (converters == null) |
| { |
| converters = new EObjectContainmentEList<XmlConverter>(XmlConverter.class, this, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CONVERTERS); |
| } |
| return converters; |
| } |
| |
| /** |
| * Returns the value of the '<em><b>Type Converters</b></em>' containment reference list. |
| * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Type Converters</em>' containment reference list isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Type Converters</em>' containment reference list. |
| * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverterContainer_TypeConverters() |
| * @model containment="true" |
| * @generated |
| */ |
| public EList<XmlTypeConverter> getTypeConverters() |
| { |
| if (typeConverters == null) |
| { |
| typeConverters = new EObjectContainmentEList<XmlTypeConverter>(XmlTypeConverter.class, this, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__TYPE_CONVERTERS); |
| } |
| return typeConverters; |
| } |
| |
| /** |
| * Returns the value of the '<em><b>Object Type Converters</b></em>' containment reference list. |
| * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Object Type Converters</em>' containment reference list isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Object Type Converters</em>' containment reference list. |
| * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverterContainer_ObjectTypeConverters() |
| * @model containment="true" |
| * @generated |
| */ |
| public EList<XmlObjectTypeConverter> getObjectTypeConverters() |
| { |
| if (objectTypeConverters == null) |
| { |
| objectTypeConverters = new EObjectContainmentEList<XmlObjectTypeConverter>(XmlObjectTypeConverter.class, this, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__OBJECT_TYPE_CONVERTERS); |
| } |
| return objectTypeConverters; |
| } |
| |
| /** |
| * Returns the value of the '<em><b>Struct Converters</b></em>' containment reference list. |
| * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructConverter}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Struct Converters</em>' containment reference list isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Struct Converters</em>' containment reference list. |
| * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverterContainer_StructConverters() |
| * @model containment="true" |
| * @generated |
| */ |
| public EList<XmlStructConverter> getStructConverters() |
| { |
| if (structConverters == null) |
| { |
| structConverters = new EObjectContainmentEList<XmlStructConverter>(XmlStructConverter.class, this, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__STRUCT_CONVERTERS); |
| } |
| return structConverters; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| @Override |
| public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) |
| { |
| switch (featureID) |
| { |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ACCESS_METHODS: |
| return basicSetAccessMethods(null, msgs); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PROPERTIES: |
| return ((InternalEList<?>)getProperties()).basicRemove(otherEnd, msgs); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_ASSOCIATION_OVERRIDES: |
| return ((InternalEList<?>)getMapKeyAssociationOverrides()).basicRemove(otherEnd, msgs); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CONVERTERS: |
| return ((InternalEList<?>)getConverters()).basicRemove(otherEnd, msgs); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__TYPE_CONVERTERS: |
| return ((InternalEList<?>)getTypeConverters()).basicRemove(otherEnd, msgs); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__OBJECT_TYPE_CONVERTERS: |
| return ((InternalEList<?>)getObjectTypeConverters()).basicRemove(otherEnd, msgs); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__STRUCT_CONVERTERS: |
| return ((InternalEList<?>)getStructConverters()).basicRemove(otherEnd, msgs); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__BATCH_FETCH: |
| return basicSetBatchFetch(null, msgs); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONING: |
| return basicSetPartitioning(null, msgs); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__REPLICATION_PARTITIONING: |
| return basicSetReplicationPartitioning(null, msgs); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING: |
| return basicSetRoundRobinPartitioning(null, msgs); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PINNED_PARTITIONING: |
| return basicSetPinnedPartitioning(null, msgs); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__RANGE_PARTITIONING: |
| return basicSetRangePartitioning(null, msgs); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__VALUE_PARTITIONING: |
| return basicSetValuePartitioning(null, msgs); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__HASH_PARTITIONING: |
| return basicSetHashPartitioning(null, msgs); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__UNION_PARTITIONING: |
| return basicSetUnionPartitioning(null, msgs); |
| } |
| return super.eInverseRemove(otherEnd, featureID, msgs); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| @Override |
| public Object eGet(int featureID, boolean resolve, boolean coreType) |
| { |
| switch (featureID) |
| { |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ACCESS_METHODS: |
| return getAccessMethods(); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PROPERTIES: |
| return getProperties(); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ATTRIBUTE_TYPE: |
| return getAttributeType(); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CONVERT: |
| return getConvert(); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_ASSOCIATION_OVERRIDES: |
| return getMapKeyAssociationOverrides(); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CONVERTERS: |
| return getConverters(); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__TYPE_CONVERTERS: |
| return getTypeConverters(); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__OBJECT_TYPE_CONVERTERS: |
| return getObjectTypeConverters(); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__STRUCT_CONVERTERS: |
| return getStructConverters(); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_CONVERT: |
| return getMapKeyConvert(); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__JOIN_FETCH: |
| return getJoinFetch(); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__BATCH_FETCH: |
| return getBatchFetch(); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONING: |
| return getPartitioning(); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__REPLICATION_PARTITIONING: |
| return getReplicationPartitioning(); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING: |
| return getRoundRobinPartitioning(); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PINNED_PARTITIONING: |
| return getPinnedPartitioning(); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__RANGE_PARTITIONING: |
| return getRangePartitioning(); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__VALUE_PARTITIONING: |
| return getValuePartitioning(); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__HASH_PARTITIONING: |
| return getHashPartitioning(); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__UNION_PARTITIONING: |
| return getUnionPartitioning(); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONED: |
| return getPartitioned(); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CASCADE_ON_DELETE: |
| return getCascadeOnDelete(); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__NONCACHEABLE: |
| return isNoncacheable(); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__COMPOSITE_MEMBER: |
| return getCompositeMember(); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__DELETE_ALL: |
| return isDeleteAll(); |
| } |
| 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_ELEMENT_COLLECTION__ACCESS_METHODS: |
| setAccessMethods((XmlAccessMethods)newValue); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PROPERTIES: |
| getProperties().clear(); |
| getProperties().addAll((Collection<? extends XmlProperty>)newValue); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ATTRIBUTE_TYPE: |
| setAttributeType((String)newValue); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CONVERT: |
| setConvert((String)newValue); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_ASSOCIATION_OVERRIDES: |
| getMapKeyAssociationOverrides().clear(); |
| getMapKeyAssociationOverrides().addAll((Collection<? extends XmlAssociationOverride>)newValue); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CONVERTERS: |
| getConverters().clear(); |
| getConverters().addAll((Collection<? extends XmlConverter>)newValue); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__TYPE_CONVERTERS: |
| getTypeConverters().clear(); |
| getTypeConverters().addAll((Collection<? extends XmlTypeConverter>)newValue); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__OBJECT_TYPE_CONVERTERS: |
| getObjectTypeConverters().clear(); |
| getObjectTypeConverters().addAll((Collection<? extends XmlObjectTypeConverter>)newValue); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__STRUCT_CONVERTERS: |
| getStructConverters().clear(); |
| getStructConverters().addAll((Collection<? extends XmlStructConverter>)newValue); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_CONVERT: |
| setMapKeyConvert((String)newValue); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__JOIN_FETCH: |
| setJoinFetch((XmlJoinFetchType)newValue); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__BATCH_FETCH: |
| setBatchFetch((XmlBatchFetch)newValue); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONING: |
| setPartitioning((XmlPartitioning_2_2)newValue); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__REPLICATION_PARTITIONING: |
| setReplicationPartitioning((XmlReplicationPartitioning_2_2)newValue); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING: |
| setRoundRobinPartitioning((XmlRoundRobinPartitioning_2_2)newValue); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PINNED_PARTITIONING: |
| setPinnedPartitioning((XmlPinnedPartitioning_2_2)newValue); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__RANGE_PARTITIONING: |
| setRangePartitioning((XmlRangePartitioning_2_2)newValue); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__VALUE_PARTITIONING: |
| setValuePartitioning((XmlValuePartitioning_2_2)newValue); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__HASH_PARTITIONING: |
| setHashPartitioning((XmlHashPartitioning_2_2)newValue); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__UNION_PARTITIONING: |
| setUnionPartitioning((XmlUnionPartitioning_2_2)newValue); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONED: |
| setPartitioned((String)newValue); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CASCADE_ON_DELETE: |
| setCascadeOnDelete((Boolean)newValue); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__NONCACHEABLE: |
| setNoncacheable((Boolean)newValue); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__COMPOSITE_MEMBER: |
| setCompositeMember((String)newValue); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__DELETE_ALL: |
| setDeleteAll((Boolean)newValue); |
| return; |
| } |
| super.eSet(featureID, newValue); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| @Override |
| public void eUnset(int featureID) |
| { |
| switch (featureID) |
| { |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ACCESS_METHODS: |
| setAccessMethods((XmlAccessMethods)null); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PROPERTIES: |
| getProperties().clear(); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ATTRIBUTE_TYPE: |
| setAttributeType(ATTRIBUTE_TYPE_EDEFAULT); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CONVERT: |
| setConvert(CONVERT_EDEFAULT); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_ASSOCIATION_OVERRIDES: |
| getMapKeyAssociationOverrides().clear(); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CONVERTERS: |
| getConverters().clear(); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__TYPE_CONVERTERS: |
| getTypeConverters().clear(); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__OBJECT_TYPE_CONVERTERS: |
| getObjectTypeConverters().clear(); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__STRUCT_CONVERTERS: |
| getStructConverters().clear(); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_CONVERT: |
| setMapKeyConvert(MAP_KEY_CONVERT_EDEFAULT); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__JOIN_FETCH: |
| setJoinFetch(JOIN_FETCH_EDEFAULT); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__BATCH_FETCH: |
| setBatchFetch((XmlBatchFetch)null); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONING: |
| setPartitioning((XmlPartitioning_2_2)null); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__REPLICATION_PARTITIONING: |
| setReplicationPartitioning((XmlReplicationPartitioning_2_2)null); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING: |
| setRoundRobinPartitioning((XmlRoundRobinPartitioning_2_2)null); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PINNED_PARTITIONING: |
| setPinnedPartitioning((XmlPinnedPartitioning_2_2)null); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__RANGE_PARTITIONING: |
| setRangePartitioning((XmlRangePartitioning_2_2)null); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__VALUE_PARTITIONING: |
| setValuePartitioning((XmlValuePartitioning_2_2)null); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__HASH_PARTITIONING: |
| setHashPartitioning((XmlHashPartitioning_2_2)null); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__UNION_PARTITIONING: |
| setUnionPartitioning((XmlUnionPartitioning_2_2)null); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONED: |
| setPartitioned(PARTITIONED_EDEFAULT); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CASCADE_ON_DELETE: |
| setCascadeOnDelete(CASCADE_ON_DELETE_EDEFAULT); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__NONCACHEABLE: |
| setNoncacheable(NONCACHEABLE_EDEFAULT); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__COMPOSITE_MEMBER: |
| setCompositeMember(COMPOSITE_MEMBER_EDEFAULT); |
| return; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__DELETE_ALL: |
| setDeleteAll(DELETE_ALL_EDEFAULT); |
| return; |
| } |
| super.eUnset(featureID); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| @Override |
| public boolean eIsSet(int featureID) |
| { |
| switch (featureID) |
| { |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ACCESS_METHODS: |
| return accessMethods != null; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PROPERTIES: |
| return properties != null && !properties.isEmpty(); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ATTRIBUTE_TYPE: |
| return ATTRIBUTE_TYPE_EDEFAULT == null ? attributeType != null : !ATTRIBUTE_TYPE_EDEFAULT.equals(attributeType); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CONVERT: |
| return CONVERT_EDEFAULT == null ? convert != null : !CONVERT_EDEFAULT.equals(convert); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_ASSOCIATION_OVERRIDES: |
| return mapKeyAssociationOverrides != null && !mapKeyAssociationOverrides.isEmpty(); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CONVERTERS: |
| return converters != null && !converters.isEmpty(); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__TYPE_CONVERTERS: |
| return typeConverters != null && !typeConverters.isEmpty(); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__OBJECT_TYPE_CONVERTERS: |
| return objectTypeConverters != null && !objectTypeConverters.isEmpty(); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__STRUCT_CONVERTERS: |
| return structConverters != null && !structConverters.isEmpty(); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_CONVERT: |
| return MAP_KEY_CONVERT_EDEFAULT == null ? mapKeyConvert != null : !MAP_KEY_CONVERT_EDEFAULT.equals(mapKeyConvert); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__JOIN_FETCH: |
| return joinFetch != JOIN_FETCH_EDEFAULT; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__BATCH_FETCH: |
| return batchFetch != null; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONING: |
| return partitioning != null; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__REPLICATION_PARTITIONING: |
| return replicationPartitioning != null; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING: |
| return roundRobinPartitioning != null; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PINNED_PARTITIONING: |
| return pinnedPartitioning != null; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__RANGE_PARTITIONING: |
| return rangePartitioning != null; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__VALUE_PARTITIONING: |
| return valuePartitioning != null; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__HASH_PARTITIONING: |
| return hashPartitioning != null; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__UNION_PARTITIONING: |
| return unionPartitioning != null; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONED: |
| return PARTITIONED_EDEFAULT == null ? partitioned != null : !PARTITIONED_EDEFAULT.equals(partitioned); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CASCADE_ON_DELETE: |
| return CASCADE_ON_DELETE_EDEFAULT == null ? cascadeOnDelete != null : !CASCADE_ON_DELETE_EDEFAULT.equals(cascadeOnDelete); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__NONCACHEABLE: |
| return noncacheable != NONCACHEABLE_EDEFAULT; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__COMPOSITE_MEMBER: |
| return COMPOSITE_MEMBER_EDEFAULT == null ? compositeMember != null : !COMPOSITE_MEMBER_EDEFAULT.equals(compositeMember); |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__DELETE_ALL: |
| return deleteAll != DELETE_ALL_EDEFAULT; |
| } |
| return super.eIsSet(featureID); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| @Override |
| public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) |
| { |
| if (baseClass == XmlAccessMethodsHolder.class) |
| { |
| switch (derivedFeatureID) |
| { |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS; |
| default: return -1; |
| } |
| } |
| if (baseClass == XmlPropertyContainer.class) |
| { |
| switch (derivedFeatureID) |
| { |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PROPERTIES: return EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES; |
| default: return -1; |
| } |
| } |
| if (baseClass == XmlAttributeMapping.class) |
| { |
| switch (derivedFeatureID) |
| { |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE; |
| default: return -1; |
| } |
| } |
| if (baseClass == XmlConvertibleMapping.class) |
| { |
| switch (derivedFeatureID) |
| { |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CONVERT: return EclipseLinkOrmPackage.XML_CONVERTIBLE_MAPPING__CONVERT; |
| default: return -1; |
| } |
| } |
| if (baseClass == XmlMapKeyAssociationOverrideContainer_2_0.class) |
| { |
| switch (derivedFeatureID) |
| { |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_ASSOCIATION_OVERRIDES: return EclipseLinkOrmV2_0Package.XML_MAP_KEY_ASSOCIATION_OVERRIDE_CONTAINER_20__MAP_KEY_ASSOCIATION_OVERRIDES; |
| default: return -1; |
| } |
| } |
| if (baseClass == XmlConverterContainer.class) |
| { |
| switch (derivedFeatureID) |
| { |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__CONVERTERS; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__TYPE_CONVERTERS; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__OBJECT_TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__STRUCT_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS; |
| default: return -1; |
| } |
| } |
| if (baseClass == XmlCollectionMapping_2_0.class) |
| { |
| switch (derivedFeatureID) |
| { |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_CONVERT: return EclipseLinkOrmV2_0Package.XML_COLLECTION_MAPPING_20__MAP_KEY_CONVERT; |
| default: return -1; |
| } |
| } |
| if (baseClass == XmlElementCollection_2_0.class) |
| { |
| switch (derivedFeatureID) |
| { |
| default: return -1; |
| } |
| } |
| if (baseClass == XmlJoinFetch.class) |
| { |
| switch (derivedFeatureID) |
| { |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__JOIN_FETCH: return EclipseLinkOrmPackage.XML_JOIN_FETCH__JOIN_FETCH; |
| default: return -1; |
| } |
| } |
| if (baseClass == XmlBatchFetchHolder.class) |
| { |
| switch (derivedFeatureID) |
| { |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__BATCH_FETCH: return EclipseLinkOrmPackage.XML_BATCH_FETCH_HOLDER__BATCH_FETCH; |
| default: return -1; |
| } |
| } |
| if (baseClass == XmlElementCollection_2_1.class) |
| { |
| switch (derivedFeatureID) |
| { |
| default: return -1; |
| } |
| } |
| if (baseClass == XmlPartitioningGroup_2_2.class) |
| { |
| switch (derivedFeatureID) |
| { |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONING; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__REPLICATION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PINNED_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__RANGE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__VALUE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__HASH_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__HASH_PARTITIONING; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__UNION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__UNION_PARTITIONING; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONED: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONED; |
| default: return -1; |
| } |
| } |
| if (baseClass == XmlElementCollection_2_2.class) |
| { |
| switch (derivedFeatureID) |
| { |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CASCADE_ON_DELETE: return EclipseLinkOrmV2_2Package.XML_ELEMENT_COLLECTION_22__CASCADE_ON_DELETE; |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__NONCACHEABLE: return EclipseLinkOrmV2_2Package.XML_ELEMENT_COLLECTION_22__NONCACHEABLE; |
| default: return -1; |
| } |
| } |
| if (baseClass == XmlElementCollection_2_3.class) |
| { |
| switch (derivedFeatureID) |
| { |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__COMPOSITE_MEMBER: return EclipseLinkOrmV2_3Package.XML_ELEMENT_COLLECTION_23__COMPOSITE_MEMBER; |
| default: return -1; |
| } |
| } |
| if (baseClass == XmlElementCollection_2_4.class) |
| { |
| switch (derivedFeatureID) |
| { |
| case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__DELETE_ALL: return EclipseLinkOrmV2_4Package.XML_ELEMENT_COLLECTION_24__DELETE_ALL; |
| 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 == XmlAccessMethodsHolder.class) |
| { |
| switch (baseFeatureID) |
| { |
| case EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ACCESS_METHODS; |
| default: return -1; |
| } |
| } |
| if (baseClass == XmlPropertyContainer.class) |
| { |
| switch (baseFeatureID) |
| { |
| case EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PROPERTIES; |
| default: return -1; |
| } |
| } |
| if (baseClass == XmlAttributeMapping.class) |
| { |
| switch (baseFeatureID) |
| { |
| case EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ATTRIBUTE_TYPE; |
| default: return -1; |
| } |
| } |
| if (baseClass == XmlConvertibleMapping.class) |
| { |
| switch (baseFeatureID) |
| { |
| case EclipseLinkOrmPackage.XML_CONVERTIBLE_MAPPING__CONVERT: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CONVERT; |
| default: return -1; |
| } |
| } |
| if (baseClass == XmlMapKeyAssociationOverrideContainer_2_0.class) |
| { |
| switch (baseFeatureID) |
| { |
| case EclipseLinkOrmV2_0Package.XML_MAP_KEY_ASSOCIATION_OVERRIDE_CONTAINER_20__MAP_KEY_ASSOCIATION_OVERRIDES: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_ASSOCIATION_OVERRIDES; |
| default: return -1; |
| } |
| } |
| if (baseClass == XmlConverterContainer.class) |
| { |
| switch (baseFeatureID) |
| { |
| case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__CONVERTERS: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CONVERTERS; |
| case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__TYPE_CONVERTERS; |
| case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__OBJECT_TYPE_CONVERTERS; |
| case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__STRUCT_CONVERTERS; |
| default: return -1; |
| } |
| } |
| if (baseClass == XmlCollectionMapping_2_0.class) |
| { |
| switch (baseFeatureID) |
| { |
| case EclipseLinkOrmV2_0Package.XML_COLLECTION_MAPPING_20__MAP_KEY_CONVERT: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_CONVERT; |
| default: return -1; |
| } |
| } |
| if (baseClass == XmlElementCollection_2_0.class) |
| { |
| switch (baseFeatureID) |
| { |
| default: return -1; |
| } |
| } |
| if (baseClass == XmlJoinFetch.class) |
| { |
| switch (baseFeatureID) |
| { |
| case EclipseLinkOrmPackage.XML_JOIN_FETCH__JOIN_FETCH: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__JOIN_FETCH; |
| default: return -1; |
| } |
| } |
| if (baseClass == XmlBatchFetchHolder.class) |
| { |
| switch (baseFeatureID) |
| { |
| case EclipseLinkOrmPackage.XML_BATCH_FETCH_HOLDER__BATCH_FETCH: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__BATCH_FETCH; |
| default: return -1; |
| } |
| } |
| if (baseClass == XmlElementCollection_2_1.class) |
| { |
| switch (baseFeatureID) |
| { |
| default: return -1; |
| } |
| } |
| if (baseClass == XmlPartitioningGroup_2_2.class) |
| { |
| switch (baseFeatureID) |
| { |
| case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONING: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONING; |
| case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__REPLICATION_PARTITIONING; |
| case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING; |
| case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PINNED_PARTITIONING; |
| case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__RANGE_PARTITIONING; |
| case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__VALUE_PARTITIONING; |
| case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__HASH_PARTITIONING: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__HASH_PARTITIONING; |
| case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__UNION_PARTITIONING: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__UNION_PARTITIONING; |
| case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONED: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONED; |
| default: return -1; |
| } |
| } |
| if (baseClass == XmlElementCollection_2_2.class) |
| { |
| switch (baseFeatureID) |
| { |
| case EclipseLinkOrmV2_2Package.XML_ELEMENT_COLLECTION_22__CASCADE_ON_DELETE: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CASCADE_ON_DELETE; |
| case EclipseLinkOrmV2_2Package.XML_ELEMENT_COLLECTION_22__NONCACHEABLE: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__NONCACHEABLE; |
| default: return -1; |
| } |
| } |
| if (baseClass == XmlElementCollection_2_3.class) |
| { |
| switch (baseFeatureID) |
| { |
| case EclipseLinkOrmV2_3Package.XML_ELEMENT_COLLECTION_23__COMPOSITE_MEMBER: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__COMPOSITE_MEMBER; |
| default: return -1; |
| } |
| } |
| if (baseClass == XmlElementCollection_2_4.class) |
| { |
| switch (baseFeatureID) |
| { |
| case EclipseLinkOrmV2_4Package.XML_ELEMENT_COLLECTION_24__DELETE_ALL: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__DELETE_ALL; |
| default: return -1; |
| } |
| } |
| return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| @Override |
| public String toString() |
| { |
| if (eIsProxy()) return super.toString(); |
| |
| StringBuffer result = new StringBuffer(super.toString()); |
| result.append(" (attributeType: "); |
| result.append(attributeType); |
| result.append(", convert: "); |
| result.append(convert); |
| result.append(", mapKeyConvert: "); |
| result.append(mapKeyConvert); |
| result.append(", joinFetch: "); |
| result.append(joinFetch); |
| result.append(", partitioned: "); |
| result.append(partitioned); |
| result.append(", cascadeOnDelete: "); |
| result.append(cascadeOnDelete); |
| result.append(", noncacheable: "); |
| result.append(noncacheable); |
| result.append(", compositeMember: "); |
| result.append(compositeMember); |
| result.append(", deleteAll: "); |
| result.append(deleteAll); |
| result.append(')'); |
| return result.toString(); |
| } |
| |
| |
| // ********** validation ********** |
| |
| @Override |
| public TextRange getEnumeratedTextRange() { |
| return getAttributeTextRange(JPA.ENUMERATED); |
| } |
| |
| @Override |
| public TextRange getLobTextRange() { |
| return getAttributeTextRange(JPA.LOB); |
| } |
| |
| @Override |
| public TextRange getTemporalTextRange() { |
| return getAttributeTextRange(JPA.TEMPORAL); |
| } |
| |
| public TextRange getConvertTextRange() { |
| return getElementTextRange(EclipseLink.CONVERT); |
| } |
| |
| public TextRange getJoinFetchTextRange() { |
| return getElementTextRange(EclipseLink.JOIN_FETCH); |
| } |
| |
| public TextRange getAttributeTypeTextRange() { |
| return getAttributeTextRange(EclipseLink2_1.ATTRIBUTE_TYPE); |
| } |
| |
| |
| // ********** translators ********** |
| |
| public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) { |
| return new SimpleTranslator( |
| elementName, |
| structuralFeature, |
| EclipseLinkOrmPackage.eINSTANCE.getXmlElementCollection(), |
| buildTranslatorChildren()); |
| } |
| |
| private static Translator[] buildTranslatorChildren() { |
| return new Translator[] { |
| buildNameTranslator(), |
| buildTargetClassTranslator(), |
| buildFetchTranslator(), |
| buildAccessTranslator(), |
| buildAttributeTypeTranslator(), |
| buildCompositeMemberTranslator(), |
| buildOrderByTranslator(), |
| buildOrderColumnTranslator(), |
| buildMapKeyTranslator(), |
| buildMapKeyClassTranslator(), |
| buildMapKeyTemporalTranslator(), |
| buildMapKeyEnumeratedTranslator(), |
| buildMapKeyConvertTranslator(), |
| buildMapKeyAttributeOverrideTranslator(), |
| buildMapKeyAssociationOverrideTranslator(), |
| XmlColumn.buildTranslator(JPA2_0.MAP_KEY_COLUMN, OrmV2_0Package.eINSTANCE.getXmlElementCollection_2_0_MapKeyColumn()), |
| XmlJoinColumn.buildTranslator(JPA2_0.MAP_KEY_JOIN_COLUMN, OrmV2_0Package.eINSTANCE.getXmlElementCollection_2_0_MapKeyJoinColumns()), |
| XmlColumn.buildTranslator(JPA.COLUMN, OrmV2_0Package.eINSTANCE.getXmlElementCollection_2_0_Column()), |
| buildTemporalTranslator(), |
| buildEnumeratedTranslator(), |
| buildLobTranslator(), |
| buildConvertTranslator(), |
| buildAttributeOverrideTranslator(), |
| buildAssociationOverrideTranslator(), |
| XmlConverter.buildTranslator(EclipseLink.CONVERTER, EclipseLinkOrmPackage.eINSTANCE.getXmlConverterContainer_Converters()), |
| XmlTypeConverter.buildTranslator(EclipseLink.TYPE_CONVERTER, EclipseLinkOrmPackage.eINSTANCE.getXmlConverterContainer_TypeConverters()), |
| XmlObjectTypeConverter.buildTranslator(EclipseLink.OBJECT_TYPE_CONVERTER, EclipseLinkOrmPackage.eINSTANCE.getXmlConverterContainer_ObjectTypeConverters()), |
| XmlStructConverter.buildTranslator(EclipseLink.STRUCT_CONVERTER, EclipseLinkOrmPackage.eINSTANCE.getXmlConverterContainer_StructConverters()), |
| XmlCollectionTable.buildTranslator(JPA2_0.COLLECTION_TABLE, OrmV2_0Package.eINSTANCE.getXmlElementCollection_2_0_CollectionTable()), |
| buildCascadeOnDeleteTranslator(), |
| buildJoinFetchTranslator(), |
| buildBatchFetchTranslator(), |
| buildPropertyTranslator(), |
| buildAccessMethodsTranslator(), |
| buildNoncacheableTranslator(), |
| buildDeleteAllTranslator(), |
| XmlPartitioning.buildTranslator(EclipseLink2_2.PARTITIONING, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlPartitioningGroup_2_2_Partitioning()), |
| XmlReplicationPartitioning.buildTranslator(EclipseLink2_2.REPLICATION_PARTITIONING, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlPartitioningGroup_2_2_ReplicationPartitioning()), |
| XmlRoundRobinPartitioning.buildTranslator(EclipseLink2_2.ROUND_ROBIN_PARTITIONING, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlPartitioningGroup_2_2_RoundRobinPartitioning()), |
| XmlPinnedPartitioning.buildTranslator(EclipseLink2_2.PINNED_PARTITIONING, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlPartitioningGroup_2_2_PinnedPartitioning()), |
| XmlRangePartitioning.buildTranslator(EclipseLink2_2.RANGE_PARTITIONING, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlPartitioningGroup_2_2_RangePartitioning()), |
| XmlValuePartitioning.buildTranslator(EclipseLink2_2.VALUE_PARTITIONING, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlPartitioningGroup_2_2_ValuePartitioning()), |
| XmlHashPartitioning.buildTranslator(EclipseLink2_2.HASH_PARTITIONING, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlPartitioningGroup_2_2_HashPartitioning()), |
| XmlUnionPartitioning.buildTranslator(EclipseLink2_2.UNION_PARTITIONING, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlPartitioningGroup_2_2_UnionPartitioning()), |
| }; |
| } |
| |
| protected static Translator buildMapKeyConvertTranslator() { |
| return new Translator(JPA2_0.MAP_KEY_CONVERT, EclipseLinkOrmV2_0Package.eINSTANCE.getXmlCollectionMapping_2_0_MapKeyConvert()); |
| } |
| |
| protected static Translator buildConvertTranslator() { |
| return new Translator(EclipseLink.CONVERT, EclipseLinkOrmPackage.eINSTANCE.getXmlConvertibleMapping_Convert()); |
| } |
| |
| protected static Translator buildPropertyTranslator() { |
| return XmlProperty.buildTranslator(EclipseLink.PROPERTY, EclipseLinkOrmPackage.eINSTANCE.getXmlPropertyContainer_Properties()); |
| } |
| |
| protected static Translator buildAccessMethodsTranslator() { |
| return XmlAccessMethods.buildTranslator(EclipseLink.ACCESS_METHODS, EclipseLinkOrmPackage.eINSTANCE.getXmlAccessMethodsHolder_AccessMethods()); |
| } |
| |
| protected static Translator buildMapKeyAssociationOverrideTranslator() { |
| return XmlAssociationOverride.buildTranslator(EclipseLink2_0.MAP_KEY_ASSOCIATION_OVERRIDE, EclipseLinkOrmV2_0Package.eINSTANCE.getXmlMapKeyAssociationOverrideContainer_2_0_MapKeyAssociationOverrides()); |
| } |
| |
| protected static Translator buildAttributeTypeTranslator() { |
| return new Translator(EclipseLink2_1.ATTRIBUTE_TYPE, EclipseLinkOrmPackage.eINSTANCE.getXmlAttributeMapping_AttributeType(), Translator.DOM_ATTRIBUTE); |
| } |
| |
| protected static Translator buildJoinFetchTranslator() { |
| return new Translator(EclipseLink.JOIN_FETCH, EclipseLinkOrmPackage.eINSTANCE.getXmlJoinFetch_JoinFetch()); |
| } |
| |
| protected static Translator buildBatchFetchTranslator() { |
| return XmlBatchFetch.buildTranslator(EclipseLink2_1.BATCH_FETCH, EclipseLinkOrmPackage.eINSTANCE.getXmlBatchFetchHolder_BatchFetch()); |
| } |
| |
| protected static Translator buildCascadeOnDeleteTranslator() { |
| return CascadeType.buildTranslator(EclipseLink2_2.CASCADE_ON_DELETE, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlElementCollection_2_2_CascadeOnDelete()); |
| } |
| |
| protected static Translator buildNoncacheableTranslator() { |
| return new EmptyTagBooleanTranslator(EclipseLink2_2.NONCACHEABLE, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlElementCollection_2_2_Noncacheable()); |
| } |
| |
| protected static Translator buildCompositeMemberTranslator() { |
| return new Translator(EclipseLink2_3.COMPOSITE_MEMBER, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlElementCollection_2_3_CompositeMember(), Translator.DOM_ATTRIBUTE); |
| } |
| |
| protected static Translator buildDeleteAllTranslator() { |
| return new EmptyTagBooleanTranslator(EclipseLink2_4.DELETE_ALL, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlElementCollection_2_4_DeleteAll()); |
| } |
| |
| // *********** content assist ************ |
| |
| protected TextRange getConvertCodeAssistTextRange() { |
| return getElementCodeAssistTextRange(EclipseLink.CONVERT); |
| } |
| |
| public boolean convertTouches(int pos) { |
| TextRange textRange = this.getConvertCodeAssistTextRange(); |
| return (textRange != null) && (textRange.touches(pos)); |
| } |
| } |