Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt')
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/internal/resource/oxm/OxmXmlResourceProvider.java55
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EAbstractXmlNullPolicy.java391
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EAbstractXmlTransformer.java260
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EAccessibleJavaAttribute.java52
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EAdaptableJavaAttribute.java52
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EContainerJavaAttribute.java52
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EJavaAttribute.java418
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EJavaType.java1396
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EPropertyHolder.java44
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EReadWriteJavaAttribute.java79
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/ETypedJavaAttribute.java52
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlAccessMethods.java260
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlAccessOrder.java223
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlAccessType.java277
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlAnyAttribute.java647
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlAnyElement.java1024
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlAttribute.java1651
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlBindings.java969
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlClassExtractor.java192
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlElement.java1996
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlElementDecl.java651
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlElementRef.java1039
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlElementRefs.java791
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlElementWrapper.java396
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlElements.java887
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlEnum.java331
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlEnumValue.java192
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlInverseReference.java580
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlIsSetNullPolicy.java283
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlIsSetParameter.java260
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlJavaTypeAdapter.java349
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlJoinNode.java260
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlJoinNodes.java402
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlMap.java260
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlMarshalNullRepresentation.java250
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlNs.java260
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlNsForm.java250
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlNullPolicy.java216
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlProperty.java328
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlReadTransformer.java40
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlRegistry.java260
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlRootElement.java255
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlSchema.java460
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlSchemaType.java321
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlTransformation.java546
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlTransient.java217
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlType.java466
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlValue.java907
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlVirtualAccessMethods.java331
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlVirtualAccessMethodsSchema.java223
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlWriteTransformer.java188
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EclipseLink.java49
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/OxmFactory.java782
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/OxmPackage.java9301
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/OxmXmlResourceFactory.java46
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/util/OxmValidator.java805
56 files changed, 33272 insertions, 0 deletions
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/internal/resource/oxm/OxmXmlResourceProvider.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/internal/resource/oxm/OxmXmlResourceProvider.java
new file mode 100644
index 0000000000..d27dd34460
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/internal/resource/oxm/OxmXmlResourceProvider.java
@@ -0,0 +1,55 @@
+/*******************************************************************************
+ * Copyright (c) 2012 Oracle. All rights reserved.
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0, which accompanies this distribution
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.jpt.jaxb.eclipselink.core.internal.resource.oxm;
+
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.runtime.IPath;
+import org.eclipse.jpt.common.core.internal.resource.xml.AbstractJptXmlResourceProvider;
+import org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings;
+import org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EclipseLink;
+import org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmFactory;
+
+public class OxmXmlResourceProvider
+ extends AbstractJptXmlResourceProvider {
+
+ /**
+ * (Convenience method) Returns an OXM resource model provider for
+ * the given file.
+ */
+ public static OxmXmlResourceProvider getXmlResourceProvider(IFile file) {
+ return getXmlResourceProvider_(file.getProject(), file.getFullPath());
+ }
+
+ /**
+ * (Convenience method) Returns an OXM resource model provider for
+ * the given project in the specified runtime location
+ */
+ public static OxmXmlResourceProvider getXmlResourceProvider(IProject project, IPath runtimePath) {
+ return getXmlResourceProvider_(project, runtimePath);
+ }
+
+
+ private static OxmXmlResourceProvider getXmlResourceProvider_(IProject project, IPath fullPath) {
+ return new OxmXmlResourceProvider(project, fullPath);
+ }
+
+
+ public OxmXmlResourceProvider(IProject project, IPath filePath) {
+ super(project, filePath, EXmlBindings.CONTENT_TYPE);
+ }
+
+ @Override
+ protected void populateRoot(Object config) {
+ EXmlBindings xmlBindings = OxmFactory.eINSTANCE.createEXmlBindings();
+ xmlBindings.setVersion(EclipseLink.SCHEMA_VERSION_2_4); // TODO - for now
+ getResourceContents().add(xmlBindings);
+ }
+}
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EAbstractXmlNullPolicy.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EAbstractXmlNullPolicy.java
new file mode 100644
index 0000000000..56fd173ef3
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EAbstractXmlNullPolicy.java
@@ -0,0 +1,391 @@
+/**
+ */
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+import java.util.HashMap;
+import java.util.Map;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.jpt.common.core.internal.utility.translators.SimpleTranslator;
+import org.eclipse.jpt.common.core.resource.xml.EBaseObject;
+import org.eclipse.jpt.common.core.resource.xml.EBaseObjectImpl;
+import org.eclipse.wst.common.internal.emf.resource.MultiObjectTranslator;
+import org.eclipse.wst.common.internal.emf.resource.Translator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EAbstract Xml Null Policy</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAbstractXmlNullPolicy#isXsiNilRepresentsNull <em>Xsi Nil Represents Null</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAbstractXmlNullPolicy#isEmptyNodeRepresentsNull <em>Empty Node Represents Null</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAbstractXmlNullPolicy#getNullRepresentationForXml <em>Null Representation For Xml</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEAbstractXmlNullPolicy()
+ * @model kind="class" abstract="true"
+ * @extends EBaseObject
+ * @generated
+ */
+public abstract class EAbstractXmlNullPolicy extends EBaseObjectImpl implements EBaseObject
+{
+ /**
+ * The default value of the '{@link #isXsiNilRepresentsNull() <em>Xsi Nil Represents Null</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXsiNilRepresentsNull()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean XSI_NIL_REPRESENTS_NULL_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isXsiNilRepresentsNull() <em>Xsi Nil Represents Null</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXsiNilRepresentsNull()
+ * @generated
+ * @ordered
+ */
+ protected boolean xsiNilRepresentsNull = XSI_NIL_REPRESENTS_NULL_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #isEmptyNodeRepresentsNull() <em>Empty Node Represents Null</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isEmptyNodeRepresentsNull()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean EMPTY_NODE_REPRESENTS_NULL_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isEmptyNodeRepresentsNull() <em>Empty Node Represents Null</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isEmptyNodeRepresentsNull()
+ * @generated
+ * @ordered
+ */
+ protected boolean emptyNodeRepresentsNull = EMPTY_NODE_REPRESENTS_NULL_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getNullRepresentationForXml() <em>Null Representation For Xml</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getNullRepresentationForXml()
+ * @generated
+ * @ordered
+ */
+ protected static final EXmlMarshalNullRepresentation NULL_REPRESENTATION_FOR_XML_EDEFAULT = EXmlMarshalNullRepresentation.XSI_NIL;
+
+ /**
+ * The cached value of the '{@link #getNullRepresentationForXml() <em>Null Representation For Xml</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getNullRepresentationForXml()
+ * @generated
+ * @ordered
+ */
+ protected EXmlMarshalNullRepresentation nullRepresentationForXml = NULL_REPRESENTATION_FOR_XML_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EAbstractXmlNullPolicy()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OxmPackage.Literals.EABSTRACT_XML_NULL_POLICY;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xsi Nil Represents Null</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xsi Nil Represents Null</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Xsi Nil Represents Null</em>' attribute.
+ * @see #setXsiNilRepresentsNull(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEAbstractXmlNullPolicy_XsiNilRepresentsNull()
+ * @model
+ * @generated
+ */
+ public boolean isXsiNilRepresentsNull()
+ {
+ return xsiNilRepresentsNull;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAbstractXmlNullPolicy#isXsiNilRepresentsNull <em>Xsi Nil Represents Null</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xsi Nil Represents Null</em>' attribute.
+ * @see #isXsiNilRepresentsNull()
+ * @generated
+ */
+ public void setXsiNilRepresentsNull(boolean newXsiNilRepresentsNull)
+ {
+ boolean oldXsiNilRepresentsNull = xsiNilRepresentsNull;
+ xsiNilRepresentsNull = newXsiNilRepresentsNull;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EABSTRACT_XML_NULL_POLICY__XSI_NIL_REPRESENTS_NULL, oldXsiNilRepresentsNull, xsiNilRepresentsNull));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Empty Node Represents Null</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Empty Node Represents Null</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Empty Node Represents Null</em>' attribute.
+ * @see #setEmptyNodeRepresentsNull(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEAbstractXmlNullPolicy_EmptyNodeRepresentsNull()
+ * @model
+ * @generated
+ */
+ public boolean isEmptyNodeRepresentsNull()
+ {
+ return emptyNodeRepresentsNull;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAbstractXmlNullPolicy#isEmptyNodeRepresentsNull <em>Empty Node Represents Null</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Empty Node Represents Null</em>' attribute.
+ * @see #isEmptyNodeRepresentsNull()
+ * @generated
+ */
+ public void setEmptyNodeRepresentsNull(boolean newEmptyNodeRepresentsNull)
+ {
+ boolean oldEmptyNodeRepresentsNull = emptyNodeRepresentsNull;
+ emptyNodeRepresentsNull = newEmptyNodeRepresentsNull;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EABSTRACT_XML_NULL_POLICY__EMPTY_NODE_REPRESENTS_NULL, oldEmptyNodeRepresentsNull, emptyNodeRepresentsNull));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Null Representation For Xml</b></em>' attribute.
+ * The literals are from the enumeration {@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlMarshalNullRepresentation}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Null Representation For Xml</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Null Representation For Xml</em>' attribute.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlMarshalNullRepresentation
+ * @see #setNullRepresentationForXml(EXmlMarshalNullRepresentation)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEAbstractXmlNullPolicy_NullRepresentationForXml()
+ * @model
+ * @generated
+ */
+ public EXmlMarshalNullRepresentation getNullRepresentationForXml()
+ {
+ return nullRepresentationForXml;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAbstractXmlNullPolicy#getNullRepresentationForXml <em>Null Representation For Xml</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Null Representation For Xml</em>' attribute.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlMarshalNullRepresentation
+ * @see #getNullRepresentationForXml()
+ * @generated
+ */
+ public void setNullRepresentationForXml(EXmlMarshalNullRepresentation newNullRepresentationForXml)
+ {
+ EXmlMarshalNullRepresentation oldNullRepresentationForXml = nullRepresentationForXml;
+ nullRepresentationForXml = newNullRepresentationForXml == null ? NULL_REPRESENTATION_FOR_XML_EDEFAULT : newNullRepresentationForXml;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EABSTRACT_XML_NULL_POLICY__NULL_REPRESENTATION_FOR_XML, oldNullRepresentationForXml, nullRepresentationForXml));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EABSTRACT_XML_NULL_POLICY__XSI_NIL_REPRESENTS_NULL:
+ return isXsiNilRepresentsNull();
+ case OxmPackage.EABSTRACT_XML_NULL_POLICY__EMPTY_NODE_REPRESENTS_NULL:
+ return isEmptyNodeRepresentsNull();
+ case OxmPackage.EABSTRACT_XML_NULL_POLICY__NULL_REPRESENTATION_FOR_XML:
+ return getNullRepresentationForXml();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EABSTRACT_XML_NULL_POLICY__XSI_NIL_REPRESENTS_NULL:
+ setXsiNilRepresentsNull((Boolean)newValue);
+ return;
+ case OxmPackage.EABSTRACT_XML_NULL_POLICY__EMPTY_NODE_REPRESENTS_NULL:
+ setEmptyNodeRepresentsNull((Boolean)newValue);
+ return;
+ case OxmPackage.EABSTRACT_XML_NULL_POLICY__NULL_REPRESENTATION_FOR_XML:
+ setNullRepresentationForXml((EXmlMarshalNullRepresentation)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EABSTRACT_XML_NULL_POLICY__XSI_NIL_REPRESENTS_NULL:
+ setXsiNilRepresentsNull(XSI_NIL_REPRESENTS_NULL_EDEFAULT);
+ return;
+ case OxmPackage.EABSTRACT_XML_NULL_POLICY__EMPTY_NODE_REPRESENTS_NULL:
+ setEmptyNodeRepresentsNull(EMPTY_NODE_REPRESENTS_NULL_EDEFAULT);
+ return;
+ case OxmPackage.EABSTRACT_XML_NULL_POLICY__NULL_REPRESENTATION_FOR_XML:
+ setNullRepresentationForXml(NULL_REPRESENTATION_FOR_XML_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EABSTRACT_XML_NULL_POLICY__XSI_NIL_REPRESENTS_NULL:
+ return xsiNilRepresentsNull != XSI_NIL_REPRESENTS_NULL_EDEFAULT;
+ case OxmPackage.EABSTRACT_XML_NULL_POLICY__EMPTY_NODE_REPRESENTS_NULL:
+ return emptyNodeRepresentsNull != EMPTY_NODE_REPRESENTS_NULL_EDEFAULT;
+ case OxmPackage.EABSTRACT_XML_NULL_POLICY__NULL_REPRESENTATION_FOR_XML:
+ return nullRepresentationForXml != NULL_REPRESENTATION_FOR_XML_EDEFAULT;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (xsiNilRepresentsNull: ");
+ result.append(xsiNilRepresentsNull);
+ result.append(", emptyNodeRepresentsNull: ");
+ result.append(emptyNodeRepresentsNull);
+ result.append(", nullRepresentationForXml: ");
+ result.append(nullRepresentationForXml);
+ result.append(')');
+ return result.toString();
+ }
+
+
+ // ***** translators *****
+
+ static class AbstractXmlNullPolicyTranslator
+ extends MultiObjectTranslator {
+
+ protected static String DOM_PATH =
+ EclipseLink.XML_IS_SET_NULL_POLICY + ","
+ + EclipseLink.XML_NULL_POLICY;
+
+ protected static Map<String, Translator> DELEGATES = new HashMap<String, Translator>();
+
+
+ protected AbstractXmlNullPolicyTranslator() {
+ super(DOM_PATH, OxmPackage.eINSTANCE.getEXmlAttribute_XmlAbstractNullPolicy());
+ }
+
+
+ protected static Map<String, Translator> delegates() {
+ if (DELEGATES.isEmpty()) {
+ String path = EclipseLink.XML_IS_SET_NULL_POLICY;
+ DELEGATES.put(path, new EXmlIsSetNullPolicy.XmlIsSetNullPolicyTranslator());
+
+ path = EclipseLink.XML_NULL_POLICY;
+ DELEGATES.put(path, new EXmlNullPolicy.XmlNullPolicyTranslator());
+ }
+ return DELEGATES;
+ }
+
+ @Override
+ public Translator getDelegateFor(EObject o) {
+ switch (o.eClass().getClassifierID()) {
+ case OxmPackage.EXML_IS_SET_NULL_POLICY :
+ return delegates().get(EclipseLink.XML_IS_SET_NULL_POLICY);
+ case OxmPackage.EXML_NULL_POLICY :
+ return delegates().get(EclipseLink.XML_NULL_POLICY);
+ }
+ throw new IllegalStateException("Null policy expected"); //$NON-NLS-1$
+ }
+
+ @Override
+ public Translator getDelegateFor(String domName, String readAheadName) {
+ return delegates().get(domName);
+ }
+ }
+
+
+ abstract static class AbstractAbstractXmlNullPolicyTranslator
+ extends SimpleTranslator {
+
+ protected AbstractAbstractXmlNullPolicyTranslator(String domPathAndName, Translator[] translatorChildren) {
+ super(domPathAndName, OxmPackage.eINSTANCE.getEXmlAttribute_XmlAbstractNullPolicy(), translatorChildren);
+ }
+ }
+}
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EAbstractXmlTransformer.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EAbstractXmlTransformer.java
new file mode 100644
index 0000000000..d8a2028cc1
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EAbstractXmlTransformer.java
@@ -0,0 +1,260 @@
+/**
+ */
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.jpt.common.core.resource.xml.EBaseObject;
+import org.eclipse.jpt.common.core.resource.xml.EBaseObjectImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EAbstract Xml Transformer</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAbstractXmlTransformer#getMethod <em>Method</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAbstractXmlTransformer#getTransformerClass <em>Transformer Class</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEAbstractXmlTransformer()
+ * @model kind="class" abstract="true"
+ * @extends EBaseObject
+ * @generated
+ */
+public abstract class EAbstractXmlTransformer extends EBaseObjectImpl implements EBaseObject
+{
+ /**
+ * The default value of the '{@link #getMethod() <em>Method</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMethod()
+ * @generated
+ * @ordered
+ */
+ protected static final String METHOD_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getMethod() <em>Method</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMethod()
+ * @generated
+ * @ordered
+ */
+ protected String method = METHOD_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getTransformerClass() <em>Transformer Class</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTransformerClass()
+ * @generated
+ * @ordered
+ */
+ protected static final String TRANSFORMER_CLASS_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getTransformerClass() <em>Transformer Class</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTransformerClass()
+ * @generated
+ * @ordered
+ */
+ protected String transformerClass = TRANSFORMER_CLASS_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EAbstractXmlTransformer()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OxmPackage.Literals.EABSTRACT_XML_TRANSFORMER;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Method</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Method</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Method</em>' attribute.
+ * @see #setMethod(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEAbstractXmlTransformer_Method()
+ * @model
+ * @generated
+ */
+ public String getMethod()
+ {
+ return method;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAbstractXmlTransformer#getMethod <em>Method</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Method</em>' attribute.
+ * @see #getMethod()
+ * @generated
+ */
+ public void setMethod(String newMethod)
+ {
+ String oldMethod = method;
+ method = newMethod;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EABSTRACT_XML_TRANSFORMER__METHOD, oldMethod, method));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Transformer Class</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Transformer Class</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Transformer Class</em>' attribute.
+ * @see #setTransformerClass(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEAbstractXmlTransformer_TransformerClass()
+ * @model
+ * @generated
+ */
+ public String getTransformerClass()
+ {
+ return transformerClass;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAbstractXmlTransformer#getTransformerClass <em>Transformer Class</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Transformer Class</em>' attribute.
+ * @see #getTransformerClass()
+ * @generated
+ */
+ public void setTransformerClass(String newTransformerClass)
+ {
+ String oldTransformerClass = transformerClass;
+ transformerClass = newTransformerClass;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EABSTRACT_XML_TRANSFORMER__TRANSFORMER_CLASS, oldTransformerClass, transformerClass));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EABSTRACT_XML_TRANSFORMER__METHOD:
+ return getMethod();
+ case OxmPackage.EABSTRACT_XML_TRANSFORMER__TRANSFORMER_CLASS:
+ return getTransformerClass();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EABSTRACT_XML_TRANSFORMER__METHOD:
+ setMethod((String)newValue);
+ return;
+ case OxmPackage.EABSTRACT_XML_TRANSFORMER__TRANSFORMER_CLASS:
+ setTransformerClass((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EABSTRACT_XML_TRANSFORMER__METHOD:
+ setMethod(METHOD_EDEFAULT);
+ return;
+ case OxmPackage.EABSTRACT_XML_TRANSFORMER__TRANSFORMER_CLASS:
+ setTransformerClass(TRANSFORMER_CLASS_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EABSTRACT_XML_TRANSFORMER__METHOD:
+ return METHOD_EDEFAULT == null ? method != null : !METHOD_EDEFAULT.equals(method);
+ case OxmPackage.EABSTRACT_XML_TRANSFORMER__TRANSFORMER_CLASS:
+ return TRANSFORMER_CLASS_EDEFAULT == null ? transformerClass != null : !TRANSFORMER_CLASS_EDEFAULT.equals(transformerClass);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (method: ");
+ result.append(method);
+ result.append(", transformerClass: ");
+ result.append(transformerClass);
+ result.append(')');
+ return result.toString();
+ }
+
+} // EAbstractXmlTransformer
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EAccessibleJavaAttribute.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EAccessibleJavaAttribute.java
new file mode 100644
index 0000000000..2945a49b8b
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EAccessibleJavaAttribute.java
@@ -0,0 +1,52 @@
+/**
+ */
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+import org.eclipse.jpt.common.core.resource.xml.EBaseObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EAccessible Java Attribute</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAccessibleJavaAttribute#getXmlAccessMethods <em>Xml Access Methods</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEAccessibleJavaAttribute()
+ * @model kind="class" interface="true" abstract="true"
+ * @extends EBaseObject
+ * @generated
+ */
+public interface EAccessibleJavaAttribute extends EBaseObject
+{
+ /**
+ * Returns the value of the '<em><b>Xml Access Methods</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml 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>Xml Access Methods</em>' containment reference.
+ * @see #setXmlAccessMethods(EXmlAccessMethods)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEAccessibleJavaAttribute_XmlAccessMethods()
+ * @model containment="true"
+ * @generated
+ */
+ EXmlAccessMethods getXmlAccessMethods();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAccessibleJavaAttribute#getXmlAccessMethods <em>Xml Access Methods</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Access Methods</em>' containment reference.
+ * @see #getXmlAccessMethods()
+ * @generated
+ */
+ void setXmlAccessMethods(EXmlAccessMethods value);
+
+} // EAccessibleJavaAttribute
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EAdaptableJavaAttribute.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EAdaptableJavaAttribute.java
new file mode 100644
index 0000000000..fb6172f5dd
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EAdaptableJavaAttribute.java
@@ -0,0 +1,52 @@
+/**
+ */
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+import org.eclipse.jpt.common.core.resource.xml.EBaseObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EAdaptable Java Attribute</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAdaptableJavaAttribute#getXmlJavaTypeAdapter <em>Xml Java Type Adapter</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEAdaptableJavaAttribute()
+ * @model kind="class" interface="true" abstract="true"
+ * @extends EBaseObject
+ * @generated
+ */
+public interface EAdaptableJavaAttribute extends EBaseObject
+{
+ /**
+ * Returns the value of the '<em><b>Xml Java Type Adapter</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Java Type Adapter</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>Xml Java Type Adapter</em>' containment reference.
+ * @see #setXmlJavaTypeAdapter(EXmlJavaTypeAdapter)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEAdaptableJavaAttribute_XmlJavaTypeAdapter()
+ * @model containment="true"
+ * @generated
+ */
+ EXmlJavaTypeAdapter getXmlJavaTypeAdapter();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAdaptableJavaAttribute#getXmlJavaTypeAdapter <em>Xml Java Type Adapter</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Java Type Adapter</em>' containment reference.
+ * @see #getXmlJavaTypeAdapter()
+ * @generated
+ */
+ void setXmlJavaTypeAdapter(EXmlJavaTypeAdapter value);
+
+} // EAdaptableJavaAttribute
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EContainerJavaAttribute.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EContainerJavaAttribute.java
new file mode 100644
index 0000000000..66ce42e7d5
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EContainerJavaAttribute.java
@@ -0,0 +1,52 @@
+/**
+ */
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+import org.eclipse.jpt.common.core.resource.xml.EBaseObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EContainer Java Attribute</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EContainerJavaAttribute#getContainerType <em>Container Type</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEContainerJavaAttribute()
+ * @model kind="class" interface="true" abstract="true"
+ * @extends EBaseObject
+ * @generated
+ */
+public interface EContainerJavaAttribute extends EBaseObject
+{
+ /**
+ * Returns the value of the '<em><b>Container Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Container 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>Container Type</em>' attribute.
+ * @see #setContainerType(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEContainerJavaAttribute_ContainerType()
+ * @model
+ * @generated
+ */
+ String getContainerType();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EContainerJavaAttribute#getContainerType <em>Container Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Container Type</em>' attribute.
+ * @see #getContainerType()
+ * @generated
+ */
+ void setContainerType(String value);
+
+} // EContainerJavaAttribute
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EJavaAttribute.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EJavaAttribute.java
new file mode 100644
index 0000000000..27dca7bd59
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EJavaAttribute.java
@@ -0,0 +1,418 @@
+/*******************************************************************************
+ * Copyright (c) 2012 Oracle. All rights reserved.
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0, which accompanies this distribution
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+import java.util.HashMap;
+import java.util.Map;
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EStructuralFeature;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.jpt.common.core.internal.utility.translators.SimpleTranslator;
+import org.eclipse.jpt.common.core.resource.xml.EBaseObject;
+import org.eclipse.jpt.common.core.resource.xml.EBaseObjectImpl;
+import org.eclipse.wst.common.internal.emf.resource.MultiObjectTranslator;
+import org.eclipse.wst.common.internal.emf.resource.Translator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EJava Attribute</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaAttribute#getJavaAttribute <em>Java Attribute</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaAttribute#getXmlAccessorType <em>Xml Accessor Type</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEJavaAttribute()
+ * @model kind="class" abstract="true"
+ * @extends EBaseObject
+ * @generated
+ */
+public abstract class EJavaAttribute extends EBaseObjectImpl implements EBaseObject
+{
+ /**
+ * The default value of the '{@link #getJavaAttribute() <em>Java Attribute</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getJavaAttribute()
+ * @generated
+ * @ordered
+ */
+ protected static final String JAVA_ATTRIBUTE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getJavaAttribute() <em>Java Attribute</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getJavaAttribute()
+ * @generated
+ * @ordered
+ */
+ protected String javaAttribute = JAVA_ATTRIBUTE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getXmlAccessorType() <em>Xml Accessor Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlAccessorType()
+ * @generated
+ * @ordered
+ */
+ protected static final EXmlAccessType XML_ACCESSOR_TYPE_EDEFAULT = EXmlAccessType.FIELD;
+
+ /**
+ * The cached value of the '{@link #getXmlAccessorType() <em>Xml Accessor Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlAccessorType()
+ * @generated
+ * @ordered
+ */
+ protected EXmlAccessType xmlAccessorType = XML_ACCESSOR_TYPE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EJavaAttribute()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OxmPackage.Literals.EJAVA_ATTRIBUTE;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Java Attribute</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Java Attribute</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Java Attribute</em>' attribute.
+ * @see #setJavaAttribute(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEJavaAttribute_JavaAttribute()
+ * @model
+ * @generated
+ */
+ public String getJavaAttribute()
+ {
+ return javaAttribute;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaAttribute#getJavaAttribute <em>Java Attribute</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Java Attribute</em>' attribute.
+ * @see #getJavaAttribute()
+ * @generated
+ */
+ public void setJavaAttribute(String newJavaAttribute)
+ {
+ String oldJavaAttribute = javaAttribute;
+ javaAttribute = newJavaAttribute;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EJAVA_ATTRIBUTE__JAVA_ATTRIBUTE, oldJavaAttribute, javaAttribute));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Accessor Type</b></em>' attribute.
+ * The literals are from the enumeration {@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAccessType}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Accessor 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>Xml Accessor Type</em>' attribute.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAccessType
+ * @see #setXmlAccessorType(EXmlAccessType)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEJavaAttribute_XmlAccessorType()
+ * @model
+ * @generated
+ */
+ public EXmlAccessType getXmlAccessorType()
+ {
+ return xmlAccessorType;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaAttribute#getXmlAccessorType <em>Xml Accessor Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Accessor Type</em>' attribute.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAccessType
+ * @see #getXmlAccessorType()
+ * @generated
+ */
+ public void setXmlAccessorType(EXmlAccessType newXmlAccessorType)
+ {
+ EXmlAccessType oldXmlAccessorType = xmlAccessorType;
+ xmlAccessorType = newXmlAccessorType == null ? XML_ACCESSOR_TYPE_EDEFAULT : newXmlAccessorType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EJAVA_ATTRIBUTE__XML_ACCESSOR_TYPE, oldXmlAccessorType, xmlAccessorType));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EJAVA_ATTRIBUTE__JAVA_ATTRIBUTE:
+ return getJavaAttribute();
+ case OxmPackage.EJAVA_ATTRIBUTE__XML_ACCESSOR_TYPE:
+ return getXmlAccessorType();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EJAVA_ATTRIBUTE__JAVA_ATTRIBUTE:
+ setJavaAttribute((String)newValue);
+ return;
+ case OxmPackage.EJAVA_ATTRIBUTE__XML_ACCESSOR_TYPE:
+ setXmlAccessorType((EXmlAccessType)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EJAVA_ATTRIBUTE__JAVA_ATTRIBUTE:
+ setJavaAttribute(JAVA_ATTRIBUTE_EDEFAULT);
+ return;
+ case OxmPackage.EJAVA_ATTRIBUTE__XML_ACCESSOR_TYPE:
+ setXmlAccessorType(XML_ACCESSOR_TYPE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EJAVA_ATTRIBUTE__JAVA_ATTRIBUTE:
+ return JAVA_ATTRIBUTE_EDEFAULT == null ? javaAttribute != null : !JAVA_ATTRIBUTE_EDEFAULT.equals(javaAttribute);
+ case OxmPackage.EJAVA_ATTRIBUTE__XML_ACCESSOR_TYPE:
+ return xmlAccessorType != XML_ACCESSOR_TYPE_EDEFAULT;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (javaAttribute: ");
+ result.append(javaAttribute);
+ result.append(", xmlAccessorType: ");
+ result.append(xmlAccessorType);
+ result.append(')');
+ return result.toString();
+ }
+
+
+ // ***** translators *****
+
+ static class JavaAttributesTranslator
+ extends MultiObjectTranslator {
+
+ protected static String DOM_PATH =
+ EclipseLink.JAVA_ATTRIBUTES + "/"
+ + EclipseLink.XML_ANY_ATTRIBUTE + ","
+ + EclipseLink.XML_ANY_ELEMENT + ","
+ + EclipseLink.XML_ATTRIBUTE + ","
+ + EclipseLink.XML_ELEMENT + ","
+ + EclipseLink.XML_ELEMENT_REF + ","
+ + EclipseLink.XML_ELEMENT_REFS + ","
+ + EclipseLink.XML_ELEMENTS + ","
+ + EclipseLink.XML_INVERSE_REFERENCE + ","
+ + EclipseLink.XML_JAVA_TYPE_ADAPTER + ","
+ + EclipseLink.XML_JOIN_NODES + ","
+ + EclipseLink.XML_TRANSFORMATION + ","
+ + EclipseLink.XML_TRANSIENT + ","
+ + EclipseLink.XML_VALUE;
+
+ protected static Map<String, Translator> DELEGATES = new HashMap<String, Translator>();
+
+
+ JavaAttributesTranslator() {
+ super(DOM_PATH, OxmPackage.eINSTANCE.getEJavaType_JavaAttributes());
+ }
+
+
+ protected static Map<String, Translator> delegates() {
+ if (DELEGATES.isEmpty()) {
+
+ String pathPrefix = EclipseLink.JAVA_ATTRIBUTES + "/";
+ EStructuralFeature eStructuralFeature = OxmPackage.eINSTANCE.getEJavaType_JavaAttributes();
+
+ String path = EclipseLink.XML_ANY_ATTRIBUTE;
+ DELEGATES.put(path,
+ new EXmlAnyAttribute.XmlAnyAttributeTranslator(pathPrefix + path, eStructuralFeature));
+
+ path = EclipseLink.XML_ANY_ELEMENT;
+ DELEGATES.put(path,
+ new EXmlAnyElement.XmlAnyElementTranslator(pathPrefix + path, eStructuralFeature));
+
+ path = EclipseLink.XML_ATTRIBUTE;
+ DELEGATES.put(path,
+ new EXmlAttribute.XmlAttributeTranslator(pathPrefix + path, eStructuralFeature));
+
+ path = EclipseLink.XML_ELEMENT;
+ DELEGATES.put(path,
+ new EXmlElement.XmlElementTranslator(pathPrefix + path, eStructuralFeature));
+
+ path = EclipseLink.XML_ELEMENT_REF;
+ DELEGATES.put(path,
+ new EXmlElementRef.XmlElementRefTranslator(pathPrefix + path, eStructuralFeature));
+
+ path = EclipseLink.XML_ELEMENT_REFS;
+ DELEGATES.put(path,
+ new EXmlElementRefs.XmlElementRefsTranslator(pathPrefix + path, eStructuralFeature));
+
+ path = EclipseLink.XML_ELEMENTS;
+ DELEGATES.put(path,
+ new EXmlElements.XmlElementsTranslator(pathPrefix + path, eStructuralFeature));
+
+ path = EclipseLink.XML_INVERSE_REFERENCE;
+ DELEGATES.put(path,
+ new EXmlInverseReference.XmlInverseReferenceTranslator(pathPrefix + path, eStructuralFeature));
+
+ path = EclipseLink.XML_JAVA_TYPE_ADAPTER;
+ DELEGATES.put(path,
+ new EXmlJavaTypeAdapter.XmlJavaTypeAdapterTranslator(pathPrefix + path, eStructuralFeature));
+
+ path = EclipseLink.XML_JOIN_NODES;
+ DELEGATES.put(path,
+ new EXmlJoinNodes.XmlJoinNodesTranslator(pathPrefix + path, eStructuralFeature));
+
+ path = EclipseLink.XML_TRANSFORMATION;
+ DELEGATES.put(path,
+ new EXmlTransformation.XmlTransformationTranslator(pathPrefix + path, eStructuralFeature));
+
+ path = EclipseLink.XML_TRANSIENT;
+ DELEGATES.put(path,
+ new EXmlTransient.XmlTransientTranslator(pathPrefix + path, eStructuralFeature));
+
+ path = EclipseLink.XML_VALUE;
+ DELEGATES.put(path,
+ new EXmlValue.XmlValueTranslator(pathPrefix + path, eStructuralFeature));
+ }
+ return DELEGATES;
+ }
+
+ protected static String wrappedPath(String path) {
+ return EclipseLink.JAVA_ATTRIBUTES + "/" + path;
+ }
+
+ @Override
+ public Translator getDelegateFor(EObject o) {
+ switch (o.eClass().getClassifierID()) {
+ case OxmPackage.EXML_ANY_ATTRIBUTE :
+ return delegates().get(EclipseLink.XML_ANY_ATTRIBUTE);
+ case OxmPackage.EXML_ANY_ELEMENT :
+ return delegates().get(EclipseLink.XML_ANY_ELEMENT);
+ case OxmPackage.EXML_ATTRIBUTE :
+ return delegates().get(EclipseLink.XML_ATTRIBUTE);
+ case OxmPackage.EXML_ELEMENT :
+ return delegates().get(EclipseLink.XML_ELEMENT);
+ case OxmPackage.EXML_ELEMENT_REF :
+ return delegates().get(EclipseLink.XML_ELEMENT_REF);
+ case OxmPackage.EXML_ELEMENT_REFS:
+ return delegates().get(EclipseLink.XML_ELEMENT_REFS);
+ case OxmPackage.EXML_ELEMENTS:
+ return delegates().get(EclipseLink.XML_ELEMENTS);
+ case OxmPackage.EXML_INVERSE_REFERENCE :
+ return delegates().get(EclipseLink.XML_INVERSE_REFERENCE);
+ case OxmPackage.EXML_JAVA_TYPE_ADAPTER :
+ return delegates().get(EclipseLink.XML_JAVA_TYPE_ADAPTER);
+ case OxmPackage.EXML_JOIN_NODES :
+ return delegates().get(EclipseLink.XML_JOIN_NODES);
+ case OxmPackage.EXML_TRANSFORMATION :
+ return delegates().get(EclipseLink.XML_TRANSFORMATION);
+ case OxmPackage.EXML_TRANSIENT :
+ return delegates().get(EclipseLink.XML_TRANSIENT);
+ case OxmPackage.EXML_VALUE :
+ return delegates().get(EclipseLink.XML_VALUE);
+
+ }
+ throw new IllegalStateException("Java attribute expected"); //$NON-NLS-1$
+ }
+
+ @Override
+ public Translator getDelegateFor(String domName, String readAheadName) {
+ return delegates().get(domName);
+ }
+ }
+
+
+ abstract static class AbstractJavaAttributeTranslator
+ extends SimpleTranslator {
+
+ protected AbstractJavaAttributeTranslator(
+ String domPathAndName, EStructuralFeature eStructuralFeature, Translator[] translatorChildren) {
+ super(EclipseLink.JAVA_ATTRIBUTES + "/" + domPathAndName, eStructuralFeature, translatorChildren);
+ }
+ }
+}
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EJavaType.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EJavaType.java
new file mode 100644
index 0000000000..cbf525aea9
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EJavaType.java
@@ -0,0 +1,1396 @@
+/*******************************************************************************
+ * Copyright (c) 2012 Oracle. All rights reserved.
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0, which accompanies this distribution
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+import java.util.Collection;
+import java.util.List;
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+import org.eclipse.jpt.common.core.internal.utility.translators.SimpleTranslator;
+import org.eclipse.jpt.common.core.resource.xml.EBaseObjectImpl;
+import org.eclipse.wst.common.internal.emf.resource.Translator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EJava Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getSuperType <em>Super Type</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlAccessorOrder <em>Xml Accessor Order</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlAccessorType <em>Xml Accessor Type</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlCustomizer <em>Xml Customizer</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlDiscriminatorNode <em>Xml Discriminator Node</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlDiscriminatorValue <em>Xml Discriminator Value</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#isXmlInlineBinaryData <em>Xml Inline Binary Data</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#isXmlTransient <em>Xml Transient</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlNameTransformer <em>Xml Name Transformer</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlType <em>Xml Type</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlRootElement <em>Xml Root Element</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlVirtualAccessMethods <em>Xml Virtual Access Methods</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlSeeAlso <em>Xml See Also</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlJavaTypeAdapter <em>Xml Java Type Adapter</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlClassExtractor <em>Xml Class Extractor</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getJavaAttributes <em>Java Attributes</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEJavaType()
+ * @model kind="class"
+ * @generated
+ */
+public class EJavaType extends EBaseObjectImpl implements EPropertyHolder
+{
+ /**
+ * The cached value of the '{@link #getXmlProperties() <em>Xml Properties</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlProperties()
+ * @generated
+ * @ordered
+ */
+ protected EList<EXmlProperty> xmlProperties;
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+ /**
+ * The default value of the '{@link #getSuperType() <em>Super Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSuperType()
+ * @generated
+ * @ordered
+ */
+ protected static final String SUPER_TYPE_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getSuperType() <em>Super Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSuperType()
+ * @generated
+ * @ordered
+ */
+ protected String superType = SUPER_TYPE_EDEFAULT;
+ /**
+ * The default value of the '{@link #getXmlAccessorOrder() <em>Xml Accessor Order</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlAccessorOrder()
+ * @generated
+ * @ordered
+ */
+ protected static final EXmlAccessOrder XML_ACCESSOR_ORDER_EDEFAULT = EXmlAccessOrder.ALPHABETICAL;
+ /**
+ * The cached value of the '{@link #getXmlAccessorOrder() <em>Xml Accessor Order</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlAccessorOrder()
+ * @generated
+ * @ordered
+ */
+ protected EXmlAccessOrder xmlAccessorOrder = XML_ACCESSOR_ORDER_EDEFAULT;
+ /**
+ * The default value of the '{@link #getXmlAccessorType() <em>Xml Accessor Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlAccessorType()
+ * @generated
+ * @ordered
+ */
+ protected static final EXmlAccessType XML_ACCESSOR_TYPE_EDEFAULT = EXmlAccessType.FIELD;
+ /**
+ * The cached value of the '{@link #getXmlAccessorType() <em>Xml Accessor Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlAccessorType()
+ * @generated
+ * @ordered
+ */
+ protected EXmlAccessType xmlAccessorType = XML_ACCESSOR_TYPE_EDEFAULT;
+ /**
+ * The default value of the '{@link #getXmlCustomizer() <em>Xml Customizer</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlCustomizer()
+ * @generated
+ * @ordered
+ */
+ protected static final String XML_CUSTOMIZER_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getXmlCustomizer() <em>Xml Customizer</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlCustomizer()
+ * @generated
+ * @ordered
+ */
+ protected String xmlCustomizer = XML_CUSTOMIZER_EDEFAULT;
+ /**
+ * The default value of the '{@link #getXmlDiscriminatorNode() <em>Xml Discriminator Node</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlDiscriminatorNode()
+ * @generated
+ * @ordered
+ */
+ protected static final String XML_DISCRIMINATOR_NODE_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getXmlDiscriminatorNode() <em>Xml Discriminator Node</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlDiscriminatorNode()
+ * @generated
+ * @ordered
+ */
+ protected String xmlDiscriminatorNode = XML_DISCRIMINATOR_NODE_EDEFAULT;
+ /**
+ * The default value of the '{@link #getXmlDiscriminatorValue() <em>Xml Discriminator Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlDiscriminatorValue()
+ * @generated
+ * @ordered
+ */
+ protected static final String XML_DISCRIMINATOR_VALUE_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getXmlDiscriminatorValue() <em>Xml Discriminator Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlDiscriminatorValue()
+ * @generated
+ * @ordered
+ */
+ protected String xmlDiscriminatorValue = XML_DISCRIMINATOR_VALUE_EDEFAULT;
+ /**
+ * The default value of the '{@link #isXmlInlineBinaryData() <em>Xml Inline Binary Data</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXmlInlineBinaryData()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean XML_INLINE_BINARY_DATA_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isXmlInlineBinaryData() <em>Xml Inline Binary Data</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXmlInlineBinaryData()
+ * @generated
+ * @ordered
+ */
+ protected boolean xmlInlineBinaryData = XML_INLINE_BINARY_DATA_EDEFAULT;
+ /**
+ * The default value of the '{@link #isXmlTransient() <em>Xml Transient</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXmlTransient()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean XML_TRANSIENT_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isXmlTransient() <em>Xml Transient</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXmlTransient()
+ * @generated
+ * @ordered
+ */
+ protected boolean xmlTransient = XML_TRANSIENT_EDEFAULT;
+ /**
+ * The default value of the '{@link #getXmlNameTransformer() <em>Xml Name Transformer</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlNameTransformer()
+ * @generated
+ * @ordered
+ */
+ protected static final String XML_NAME_TRANSFORMER_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getXmlNameTransformer() <em>Xml Name Transformer</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlNameTransformer()
+ * @generated
+ * @ordered
+ */
+ protected String xmlNameTransformer = XML_NAME_TRANSFORMER_EDEFAULT;
+ /**
+ * The cached value of the '{@link #getXmlType() <em>Xml Type</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlType()
+ * @generated
+ * @ordered
+ */
+ protected EXmlType xmlType;
+ /**
+ * The cached value of the '{@link #getXmlRootElement() <em>Xml Root Element</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlRootElement()
+ * @generated
+ * @ordered
+ */
+ protected EXmlRootElement xmlRootElement;
+ /**
+ * The cached value of the '{@link #getXmlVirtualAccessMethods() <em>Xml Virtual Access Methods</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlVirtualAccessMethods()
+ * @generated
+ * @ordered
+ */
+ protected EXmlVirtualAccessMethods xmlVirtualAccessMethods;
+ /**
+ * The default value of the '{@link #getXmlSeeAlso() <em>Xml See Also</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlSeeAlso()
+ * @generated
+ * @ordered
+ */
+ protected static final List<String> XML_SEE_ALSO_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getXmlSeeAlso() <em>Xml See Also</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlSeeAlso()
+ * @generated
+ * @ordered
+ */
+ protected List<String> xmlSeeAlso = XML_SEE_ALSO_EDEFAULT;
+ /**
+ * The cached value of the '{@link #getXmlJavaTypeAdapter() <em>Xml Java Type Adapter</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlJavaTypeAdapter()
+ * @generated
+ * @ordered
+ */
+ protected EXmlJavaTypeAdapter xmlJavaTypeAdapter;
+ /**
+ * The cached value of the '{@link #getXmlClassExtractor() <em>Xml Class Extractor</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlClassExtractor()
+ * @generated
+ * @ordered
+ */
+ protected EXmlClassExtractor xmlClassExtractor;
+ /**
+ * The cached value of the '{@link #getJavaAttributes() <em>Java Attributes</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getJavaAttributes()
+ * @generated
+ * @ordered
+ */
+ protected EList<EJavaAttribute> javaAttributes;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EJavaType()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OxmPackage.Literals.EJAVA_TYPE;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Properties</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlProperty}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml 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>Xml Properties</em>' containment reference list.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEPropertyHolder_XmlProperties()
+ * @model containment="true"
+ * @generated
+ */
+ public EList<EXmlProperty> getXmlProperties()
+ {
+ if (xmlProperties == null)
+ {
+ xmlProperties = new EObjectContainmentEList<EXmlProperty>(EXmlProperty.class, this, OxmPackage.EJAVA_TYPE__XML_PROPERTIES);
+ }
+ return xmlProperties;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEJavaType_Name()
+ * @model
+ * @generated
+ */
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ public void setName(String newName)
+ {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EJAVA_TYPE__NAME, oldName, name));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Super Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Super 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>Super Type</em>' attribute.
+ * @see #setSuperType(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEJavaType_SuperType()
+ * @model
+ * @generated
+ */
+ public String getSuperType()
+ {
+ return superType;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getSuperType <em>Super Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Super Type</em>' attribute.
+ * @see #getSuperType()
+ * @generated
+ */
+ public void setSuperType(String newSuperType)
+ {
+ String oldSuperType = superType;
+ superType = newSuperType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EJAVA_TYPE__SUPER_TYPE, oldSuperType, superType));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Accessor Order</b></em>' attribute.
+ * The literals are from the enumeration {@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAccessOrder}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Accessor Order</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Xml Accessor Order</em>' attribute.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAccessOrder
+ * @see #setXmlAccessorOrder(EXmlAccessOrder)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEJavaType_XmlAccessorOrder()
+ * @model
+ * @generated
+ */
+ public EXmlAccessOrder getXmlAccessorOrder()
+ {
+ return xmlAccessorOrder;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlAccessorOrder <em>Xml Accessor Order</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Accessor Order</em>' attribute.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAccessOrder
+ * @see #getXmlAccessorOrder()
+ * @generated
+ */
+ public void setXmlAccessorOrder(EXmlAccessOrder newXmlAccessorOrder)
+ {
+ EXmlAccessOrder oldXmlAccessorOrder = xmlAccessorOrder;
+ xmlAccessorOrder = newXmlAccessorOrder == null ? XML_ACCESSOR_ORDER_EDEFAULT : newXmlAccessorOrder;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EJAVA_TYPE__XML_ACCESSOR_ORDER, oldXmlAccessorOrder, xmlAccessorOrder));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Accessor Type</b></em>' attribute.
+ * The literals are from the enumeration {@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAccessType}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Accessor 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>Xml Accessor Type</em>' attribute.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAccessType
+ * @see #setXmlAccessorType(EXmlAccessType)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEJavaType_XmlAccessorType()
+ * @model
+ * @generated
+ */
+ public EXmlAccessType getXmlAccessorType()
+ {
+ return xmlAccessorType;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlAccessorType <em>Xml Accessor Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Accessor Type</em>' attribute.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAccessType
+ * @see #getXmlAccessorType()
+ * @generated
+ */
+ public void setXmlAccessorType(EXmlAccessType newXmlAccessorType)
+ {
+ EXmlAccessType oldXmlAccessorType = xmlAccessorType;
+ xmlAccessorType = newXmlAccessorType == null ? XML_ACCESSOR_TYPE_EDEFAULT : newXmlAccessorType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EJAVA_TYPE__XML_ACCESSOR_TYPE, oldXmlAccessorType, xmlAccessorType));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Customizer</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Customizer</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Xml Customizer</em>' attribute.
+ * @see #setXmlCustomizer(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEJavaType_XmlCustomizer()
+ * @model
+ * @generated
+ */
+ public String getXmlCustomizer()
+ {
+ return xmlCustomizer;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlCustomizer <em>Xml Customizer</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Customizer</em>' attribute.
+ * @see #getXmlCustomizer()
+ * @generated
+ */
+ public void setXmlCustomizer(String newXmlCustomizer)
+ {
+ String oldXmlCustomizer = xmlCustomizer;
+ xmlCustomizer = newXmlCustomizer;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EJAVA_TYPE__XML_CUSTOMIZER, oldXmlCustomizer, xmlCustomizer));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Discriminator Node</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Discriminator Node</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Xml Discriminator Node</em>' attribute.
+ * @see #setXmlDiscriminatorNode(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEJavaType_XmlDiscriminatorNode()
+ * @model
+ * @generated
+ */
+ public String getXmlDiscriminatorNode()
+ {
+ return xmlDiscriminatorNode;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlDiscriminatorNode <em>Xml Discriminator Node</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Discriminator Node</em>' attribute.
+ * @see #getXmlDiscriminatorNode()
+ * @generated
+ */
+ public void setXmlDiscriminatorNode(String newXmlDiscriminatorNode)
+ {
+ String oldXmlDiscriminatorNode = xmlDiscriminatorNode;
+ xmlDiscriminatorNode = newXmlDiscriminatorNode;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EJAVA_TYPE__XML_DISCRIMINATOR_NODE, oldXmlDiscriminatorNode, xmlDiscriminatorNode));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Discriminator Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Discriminator Value</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Xml Discriminator Value</em>' attribute.
+ * @see #setXmlDiscriminatorValue(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEJavaType_XmlDiscriminatorValue()
+ * @model
+ * @generated
+ */
+ public String getXmlDiscriminatorValue()
+ {
+ return xmlDiscriminatorValue;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlDiscriminatorValue <em>Xml Discriminator Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Discriminator Value</em>' attribute.
+ * @see #getXmlDiscriminatorValue()
+ * @generated
+ */
+ public void setXmlDiscriminatorValue(String newXmlDiscriminatorValue)
+ {
+ String oldXmlDiscriminatorValue = xmlDiscriminatorValue;
+ xmlDiscriminatorValue = newXmlDiscriminatorValue;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EJAVA_TYPE__XML_DISCRIMINATOR_VALUE, oldXmlDiscriminatorValue, xmlDiscriminatorValue));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Inline Binary Data</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Inline Binary Data</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Xml Inline Binary Data</em>' attribute.
+ * @see #setXmlInlineBinaryData(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEJavaType_XmlInlineBinaryData()
+ * @model
+ * @generated
+ */
+ public boolean isXmlInlineBinaryData()
+ {
+ return xmlInlineBinaryData;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#isXmlInlineBinaryData <em>Xml Inline Binary Data</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Inline Binary Data</em>' attribute.
+ * @see #isXmlInlineBinaryData()
+ * @generated
+ */
+ public void setXmlInlineBinaryData(boolean newXmlInlineBinaryData)
+ {
+ boolean oldXmlInlineBinaryData = xmlInlineBinaryData;
+ xmlInlineBinaryData = newXmlInlineBinaryData;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EJAVA_TYPE__XML_INLINE_BINARY_DATA, oldXmlInlineBinaryData, xmlInlineBinaryData));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Transient</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Transient</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Xml Transient</em>' attribute.
+ * @see #setXmlTransient(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEJavaType_XmlTransient()
+ * @model
+ * @generated
+ */
+ public boolean isXmlTransient()
+ {
+ return xmlTransient;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#isXmlTransient <em>Xml Transient</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Transient</em>' attribute.
+ * @see #isXmlTransient()
+ * @generated
+ */
+ public void setXmlTransient(boolean newXmlTransient)
+ {
+ boolean oldXmlTransient = xmlTransient;
+ xmlTransient = newXmlTransient;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EJAVA_TYPE__XML_TRANSIENT, oldXmlTransient, xmlTransient));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Name Transformer</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Name Transformer</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Xml Name Transformer</em>' attribute.
+ * @see #setXmlNameTransformer(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEJavaType_XmlNameTransformer()
+ * @model
+ * @generated
+ */
+ public String getXmlNameTransformer()
+ {
+ return xmlNameTransformer;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlNameTransformer <em>Xml Name Transformer</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Name Transformer</em>' attribute.
+ * @see #getXmlNameTransformer()
+ * @generated
+ */
+ public void setXmlNameTransformer(String newXmlNameTransformer)
+ {
+ String oldXmlNameTransformer = xmlNameTransformer;
+ xmlNameTransformer = newXmlNameTransformer;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EJAVA_TYPE__XML_NAME_TRANSFORMER, oldXmlNameTransformer, xmlNameTransformer));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Type</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Type</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>Xml Type</em>' containment reference.
+ * @see #setXmlType(EXmlType)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEJavaType_XmlType()
+ * @model containment="true"
+ * @generated
+ */
+ public EXmlType getXmlType()
+ {
+ return xmlType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetXmlType(EXmlType newXmlType, NotificationChain msgs)
+ {
+ EXmlType oldXmlType = xmlType;
+ xmlType = newXmlType;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OxmPackage.EJAVA_TYPE__XML_TYPE, oldXmlType, newXmlType);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlType <em>Xml Type</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Type</em>' containment reference.
+ * @see #getXmlType()
+ * @generated
+ */
+ public void setXmlType(EXmlType newXmlType)
+ {
+ if (newXmlType != xmlType)
+ {
+ NotificationChain msgs = null;
+ if (xmlType != null)
+ msgs = ((InternalEObject)xmlType).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EJAVA_TYPE__XML_TYPE, null, msgs);
+ if (newXmlType != null)
+ msgs = ((InternalEObject)newXmlType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EJAVA_TYPE__XML_TYPE, null, msgs);
+ msgs = basicSetXmlType(newXmlType, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EJAVA_TYPE__XML_TYPE, newXmlType, newXmlType));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Root Element</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Root Element</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>Xml Root Element</em>' containment reference.
+ * @see #setXmlRootElement(EXmlRootElement)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEJavaType_XmlRootElement()
+ * @model containment="true"
+ * @generated
+ */
+ public EXmlRootElement getXmlRootElement()
+ {
+ return xmlRootElement;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetXmlRootElement(EXmlRootElement newXmlRootElement, NotificationChain msgs)
+ {
+ EXmlRootElement oldXmlRootElement = xmlRootElement;
+ xmlRootElement = newXmlRootElement;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OxmPackage.EJAVA_TYPE__XML_ROOT_ELEMENT, oldXmlRootElement, newXmlRootElement);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlRootElement <em>Xml Root Element</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Root Element</em>' containment reference.
+ * @see #getXmlRootElement()
+ * @generated
+ */
+ public void setXmlRootElement(EXmlRootElement newXmlRootElement)
+ {
+ if (newXmlRootElement != xmlRootElement)
+ {
+ NotificationChain msgs = null;
+ if (xmlRootElement != null)
+ msgs = ((InternalEObject)xmlRootElement).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EJAVA_TYPE__XML_ROOT_ELEMENT, null, msgs);
+ if (newXmlRootElement != null)
+ msgs = ((InternalEObject)newXmlRootElement).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EJAVA_TYPE__XML_ROOT_ELEMENT, null, msgs);
+ msgs = basicSetXmlRootElement(newXmlRootElement, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EJAVA_TYPE__XML_ROOT_ELEMENT, newXmlRootElement, newXmlRootElement));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Virtual Access Methods</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Virtual 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>Xml Virtual Access Methods</em>' containment reference.
+ * @see #setXmlVirtualAccessMethods(EXmlVirtualAccessMethods)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEJavaType_XmlVirtualAccessMethods()
+ * @model containment="true"
+ * @generated
+ */
+ public EXmlVirtualAccessMethods getXmlVirtualAccessMethods()
+ {
+ return xmlVirtualAccessMethods;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetXmlVirtualAccessMethods(EXmlVirtualAccessMethods newXmlVirtualAccessMethods, NotificationChain msgs)
+ {
+ EXmlVirtualAccessMethods oldXmlVirtualAccessMethods = xmlVirtualAccessMethods;
+ xmlVirtualAccessMethods = newXmlVirtualAccessMethods;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OxmPackage.EJAVA_TYPE__XML_VIRTUAL_ACCESS_METHODS, oldXmlVirtualAccessMethods, newXmlVirtualAccessMethods);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlVirtualAccessMethods <em>Xml Virtual Access Methods</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Virtual Access Methods</em>' containment reference.
+ * @see #getXmlVirtualAccessMethods()
+ * @generated
+ */
+ public void setXmlVirtualAccessMethods(EXmlVirtualAccessMethods newXmlVirtualAccessMethods)
+ {
+ if (newXmlVirtualAccessMethods != xmlVirtualAccessMethods)
+ {
+ NotificationChain msgs = null;
+ if (xmlVirtualAccessMethods != null)
+ msgs = ((InternalEObject)xmlVirtualAccessMethods).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EJAVA_TYPE__XML_VIRTUAL_ACCESS_METHODS, null, msgs);
+ if (newXmlVirtualAccessMethods != null)
+ msgs = ((InternalEObject)newXmlVirtualAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EJAVA_TYPE__XML_VIRTUAL_ACCESS_METHODS, null, msgs);
+ msgs = basicSetXmlVirtualAccessMethods(newXmlVirtualAccessMethods, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EJAVA_TYPE__XML_VIRTUAL_ACCESS_METHODS, newXmlVirtualAccessMethods, newXmlVirtualAccessMethods));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml See Also</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml See Also</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Xml See Also</em>' attribute.
+ * @see #setXmlSeeAlso(List)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEJavaType_XmlSeeAlso()
+ * @model dataType="org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlSeeAlso" many="false"
+ * @generated
+ */
+ public List<String> getXmlSeeAlso()
+ {
+ return xmlSeeAlso;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlSeeAlso <em>Xml See Also</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml See Also</em>' attribute.
+ * @see #getXmlSeeAlso()
+ * @generated
+ */
+ public void setXmlSeeAlso(List<String> newXmlSeeAlso)
+ {
+ List<String> oldXmlSeeAlso = xmlSeeAlso;
+ xmlSeeAlso = newXmlSeeAlso;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EJAVA_TYPE__XML_SEE_ALSO, oldXmlSeeAlso, xmlSeeAlso));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Java Type Adapter</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Java Type Adapter</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>Xml Java Type Adapter</em>' containment reference.
+ * @see #setXmlJavaTypeAdapter(EXmlJavaTypeAdapter)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEJavaType_XmlJavaTypeAdapter()
+ * @model containment="true"
+ * @generated
+ */
+ public EXmlJavaTypeAdapter getXmlJavaTypeAdapter()
+ {
+ return xmlJavaTypeAdapter;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetXmlJavaTypeAdapter(EXmlJavaTypeAdapter newXmlJavaTypeAdapter, NotificationChain msgs)
+ {
+ EXmlJavaTypeAdapter oldXmlJavaTypeAdapter = xmlJavaTypeAdapter;
+ xmlJavaTypeAdapter = newXmlJavaTypeAdapter;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OxmPackage.EJAVA_TYPE__XML_JAVA_TYPE_ADAPTER, oldXmlJavaTypeAdapter, newXmlJavaTypeAdapter);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlJavaTypeAdapter <em>Xml Java Type Adapter</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Java Type Adapter</em>' containment reference.
+ * @see #getXmlJavaTypeAdapter()
+ * @generated
+ */
+ public void setXmlJavaTypeAdapter(EXmlJavaTypeAdapter newXmlJavaTypeAdapter)
+ {
+ if (newXmlJavaTypeAdapter != xmlJavaTypeAdapter)
+ {
+ NotificationChain msgs = null;
+ if (xmlJavaTypeAdapter != null)
+ msgs = ((InternalEObject)xmlJavaTypeAdapter).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EJAVA_TYPE__XML_JAVA_TYPE_ADAPTER, null, msgs);
+ if (newXmlJavaTypeAdapter != null)
+ msgs = ((InternalEObject)newXmlJavaTypeAdapter).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EJAVA_TYPE__XML_JAVA_TYPE_ADAPTER, null, msgs);
+ msgs = basicSetXmlJavaTypeAdapter(newXmlJavaTypeAdapter, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EJAVA_TYPE__XML_JAVA_TYPE_ADAPTER, newXmlJavaTypeAdapter, newXmlJavaTypeAdapter));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Class Extractor</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Class Extractor</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>Xml Class Extractor</em>' containment reference.
+ * @see #setXmlClassExtractor(EXmlClassExtractor)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEJavaType_XmlClassExtractor()
+ * @model containment="true"
+ * @generated
+ */
+ public EXmlClassExtractor getXmlClassExtractor()
+ {
+ return xmlClassExtractor;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetXmlClassExtractor(EXmlClassExtractor newXmlClassExtractor, NotificationChain msgs)
+ {
+ EXmlClassExtractor oldXmlClassExtractor = xmlClassExtractor;
+ xmlClassExtractor = newXmlClassExtractor;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OxmPackage.EJAVA_TYPE__XML_CLASS_EXTRACTOR, oldXmlClassExtractor, newXmlClassExtractor);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlClassExtractor <em>Xml Class Extractor</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Class Extractor</em>' containment reference.
+ * @see #getXmlClassExtractor()
+ * @generated
+ */
+ public void setXmlClassExtractor(EXmlClassExtractor newXmlClassExtractor)
+ {
+ if (newXmlClassExtractor != xmlClassExtractor)
+ {
+ NotificationChain msgs = null;
+ if (xmlClassExtractor != null)
+ msgs = ((InternalEObject)xmlClassExtractor).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EJAVA_TYPE__XML_CLASS_EXTRACTOR, null, msgs);
+ if (newXmlClassExtractor != null)
+ msgs = ((InternalEObject)newXmlClassExtractor).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EJAVA_TYPE__XML_CLASS_EXTRACTOR, null, msgs);
+ msgs = basicSetXmlClassExtractor(newXmlClassExtractor, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EJAVA_TYPE__XML_CLASS_EXTRACTOR, newXmlClassExtractor, newXmlClassExtractor));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Java Attributes</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaAttribute}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Java Attributes</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>Java Attributes</em>' containment reference list.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEJavaType_JavaAttributes()
+ * @model containment="true"
+ * @generated
+ */
+ public EList<EJavaAttribute> getJavaAttributes()
+ {
+ if (javaAttributes == null)
+ {
+ javaAttributes = new EObjectContainmentEList<EJavaAttribute>(EJavaAttribute.class, this, OxmPackage.EJAVA_TYPE__JAVA_ATTRIBUTES);
+ }
+ return javaAttributes;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EJAVA_TYPE__XML_PROPERTIES:
+ return ((InternalEList<?>)getXmlProperties()).basicRemove(otherEnd, msgs);
+ case OxmPackage.EJAVA_TYPE__XML_TYPE:
+ return basicSetXmlType(null, msgs);
+ case OxmPackage.EJAVA_TYPE__XML_ROOT_ELEMENT:
+ return basicSetXmlRootElement(null, msgs);
+ case OxmPackage.EJAVA_TYPE__XML_VIRTUAL_ACCESS_METHODS:
+ return basicSetXmlVirtualAccessMethods(null, msgs);
+ case OxmPackage.EJAVA_TYPE__XML_JAVA_TYPE_ADAPTER:
+ return basicSetXmlJavaTypeAdapter(null, msgs);
+ case OxmPackage.EJAVA_TYPE__XML_CLASS_EXTRACTOR:
+ return basicSetXmlClassExtractor(null, msgs);
+ case OxmPackage.EJAVA_TYPE__JAVA_ATTRIBUTES:
+ return ((InternalEList<?>)getJavaAttributes()).basicRemove(otherEnd, 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 OxmPackage.EJAVA_TYPE__XML_PROPERTIES:
+ return getXmlProperties();
+ case OxmPackage.EJAVA_TYPE__NAME:
+ return getName();
+ case OxmPackage.EJAVA_TYPE__SUPER_TYPE:
+ return getSuperType();
+ case OxmPackage.EJAVA_TYPE__XML_ACCESSOR_ORDER:
+ return getXmlAccessorOrder();
+ case OxmPackage.EJAVA_TYPE__XML_ACCESSOR_TYPE:
+ return getXmlAccessorType();
+ case OxmPackage.EJAVA_TYPE__XML_CUSTOMIZER:
+ return getXmlCustomizer();
+ case OxmPackage.EJAVA_TYPE__XML_DISCRIMINATOR_NODE:
+ return getXmlDiscriminatorNode();
+ case OxmPackage.EJAVA_TYPE__XML_DISCRIMINATOR_VALUE:
+ return getXmlDiscriminatorValue();
+ case OxmPackage.EJAVA_TYPE__XML_INLINE_BINARY_DATA:
+ return isXmlInlineBinaryData();
+ case OxmPackage.EJAVA_TYPE__XML_TRANSIENT:
+ return isXmlTransient();
+ case OxmPackage.EJAVA_TYPE__XML_NAME_TRANSFORMER:
+ return getXmlNameTransformer();
+ case OxmPackage.EJAVA_TYPE__XML_TYPE:
+ return getXmlType();
+ case OxmPackage.EJAVA_TYPE__XML_ROOT_ELEMENT:
+ return getXmlRootElement();
+ case OxmPackage.EJAVA_TYPE__XML_VIRTUAL_ACCESS_METHODS:
+ return getXmlVirtualAccessMethods();
+ case OxmPackage.EJAVA_TYPE__XML_SEE_ALSO:
+ return getXmlSeeAlso();
+ case OxmPackage.EJAVA_TYPE__XML_JAVA_TYPE_ADAPTER:
+ return getXmlJavaTypeAdapter();
+ case OxmPackage.EJAVA_TYPE__XML_CLASS_EXTRACTOR:
+ return getXmlClassExtractor();
+ case OxmPackage.EJAVA_TYPE__JAVA_ATTRIBUTES:
+ return getJavaAttributes();
+ }
+ 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 OxmPackage.EJAVA_TYPE__XML_PROPERTIES:
+ getXmlProperties().clear();
+ getXmlProperties().addAll((Collection<? extends EXmlProperty>)newValue);
+ return;
+ case OxmPackage.EJAVA_TYPE__NAME:
+ setName((String)newValue);
+ return;
+ case OxmPackage.EJAVA_TYPE__SUPER_TYPE:
+ setSuperType((String)newValue);
+ return;
+ case OxmPackage.EJAVA_TYPE__XML_ACCESSOR_ORDER:
+ setXmlAccessorOrder((EXmlAccessOrder)newValue);
+ return;
+ case OxmPackage.EJAVA_TYPE__XML_ACCESSOR_TYPE:
+ setXmlAccessorType((EXmlAccessType)newValue);
+ return;
+ case OxmPackage.EJAVA_TYPE__XML_CUSTOMIZER:
+ setXmlCustomizer((String)newValue);
+ return;
+ case OxmPackage.EJAVA_TYPE__XML_DISCRIMINATOR_NODE:
+ setXmlDiscriminatorNode((String)newValue);
+ return;
+ case OxmPackage.EJAVA_TYPE__XML_DISCRIMINATOR_VALUE:
+ setXmlDiscriminatorValue((String)newValue);
+ return;
+ case OxmPackage.EJAVA_TYPE__XML_INLINE_BINARY_DATA:
+ setXmlInlineBinaryData((Boolean)newValue);
+ return;
+ case OxmPackage.EJAVA_TYPE__XML_TRANSIENT:
+ setXmlTransient((Boolean)newValue);
+ return;
+ case OxmPackage.EJAVA_TYPE__XML_NAME_TRANSFORMER:
+ setXmlNameTransformer((String)newValue);
+ return;
+ case OxmPackage.EJAVA_TYPE__XML_TYPE:
+ setXmlType((EXmlType)newValue);
+ return;
+ case OxmPackage.EJAVA_TYPE__XML_ROOT_ELEMENT:
+ setXmlRootElement((EXmlRootElement)newValue);
+ return;
+ case OxmPackage.EJAVA_TYPE__XML_VIRTUAL_ACCESS_METHODS:
+ setXmlVirtualAccessMethods((EXmlVirtualAccessMethods)newValue);
+ return;
+ case OxmPackage.EJAVA_TYPE__XML_SEE_ALSO:
+ setXmlSeeAlso((List<String>)newValue);
+ return;
+ case OxmPackage.EJAVA_TYPE__XML_JAVA_TYPE_ADAPTER:
+ setXmlJavaTypeAdapter((EXmlJavaTypeAdapter)newValue);
+ return;
+ case OxmPackage.EJAVA_TYPE__XML_CLASS_EXTRACTOR:
+ setXmlClassExtractor((EXmlClassExtractor)newValue);
+ return;
+ case OxmPackage.EJAVA_TYPE__JAVA_ATTRIBUTES:
+ getJavaAttributes().clear();
+ getJavaAttributes().addAll((Collection<? extends EJavaAttribute>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EJAVA_TYPE__XML_PROPERTIES:
+ getXmlProperties().clear();
+ return;
+ case OxmPackage.EJAVA_TYPE__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case OxmPackage.EJAVA_TYPE__SUPER_TYPE:
+ setSuperType(SUPER_TYPE_EDEFAULT);
+ return;
+ case OxmPackage.EJAVA_TYPE__XML_ACCESSOR_ORDER:
+ setXmlAccessorOrder(XML_ACCESSOR_ORDER_EDEFAULT);
+ return;
+ case OxmPackage.EJAVA_TYPE__XML_ACCESSOR_TYPE:
+ setXmlAccessorType(XML_ACCESSOR_TYPE_EDEFAULT);
+ return;
+ case OxmPackage.EJAVA_TYPE__XML_CUSTOMIZER:
+ setXmlCustomizer(XML_CUSTOMIZER_EDEFAULT);
+ return;
+ case OxmPackage.EJAVA_TYPE__XML_DISCRIMINATOR_NODE:
+ setXmlDiscriminatorNode(XML_DISCRIMINATOR_NODE_EDEFAULT);
+ return;
+ case OxmPackage.EJAVA_TYPE__XML_DISCRIMINATOR_VALUE:
+ setXmlDiscriminatorValue(XML_DISCRIMINATOR_VALUE_EDEFAULT);
+ return;
+ case OxmPackage.EJAVA_TYPE__XML_INLINE_BINARY_DATA:
+ setXmlInlineBinaryData(XML_INLINE_BINARY_DATA_EDEFAULT);
+ return;
+ case OxmPackage.EJAVA_TYPE__XML_TRANSIENT:
+ setXmlTransient(XML_TRANSIENT_EDEFAULT);
+ return;
+ case OxmPackage.EJAVA_TYPE__XML_NAME_TRANSFORMER:
+ setXmlNameTransformer(XML_NAME_TRANSFORMER_EDEFAULT);
+ return;
+ case OxmPackage.EJAVA_TYPE__XML_TYPE:
+ setXmlType((EXmlType)null);
+ return;
+ case OxmPackage.EJAVA_TYPE__XML_ROOT_ELEMENT:
+ setXmlRootElement((EXmlRootElement)null);
+ return;
+ case OxmPackage.EJAVA_TYPE__XML_VIRTUAL_ACCESS_METHODS:
+ setXmlVirtualAccessMethods((EXmlVirtualAccessMethods)null);
+ return;
+ case OxmPackage.EJAVA_TYPE__XML_SEE_ALSO:
+ setXmlSeeAlso(XML_SEE_ALSO_EDEFAULT);
+ return;
+ case OxmPackage.EJAVA_TYPE__XML_JAVA_TYPE_ADAPTER:
+ setXmlJavaTypeAdapter((EXmlJavaTypeAdapter)null);
+ return;
+ case OxmPackage.EJAVA_TYPE__XML_CLASS_EXTRACTOR:
+ setXmlClassExtractor((EXmlClassExtractor)null);
+ return;
+ case OxmPackage.EJAVA_TYPE__JAVA_ATTRIBUTES:
+ getJavaAttributes().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EJAVA_TYPE__XML_PROPERTIES:
+ return xmlProperties != null && !xmlProperties.isEmpty();
+ case OxmPackage.EJAVA_TYPE__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case OxmPackage.EJAVA_TYPE__SUPER_TYPE:
+ return SUPER_TYPE_EDEFAULT == null ? superType != null : !SUPER_TYPE_EDEFAULT.equals(superType);
+ case OxmPackage.EJAVA_TYPE__XML_ACCESSOR_ORDER:
+ return xmlAccessorOrder != XML_ACCESSOR_ORDER_EDEFAULT;
+ case OxmPackage.EJAVA_TYPE__XML_ACCESSOR_TYPE:
+ return xmlAccessorType != XML_ACCESSOR_TYPE_EDEFAULT;
+ case OxmPackage.EJAVA_TYPE__XML_CUSTOMIZER:
+ return XML_CUSTOMIZER_EDEFAULT == null ? xmlCustomizer != null : !XML_CUSTOMIZER_EDEFAULT.equals(xmlCustomizer);
+ case OxmPackage.EJAVA_TYPE__XML_DISCRIMINATOR_NODE:
+ return XML_DISCRIMINATOR_NODE_EDEFAULT == null ? xmlDiscriminatorNode != null : !XML_DISCRIMINATOR_NODE_EDEFAULT.equals(xmlDiscriminatorNode);
+ case OxmPackage.EJAVA_TYPE__XML_DISCRIMINATOR_VALUE:
+ return XML_DISCRIMINATOR_VALUE_EDEFAULT == null ? xmlDiscriminatorValue != null : !XML_DISCRIMINATOR_VALUE_EDEFAULT.equals(xmlDiscriminatorValue);
+ case OxmPackage.EJAVA_TYPE__XML_INLINE_BINARY_DATA:
+ return xmlInlineBinaryData != XML_INLINE_BINARY_DATA_EDEFAULT;
+ case OxmPackage.EJAVA_TYPE__XML_TRANSIENT:
+ return xmlTransient != XML_TRANSIENT_EDEFAULT;
+ case OxmPackage.EJAVA_TYPE__XML_NAME_TRANSFORMER:
+ return XML_NAME_TRANSFORMER_EDEFAULT == null ? xmlNameTransformer != null : !XML_NAME_TRANSFORMER_EDEFAULT.equals(xmlNameTransformer);
+ case OxmPackage.EJAVA_TYPE__XML_TYPE:
+ return xmlType != null;
+ case OxmPackage.EJAVA_TYPE__XML_ROOT_ELEMENT:
+ return xmlRootElement != null;
+ case OxmPackage.EJAVA_TYPE__XML_VIRTUAL_ACCESS_METHODS:
+ return xmlVirtualAccessMethods != null;
+ case OxmPackage.EJAVA_TYPE__XML_SEE_ALSO:
+ return XML_SEE_ALSO_EDEFAULT == null ? xmlSeeAlso != null : !XML_SEE_ALSO_EDEFAULT.equals(xmlSeeAlso);
+ case OxmPackage.EJAVA_TYPE__XML_JAVA_TYPE_ADAPTER:
+ return xmlJavaTypeAdapter != null;
+ case OxmPackage.EJAVA_TYPE__XML_CLASS_EXTRACTOR:
+ return xmlClassExtractor != null;
+ case OxmPackage.EJAVA_TYPE__JAVA_ATTRIBUTES:
+ return javaAttributes != null && !javaAttributes.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (name: ");
+ result.append(name);
+ result.append(", superType: ");
+ result.append(superType);
+ result.append(", xmlAccessorOrder: ");
+ result.append(xmlAccessorOrder);
+ result.append(", xmlAccessorType: ");
+ result.append(xmlAccessorType);
+ result.append(", xmlCustomizer: ");
+ result.append(xmlCustomizer);
+ result.append(", xmlDiscriminatorNode: ");
+ result.append(xmlDiscriminatorNode);
+ result.append(", xmlDiscriminatorValue: ");
+ result.append(xmlDiscriminatorValue);
+ result.append(", xmlInlineBinaryData: ");
+ result.append(xmlInlineBinaryData);
+ result.append(", xmlTransient: ");
+ result.append(xmlTransient);
+ result.append(", xmlNameTransformer: ");
+ result.append(xmlNameTransformer);
+ result.append(", xmlSeeAlso: ");
+ result.append(xmlSeeAlso);
+ result.append(')');
+ return result.toString();
+ }
+
+ // ***** translators *****
+
+ public static Translator buildTranslator() {
+ return new SimpleTranslator(EclipseLink.JAVA_TYPES + "/" + EclipseLink.JAVA_TYPE, OxmPackage.eINSTANCE.getEXmlBindings_JavaTypes(), buildTranslatorChildren());
+ }
+
+ private static Translator[] buildTranslatorChildren() {
+ return new Translator[] {
+ new EJavaAttribute.JavaAttributesTranslator()
+ };
+ }
+} \ No newline at end of file
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EPropertyHolder.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EPropertyHolder.java
new file mode 100644
index 0000000000..9e34cbb797
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EPropertyHolder.java
@@ -0,0 +1,44 @@
+/**
+ */
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.jpt.common.core.resource.xml.EBaseObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EProperty Holder</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EPropertyHolder#getXmlProperties <em>Xml Properties</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEPropertyHolder()
+ * @model kind="class" interface="true" abstract="true"
+ * @extends EBaseObject
+ * @generated
+ */
+public interface EPropertyHolder extends EBaseObject
+{
+ /**
+ * Returns the value of the '<em><b>Xml Properties</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlProperty}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml 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>Xml Properties</em>' containment reference list.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEPropertyHolder_XmlProperties()
+ * @model containment="true"
+ * @generated
+ */
+ EList<EXmlProperty> getXmlProperties();
+
+} // EPropertyHolder
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EReadWriteJavaAttribute.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EReadWriteJavaAttribute.java
new file mode 100644
index 0000000000..abf7719784
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EReadWriteJavaAttribute.java
@@ -0,0 +1,79 @@
+/**
+ */
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+import org.eclipse.jpt.common.core.resource.xml.EBaseObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>ERead Write Java Attribute</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EReadWriteJavaAttribute#isReadOnly <em>Read Only</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EReadWriteJavaAttribute#isWriteOnly <em>Write Only</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEReadWriteJavaAttribute()
+ * @model kind="class" interface="true" abstract="true"
+ * @extends EBaseObject
+ * @generated
+ */
+public interface EReadWriteJavaAttribute extends EBaseObject
+{
+ /**
+ * Returns the value of the '<em><b>Read Only</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Read Only</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Read Only</em>' attribute.
+ * @see #setReadOnly(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEReadWriteJavaAttribute_ReadOnly()
+ * @model
+ * @generated
+ */
+ boolean isReadOnly();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EReadWriteJavaAttribute#isReadOnly <em>Read Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Read Only</em>' attribute.
+ * @see #isReadOnly()
+ * @generated
+ */
+ void setReadOnly(boolean value);
+
+ /**
+ * Returns the value of the '<em><b>Write Only</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Write Only</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Write Only</em>' attribute.
+ * @see #setWriteOnly(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEReadWriteJavaAttribute_WriteOnly()
+ * @model
+ * @generated
+ */
+ boolean isWriteOnly();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EReadWriteJavaAttribute#isWriteOnly <em>Write Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Write Only</em>' attribute.
+ * @see #isWriteOnly()
+ * @generated
+ */
+ void setWriteOnly(boolean value);
+
+} // EReadWriteJavaAttribute
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/ETypedJavaAttribute.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/ETypedJavaAttribute.java
new file mode 100644
index 0000000000..f407bf4dbe
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/ETypedJavaAttribute.java
@@ -0,0 +1,52 @@
+/**
+ */
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+import org.eclipse.jpt.common.core.resource.xml.EBaseObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>ETyped Java Attribute</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.ETypedJavaAttribute#getType <em>Type</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getETypedJavaAttribute()
+ * @model kind="class" interface="true" abstract="true"
+ * @extends EBaseObject
+ * @generated
+ */
+public interface ETypedJavaAttribute extends EBaseObject
+{
+ /**
+ * Returns the value of the '<em><b>Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>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>Type</em>' attribute.
+ * @see #setType(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getETypedJavaAttribute_Type()
+ * @model
+ * @generated
+ */
+ String getType();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.ETypedJavaAttribute#getType <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Type</em>' attribute.
+ * @see #getType()
+ * @generated
+ */
+ void setType(String value);
+
+} // ETypedJavaAttribute
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlAccessMethods.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlAccessMethods.java
new file mode 100644
index 0000000000..72d70ecde6
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlAccessMethods.java
@@ -0,0 +1,260 @@
+/**
+ */
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.jpt.common.core.resource.xml.EBaseObject;
+import org.eclipse.jpt.common.core.resource.xml.EBaseObjectImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EXml Access Methods</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAccessMethods#getGetMethod <em>Get Method</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAccessMethods#getSetMethod <em>Set Method</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlAccessMethods()
+ * @model kind="class"
+ * @extends EBaseObject
+ * @generated
+ */
+public class EXmlAccessMethods extends EBaseObjectImpl implements EBaseObject
+{
+ /**
+ * The default value of the '{@link #getGetMethod() <em>Get Method</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getGetMethod()
+ * @generated
+ * @ordered
+ */
+ protected static final String GET_METHOD_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getGetMethod() <em>Get Method</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getGetMethod()
+ * @generated
+ * @ordered
+ */
+ protected String getMethod = GET_METHOD_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getSetMethod() <em>Set Method</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSetMethod()
+ * @generated
+ * @ordered
+ */
+ protected static final String SET_METHOD_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getSetMethod() <em>Set Method</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSetMethod()
+ * @generated
+ * @ordered
+ */
+ protected String setMethod = SET_METHOD_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EXmlAccessMethods()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OxmPackage.Literals.EXML_ACCESS_METHODS;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Get Method</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Get Method</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Get Method</em>' attribute.
+ * @see #setGetMethod(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlAccessMethods_GetMethod()
+ * @model
+ * @generated
+ */
+ public String getGetMethod()
+ {
+ return getMethod;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAccessMethods#getGetMethod <em>Get Method</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Get Method</em>' attribute.
+ * @see #getGetMethod()
+ * @generated
+ */
+ public void setGetMethod(String newGetMethod)
+ {
+ String oldGetMethod = getMethod;
+ getMethod = newGetMethod;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ACCESS_METHODS__GET_METHOD, oldGetMethod, getMethod));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Set Method</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Set Method</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Set Method</em>' attribute.
+ * @see #setSetMethod(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlAccessMethods_SetMethod()
+ * @model
+ * @generated
+ */
+ public String getSetMethod()
+ {
+ return setMethod;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAccessMethods#getSetMethod <em>Set Method</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Set Method</em>' attribute.
+ * @see #getSetMethod()
+ * @generated
+ */
+ public void setSetMethod(String newSetMethod)
+ {
+ String oldSetMethod = setMethod;
+ setMethod = newSetMethod;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ACCESS_METHODS__SET_METHOD, oldSetMethod, setMethod));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_ACCESS_METHODS__GET_METHOD:
+ return getGetMethod();
+ case OxmPackage.EXML_ACCESS_METHODS__SET_METHOD:
+ return getSetMethod();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_ACCESS_METHODS__GET_METHOD:
+ setGetMethod((String)newValue);
+ return;
+ case OxmPackage.EXML_ACCESS_METHODS__SET_METHOD:
+ setSetMethod((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_ACCESS_METHODS__GET_METHOD:
+ setGetMethod(GET_METHOD_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ACCESS_METHODS__SET_METHOD:
+ setSetMethod(SET_METHOD_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_ACCESS_METHODS__GET_METHOD:
+ return GET_METHOD_EDEFAULT == null ? getMethod != null : !GET_METHOD_EDEFAULT.equals(getMethod);
+ case OxmPackage.EXML_ACCESS_METHODS__SET_METHOD:
+ return SET_METHOD_EDEFAULT == null ? setMethod != null : !SET_METHOD_EDEFAULT.equals(setMethod);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (getMethod: ");
+ result.append(getMethod);
+ result.append(", setMethod: ");
+ result.append(setMethod);
+ result.append(')');
+ return result.toString();
+ }
+
+} // EXmlAccessMethods
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlAccessOrder.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlAccessOrder.java
new file mode 100644
index 0000000000..63f3c3c24c
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlAccessOrder.java
@@ -0,0 +1,223 @@
+/**
+ */
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.List;
+
+import org.eclipse.emf.common.util.Enumerator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the literals of the enumeration '<em><b>EXml Access Order</b></em>',
+ * and utility methods for working with them.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlAccessOrder()
+ * @model
+ * @generated
+ */
+public enum EXmlAccessOrder implements Enumerator
+{
+ /**
+ * The '<em><b>ALPHABETICAL</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #ALPHABETICAL_VALUE
+ * @generated
+ * @ordered
+ */
+ ALPHABETICAL(0, "ALPHABETICAL", "ALPHABETICAL"),
+
+ /**
+ * The '<em><b>UNDEFINED</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #UNDEFINED_VALUE
+ * @generated
+ * @ordered
+ */
+ UNDEFINED(1, "UNDEFINED", "UNDEFINED");
+
+ /**
+ * The '<em><b>ALPHABETICAL</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>ALPHABETICAL</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #ALPHABETICAL
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int ALPHABETICAL_VALUE = 0;
+
+ /**
+ * The '<em><b>UNDEFINED</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>UNDEFINED</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #UNDEFINED
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int UNDEFINED_VALUE = 1;
+
+ /**
+ * An array of all the '<em><b>EXml Access Order</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final EXmlAccessOrder[] VALUES_ARRAY =
+ new EXmlAccessOrder[]
+ {
+ ALPHABETICAL,
+ UNDEFINED,
+ };
+
+ /**
+ * A public read-only list of all the '<em><b>EXml Access Order</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final List<EXmlAccessOrder> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
+
+ /**
+ * Returns the '<em><b>EXml Access Order</b></em>' literal with the specified literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static EXmlAccessOrder get(String literal)
+ {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i)
+ {
+ EXmlAccessOrder result = VALUES_ARRAY[i];
+ if (result.toString().equals(literal))
+ {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>EXml Access Order</b></em>' literal with the specified name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static EXmlAccessOrder getByName(String name)
+ {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i)
+ {
+ EXmlAccessOrder result = VALUES_ARRAY[i];
+ if (result.getName().equals(name))
+ {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>EXml Access Order</b></em>' literal with the specified integer value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static EXmlAccessOrder get(int value)
+ {
+ switch (value)
+ {
+ case ALPHABETICAL_VALUE: return ALPHABETICAL;
+ case UNDEFINED_VALUE: return UNDEFINED;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final int value;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String name;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String literal;
+
+ /**
+ * Only this class can construct instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EXmlAccessOrder(int value, String name, String literal)
+ {
+ this.value = value;
+ this.name = name;
+ this.literal = literal;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getValue()
+ {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getLiteral()
+ {
+ return literal;
+ }
+
+ /**
+ * Returns the literal value of the enumerator, which is its string representation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ return literal;
+ }
+
+} //EXmlAccessOrder
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlAccessType.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlAccessType.java
new file mode 100644
index 0000000000..a062ec16f9
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlAccessType.java
@@ -0,0 +1,277 @@
+/**
+ */
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.List;
+
+import org.eclipse.emf.common.util.Enumerator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the literals of the enumeration '<em><b>EXml Access Type</b></em>',
+ * and utility methods for working with them.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlAccessType()
+ * @model
+ * @generated
+ */
+public enum EXmlAccessType implements Enumerator
+{
+ /**
+ * The '<em><b>FIELD</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #FIELD_VALUE
+ * @generated
+ * @ordered
+ */
+ FIELD(0, "FIELD", "FIELD"),
+
+ /**
+ * The '<em><b>NONE</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #NONE_VALUE
+ * @generated
+ * @ordered
+ */
+ NONE(1, "NONE", "NONE"),
+
+ /**
+ * The '<em><b>PROPERTY</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #PROPERTY_VALUE
+ * @generated
+ * @ordered
+ */
+ PROPERTY(2, "PROPERTY", "PROPERTY"),
+
+ /**
+ * The '<em><b>PUBLIC MEMBER</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #PUBLIC_MEMBER_VALUE
+ * @generated
+ * @ordered
+ */
+ PUBLIC_MEMBER(3, "PUBLIC_MEMBER", "PUBLIC_MEMBER");
+
+ /**
+ * The '<em><b>FIELD</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>FIELD</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #FIELD
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int FIELD_VALUE = 0;
+
+ /**
+ * The '<em><b>NONE</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>NONE</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #NONE
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int NONE_VALUE = 1;
+
+ /**
+ * The '<em><b>PROPERTY</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>PROPERTY</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #PROPERTY
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int PROPERTY_VALUE = 2;
+
+ /**
+ * The '<em><b>PUBLIC MEMBER</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>PUBLIC MEMBER</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #PUBLIC_MEMBER
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int PUBLIC_MEMBER_VALUE = 3;
+
+ /**
+ * An array of all the '<em><b>EXml Access Type</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final EXmlAccessType[] VALUES_ARRAY =
+ new EXmlAccessType[]
+ {
+ FIELD,
+ NONE,
+ PROPERTY,
+ PUBLIC_MEMBER,
+ };
+
+ /**
+ * A public read-only list of all the '<em><b>EXml Access Type</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final List<EXmlAccessType> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
+
+ /**
+ * Returns the '<em><b>EXml Access Type</b></em>' literal with the specified literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static EXmlAccessType get(String literal)
+ {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i)
+ {
+ EXmlAccessType result = VALUES_ARRAY[i];
+ if (result.toString().equals(literal))
+ {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>EXml Access Type</b></em>' literal with the specified name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static EXmlAccessType getByName(String name)
+ {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i)
+ {
+ EXmlAccessType result = VALUES_ARRAY[i];
+ if (result.getName().equals(name))
+ {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>EXml Access Type</b></em>' literal with the specified integer value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static EXmlAccessType get(int value)
+ {
+ switch (value)
+ {
+ case FIELD_VALUE: return FIELD;
+ case NONE_VALUE: return NONE;
+ case PROPERTY_VALUE: return PROPERTY;
+ case PUBLIC_MEMBER_VALUE: return PUBLIC_MEMBER;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final int value;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String name;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String literal;
+
+ /**
+ * Only this class can construct instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EXmlAccessType(int value, String name, String literal)
+ {
+ this.value = value;
+ this.name = name;
+ this.literal = literal;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getValue()
+ {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getLiteral()
+ {
+ return literal;
+ }
+
+ /**
+ * Returns the literal value of the enumerator, which is its string representation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ return literal;
+ }
+
+} //EXmlAccessType
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlAnyAttribute.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlAnyAttribute.java
new file mode 100644
index 0000000000..bfde945c47
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlAnyAttribute.java
@@ -0,0 +1,647 @@
+/*******************************************************************************
+ * Copyright (c) 2012 Oracle. All rights reserved.
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0, which accompanies this distribution
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+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.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.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EStructuralFeature;
+import org.eclipse.wst.common.internal.emf.resource.Translator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EXml Any Attribute</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAnyAttribute#getXmlPath <em>Xml Path</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlAnyAttribute()
+ * @model kind="class"
+ * @generated
+ */
+public class EXmlAnyAttribute extends EJavaAttribute implements EAccessibleJavaAttribute, EContainerJavaAttribute, EReadWriteJavaAttribute, EPropertyHolder
+{
+ /**
+ * The cached value of the '{@link #getXmlAccessMethods() <em>Xml Access Methods</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlAccessMethods()
+ * @generated
+ * @ordered
+ */
+ protected EXmlAccessMethods xmlAccessMethods;
+ /**
+ * The default value of the '{@link #getContainerType() <em>Container Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getContainerType()
+ * @generated
+ * @ordered
+ */
+ protected static final String CONTAINER_TYPE_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getContainerType() <em>Container Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getContainerType()
+ * @generated
+ * @ordered
+ */
+ protected String containerType = CONTAINER_TYPE_EDEFAULT;
+ /**
+ * The default value of the '{@link #isReadOnly() <em>Read Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isReadOnly()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean READ_ONLY_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isReadOnly() <em>Read Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isReadOnly()
+ * @generated
+ * @ordered
+ */
+ protected boolean readOnly = READ_ONLY_EDEFAULT;
+ /**
+ * The default value of the '{@link #isWriteOnly() <em>Write Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isWriteOnly()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean WRITE_ONLY_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isWriteOnly() <em>Write Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isWriteOnly()
+ * @generated
+ * @ordered
+ */
+ protected boolean writeOnly = WRITE_ONLY_EDEFAULT;
+ /**
+ * The cached value of the '{@link #getXmlProperties() <em>Xml Properties</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlProperties()
+ * @generated
+ * @ordered
+ */
+ protected EList<EXmlProperty> xmlProperties;
+ /**
+ * The default value of the '{@link #getXmlPath() <em>Xml Path</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlPath()
+ * @generated
+ * @ordered
+ */
+ protected static final String XML_PATH_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getXmlPath() <em>Xml Path</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlPath()
+ * @generated
+ * @ordered
+ */
+ protected String xmlPath = XML_PATH_EDEFAULT;
+
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EXmlAnyAttribute()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OxmPackage.Literals.EXML_ANY_ATTRIBUTE;
+ }
+
+
+ /**
+ * Returns the value of the '<em><b>Xml Access Methods</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml 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>Xml Access Methods</em>' containment reference.
+ * @see #setXmlAccessMethods(EXmlAccessMethods)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEAccessibleJavaAttribute_XmlAccessMethods()
+ * @model containment="true"
+ * @generated
+ */
+ public EXmlAccessMethods getXmlAccessMethods()
+ {
+ return xmlAccessMethods;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetXmlAccessMethods(EXmlAccessMethods newXmlAccessMethods, NotificationChain msgs)
+ {
+ EXmlAccessMethods oldXmlAccessMethods = xmlAccessMethods;
+ xmlAccessMethods = newXmlAccessMethods;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ANY_ATTRIBUTE__XML_ACCESS_METHODS, oldXmlAccessMethods, newXmlAccessMethods);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAnyAttribute#getXmlAccessMethods <em>Xml Access Methods</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Access Methods</em>' containment reference.
+ * @see #getXmlAccessMethods()
+ * @generated
+ */
+ public void setXmlAccessMethods(EXmlAccessMethods newXmlAccessMethods)
+ {
+ if (newXmlAccessMethods != xmlAccessMethods)
+ {
+ NotificationChain msgs = null;
+ if (xmlAccessMethods != null)
+ msgs = ((InternalEObject)xmlAccessMethods).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_ANY_ATTRIBUTE__XML_ACCESS_METHODS, null, msgs);
+ if (newXmlAccessMethods != null)
+ msgs = ((InternalEObject)newXmlAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_ANY_ATTRIBUTE__XML_ACCESS_METHODS, null, msgs);
+ msgs = basicSetXmlAccessMethods(newXmlAccessMethods, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ANY_ATTRIBUTE__XML_ACCESS_METHODS, newXmlAccessMethods, newXmlAccessMethods));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Container Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Container 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>Container Type</em>' attribute.
+ * @see #setContainerType(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEContainerJavaAttribute_ContainerType()
+ * @model
+ * @generated
+ */
+ public String getContainerType()
+ {
+ return containerType;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAnyAttribute#getContainerType <em>Container Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Container Type</em>' attribute.
+ * @see #getContainerType()
+ * @generated
+ */
+ public void setContainerType(String newContainerType)
+ {
+ String oldContainerType = containerType;
+ containerType = newContainerType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ANY_ATTRIBUTE__CONTAINER_TYPE, oldContainerType, containerType));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Read Only</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Read Only</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Read Only</em>' attribute.
+ * @see #setReadOnly(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEReadWriteJavaAttribute_ReadOnly()
+ * @model
+ * @generated
+ */
+ public boolean isReadOnly()
+ {
+ return readOnly;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAnyAttribute#isReadOnly <em>Read Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Read Only</em>' attribute.
+ * @see #isReadOnly()
+ * @generated
+ */
+ public void setReadOnly(boolean newReadOnly)
+ {
+ boolean oldReadOnly = readOnly;
+ readOnly = newReadOnly;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ANY_ATTRIBUTE__READ_ONLY, oldReadOnly, readOnly));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Write Only</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Write Only</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Write Only</em>' attribute.
+ * @see #setWriteOnly(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEReadWriteJavaAttribute_WriteOnly()
+ * @model
+ * @generated
+ */
+ public boolean isWriteOnly()
+ {
+ return writeOnly;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAnyAttribute#isWriteOnly <em>Write Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Write Only</em>' attribute.
+ * @see #isWriteOnly()
+ * @generated
+ */
+ public void setWriteOnly(boolean newWriteOnly)
+ {
+ boolean oldWriteOnly = writeOnly;
+ writeOnly = newWriteOnly;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ANY_ATTRIBUTE__WRITE_ONLY, oldWriteOnly, writeOnly));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Properties</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlProperty}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml 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>Xml Properties</em>' containment reference list.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEPropertyHolder_XmlProperties()
+ * @model containment="true"
+ * @generated
+ */
+ public EList<EXmlProperty> getXmlProperties()
+ {
+ if (xmlProperties == null)
+ {
+ xmlProperties = new EObjectContainmentEList<EXmlProperty>(EXmlProperty.class, this, OxmPackage.EXML_ANY_ATTRIBUTE__XML_PROPERTIES);
+ }
+ return xmlProperties;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Path</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Path</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Xml Path</em>' attribute.
+ * @see #setXmlPath(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlAnyAttribute_XmlPath()
+ * @model
+ * @generated
+ */
+ public String getXmlPath()
+ {
+ return xmlPath;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAnyAttribute#getXmlPath <em>Xml Path</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Path</em>' attribute.
+ * @see #getXmlPath()
+ * @generated
+ */
+ public void setXmlPath(String newXmlPath)
+ {
+ String oldXmlPath = xmlPath;
+ xmlPath = newXmlPath;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ANY_ATTRIBUTE__XML_PATH, oldXmlPath, xmlPath));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_ANY_ATTRIBUTE__XML_ACCESS_METHODS:
+ return basicSetXmlAccessMethods(null, msgs);
+ case OxmPackage.EXML_ANY_ATTRIBUTE__XML_PROPERTIES:
+ return ((InternalEList<?>)getXmlProperties()).basicRemove(otherEnd, 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 OxmPackage.EXML_ANY_ATTRIBUTE__XML_ACCESS_METHODS:
+ return getXmlAccessMethods();
+ case OxmPackage.EXML_ANY_ATTRIBUTE__CONTAINER_TYPE:
+ return getContainerType();
+ case OxmPackage.EXML_ANY_ATTRIBUTE__READ_ONLY:
+ return isReadOnly();
+ case OxmPackage.EXML_ANY_ATTRIBUTE__WRITE_ONLY:
+ return isWriteOnly();
+ case OxmPackage.EXML_ANY_ATTRIBUTE__XML_PROPERTIES:
+ return getXmlProperties();
+ case OxmPackage.EXML_ANY_ATTRIBUTE__XML_PATH:
+ return getXmlPath();
+ }
+ 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 OxmPackage.EXML_ANY_ATTRIBUTE__XML_ACCESS_METHODS:
+ setXmlAccessMethods((EXmlAccessMethods)newValue);
+ return;
+ case OxmPackage.EXML_ANY_ATTRIBUTE__CONTAINER_TYPE:
+ setContainerType((String)newValue);
+ return;
+ case OxmPackage.EXML_ANY_ATTRIBUTE__READ_ONLY:
+ setReadOnly((Boolean)newValue);
+ return;
+ case OxmPackage.EXML_ANY_ATTRIBUTE__WRITE_ONLY:
+ setWriteOnly((Boolean)newValue);
+ return;
+ case OxmPackage.EXML_ANY_ATTRIBUTE__XML_PROPERTIES:
+ getXmlProperties().clear();
+ getXmlProperties().addAll((Collection<? extends EXmlProperty>)newValue);
+ return;
+ case OxmPackage.EXML_ANY_ATTRIBUTE__XML_PATH:
+ setXmlPath((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_ANY_ATTRIBUTE__XML_ACCESS_METHODS:
+ setXmlAccessMethods((EXmlAccessMethods)null);
+ return;
+ case OxmPackage.EXML_ANY_ATTRIBUTE__CONTAINER_TYPE:
+ setContainerType(CONTAINER_TYPE_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ANY_ATTRIBUTE__READ_ONLY:
+ setReadOnly(READ_ONLY_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ANY_ATTRIBUTE__WRITE_ONLY:
+ setWriteOnly(WRITE_ONLY_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ANY_ATTRIBUTE__XML_PROPERTIES:
+ getXmlProperties().clear();
+ return;
+ case OxmPackage.EXML_ANY_ATTRIBUTE__XML_PATH:
+ setXmlPath(XML_PATH_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_ANY_ATTRIBUTE__XML_ACCESS_METHODS:
+ return xmlAccessMethods != null;
+ case OxmPackage.EXML_ANY_ATTRIBUTE__CONTAINER_TYPE:
+ return CONTAINER_TYPE_EDEFAULT == null ? containerType != null : !CONTAINER_TYPE_EDEFAULT.equals(containerType);
+ case OxmPackage.EXML_ANY_ATTRIBUTE__READ_ONLY:
+ return readOnly != READ_ONLY_EDEFAULT;
+ case OxmPackage.EXML_ANY_ATTRIBUTE__WRITE_ONLY:
+ return writeOnly != WRITE_ONLY_EDEFAULT;
+ case OxmPackage.EXML_ANY_ATTRIBUTE__XML_PROPERTIES:
+ return xmlProperties != null && !xmlProperties.isEmpty();
+ case OxmPackage.EXML_ANY_ATTRIBUTE__XML_PATH:
+ return XML_PATH_EDEFAULT == null ? xmlPath != null : !XML_PATH_EDEFAULT.equals(xmlPath);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)
+ {
+ if (baseClass == EAccessibleJavaAttribute.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_ANY_ATTRIBUTE__XML_ACCESS_METHODS: return OxmPackage.EACCESSIBLE_JAVA_ATTRIBUTE__XML_ACCESS_METHODS;
+ default: return -1;
+ }
+ }
+ if (baseClass == EContainerJavaAttribute.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_ANY_ATTRIBUTE__CONTAINER_TYPE: return OxmPackage.ECONTAINER_JAVA_ATTRIBUTE__CONTAINER_TYPE;
+ default: return -1;
+ }
+ }
+ if (baseClass == EReadWriteJavaAttribute.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_ANY_ATTRIBUTE__READ_ONLY: return OxmPackage.EREAD_WRITE_JAVA_ATTRIBUTE__READ_ONLY;
+ case OxmPackage.EXML_ANY_ATTRIBUTE__WRITE_ONLY: return OxmPackage.EREAD_WRITE_JAVA_ATTRIBUTE__WRITE_ONLY;
+ default: return -1;
+ }
+ }
+ if (baseClass == EPropertyHolder.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_ANY_ATTRIBUTE__XML_PROPERTIES: return OxmPackage.EPROPERTY_HOLDER__XML_PROPERTIES;
+ 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 == EAccessibleJavaAttribute.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.EACCESSIBLE_JAVA_ATTRIBUTE__XML_ACCESS_METHODS: return OxmPackage.EXML_ANY_ATTRIBUTE__XML_ACCESS_METHODS;
+ default: return -1;
+ }
+ }
+ if (baseClass == EContainerJavaAttribute.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.ECONTAINER_JAVA_ATTRIBUTE__CONTAINER_TYPE: return OxmPackage.EXML_ANY_ATTRIBUTE__CONTAINER_TYPE;
+ default: return -1;
+ }
+ }
+ if (baseClass == EReadWriteJavaAttribute.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.EREAD_WRITE_JAVA_ATTRIBUTE__READ_ONLY: return OxmPackage.EXML_ANY_ATTRIBUTE__READ_ONLY;
+ case OxmPackage.EREAD_WRITE_JAVA_ATTRIBUTE__WRITE_ONLY: return OxmPackage.EXML_ANY_ATTRIBUTE__WRITE_ONLY;
+ default: return -1;
+ }
+ }
+ if (baseClass == EPropertyHolder.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.EPROPERTY_HOLDER__XML_PROPERTIES: return OxmPackage.EXML_ANY_ATTRIBUTE__XML_PROPERTIES;
+ 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(" (containerType: ");
+ result.append(containerType);
+ result.append(", readOnly: ");
+ result.append(readOnly);
+ result.append(", writeOnly: ");
+ result.append(writeOnly);
+ result.append(", xmlPath: ");
+ result.append(xmlPath);
+ result.append(')');
+ return result.toString();
+ }
+
+
+ // ***** translators *****
+
+ static class XmlAnyAttributeTranslator
+ extends AbstractJavaAttributeTranslator {
+
+ XmlAnyAttributeTranslator(String domPathAndName, EStructuralFeature eStructuralFeature) {
+ super(domPathAndName, eStructuralFeature, buildTranslatorChildren());
+ }
+
+ private static Translator[] buildTranslatorChildren() {
+ return new Translator[] {
+ };
+ }
+
+ @Override
+ public EObject createEMFObject(String nodeName, String readAheadName) {
+ return OxmFactory.eINSTANCE.createEXmlAnyAttribute();
+ }
+ }
+}
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlAnyElement.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlAnyElement.java
new file mode 100644
index 0000000000..e2a61c5938
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlAnyElement.java
@@ -0,0 +1,1024 @@
+/*******************************************************************************
+ * Copyright (c) 2012 Oracle. All rights reserved.
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0, which accompanies this distribution
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+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.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.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EStructuralFeature;
+import org.eclipse.wst.common.internal.emf.resource.Translator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EXml Any Element</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAnyElement#isXmlMixed <em>Xml Mixed</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAnyElement#isLax <em>Lax</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAnyElement#getDomHandler <em>Dom Handler</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAnyElement#getXmlPath <em>Xml Path</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAnyElement#getXmlElementRefs <em>Xml Element Refs</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlAnyElement()
+ * @model kind="class"
+ * @generated
+ */
+public class EXmlAnyElement extends EJavaAttribute implements EAccessibleJavaAttribute, EAdaptableJavaAttribute, EContainerJavaAttribute, EReadWriteJavaAttribute, EPropertyHolder
+{
+ /**
+ * The cached value of the '{@link #getXmlAccessMethods() <em>Xml Access Methods</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlAccessMethods()
+ * @generated
+ * @ordered
+ */
+ protected EXmlAccessMethods xmlAccessMethods;
+ /**
+ * The cached value of the '{@link #getXmlJavaTypeAdapter() <em>Xml Java Type Adapter</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlJavaTypeAdapter()
+ * @generated
+ * @ordered
+ */
+ protected EXmlJavaTypeAdapter xmlJavaTypeAdapter;
+ /**
+ * The default value of the '{@link #getContainerType() <em>Container Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getContainerType()
+ * @generated
+ * @ordered
+ */
+ protected static final String CONTAINER_TYPE_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getContainerType() <em>Container Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getContainerType()
+ * @generated
+ * @ordered
+ */
+ protected String containerType = CONTAINER_TYPE_EDEFAULT;
+ /**
+ * The default value of the '{@link #isReadOnly() <em>Read Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isReadOnly()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean READ_ONLY_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isReadOnly() <em>Read Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isReadOnly()
+ * @generated
+ * @ordered
+ */
+ protected boolean readOnly = READ_ONLY_EDEFAULT;
+ /**
+ * The default value of the '{@link #isWriteOnly() <em>Write Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isWriteOnly()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean WRITE_ONLY_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isWriteOnly() <em>Write Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isWriteOnly()
+ * @generated
+ * @ordered
+ */
+ protected boolean writeOnly = WRITE_ONLY_EDEFAULT;
+ /**
+ * The cached value of the '{@link #getXmlProperties() <em>Xml Properties</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlProperties()
+ * @generated
+ * @ordered
+ */
+ protected EList<EXmlProperty> xmlProperties;
+ /**
+ * The default value of the '{@link #isXmlMixed() <em>Xml Mixed</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXmlMixed()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean XML_MIXED_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isXmlMixed() <em>Xml Mixed</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXmlMixed()
+ * @generated
+ * @ordered
+ */
+ protected boolean xmlMixed = XML_MIXED_EDEFAULT;
+ /**
+ * The default value of the '{@link #isLax() <em>Lax</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isLax()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean LAX_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isLax() <em>Lax</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isLax()
+ * @generated
+ * @ordered
+ */
+ protected boolean lax = LAX_EDEFAULT;
+ /**
+ * The default value of the '{@link #getDomHandler() <em>Dom Handler</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDomHandler()
+ * @generated
+ * @ordered
+ */
+ protected static final String DOM_HANDLER_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getDomHandler() <em>Dom Handler</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDomHandler()
+ * @generated
+ * @ordered
+ */
+ protected String domHandler = DOM_HANDLER_EDEFAULT;
+ /**
+ * The default value of the '{@link #getXmlPath() <em>Xml Path</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlPath()
+ * @generated
+ * @ordered
+ */
+ protected static final String XML_PATH_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getXmlPath() <em>Xml Path</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlPath()
+ * @generated
+ * @ordered
+ */
+ protected String xmlPath = XML_PATH_EDEFAULT;
+ /**
+ * The cached value of the '{@link #getXmlElementRefs() <em>Xml Element Refs</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlElementRefs()
+ * @generated
+ * @ordered
+ */
+ protected EXmlElementRefs xmlElementRefs;
+
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EXmlAnyElement()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OxmPackage.Literals.EXML_ANY_ELEMENT;
+ }
+
+
+ /**
+ * Returns the value of the '<em><b>Xml Access Methods</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml 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>Xml Access Methods</em>' containment reference.
+ * @see #setXmlAccessMethods(EXmlAccessMethods)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEAccessibleJavaAttribute_XmlAccessMethods()
+ * @model containment="true"
+ * @generated
+ */
+ public EXmlAccessMethods getXmlAccessMethods()
+ {
+ return xmlAccessMethods;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetXmlAccessMethods(EXmlAccessMethods newXmlAccessMethods, NotificationChain msgs)
+ {
+ EXmlAccessMethods oldXmlAccessMethods = xmlAccessMethods;
+ xmlAccessMethods = newXmlAccessMethods;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ANY_ELEMENT__XML_ACCESS_METHODS, oldXmlAccessMethods, newXmlAccessMethods);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAnyElement#getXmlAccessMethods <em>Xml Access Methods</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Access Methods</em>' containment reference.
+ * @see #getXmlAccessMethods()
+ * @generated
+ */
+ public void setXmlAccessMethods(EXmlAccessMethods newXmlAccessMethods)
+ {
+ if (newXmlAccessMethods != xmlAccessMethods)
+ {
+ NotificationChain msgs = null;
+ if (xmlAccessMethods != null)
+ msgs = ((InternalEObject)xmlAccessMethods).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_ANY_ELEMENT__XML_ACCESS_METHODS, null, msgs);
+ if (newXmlAccessMethods != null)
+ msgs = ((InternalEObject)newXmlAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_ANY_ELEMENT__XML_ACCESS_METHODS, null, msgs);
+ msgs = basicSetXmlAccessMethods(newXmlAccessMethods, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ANY_ELEMENT__XML_ACCESS_METHODS, newXmlAccessMethods, newXmlAccessMethods));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Java Type Adapter</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Java Type Adapter</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>Xml Java Type Adapter</em>' containment reference.
+ * @see #setXmlJavaTypeAdapter(EXmlJavaTypeAdapter)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEAdaptableJavaAttribute_XmlJavaTypeAdapter()
+ * @model containment="true"
+ * @generated
+ */
+ public EXmlJavaTypeAdapter getXmlJavaTypeAdapter()
+ {
+ return xmlJavaTypeAdapter;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetXmlJavaTypeAdapter(EXmlJavaTypeAdapter newXmlJavaTypeAdapter, NotificationChain msgs)
+ {
+ EXmlJavaTypeAdapter oldXmlJavaTypeAdapter = xmlJavaTypeAdapter;
+ xmlJavaTypeAdapter = newXmlJavaTypeAdapter;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ANY_ELEMENT__XML_JAVA_TYPE_ADAPTER, oldXmlJavaTypeAdapter, newXmlJavaTypeAdapter);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAnyElement#getXmlJavaTypeAdapter <em>Xml Java Type Adapter</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Java Type Adapter</em>' containment reference.
+ * @see #getXmlJavaTypeAdapter()
+ * @generated
+ */
+ public void setXmlJavaTypeAdapter(EXmlJavaTypeAdapter newXmlJavaTypeAdapter)
+ {
+ if (newXmlJavaTypeAdapter != xmlJavaTypeAdapter)
+ {
+ NotificationChain msgs = null;
+ if (xmlJavaTypeAdapter != null)
+ msgs = ((InternalEObject)xmlJavaTypeAdapter).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_ANY_ELEMENT__XML_JAVA_TYPE_ADAPTER, null, msgs);
+ if (newXmlJavaTypeAdapter != null)
+ msgs = ((InternalEObject)newXmlJavaTypeAdapter).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_ANY_ELEMENT__XML_JAVA_TYPE_ADAPTER, null, msgs);
+ msgs = basicSetXmlJavaTypeAdapter(newXmlJavaTypeAdapter, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ANY_ELEMENT__XML_JAVA_TYPE_ADAPTER, newXmlJavaTypeAdapter, newXmlJavaTypeAdapter));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Container Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Container 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>Container Type</em>' attribute.
+ * @see #setContainerType(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEContainerJavaAttribute_ContainerType()
+ * @model
+ * @generated
+ */
+ public String getContainerType()
+ {
+ return containerType;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAnyElement#getContainerType <em>Container Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Container Type</em>' attribute.
+ * @see #getContainerType()
+ * @generated
+ */
+ public void setContainerType(String newContainerType)
+ {
+ String oldContainerType = containerType;
+ containerType = newContainerType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ANY_ELEMENT__CONTAINER_TYPE, oldContainerType, containerType));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Read Only</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Read Only</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Read Only</em>' attribute.
+ * @see #setReadOnly(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEReadWriteJavaAttribute_ReadOnly()
+ * @model
+ * @generated
+ */
+ public boolean isReadOnly()
+ {
+ return readOnly;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAnyElement#isReadOnly <em>Read Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Read Only</em>' attribute.
+ * @see #isReadOnly()
+ * @generated
+ */
+ public void setReadOnly(boolean newReadOnly)
+ {
+ boolean oldReadOnly = readOnly;
+ readOnly = newReadOnly;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ANY_ELEMENT__READ_ONLY, oldReadOnly, readOnly));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Write Only</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Write Only</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Write Only</em>' attribute.
+ * @see #setWriteOnly(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEReadWriteJavaAttribute_WriteOnly()
+ * @model
+ * @generated
+ */
+ public boolean isWriteOnly()
+ {
+ return writeOnly;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAnyElement#isWriteOnly <em>Write Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Write Only</em>' attribute.
+ * @see #isWriteOnly()
+ * @generated
+ */
+ public void setWriteOnly(boolean newWriteOnly)
+ {
+ boolean oldWriteOnly = writeOnly;
+ writeOnly = newWriteOnly;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ANY_ELEMENT__WRITE_ONLY, oldWriteOnly, writeOnly));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Properties</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlProperty}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml 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>Xml Properties</em>' containment reference list.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEPropertyHolder_XmlProperties()
+ * @model containment="true"
+ * @generated
+ */
+ public EList<EXmlProperty> getXmlProperties()
+ {
+ if (xmlProperties == null)
+ {
+ xmlProperties = new EObjectContainmentEList<EXmlProperty>(EXmlProperty.class, this, OxmPackage.EXML_ANY_ELEMENT__XML_PROPERTIES);
+ }
+ return xmlProperties;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Mixed</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Mixed</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Xml Mixed</em>' attribute.
+ * @see #setXmlMixed(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlAnyElement_XmlMixed()
+ * @model
+ * @generated
+ */
+ public boolean isXmlMixed()
+ {
+ return xmlMixed;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAnyElement#isXmlMixed <em>Xml Mixed</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Mixed</em>' attribute.
+ * @see #isXmlMixed()
+ * @generated
+ */
+ public void setXmlMixed(boolean newXmlMixed)
+ {
+ boolean oldXmlMixed = xmlMixed;
+ xmlMixed = newXmlMixed;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ANY_ELEMENT__XML_MIXED, oldXmlMixed, xmlMixed));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Lax</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Lax</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Lax</em>' attribute.
+ * @see #setLax(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlAnyElement_Lax()
+ * @model
+ * @generated
+ */
+ public boolean isLax()
+ {
+ return lax;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAnyElement#isLax <em>Lax</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Lax</em>' attribute.
+ * @see #isLax()
+ * @generated
+ */
+ public void setLax(boolean newLax)
+ {
+ boolean oldLax = lax;
+ lax = newLax;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ANY_ELEMENT__LAX, oldLax, lax));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Dom Handler</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Dom Handler</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Dom Handler</em>' attribute.
+ * @see #setDomHandler(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlAnyElement_DomHandler()
+ * @model
+ * @generated
+ */
+ public String getDomHandler()
+ {
+ return domHandler;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAnyElement#getDomHandler <em>Dom Handler</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Dom Handler</em>' attribute.
+ * @see #getDomHandler()
+ * @generated
+ */
+ public void setDomHandler(String newDomHandler)
+ {
+ String oldDomHandler = domHandler;
+ domHandler = newDomHandler;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ANY_ELEMENT__DOM_HANDLER, oldDomHandler, domHandler));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Path</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Path</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Xml Path</em>' attribute.
+ * @see #setXmlPath(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlAnyElement_XmlPath()
+ * @model
+ * @generated
+ */
+ public String getXmlPath()
+ {
+ return xmlPath;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAnyElement#getXmlPath <em>Xml Path</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Path</em>' attribute.
+ * @see #getXmlPath()
+ * @generated
+ */
+ public void setXmlPath(String newXmlPath)
+ {
+ String oldXmlPath = xmlPath;
+ xmlPath = newXmlPath;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ANY_ELEMENT__XML_PATH, oldXmlPath, xmlPath));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Element Refs</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Element Refs</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>Xml Element Refs</em>' containment reference.
+ * @see #setXmlElementRefs(EXmlElementRefs)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlAnyElement_XmlElementRefs()
+ * @model containment="true"
+ * @generated
+ */
+ public EXmlElementRefs getXmlElementRefs()
+ {
+ return xmlElementRefs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetXmlElementRefs(EXmlElementRefs newXmlElementRefs, NotificationChain msgs)
+ {
+ EXmlElementRefs oldXmlElementRefs = xmlElementRefs;
+ xmlElementRefs = newXmlElementRefs;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ANY_ELEMENT__XML_ELEMENT_REFS, oldXmlElementRefs, newXmlElementRefs);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAnyElement#getXmlElementRefs <em>Xml Element Refs</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Element Refs</em>' containment reference.
+ * @see #getXmlElementRefs()
+ * @generated
+ */
+ public void setXmlElementRefs(EXmlElementRefs newXmlElementRefs)
+ {
+ if (newXmlElementRefs != xmlElementRefs)
+ {
+ NotificationChain msgs = null;
+ if (xmlElementRefs != null)
+ msgs = ((InternalEObject)xmlElementRefs).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_ANY_ELEMENT__XML_ELEMENT_REFS, null, msgs);
+ if (newXmlElementRefs != null)
+ msgs = ((InternalEObject)newXmlElementRefs).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_ANY_ELEMENT__XML_ELEMENT_REFS, null, msgs);
+ msgs = basicSetXmlElementRefs(newXmlElementRefs, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ANY_ELEMENT__XML_ELEMENT_REFS, newXmlElementRefs, newXmlElementRefs));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_ANY_ELEMENT__XML_ACCESS_METHODS:
+ return basicSetXmlAccessMethods(null, msgs);
+ case OxmPackage.EXML_ANY_ELEMENT__XML_JAVA_TYPE_ADAPTER:
+ return basicSetXmlJavaTypeAdapter(null, msgs);
+ case OxmPackage.EXML_ANY_ELEMENT__XML_PROPERTIES:
+ return ((InternalEList<?>)getXmlProperties()).basicRemove(otherEnd, msgs);
+ case OxmPackage.EXML_ANY_ELEMENT__XML_ELEMENT_REFS:
+ return basicSetXmlElementRefs(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 OxmPackage.EXML_ANY_ELEMENT__XML_ACCESS_METHODS:
+ return getXmlAccessMethods();
+ case OxmPackage.EXML_ANY_ELEMENT__XML_JAVA_TYPE_ADAPTER:
+ return getXmlJavaTypeAdapter();
+ case OxmPackage.EXML_ANY_ELEMENT__CONTAINER_TYPE:
+ return getContainerType();
+ case OxmPackage.EXML_ANY_ELEMENT__READ_ONLY:
+ return isReadOnly();
+ case OxmPackage.EXML_ANY_ELEMENT__WRITE_ONLY:
+ return isWriteOnly();
+ case OxmPackage.EXML_ANY_ELEMENT__XML_PROPERTIES:
+ return getXmlProperties();
+ case OxmPackage.EXML_ANY_ELEMENT__XML_MIXED:
+ return isXmlMixed();
+ case OxmPackage.EXML_ANY_ELEMENT__LAX:
+ return isLax();
+ case OxmPackage.EXML_ANY_ELEMENT__DOM_HANDLER:
+ return getDomHandler();
+ case OxmPackage.EXML_ANY_ELEMENT__XML_PATH:
+ return getXmlPath();
+ case OxmPackage.EXML_ANY_ELEMENT__XML_ELEMENT_REFS:
+ return getXmlElementRefs();
+ }
+ 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 OxmPackage.EXML_ANY_ELEMENT__XML_ACCESS_METHODS:
+ setXmlAccessMethods((EXmlAccessMethods)newValue);
+ return;
+ case OxmPackage.EXML_ANY_ELEMENT__XML_JAVA_TYPE_ADAPTER:
+ setXmlJavaTypeAdapter((EXmlJavaTypeAdapter)newValue);
+ return;
+ case OxmPackage.EXML_ANY_ELEMENT__CONTAINER_TYPE:
+ setContainerType((String)newValue);
+ return;
+ case OxmPackage.EXML_ANY_ELEMENT__READ_ONLY:
+ setReadOnly((Boolean)newValue);
+ return;
+ case OxmPackage.EXML_ANY_ELEMENT__WRITE_ONLY:
+ setWriteOnly((Boolean)newValue);
+ return;
+ case OxmPackage.EXML_ANY_ELEMENT__XML_PROPERTIES:
+ getXmlProperties().clear();
+ getXmlProperties().addAll((Collection<? extends EXmlProperty>)newValue);
+ return;
+ case OxmPackage.EXML_ANY_ELEMENT__XML_MIXED:
+ setXmlMixed((Boolean)newValue);
+ return;
+ case OxmPackage.EXML_ANY_ELEMENT__LAX:
+ setLax((Boolean)newValue);
+ return;
+ case OxmPackage.EXML_ANY_ELEMENT__DOM_HANDLER:
+ setDomHandler((String)newValue);
+ return;
+ case OxmPackage.EXML_ANY_ELEMENT__XML_PATH:
+ setXmlPath((String)newValue);
+ return;
+ case OxmPackage.EXML_ANY_ELEMENT__XML_ELEMENT_REFS:
+ setXmlElementRefs((EXmlElementRefs)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_ANY_ELEMENT__XML_ACCESS_METHODS:
+ setXmlAccessMethods((EXmlAccessMethods)null);
+ return;
+ case OxmPackage.EXML_ANY_ELEMENT__XML_JAVA_TYPE_ADAPTER:
+ setXmlJavaTypeAdapter((EXmlJavaTypeAdapter)null);
+ return;
+ case OxmPackage.EXML_ANY_ELEMENT__CONTAINER_TYPE:
+ setContainerType(CONTAINER_TYPE_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ANY_ELEMENT__READ_ONLY:
+ setReadOnly(READ_ONLY_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ANY_ELEMENT__WRITE_ONLY:
+ setWriteOnly(WRITE_ONLY_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ANY_ELEMENT__XML_PROPERTIES:
+ getXmlProperties().clear();
+ return;
+ case OxmPackage.EXML_ANY_ELEMENT__XML_MIXED:
+ setXmlMixed(XML_MIXED_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ANY_ELEMENT__LAX:
+ setLax(LAX_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ANY_ELEMENT__DOM_HANDLER:
+ setDomHandler(DOM_HANDLER_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ANY_ELEMENT__XML_PATH:
+ setXmlPath(XML_PATH_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ANY_ELEMENT__XML_ELEMENT_REFS:
+ setXmlElementRefs((EXmlElementRefs)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_ANY_ELEMENT__XML_ACCESS_METHODS:
+ return xmlAccessMethods != null;
+ case OxmPackage.EXML_ANY_ELEMENT__XML_JAVA_TYPE_ADAPTER:
+ return xmlJavaTypeAdapter != null;
+ case OxmPackage.EXML_ANY_ELEMENT__CONTAINER_TYPE:
+ return CONTAINER_TYPE_EDEFAULT == null ? containerType != null : !CONTAINER_TYPE_EDEFAULT.equals(containerType);
+ case OxmPackage.EXML_ANY_ELEMENT__READ_ONLY:
+ return readOnly != READ_ONLY_EDEFAULT;
+ case OxmPackage.EXML_ANY_ELEMENT__WRITE_ONLY:
+ return writeOnly != WRITE_ONLY_EDEFAULT;
+ case OxmPackage.EXML_ANY_ELEMENT__XML_PROPERTIES:
+ return xmlProperties != null && !xmlProperties.isEmpty();
+ case OxmPackage.EXML_ANY_ELEMENT__XML_MIXED:
+ return xmlMixed != XML_MIXED_EDEFAULT;
+ case OxmPackage.EXML_ANY_ELEMENT__LAX:
+ return lax != LAX_EDEFAULT;
+ case OxmPackage.EXML_ANY_ELEMENT__DOM_HANDLER:
+ return DOM_HANDLER_EDEFAULT == null ? domHandler != null : !DOM_HANDLER_EDEFAULT.equals(domHandler);
+ case OxmPackage.EXML_ANY_ELEMENT__XML_PATH:
+ return XML_PATH_EDEFAULT == null ? xmlPath != null : !XML_PATH_EDEFAULT.equals(xmlPath);
+ case OxmPackage.EXML_ANY_ELEMENT__XML_ELEMENT_REFS:
+ return xmlElementRefs != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)
+ {
+ if (baseClass == EAccessibleJavaAttribute.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_ANY_ELEMENT__XML_ACCESS_METHODS: return OxmPackage.EACCESSIBLE_JAVA_ATTRIBUTE__XML_ACCESS_METHODS;
+ default: return -1;
+ }
+ }
+ if (baseClass == EAdaptableJavaAttribute.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_ANY_ELEMENT__XML_JAVA_TYPE_ADAPTER: return OxmPackage.EADAPTABLE_JAVA_ATTRIBUTE__XML_JAVA_TYPE_ADAPTER;
+ default: return -1;
+ }
+ }
+ if (baseClass == EContainerJavaAttribute.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_ANY_ELEMENT__CONTAINER_TYPE: return OxmPackage.ECONTAINER_JAVA_ATTRIBUTE__CONTAINER_TYPE;
+ default: return -1;
+ }
+ }
+ if (baseClass == EReadWriteJavaAttribute.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_ANY_ELEMENT__READ_ONLY: return OxmPackage.EREAD_WRITE_JAVA_ATTRIBUTE__READ_ONLY;
+ case OxmPackage.EXML_ANY_ELEMENT__WRITE_ONLY: return OxmPackage.EREAD_WRITE_JAVA_ATTRIBUTE__WRITE_ONLY;
+ default: return -1;
+ }
+ }
+ if (baseClass == EPropertyHolder.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_ANY_ELEMENT__XML_PROPERTIES: return OxmPackage.EPROPERTY_HOLDER__XML_PROPERTIES;
+ 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 == EAccessibleJavaAttribute.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.EACCESSIBLE_JAVA_ATTRIBUTE__XML_ACCESS_METHODS: return OxmPackage.EXML_ANY_ELEMENT__XML_ACCESS_METHODS;
+ default: return -1;
+ }
+ }
+ if (baseClass == EAdaptableJavaAttribute.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.EADAPTABLE_JAVA_ATTRIBUTE__XML_JAVA_TYPE_ADAPTER: return OxmPackage.EXML_ANY_ELEMENT__XML_JAVA_TYPE_ADAPTER;
+ default: return -1;
+ }
+ }
+ if (baseClass == EContainerJavaAttribute.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.ECONTAINER_JAVA_ATTRIBUTE__CONTAINER_TYPE: return OxmPackage.EXML_ANY_ELEMENT__CONTAINER_TYPE;
+ default: return -1;
+ }
+ }
+ if (baseClass == EReadWriteJavaAttribute.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.EREAD_WRITE_JAVA_ATTRIBUTE__READ_ONLY: return OxmPackage.EXML_ANY_ELEMENT__READ_ONLY;
+ case OxmPackage.EREAD_WRITE_JAVA_ATTRIBUTE__WRITE_ONLY: return OxmPackage.EXML_ANY_ELEMENT__WRITE_ONLY;
+ default: return -1;
+ }
+ }
+ if (baseClass == EPropertyHolder.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.EPROPERTY_HOLDER__XML_PROPERTIES: return OxmPackage.EXML_ANY_ELEMENT__XML_PROPERTIES;
+ 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(" (containerType: ");
+ result.append(containerType);
+ result.append(", readOnly: ");
+ result.append(readOnly);
+ result.append(", writeOnly: ");
+ result.append(writeOnly);
+ result.append(", xmlMixed: ");
+ result.append(xmlMixed);
+ result.append(", lax: ");
+ result.append(lax);
+ result.append(", domHandler: ");
+ result.append(domHandler);
+ result.append(", xmlPath: ");
+ result.append(xmlPath);
+ result.append(')');
+ return result.toString();
+ }
+
+
+ // ***** translators *****
+
+ static class XmlAnyElementTranslator
+ extends AbstractJavaAttributeTranslator {
+
+ XmlAnyElementTranslator(String domPathAndName, EStructuralFeature eStructuralFeature) {
+ super(domPathAndName, eStructuralFeature, buildTranslatorChildren());
+ }
+
+ private static Translator[] buildTranslatorChildren() {
+ return new Translator[] {
+ };
+ }
+
+ @Override
+ public EObject createEMFObject(String nodeName, String readAheadName) {
+ return OxmFactory.eINSTANCE.createEXmlAnyElement();
+ }
+ }
+}
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlAttribute.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlAttribute.java
new file mode 100644
index 0000000000..c3b282095c
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlAttribute.java
@@ -0,0 +1,1651 @@
+/*******************************************************************************
+ * Copyright (c) 2012 Oracle. All rights reserved.
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0, which accompanies this distribution
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+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.EObject;
+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.wst.common.internal.emf.resource.Translator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EXml Attribute</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#getNamespace <em>Namespace</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#isRequired <em>Required</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#isXmlId <em>Xml Id</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#isXmlIdRef <em>Xml Id Ref</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#isXmlKey <em>Xml Key</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#isXmlList <em>Xml List</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#isXmlInlineBinaryData <em>Xml Inline Binary Data</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#isXmlAttachmentRef <em>Xml Attachment Ref</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#getXmlMimeType <em>Xml Mime Type</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#getXmlPath <em>Xml Path</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#getXmlAbstractNullPolicy <em>Xml Abstract Null Policy</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#getXmlSchemaType <em>Xml Schema Type</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlAttribute()
+ * @model kind="class"
+ * @generated
+ */
+public class EXmlAttribute extends EJavaAttribute implements EAccessibleJavaAttribute, EAdaptableJavaAttribute, EContainerJavaAttribute, EReadWriteJavaAttribute, ETypedJavaAttribute, EPropertyHolder
+{
+ /**
+ * The cached value of the '{@link #getXmlAccessMethods() <em>Xml Access Methods</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlAccessMethods()
+ * @generated
+ * @ordered
+ */
+ protected EXmlAccessMethods xmlAccessMethods;
+ /**
+ * The cached value of the '{@link #getXmlJavaTypeAdapter() <em>Xml Java Type Adapter</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlJavaTypeAdapter()
+ * @generated
+ * @ordered
+ */
+ protected EXmlJavaTypeAdapter xmlJavaTypeAdapter;
+ /**
+ * The default value of the '{@link #getContainerType() <em>Container Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getContainerType()
+ * @generated
+ * @ordered
+ */
+ protected static final String CONTAINER_TYPE_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getContainerType() <em>Container Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getContainerType()
+ * @generated
+ * @ordered
+ */
+ protected String containerType = CONTAINER_TYPE_EDEFAULT;
+ /**
+ * The default value of the '{@link #isReadOnly() <em>Read Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isReadOnly()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean READ_ONLY_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isReadOnly() <em>Read Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isReadOnly()
+ * @generated
+ * @ordered
+ */
+ protected boolean readOnly = READ_ONLY_EDEFAULT;
+ /**
+ * The default value of the '{@link #isWriteOnly() <em>Write Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isWriteOnly()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean WRITE_ONLY_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isWriteOnly() <em>Write Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isWriteOnly()
+ * @generated
+ * @ordered
+ */
+ protected boolean writeOnly = WRITE_ONLY_EDEFAULT;
+ /**
+ * The default value of the '{@link #getType() <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected static final String TYPE_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getType() <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected String type = TYPE_EDEFAULT;
+ /**
+ * The cached value of the '{@link #getXmlProperties() <em>Xml Properties</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlProperties()
+ * @generated
+ * @ordered
+ */
+ protected EList<EXmlProperty> xmlProperties;
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+ /**
+ * The default value of the '{@link #getNamespace() <em>Namespace</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getNamespace()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAMESPACE_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getNamespace() <em>Namespace</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getNamespace()
+ * @generated
+ * @ordered
+ */
+ protected String namespace = NAMESPACE_EDEFAULT;
+ /**
+ * The default value of the '{@link #isRequired() <em>Required</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isRequired()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean REQUIRED_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isRequired() <em>Required</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isRequired()
+ * @generated
+ * @ordered
+ */
+ protected boolean required = REQUIRED_EDEFAULT;
+ /**
+ * The default value of the '{@link #isXmlId() <em>Xml Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXmlId()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean XML_ID_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isXmlId() <em>Xml Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXmlId()
+ * @generated
+ * @ordered
+ */
+ protected boolean xmlId = XML_ID_EDEFAULT;
+ /**
+ * The default value of the '{@link #isXmlIdRef() <em>Xml Id Ref</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXmlIdRef()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean XML_ID_REF_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isXmlIdRef() <em>Xml Id Ref</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXmlIdRef()
+ * @generated
+ * @ordered
+ */
+ protected boolean xmlIdRef = XML_ID_REF_EDEFAULT;
+ /**
+ * The default value of the '{@link #isXmlKey() <em>Xml Key</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXmlKey()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean XML_KEY_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isXmlKey() <em>Xml Key</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXmlKey()
+ * @generated
+ * @ordered
+ */
+ protected boolean xmlKey = XML_KEY_EDEFAULT;
+ /**
+ * The default value of the '{@link #isXmlList() <em>Xml List</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXmlList()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean XML_LIST_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isXmlList() <em>Xml List</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXmlList()
+ * @generated
+ * @ordered
+ */
+ protected boolean xmlList = XML_LIST_EDEFAULT;
+ /**
+ * The default value of the '{@link #isXmlInlineBinaryData() <em>Xml Inline Binary Data</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXmlInlineBinaryData()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean XML_INLINE_BINARY_DATA_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isXmlInlineBinaryData() <em>Xml Inline Binary Data</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXmlInlineBinaryData()
+ * @generated
+ * @ordered
+ */
+ protected boolean xmlInlineBinaryData = XML_INLINE_BINARY_DATA_EDEFAULT;
+ /**
+ * The default value of the '{@link #isXmlAttachmentRef() <em>Xml Attachment Ref</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXmlAttachmentRef()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean XML_ATTACHMENT_REF_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isXmlAttachmentRef() <em>Xml Attachment Ref</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXmlAttachmentRef()
+ * @generated
+ * @ordered
+ */
+ protected boolean xmlAttachmentRef = XML_ATTACHMENT_REF_EDEFAULT;
+ /**
+ * The default value of the '{@link #getXmlMimeType() <em>Xml Mime Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlMimeType()
+ * @generated
+ * @ordered
+ */
+ protected static final String XML_MIME_TYPE_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getXmlMimeType() <em>Xml Mime Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlMimeType()
+ * @generated
+ * @ordered
+ */
+ protected String xmlMimeType = XML_MIME_TYPE_EDEFAULT;
+ /**
+ * The default value of the '{@link #getXmlPath() <em>Xml Path</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlPath()
+ * @generated
+ * @ordered
+ */
+ protected static final String XML_PATH_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getXmlPath() <em>Xml Path</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlPath()
+ * @generated
+ * @ordered
+ */
+ protected String xmlPath = XML_PATH_EDEFAULT;
+ /**
+ * The cached value of the '{@link #getXmlAbstractNullPolicy() <em>Xml Abstract Null Policy</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlAbstractNullPolicy()
+ * @generated
+ * @ordered
+ */
+ protected EAbstractXmlNullPolicy xmlAbstractNullPolicy;
+
+ /**
+ * The cached value of the '{@link #getXmlSchemaType() <em>Xml Schema Type</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlSchemaType()
+ * @generated
+ * @ordered
+ */
+ protected EXmlSchemaType xmlSchemaType;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EXmlAttribute()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OxmPackage.Literals.EXML_ATTRIBUTE;
+ }
+
+
+ /**
+ * Returns the value of the '<em><b>Xml Access Methods</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml 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>Xml Access Methods</em>' containment reference.
+ * @see #setXmlAccessMethods(EXmlAccessMethods)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEAccessibleJavaAttribute_XmlAccessMethods()
+ * @model containment="true"
+ * @generated
+ */
+ public EXmlAccessMethods getXmlAccessMethods()
+ {
+ return xmlAccessMethods;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetXmlAccessMethods(EXmlAccessMethods newXmlAccessMethods, NotificationChain msgs)
+ {
+ EXmlAccessMethods oldXmlAccessMethods = xmlAccessMethods;
+ xmlAccessMethods = newXmlAccessMethods;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ATTRIBUTE__XML_ACCESS_METHODS, oldXmlAccessMethods, newXmlAccessMethods);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#getXmlAccessMethods <em>Xml Access Methods</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Access Methods</em>' containment reference.
+ * @see #getXmlAccessMethods()
+ * @generated
+ */
+ public void setXmlAccessMethods(EXmlAccessMethods newXmlAccessMethods)
+ {
+ if (newXmlAccessMethods != xmlAccessMethods)
+ {
+ NotificationChain msgs = null;
+ if (xmlAccessMethods != null)
+ msgs = ((InternalEObject)xmlAccessMethods).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_ATTRIBUTE__XML_ACCESS_METHODS, null, msgs);
+ if (newXmlAccessMethods != null)
+ msgs = ((InternalEObject)newXmlAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_ATTRIBUTE__XML_ACCESS_METHODS, null, msgs);
+ msgs = basicSetXmlAccessMethods(newXmlAccessMethods, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ATTRIBUTE__XML_ACCESS_METHODS, newXmlAccessMethods, newXmlAccessMethods));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Java Type Adapter</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Java Type Adapter</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>Xml Java Type Adapter</em>' containment reference.
+ * @see #setXmlJavaTypeAdapter(EXmlJavaTypeAdapter)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEAdaptableJavaAttribute_XmlJavaTypeAdapter()
+ * @model containment="true"
+ * @generated
+ */
+ public EXmlJavaTypeAdapter getXmlJavaTypeAdapter()
+ {
+ return xmlJavaTypeAdapter;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetXmlJavaTypeAdapter(EXmlJavaTypeAdapter newXmlJavaTypeAdapter, NotificationChain msgs)
+ {
+ EXmlJavaTypeAdapter oldXmlJavaTypeAdapter = xmlJavaTypeAdapter;
+ xmlJavaTypeAdapter = newXmlJavaTypeAdapter;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ATTRIBUTE__XML_JAVA_TYPE_ADAPTER, oldXmlJavaTypeAdapter, newXmlJavaTypeAdapter);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#getXmlJavaTypeAdapter <em>Xml Java Type Adapter</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Java Type Adapter</em>' containment reference.
+ * @see #getXmlJavaTypeAdapter()
+ * @generated
+ */
+ public void setXmlJavaTypeAdapter(EXmlJavaTypeAdapter newXmlJavaTypeAdapter)
+ {
+ if (newXmlJavaTypeAdapter != xmlJavaTypeAdapter)
+ {
+ NotificationChain msgs = null;
+ if (xmlJavaTypeAdapter != null)
+ msgs = ((InternalEObject)xmlJavaTypeAdapter).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_ATTRIBUTE__XML_JAVA_TYPE_ADAPTER, null, msgs);
+ if (newXmlJavaTypeAdapter != null)
+ msgs = ((InternalEObject)newXmlJavaTypeAdapter).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_ATTRIBUTE__XML_JAVA_TYPE_ADAPTER, null, msgs);
+ msgs = basicSetXmlJavaTypeAdapter(newXmlJavaTypeAdapter, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ATTRIBUTE__XML_JAVA_TYPE_ADAPTER, newXmlJavaTypeAdapter, newXmlJavaTypeAdapter));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Container Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Container 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>Container Type</em>' attribute.
+ * @see #setContainerType(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEContainerJavaAttribute_ContainerType()
+ * @model
+ * @generated
+ */
+ public String getContainerType()
+ {
+ return containerType;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#getContainerType <em>Container Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Container Type</em>' attribute.
+ * @see #getContainerType()
+ * @generated
+ */
+ public void setContainerType(String newContainerType)
+ {
+ String oldContainerType = containerType;
+ containerType = newContainerType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ATTRIBUTE__CONTAINER_TYPE, oldContainerType, containerType));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Read Only</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Read Only</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Read Only</em>' attribute.
+ * @see #setReadOnly(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEReadWriteJavaAttribute_ReadOnly()
+ * @model
+ * @generated
+ */
+ public boolean isReadOnly()
+ {
+ return readOnly;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#isReadOnly <em>Read Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Read Only</em>' attribute.
+ * @see #isReadOnly()
+ * @generated
+ */
+ public void setReadOnly(boolean newReadOnly)
+ {
+ boolean oldReadOnly = readOnly;
+ readOnly = newReadOnly;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ATTRIBUTE__READ_ONLY, oldReadOnly, readOnly));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Write Only</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Write Only</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Write Only</em>' attribute.
+ * @see #setWriteOnly(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEReadWriteJavaAttribute_WriteOnly()
+ * @model
+ * @generated
+ */
+ public boolean isWriteOnly()
+ {
+ return writeOnly;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#isWriteOnly <em>Write Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Write Only</em>' attribute.
+ * @see #isWriteOnly()
+ * @generated
+ */
+ public void setWriteOnly(boolean newWriteOnly)
+ {
+ boolean oldWriteOnly = writeOnly;
+ writeOnly = newWriteOnly;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ATTRIBUTE__WRITE_ONLY, oldWriteOnly, writeOnly));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>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>Type</em>' attribute.
+ * @see #setType(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getETypedJavaAttribute_Type()
+ * @model
+ * @generated
+ */
+ public String getType()
+ {
+ return type;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#getType <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Type</em>' attribute.
+ * @see #getType()
+ * @generated
+ */
+ public void setType(String newType)
+ {
+ String oldType = type;
+ type = newType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ATTRIBUTE__TYPE, oldType, type));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Properties</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlProperty}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml 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>Xml Properties</em>' containment reference list.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEPropertyHolder_XmlProperties()
+ * @model containment="true"
+ * @generated
+ */
+ public EList<EXmlProperty> getXmlProperties()
+ {
+ if (xmlProperties == null)
+ {
+ xmlProperties = new EObjectContainmentEList<EXmlProperty>(EXmlProperty.class, this, OxmPackage.EXML_ATTRIBUTE__XML_PROPERTIES);
+ }
+ return xmlProperties;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlAttribute_Name()
+ * @model
+ * @generated
+ */
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ public void setName(String newName)
+ {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ATTRIBUTE__NAME, oldName, name));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Namespace</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Namespace</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Namespace</em>' attribute.
+ * @see #setNamespace(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlAttribute_Namespace()
+ * @model
+ * @generated
+ */
+ public String getNamespace()
+ {
+ return namespace;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#getNamespace <em>Namespace</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Namespace</em>' attribute.
+ * @see #getNamespace()
+ * @generated
+ */
+ public void setNamespace(String newNamespace)
+ {
+ String oldNamespace = namespace;
+ namespace = newNamespace;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ATTRIBUTE__NAMESPACE, oldNamespace, namespace));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Required</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Required</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Required</em>' attribute.
+ * @see #setRequired(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlAttribute_Required()
+ * @model
+ * @generated
+ */
+ public boolean isRequired()
+ {
+ return required;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#isRequired <em>Required</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Required</em>' attribute.
+ * @see #isRequired()
+ * @generated
+ */
+ public void setRequired(boolean newRequired)
+ {
+ boolean oldRequired = required;
+ required = newRequired;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ATTRIBUTE__REQUIRED, oldRequired, required));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Id</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Xml Id</em>' attribute.
+ * @see #setXmlId(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlAttribute_XmlId()
+ * @model
+ * @generated
+ */
+ public boolean isXmlId()
+ {
+ return xmlId;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#isXmlId <em>Xml Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Id</em>' attribute.
+ * @see #isXmlId()
+ * @generated
+ */
+ public void setXmlId(boolean newXmlId)
+ {
+ boolean oldXmlId = xmlId;
+ xmlId = newXmlId;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ATTRIBUTE__XML_ID, oldXmlId, xmlId));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Id Ref</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Id Ref</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Xml Id Ref</em>' attribute.
+ * @see #setXmlIdRef(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlAttribute_XmlIdRef()
+ * @model
+ * @generated
+ */
+ public boolean isXmlIdRef()
+ {
+ return xmlIdRef;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#isXmlIdRef <em>Xml Id Ref</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Id Ref</em>' attribute.
+ * @see #isXmlIdRef()
+ * @generated
+ */
+ public void setXmlIdRef(boolean newXmlIdRef)
+ {
+ boolean oldXmlIdRef = xmlIdRef;
+ xmlIdRef = newXmlIdRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ATTRIBUTE__XML_ID_REF, oldXmlIdRef, xmlIdRef));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Key</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Key</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Xml Key</em>' attribute.
+ * @see #setXmlKey(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlAttribute_XmlKey()
+ * @model
+ * @generated
+ */
+ public boolean isXmlKey()
+ {
+ return xmlKey;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#isXmlKey <em>Xml Key</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Key</em>' attribute.
+ * @see #isXmlKey()
+ * @generated
+ */
+ public void setXmlKey(boolean newXmlKey)
+ {
+ boolean oldXmlKey = xmlKey;
+ xmlKey = newXmlKey;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ATTRIBUTE__XML_KEY, oldXmlKey, xmlKey));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml List</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml List</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Xml List</em>' attribute.
+ * @see #setXmlList(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlAttribute_XmlList()
+ * @model
+ * @generated
+ */
+ public boolean isXmlList()
+ {
+ return xmlList;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#isXmlList <em>Xml List</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml List</em>' attribute.
+ * @see #isXmlList()
+ * @generated
+ */
+ public void setXmlList(boolean newXmlList)
+ {
+ boolean oldXmlList = xmlList;
+ xmlList = newXmlList;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ATTRIBUTE__XML_LIST, oldXmlList, xmlList));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Inline Binary Data</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Inline Binary Data</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Xml Inline Binary Data</em>' attribute.
+ * @see #setXmlInlineBinaryData(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlAttribute_XmlInlineBinaryData()
+ * @model
+ * @generated
+ */
+ public boolean isXmlInlineBinaryData()
+ {
+ return xmlInlineBinaryData;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#isXmlInlineBinaryData <em>Xml Inline Binary Data</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Inline Binary Data</em>' attribute.
+ * @see #isXmlInlineBinaryData()
+ * @generated
+ */
+ public void setXmlInlineBinaryData(boolean newXmlInlineBinaryData)
+ {
+ boolean oldXmlInlineBinaryData = xmlInlineBinaryData;
+ xmlInlineBinaryData = newXmlInlineBinaryData;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ATTRIBUTE__XML_INLINE_BINARY_DATA, oldXmlInlineBinaryData, xmlInlineBinaryData));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Attachment Ref</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Attachment Ref</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Xml Attachment Ref</em>' attribute.
+ * @see #setXmlAttachmentRef(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlAttribute_XmlAttachmentRef()
+ * @model
+ * @generated
+ */
+ public boolean isXmlAttachmentRef()
+ {
+ return xmlAttachmentRef;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#isXmlAttachmentRef <em>Xml Attachment Ref</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Attachment Ref</em>' attribute.
+ * @see #isXmlAttachmentRef()
+ * @generated
+ */
+ public void setXmlAttachmentRef(boolean newXmlAttachmentRef)
+ {
+ boolean oldXmlAttachmentRef = xmlAttachmentRef;
+ xmlAttachmentRef = newXmlAttachmentRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ATTRIBUTE__XML_ATTACHMENT_REF, oldXmlAttachmentRef, xmlAttachmentRef));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Mime Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Mime 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>Xml Mime Type</em>' attribute.
+ * @see #setXmlMimeType(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlAttribute_XmlMimeType()
+ * @model
+ * @generated
+ */
+ public String getXmlMimeType()
+ {
+ return xmlMimeType;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#getXmlMimeType <em>Xml Mime Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Mime Type</em>' attribute.
+ * @see #getXmlMimeType()
+ * @generated
+ */
+ public void setXmlMimeType(String newXmlMimeType)
+ {
+ String oldXmlMimeType = xmlMimeType;
+ xmlMimeType = newXmlMimeType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ATTRIBUTE__XML_MIME_TYPE, oldXmlMimeType, xmlMimeType));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Path</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Path</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Xml Path</em>' attribute.
+ * @see #setXmlPath(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlAttribute_XmlPath()
+ * @model
+ * @generated
+ */
+ public String getXmlPath()
+ {
+ return xmlPath;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#getXmlPath <em>Xml Path</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Path</em>' attribute.
+ * @see #getXmlPath()
+ * @generated
+ */
+ public void setXmlPath(String newXmlPath)
+ {
+ String oldXmlPath = xmlPath;
+ xmlPath = newXmlPath;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ATTRIBUTE__XML_PATH, oldXmlPath, xmlPath));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Abstract Null Policy</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Abstract Null Policy</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>Xml Abstract Null Policy</em>' containment reference.
+ * @see #setXmlAbstractNullPolicy(EAbstractXmlNullPolicy)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlAttribute_XmlAbstractNullPolicy()
+ * @model containment="true"
+ * @generated
+ */
+ public EAbstractXmlNullPolicy getXmlAbstractNullPolicy()
+ {
+ return xmlAbstractNullPolicy;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetXmlAbstractNullPolicy(EAbstractXmlNullPolicy newXmlAbstractNullPolicy, NotificationChain msgs)
+ {
+ EAbstractXmlNullPolicy oldXmlAbstractNullPolicy = xmlAbstractNullPolicy;
+ xmlAbstractNullPolicy = newXmlAbstractNullPolicy;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ATTRIBUTE__XML_ABSTRACT_NULL_POLICY, oldXmlAbstractNullPolicy, newXmlAbstractNullPolicy);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#getXmlAbstractNullPolicy <em>Xml Abstract Null Policy</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Abstract Null Policy</em>' containment reference.
+ * @see #getXmlAbstractNullPolicy()
+ * @generated
+ */
+ public void setXmlAbstractNullPolicy(EAbstractXmlNullPolicy newXmlAbstractNullPolicy)
+ {
+ if (newXmlAbstractNullPolicy != xmlAbstractNullPolicy)
+ {
+ NotificationChain msgs = null;
+ if (xmlAbstractNullPolicy != null)
+ msgs = ((InternalEObject)xmlAbstractNullPolicy).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_ATTRIBUTE__XML_ABSTRACT_NULL_POLICY, null, msgs);
+ if (newXmlAbstractNullPolicy != null)
+ msgs = ((InternalEObject)newXmlAbstractNullPolicy).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_ATTRIBUTE__XML_ABSTRACT_NULL_POLICY, null, msgs);
+ msgs = basicSetXmlAbstractNullPolicy(newXmlAbstractNullPolicy, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ATTRIBUTE__XML_ABSTRACT_NULL_POLICY, newXmlAbstractNullPolicy, newXmlAbstractNullPolicy));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Schema Type</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Schema Type</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>Xml Schema Type</em>' containment reference.
+ * @see #setXmlSchemaType(EXmlSchemaType)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlAttribute_XmlSchemaType()
+ * @model containment="true"
+ * @generated
+ */
+ public EXmlSchemaType getXmlSchemaType()
+ {
+ return xmlSchemaType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetXmlSchemaType(EXmlSchemaType newXmlSchemaType, NotificationChain msgs)
+ {
+ EXmlSchemaType oldXmlSchemaType = xmlSchemaType;
+ xmlSchemaType = newXmlSchemaType;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ATTRIBUTE__XML_SCHEMA_TYPE, oldXmlSchemaType, newXmlSchemaType);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#getXmlSchemaType <em>Xml Schema Type</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Schema Type</em>' containment reference.
+ * @see #getXmlSchemaType()
+ * @generated
+ */
+ public void setXmlSchemaType(EXmlSchemaType newXmlSchemaType)
+ {
+ if (newXmlSchemaType != xmlSchemaType)
+ {
+ NotificationChain msgs = null;
+ if (xmlSchemaType != null)
+ msgs = ((InternalEObject)xmlSchemaType).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_ATTRIBUTE__XML_SCHEMA_TYPE, null, msgs);
+ if (newXmlSchemaType != null)
+ msgs = ((InternalEObject)newXmlSchemaType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_ATTRIBUTE__XML_SCHEMA_TYPE, null, msgs);
+ msgs = basicSetXmlSchemaType(newXmlSchemaType, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ATTRIBUTE__XML_SCHEMA_TYPE, newXmlSchemaType, newXmlSchemaType));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_ATTRIBUTE__XML_ACCESS_METHODS:
+ return basicSetXmlAccessMethods(null, msgs);
+ case OxmPackage.EXML_ATTRIBUTE__XML_JAVA_TYPE_ADAPTER:
+ return basicSetXmlJavaTypeAdapter(null, msgs);
+ case OxmPackage.EXML_ATTRIBUTE__XML_PROPERTIES:
+ return ((InternalEList<?>)getXmlProperties()).basicRemove(otherEnd, msgs);
+ case OxmPackage.EXML_ATTRIBUTE__XML_ABSTRACT_NULL_POLICY:
+ return basicSetXmlAbstractNullPolicy(null, msgs);
+ case OxmPackage.EXML_ATTRIBUTE__XML_SCHEMA_TYPE:
+ return basicSetXmlSchemaType(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 OxmPackage.EXML_ATTRIBUTE__XML_ACCESS_METHODS:
+ return getXmlAccessMethods();
+ case OxmPackage.EXML_ATTRIBUTE__XML_JAVA_TYPE_ADAPTER:
+ return getXmlJavaTypeAdapter();
+ case OxmPackage.EXML_ATTRIBUTE__CONTAINER_TYPE:
+ return getContainerType();
+ case OxmPackage.EXML_ATTRIBUTE__READ_ONLY:
+ return isReadOnly();
+ case OxmPackage.EXML_ATTRIBUTE__WRITE_ONLY:
+ return isWriteOnly();
+ case OxmPackage.EXML_ATTRIBUTE__TYPE:
+ return getType();
+ case OxmPackage.EXML_ATTRIBUTE__XML_PROPERTIES:
+ return getXmlProperties();
+ case OxmPackage.EXML_ATTRIBUTE__NAME:
+ return getName();
+ case OxmPackage.EXML_ATTRIBUTE__NAMESPACE:
+ return getNamespace();
+ case OxmPackage.EXML_ATTRIBUTE__REQUIRED:
+ return isRequired();
+ case OxmPackage.EXML_ATTRIBUTE__XML_ID:
+ return isXmlId();
+ case OxmPackage.EXML_ATTRIBUTE__XML_ID_REF:
+ return isXmlIdRef();
+ case OxmPackage.EXML_ATTRIBUTE__XML_KEY:
+ return isXmlKey();
+ case OxmPackage.EXML_ATTRIBUTE__XML_LIST:
+ return isXmlList();
+ case OxmPackage.EXML_ATTRIBUTE__XML_INLINE_BINARY_DATA:
+ return isXmlInlineBinaryData();
+ case OxmPackage.EXML_ATTRIBUTE__XML_ATTACHMENT_REF:
+ return isXmlAttachmentRef();
+ case OxmPackage.EXML_ATTRIBUTE__XML_MIME_TYPE:
+ return getXmlMimeType();
+ case OxmPackage.EXML_ATTRIBUTE__XML_PATH:
+ return getXmlPath();
+ case OxmPackage.EXML_ATTRIBUTE__XML_ABSTRACT_NULL_POLICY:
+ return getXmlAbstractNullPolicy();
+ case OxmPackage.EXML_ATTRIBUTE__XML_SCHEMA_TYPE:
+ return getXmlSchemaType();
+ }
+ 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 OxmPackage.EXML_ATTRIBUTE__XML_ACCESS_METHODS:
+ setXmlAccessMethods((EXmlAccessMethods)newValue);
+ return;
+ case OxmPackage.EXML_ATTRIBUTE__XML_JAVA_TYPE_ADAPTER:
+ setXmlJavaTypeAdapter((EXmlJavaTypeAdapter)newValue);
+ return;
+ case OxmPackage.EXML_ATTRIBUTE__CONTAINER_TYPE:
+ setContainerType((String)newValue);
+ return;
+ case OxmPackage.EXML_ATTRIBUTE__READ_ONLY:
+ setReadOnly((Boolean)newValue);
+ return;
+ case OxmPackage.EXML_ATTRIBUTE__WRITE_ONLY:
+ setWriteOnly((Boolean)newValue);
+ return;
+ case OxmPackage.EXML_ATTRIBUTE__TYPE:
+ setType((String)newValue);
+ return;
+ case OxmPackage.EXML_ATTRIBUTE__XML_PROPERTIES:
+ getXmlProperties().clear();
+ getXmlProperties().addAll((Collection<? extends EXmlProperty>)newValue);
+ return;
+ case OxmPackage.EXML_ATTRIBUTE__NAME:
+ setName((String)newValue);
+ return;
+ case OxmPackage.EXML_ATTRIBUTE__NAMESPACE:
+ setNamespace((String)newValue);
+ return;
+ case OxmPackage.EXML_ATTRIBUTE__REQUIRED:
+ setRequired((Boolean)newValue);
+ return;
+ case OxmPackage.EXML_ATTRIBUTE__XML_ID:
+ setXmlId((Boolean)newValue);
+ return;
+ case OxmPackage.EXML_ATTRIBUTE__XML_ID_REF:
+ setXmlIdRef((Boolean)newValue);
+ return;
+ case OxmPackage.EXML_ATTRIBUTE__XML_KEY:
+ setXmlKey((Boolean)newValue);
+ return;
+ case OxmPackage.EXML_ATTRIBUTE__XML_LIST:
+ setXmlList((Boolean)newValue);
+ return;
+ case OxmPackage.EXML_ATTRIBUTE__XML_INLINE_BINARY_DATA:
+ setXmlInlineBinaryData((Boolean)newValue);
+ return;
+ case OxmPackage.EXML_ATTRIBUTE__XML_ATTACHMENT_REF:
+ setXmlAttachmentRef((Boolean)newValue);
+ return;
+ case OxmPackage.EXML_ATTRIBUTE__XML_MIME_TYPE:
+ setXmlMimeType((String)newValue);
+ return;
+ case OxmPackage.EXML_ATTRIBUTE__XML_PATH:
+ setXmlPath((String)newValue);
+ return;
+ case OxmPackage.EXML_ATTRIBUTE__XML_ABSTRACT_NULL_POLICY:
+ setXmlAbstractNullPolicy((EAbstractXmlNullPolicy)newValue);
+ return;
+ case OxmPackage.EXML_ATTRIBUTE__XML_SCHEMA_TYPE:
+ setXmlSchemaType((EXmlSchemaType)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_ATTRIBUTE__XML_ACCESS_METHODS:
+ setXmlAccessMethods((EXmlAccessMethods)null);
+ return;
+ case OxmPackage.EXML_ATTRIBUTE__XML_JAVA_TYPE_ADAPTER:
+ setXmlJavaTypeAdapter((EXmlJavaTypeAdapter)null);
+ return;
+ case OxmPackage.EXML_ATTRIBUTE__CONTAINER_TYPE:
+ setContainerType(CONTAINER_TYPE_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ATTRIBUTE__READ_ONLY:
+ setReadOnly(READ_ONLY_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ATTRIBUTE__WRITE_ONLY:
+ setWriteOnly(WRITE_ONLY_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ATTRIBUTE__TYPE:
+ setType(TYPE_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ATTRIBUTE__XML_PROPERTIES:
+ getXmlProperties().clear();
+ return;
+ case OxmPackage.EXML_ATTRIBUTE__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ATTRIBUTE__NAMESPACE:
+ setNamespace(NAMESPACE_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ATTRIBUTE__REQUIRED:
+ setRequired(REQUIRED_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ATTRIBUTE__XML_ID:
+ setXmlId(XML_ID_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ATTRIBUTE__XML_ID_REF:
+ setXmlIdRef(XML_ID_REF_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ATTRIBUTE__XML_KEY:
+ setXmlKey(XML_KEY_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ATTRIBUTE__XML_LIST:
+ setXmlList(XML_LIST_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ATTRIBUTE__XML_INLINE_BINARY_DATA:
+ setXmlInlineBinaryData(XML_INLINE_BINARY_DATA_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ATTRIBUTE__XML_ATTACHMENT_REF:
+ setXmlAttachmentRef(XML_ATTACHMENT_REF_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ATTRIBUTE__XML_MIME_TYPE:
+ setXmlMimeType(XML_MIME_TYPE_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ATTRIBUTE__XML_PATH:
+ setXmlPath(XML_PATH_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ATTRIBUTE__XML_ABSTRACT_NULL_POLICY:
+ setXmlAbstractNullPolicy((EAbstractXmlNullPolicy)null);
+ return;
+ case OxmPackage.EXML_ATTRIBUTE__XML_SCHEMA_TYPE:
+ setXmlSchemaType((EXmlSchemaType)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_ATTRIBUTE__XML_ACCESS_METHODS:
+ return xmlAccessMethods != null;
+ case OxmPackage.EXML_ATTRIBUTE__XML_JAVA_TYPE_ADAPTER:
+ return xmlJavaTypeAdapter != null;
+ case OxmPackage.EXML_ATTRIBUTE__CONTAINER_TYPE:
+ return CONTAINER_TYPE_EDEFAULT == null ? containerType != null : !CONTAINER_TYPE_EDEFAULT.equals(containerType);
+ case OxmPackage.EXML_ATTRIBUTE__READ_ONLY:
+ return readOnly != READ_ONLY_EDEFAULT;
+ case OxmPackage.EXML_ATTRIBUTE__WRITE_ONLY:
+ return writeOnly != WRITE_ONLY_EDEFAULT;
+ case OxmPackage.EXML_ATTRIBUTE__TYPE:
+ return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT.equals(type);
+ case OxmPackage.EXML_ATTRIBUTE__XML_PROPERTIES:
+ return xmlProperties != null && !xmlProperties.isEmpty();
+ case OxmPackage.EXML_ATTRIBUTE__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case OxmPackage.EXML_ATTRIBUTE__NAMESPACE:
+ return NAMESPACE_EDEFAULT == null ? namespace != null : !NAMESPACE_EDEFAULT.equals(namespace);
+ case OxmPackage.EXML_ATTRIBUTE__REQUIRED:
+ return required != REQUIRED_EDEFAULT;
+ case OxmPackage.EXML_ATTRIBUTE__XML_ID:
+ return xmlId != XML_ID_EDEFAULT;
+ case OxmPackage.EXML_ATTRIBUTE__XML_ID_REF:
+ return xmlIdRef != XML_ID_REF_EDEFAULT;
+ case OxmPackage.EXML_ATTRIBUTE__XML_KEY:
+ return xmlKey != XML_KEY_EDEFAULT;
+ case OxmPackage.EXML_ATTRIBUTE__XML_LIST:
+ return xmlList != XML_LIST_EDEFAULT;
+ case OxmPackage.EXML_ATTRIBUTE__XML_INLINE_BINARY_DATA:
+ return xmlInlineBinaryData != XML_INLINE_BINARY_DATA_EDEFAULT;
+ case OxmPackage.EXML_ATTRIBUTE__XML_ATTACHMENT_REF:
+ return xmlAttachmentRef != XML_ATTACHMENT_REF_EDEFAULT;
+ case OxmPackage.EXML_ATTRIBUTE__XML_MIME_TYPE:
+ return XML_MIME_TYPE_EDEFAULT == null ? xmlMimeType != null : !XML_MIME_TYPE_EDEFAULT.equals(xmlMimeType);
+ case OxmPackage.EXML_ATTRIBUTE__XML_PATH:
+ return XML_PATH_EDEFAULT == null ? xmlPath != null : !XML_PATH_EDEFAULT.equals(xmlPath);
+ case OxmPackage.EXML_ATTRIBUTE__XML_ABSTRACT_NULL_POLICY:
+ return xmlAbstractNullPolicy != null;
+ case OxmPackage.EXML_ATTRIBUTE__XML_SCHEMA_TYPE:
+ return xmlSchemaType != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)
+ {
+ if (baseClass == EAccessibleJavaAttribute.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_ATTRIBUTE__XML_ACCESS_METHODS: return OxmPackage.EACCESSIBLE_JAVA_ATTRIBUTE__XML_ACCESS_METHODS;
+ default: return -1;
+ }
+ }
+ if (baseClass == EAdaptableJavaAttribute.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_ATTRIBUTE__XML_JAVA_TYPE_ADAPTER: return OxmPackage.EADAPTABLE_JAVA_ATTRIBUTE__XML_JAVA_TYPE_ADAPTER;
+ default: return -1;
+ }
+ }
+ if (baseClass == EContainerJavaAttribute.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_ATTRIBUTE__CONTAINER_TYPE: return OxmPackage.ECONTAINER_JAVA_ATTRIBUTE__CONTAINER_TYPE;
+ default: return -1;
+ }
+ }
+ if (baseClass == EReadWriteJavaAttribute.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_ATTRIBUTE__READ_ONLY: return OxmPackage.EREAD_WRITE_JAVA_ATTRIBUTE__READ_ONLY;
+ case OxmPackage.EXML_ATTRIBUTE__WRITE_ONLY: return OxmPackage.EREAD_WRITE_JAVA_ATTRIBUTE__WRITE_ONLY;
+ default: return -1;
+ }
+ }
+ if (baseClass == ETypedJavaAttribute.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_ATTRIBUTE__TYPE: return OxmPackage.ETYPED_JAVA_ATTRIBUTE__TYPE;
+ default: return -1;
+ }
+ }
+ if (baseClass == EPropertyHolder.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_ATTRIBUTE__XML_PROPERTIES: return OxmPackage.EPROPERTY_HOLDER__XML_PROPERTIES;
+ 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 == EAccessibleJavaAttribute.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.EACCESSIBLE_JAVA_ATTRIBUTE__XML_ACCESS_METHODS: return OxmPackage.EXML_ATTRIBUTE__XML_ACCESS_METHODS;
+ default: return -1;
+ }
+ }
+ if (baseClass == EAdaptableJavaAttribute.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.EADAPTABLE_JAVA_ATTRIBUTE__XML_JAVA_TYPE_ADAPTER: return OxmPackage.EXML_ATTRIBUTE__XML_JAVA_TYPE_ADAPTER;
+ default: return -1;
+ }
+ }
+ if (baseClass == EContainerJavaAttribute.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.ECONTAINER_JAVA_ATTRIBUTE__CONTAINER_TYPE: return OxmPackage.EXML_ATTRIBUTE__CONTAINER_TYPE;
+ default: return -1;
+ }
+ }
+ if (baseClass == EReadWriteJavaAttribute.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.EREAD_WRITE_JAVA_ATTRIBUTE__READ_ONLY: return OxmPackage.EXML_ATTRIBUTE__READ_ONLY;
+ case OxmPackage.EREAD_WRITE_JAVA_ATTRIBUTE__WRITE_ONLY: return OxmPackage.EXML_ATTRIBUTE__WRITE_ONLY;
+ default: return -1;
+ }
+ }
+ if (baseClass == ETypedJavaAttribute.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.ETYPED_JAVA_ATTRIBUTE__TYPE: return OxmPackage.EXML_ATTRIBUTE__TYPE;
+ default: return -1;
+ }
+ }
+ if (baseClass == EPropertyHolder.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.EPROPERTY_HOLDER__XML_PROPERTIES: return OxmPackage.EXML_ATTRIBUTE__XML_PROPERTIES;
+ 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(" (containerType: ");
+ result.append(containerType);
+ result.append(", readOnly: ");
+ result.append(readOnly);
+ result.append(", writeOnly: ");
+ result.append(writeOnly);
+ result.append(", type: ");
+ result.append(type);
+ result.append(", name: ");
+ result.append(name);
+ result.append(", namespace: ");
+ result.append(namespace);
+ result.append(", required: ");
+ result.append(required);
+ result.append(", xmlId: ");
+ result.append(xmlId);
+ result.append(", xmlIdRef: ");
+ result.append(xmlIdRef);
+ result.append(", xmlKey: ");
+ result.append(xmlKey);
+ result.append(", xmlList: ");
+ result.append(xmlList);
+ result.append(", xmlInlineBinaryData: ");
+ result.append(xmlInlineBinaryData);
+ result.append(", xmlAttachmentRef: ");
+ result.append(xmlAttachmentRef);
+ result.append(", xmlMimeType: ");
+ result.append(xmlMimeType);
+ result.append(", xmlPath: ");
+ result.append(xmlPath);
+ result.append(')');
+ return result.toString();
+ }
+
+
+ // ***** translators *****
+
+ static class XmlAttributeTranslator
+ extends AbstractJavaAttributeTranslator {
+
+ XmlAttributeTranslator(String domPathAndName, EStructuralFeature eStructuralFeature) {
+ super(domPathAndName, eStructuralFeature, buildTranslatorChildren());
+ }
+
+ private static Translator[] buildTranslatorChildren() {
+ return new Translator[] {
+ new EAbstractXmlNullPolicy.AbstractXmlNullPolicyTranslator()
+ };
+ }
+
+ @Override
+ public EObject createEMFObject(String nodeName, String readAheadName) {
+ return OxmFactory.eINSTANCE.createEXmlAttribute();
+ }
+ }
+}
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlBindings.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlBindings.java
new file mode 100644
index 0000000000..4a9bdbbf61
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlBindings.java
@@ -0,0 +1,969 @@
+/*******************************************************************************
+ * Copyright (c) 2012 Oracle. All rights reserved.
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0, which accompanies this distribution
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+import java.util.Collection;
+import org.eclipse.emf.common.notify.Notification;
+import java.util.HashMap;
+import org.eclipse.core.runtime.content.IContentType;
+import org.eclipse.emf.common.notify.NotificationChain;
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+import org.eclipse.jpt.common.core.internal.utility.translators.SimpleRootTranslator;
+import org.eclipse.jpt.common.core.resource.xml.ERootObjectImpl;
+import org.eclipse.jpt.jaxb.eclipselink.core.internal.plugin.JptJaxbEclipseLinkCorePlugin;
+import org.eclipse.wst.common.internal.emf.resource.Translator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EXml Bindings</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings#getXmlAccessorType <em>Xml Accessor Type</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings#getXmlAccessorOrder <em>Xml Accessor Order</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings#isXmlMappingMetadataComplete <em>Xml Mapping Metadata Complete</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings#getPackageName <em>Package Name</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings#getXmlNameTransformer <em>Xml Name Transformer</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings#getXmlSchema <em>Xml Schema</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings#getXmlSchemaType <em>Xml Schema Type</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings#getXmlSchemaTypes <em>Xml Schema Types</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings#getXmlJavaTypeAdapters <em>Xml Java Type Adapters</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings#getXmlRegistries <em>Xml Registries</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings#getXmlEnums <em>Xml Enums</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings#getJavaTypes <em>Java Types</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlBindings()
+ * @model kind="class"
+ * @generated
+ */
+public class EXmlBindings extends ERootObjectImpl
+{
+ /**
+ * The default value of the '{@link #getXmlAccessorType() <em>Xml Accessor Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlAccessorType()
+ * @generated
+ * @ordered
+ */
+ protected static final EXmlAccessType XML_ACCESSOR_TYPE_EDEFAULT = EXmlAccessType.FIELD;
+
+
+ /**
+ * The cached value of the '{@link #getXmlAccessorType() <em>Xml Accessor Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlAccessorType()
+ * @generated
+ * @ordered
+ */
+ protected EXmlAccessType xmlAccessorType = XML_ACCESSOR_TYPE_EDEFAULT;
+
+
+ /**
+ * The default value of the '{@link #getXmlAccessorOrder() <em>Xml Accessor Order</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlAccessorOrder()
+ * @generated
+ * @ordered
+ */
+ protected static final EXmlAccessOrder XML_ACCESSOR_ORDER_EDEFAULT = EXmlAccessOrder.ALPHABETICAL;
+
+
+ /**
+ * The cached value of the '{@link #getXmlAccessorOrder() <em>Xml Accessor Order</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlAccessorOrder()
+ * @generated
+ * @ordered
+ */
+ protected EXmlAccessOrder xmlAccessorOrder = XML_ACCESSOR_ORDER_EDEFAULT;
+
+
+ /**
+ * The default value of the '{@link #isXmlMappingMetadataComplete() <em>Xml Mapping Metadata Complete</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXmlMappingMetadataComplete()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean XML_MAPPING_METADATA_COMPLETE_EDEFAULT = false;
+
+
+ /**
+ * The cached value of the '{@link #isXmlMappingMetadataComplete() <em>Xml Mapping Metadata Complete</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXmlMappingMetadataComplete()
+ * @generated
+ * @ordered
+ */
+ protected boolean xmlMappingMetadataComplete = XML_MAPPING_METADATA_COMPLETE_EDEFAULT;
+
+
+ /**
+ * The default value of the '{@link #getPackageName() <em>Package Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPackageName()
+ * @generated
+ * @ordered
+ */
+ protected static final String PACKAGE_NAME_EDEFAULT = null;
+
+
+ /**
+ * The cached value of the '{@link #getPackageName() <em>Package Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPackageName()
+ * @generated
+ * @ordered
+ */
+ protected String packageName = PACKAGE_NAME_EDEFAULT;
+
+
+ /**
+ * The default value of the '{@link #getXmlNameTransformer() <em>Xml Name Transformer</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlNameTransformer()
+ * @generated
+ * @ordered
+ */
+ protected static final String XML_NAME_TRANSFORMER_EDEFAULT = null;
+
+
+ /**
+ * The cached value of the '{@link #getXmlNameTransformer() <em>Xml Name Transformer</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlNameTransformer()
+ * @generated
+ * @ordered
+ */
+ protected String xmlNameTransformer = XML_NAME_TRANSFORMER_EDEFAULT;
+
+
+ /**
+ * The cached value of the '{@link #getXmlSchema() <em>Xml Schema</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlSchema()
+ * @generated
+ * @ordered
+ */
+ protected EXmlSchema xmlSchema;
+
+
+ /**
+ * The cached value of the '{@link #getXmlSchemaType() <em>Xml Schema Type</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlSchemaType()
+ * @generated
+ * @ordered
+ */
+ protected EXmlSchemaType xmlSchemaType;
+
+
+ /**
+ * The cached value of the '{@link #getXmlSchemaTypes() <em>Xml Schema Types</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlSchemaTypes()
+ * @generated
+ * @ordered
+ */
+ protected EList<EXmlSchemaType> xmlSchemaTypes;
+
+
+ /**
+ * The cached value of the '{@link #getXmlJavaTypeAdapters() <em>Xml Java Type Adapters</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlJavaTypeAdapters()
+ * @generated
+ * @ordered
+ */
+ protected EList<EXmlJavaTypeAdapter> xmlJavaTypeAdapters;
+
+
+ /**
+ * The cached value of the '{@link #getXmlRegistries() <em>Xml Registries</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlRegistries()
+ * @generated
+ * @ordered
+ */
+ protected EList<EXmlRegistry> xmlRegistries;
+
+
+ /**
+ * The cached value of the '{@link #getXmlEnums() <em>Xml Enums</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlEnums()
+ * @generated
+ * @ordered
+ */
+ protected EList<EXmlEnum> xmlEnums;
+
+
+ /**
+ * The cached value of the '{@link #getJavaTypes() <em>Java Types</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getJavaTypes()
+ * @generated
+ * @ordered
+ */
+ protected EList<EJavaType> javaTypes;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EXmlBindings()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OxmPackage.Literals.EXML_BINDINGS;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Accessor Type</b></em>' attribute.
+ * The literals are from the enumeration {@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAccessType}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Accessor 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>Xml Accessor Type</em>' attribute.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAccessType
+ * @see #setXmlAccessorType(EXmlAccessType)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlBindings_XmlAccessorType()
+ * @model
+ * @generated
+ */
+ public EXmlAccessType getXmlAccessorType()
+ {
+ return xmlAccessorType;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings#getXmlAccessorType <em>Xml Accessor Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Accessor Type</em>' attribute.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAccessType
+ * @see #getXmlAccessorType()
+ * @generated
+ */
+ public void setXmlAccessorType(EXmlAccessType newXmlAccessorType)
+ {
+ EXmlAccessType oldXmlAccessorType = xmlAccessorType;
+ xmlAccessorType = newXmlAccessorType == null ? XML_ACCESSOR_TYPE_EDEFAULT : newXmlAccessorType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_BINDINGS__XML_ACCESSOR_TYPE, oldXmlAccessorType, xmlAccessorType));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Accessor Order</b></em>' attribute.
+ * The literals are from the enumeration {@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAccessOrder}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Accessor Order</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Xml Accessor Order</em>' attribute.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAccessOrder
+ * @see #setXmlAccessorOrder(EXmlAccessOrder)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlBindings_XmlAccessorOrder()
+ * @model
+ * @generated
+ */
+ public EXmlAccessOrder getXmlAccessorOrder()
+ {
+ return xmlAccessorOrder;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings#getXmlAccessorOrder <em>Xml Accessor Order</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Accessor Order</em>' attribute.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAccessOrder
+ * @see #getXmlAccessorOrder()
+ * @generated
+ */
+ public void setXmlAccessorOrder(EXmlAccessOrder newXmlAccessorOrder)
+ {
+ EXmlAccessOrder oldXmlAccessorOrder = xmlAccessorOrder;
+ xmlAccessorOrder = newXmlAccessorOrder == null ? XML_ACCESSOR_ORDER_EDEFAULT : newXmlAccessorOrder;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_BINDINGS__XML_ACCESSOR_ORDER, oldXmlAccessorOrder, xmlAccessorOrder));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Mapping Metadata Complete</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Mapping Metadata Complete</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Xml Mapping Metadata Complete</em>' attribute.
+ * @see #setXmlMappingMetadataComplete(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlBindings_XmlMappingMetadataComplete()
+ * @model
+ * @generated
+ */
+ public boolean isXmlMappingMetadataComplete()
+ {
+ return xmlMappingMetadataComplete;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings#isXmlMappingMetadataComplete <em>Xml Mapping Metadata Complete</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Mapping Metadata Complete</em>' attribute.
+ * @see #isXmlMappingMetadataComplete()
+ * @generated
+ */
+ public void setXmlMappingMetadataComplete(boolean newXmlMappingMetadataComplete)
+ {
+ boolean oldXmlMappingMetadataComplete = xmlMappingMetadataComplete;
+ xmlMappingMetadataComplete = newXmlMappingMetadataComplete;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_BINDINGS__XML_MAPPING_METADATA_COMPLETE, oldXmlMappingMetadataComplete, xmlMappingMetadataComplete));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Package Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Package Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Package Name</em>' attribute.
+ * @see #setPackageName(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlBindings_PackageName()
+ * @model
+ * @generated
+ */
+ public String getPackageName()
+ {
+ return packageName;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings#getPackageName <em>Package Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Package Name</em>' attribute.
+ * @see #getPackageName()
+ * @generated
+ */
+ public void setPackageName(String newPackageName)
+ {
+ String oldPackageName = packageName;
+ packageName = newPackageName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_BINDINGS__PACKAGE_NAME, oldPackageName, packageName));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Name Transformer</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Name Transformer</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Xml Name Transformer</em>' attribute.
+ * @see #setXmlNameTransformer(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlBindings_XmlNameTransformer()
+ * @model
+ * @generated
+ */
+ public String getXmlNameTransformer()
+ {
+ return xmlNameTransformer;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings#getXmlNameTransformer <em>Xml Name Transformer</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Name Transformer</em>' attribute.
+ * @see #getXmlNameTransformer()
+ * @generated
+ */
+ public void setXmlNameTransformer(String newXmlNameTransformer)
+ {
+ String oldXmlNameTransformer = xmlNameTransformer;
+ xmlNameTransformer = newXmlNameTransformer;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_BINDINGS__XML_NAME_TRANSFORMER, oldXmlNameTransformer, xmlNameTransformer));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Schema</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Schema</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>Xml Schema</em>' containment reference.
+ * @see #setXmlSchema(EXmlSchema)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlBindings_XmlSchema()
+ * @model containment="true"
+ * @generated
+ */
+ public EXmlSchema getXmlSchema()
+ {
+ return xmlSchema;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetXmlSchema(EXmlSchema newXmlSchema, NotificationChain msgs)
+ {
+ EXmlSchema oldXmlSchema = xmlSchema;
+ xmlSchema = newXmlSchema;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_BINDINGS__XML_SCHEMA, oldXmlSchema, newXmlSchema);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings#getXmlSchema <em>Xml Schema</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Schema</em>' containment reference.
+ * @see #getXmlSchema()
+ * @generated
+ */
+ public void setXmlSchema(EXmlSchema newXmlSchema)
+ {
+ if (newXmlSchema != xmlSchema)
+ {
+ NotificationChain msgs = null;
+ if (xmlSchema != null)
+ msgs = ((InternalEObject)xmlSchema).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_BINDINGS__XML_SCHEMA, null, msgs);
+ if (newXmlSchema != null)
+ msgs = ((InternalEObject)newXmlSchema).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_BINDINGS__XML_SCHEMA, null, msgs);
+ msgs = basicSetXmlSchema(newXmlSchema, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_BINDINGS__XML_SCHEMA, newXmlSchema, newXmlSchema));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Schema Type</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Schema Type</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>Xml Schema Type</em>' containment reference.
+ * @see #setXmlSchemaType(EXmlSchemaType)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlBindings_XmlSchemaType()
+ * @model containment="true"
+ * @generated
+ */
+ public EXmlSchemaType getXmlSchemaType()
+ {
+ return xmlSchemaType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetXmlSchemaType(EXmlSchemaType newXmlSchemaType, NotificationChain msgs)
+ {
+ EXmlSchemaType oldXmlSchemaType = xmlSchemaType;
+ xmlSchemaType = newXmlSchemaType;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_BINDINGS__XML_SCHEMA_TYPE, oldXmlSchemaType, newXmlSchemaType);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings#getXmlSchemaType <em>Xml Schema Type</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Schema Type</em>' containment reference.
+ * @see #getXmlSchemaType()
+ * @generated
+ */
+ public void setXmlSchemaType(EXmlSchemaType newXmlSchemaType)
+ {
+ if (newXmlSchemaType != xmlSchemaType)
+ {
+ NotificationChain msgs = null;
+ if (xmlSchemaType != null)
+ msgs = ((InternalEObject)xmlSchemaType).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_BINDINGS__XML_SCHEMA_TYPE, null, msgs);
+ if (newXmlSchemaType != null)
+ msgs = ((InternalEObject)newXmlSchemaType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_BINDINGS__XML_SCHEMA_TYPE, null, msgs);
+ msgs = basicSetXmlSchemaType(newXmlSchemaType, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_BINDINGS__XML_SCHEMA_TYPE, newXmlSchemaType, newXmlSchemaType));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Schema Types</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlSchemaType}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Schema Types</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>Xml Schema Types</em>' containment reference list.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlBindings_XmlSchemaTypes()
+ * @model containment="true"
+ * @generated
+ */
+ public EList<EXmlSchemaType> getXmlSchemaTypes()
+ {
+ if (xmlSchemaTypes == null)
+ {
+ xmlSchemaTypes = new EObjectContainmentEList<EXmlSchemaType>(EXmlSchemaType.class, this, OxmPackage.EXML_BINDINGS__XML_SCHEMA_TYPES);
+ }
+ return xmlSchemaTypes;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Java Type Adapters</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlJavaTypeAdapter}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Java Type Adapters</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>Xml Java Type Adapters</em>' containment reference list.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlBindings_XmlJavaTypeAdapters()
+ * @model containment="true"
+ * @generated
+ */
+ public EList<EXmlJavaTypeAdapter> getXmlJavaTypeAdapters()
+ {
+ if (xmlJavaTypeAdapters == null)
+ {
+ xmlJavaTypeAdapters = new EObjectContainmentEList<EXmlJavaTypeAdapter>(EXmlJavaTypeAdapter.class, this, OxmPackage.EXML_BINDINGS__XML_JAVA_TYPE_ADAPTERS);
+ }
+ return xmlJavaTypeAdapters;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Registries</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlRegistry}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Registries</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>Xml Registries</em>' containment reference list.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlBindings_XmlRegistries()
+ * @model containment="true"
+ * @generated
+ */
+ public EList<EXmlRegistry> getXmlRegistries()
+ {
+ if (xmlRegistries == null)
+ {
+ xmlRegistries = new EObjectContainmentEList<EXmlRegistry>(EXmlRegistry.class, this, OxmPackage.EXML_BINDINGS__XML_REGISTRIES);
+ }
+ return xmlRegistries;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Enums</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlEnum}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Enums</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>Xml Enums</em>' containment reference list.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlBindings_XmlEnums()
+ * @model containment="true"
+ * @generated
+ */
+ public EList<EXmlEnum> getXmlEnums()
+ {
+ if (xmlEnums == null)
+ {
+ xmlEnums = new EObjectContainmentEList<EXmlEnum>(EXmlEnum.class, this, OxmPackage.EXML_BINDINGS__XML_ENUMS);
+ }
+ return xmlEnums;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Java Types</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Java Types</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>Java Types</em>' containment reference list.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlBindings_JavaTypes()
+ * @model containment="true"
+ * @generated
+ */
+ public EList<EJavaType> getJavaTypes()
+ {
+ if (javaTypes == null)
+ {
+ javaTypes = new EObjectContainmentEList<EJavaType>(EJavaType.class, this, OxmPackage.EXML_BINDINGS__JAVA_TYPES);
+ }
+ return javaTypes;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_BINDINGS__XML_SCHEMA:
+ return basicSetXmlSchema(null, msgs);
+ case OxmPackage.EXML_BINDINGS__XML_SCHEMA_TYPE:
+ return basicSetXmlSchemaType(null, msgs);
+ case OxmPackage.EXML_BINDINGS__XML_SCHEMA_TYPES:
+ return ((InternalEList<?>)getXmlSchemaTypes()).basicRemove(otherEnd, msgs);
+ case OxmPackage.EXML_BINDINGS__XML_JAVA_TYPE_ADAPTERS:
+ return ((InternalEList<?>)getXmlJavaTypeAdapters()).basicRemove(otherEnd, msgs);
+ case OxmPackage.EXML_BINDINGS__XML_REGISTRIES:
+ return ((InternalEList<?>)getXmlRegistries()).basicRemove(otherEnd, msgs);
+ case OxmPackage.EXML_BINDINGS__XML_ENUMS:
+ return ((InternalEList<?>)getXmlEnums()).basicRemove(otherEnd, msgs);
+ case OxmPackage.EXML_BINDINGS__JAVA_TYPES:
+ return ((InternalEList<?>)getJavaTypes()).basicRemove(otherEnd, 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 OxmPackage.EXML_BINDINGS__XML_ACCESSOR_TYPE:
+ return getXmlAccessorType();
+ case OxmPackage.EXML_BINDINGS__XML_ACCESSOR_ORDER:
+ return getXmlAccessorOrder();
+ case OxmPackage.EXML_BINDINGS__XML_MAPPING_METADATA_COMPLETE:
+ return isXmlMappingMetadataComplete();
+ case OxmPackage.EXML_BINDINGS__PACKAGE_NAME:
+ return getPackageName();
+ case OxmPackage.EXML_BINDINGS__XML_NAME_TRANSFORMER:
+ return getXmlNameTransformer();
+ case OxmPackage.EXML_BINDINGS__XML_SCHEMA:
+ return getXmlSchema();
+ case OxmPackage.EXML_BINDINGS__XML_SCHEMA_TYPE:
+ return getXmlSchemaType();
+ case OxmPackage.EXML_BINDINGS__XML_SCHEMA_TYPES:
+ return getXmlSchemaTypes();
+ case OxmPackage.EXML_BINDINGS__XML_JAVA_TYPE_ADAPTERS:
+ return getXmlJavaTypeAdapters();
+ case OxmPackage.EXML_BINDINGS__XML_REGISTRIES:
+ return getXmlRegistries();
+ case OxmPackage.EXML_BINDINGS__XML_ENUMS:
+ return getXmlEnums();
+ case OxmPackage.EXML_BINDINGS__JAVA_TYPES:
+ return getJavaTypes();
+ }
+ 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 OxmPackage.EXML_BINDINGS__XML_ACCESSOR_TYPE:
+ setXmlAccessorType((EXmlAccessType)newValue);
+ return;
+ case OxmPackage.EXML_BINDINGS__XML_ACCESSOR_ORDER:
+ setXmlAccessorOrder((EXmlAccessOrder)newValue);
+ return;
+ case OxmPackage.EXML_BINDINGS__XML_MAPPING_METADATA_COMPLETE:
+ setXmlMappingMetadataComplete((Boolean)newValue);
+ return;
+ case OxmPackage.EXML_BINDINGS__PACKAGE_NAME:
+ setPackageName((String)newValue);
+ return;
+ case OxmPackage.EXML_BINDINGS__XML_NAME_TRANSFORMER:
+ setXmlNameTransformer((String)newValue);
+ return;
+ case OxmPackage.EXML_BINDINGS__XML_SCHEMA:
+ setXmlSchema((EXmlSchema)newValue);
+ return;
+ case OxmPackage.EXML_BINDINGS__XML_SCHEMA_TYPE:
+ setXmlSchemaType((EXmlSchemaType)newValue);
+ return;
+ case OxmPackage.EXML_BINDINGS__XML_SCHEMA_TYPES:
+ getXmlSchemaTypes().clear();
+ getXmlSchemaTypes().addAll((Collection<? extends EXmlSchemaType>)newValue);
+ return;
+ case OxmPackage.EXML_BINDINGS__XML_JAVA_TYPE_ADAPTERS:
+ getXmlJavaTypeAdapters().clear();
+ getXmlJavaTypeAdapters().addAll((Collection<? extends EXmlJavaTypeAdapter>)newValue);
+ return;
+ case OxmPackage.EXML_BINDINGS__XML_REGISTRIES:
+ getXmlRegistries().clear();
+ getXmlRegistries().addAll((Collection<? extends EXmlRegistry>)newValue);
+ return;
+ case OxmPackage.EXML_BINDINGS__XML_ENUMS:
+ getXmlEnums().clear();
+ getXmlEnums().addAll((Collection<? extends EXmlEnum>)newValue);
+ return;
+ case OxmPackage.EXML_BINDINGS__JAVA_TYPES:
+ getJavaTypes().clear();
+ getJavaTypes().addAll((Collection<? extends EJavaType>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_BINDINGS__XML_ACCESSOR_TYPE:
+ setXmlAccessorType(XML_ACCESSOR_TYPE_EDEFAULT);
+ return;
+ case OxmPackage.EXML_BINDINGS__XML_ACCESSOR_ORDER:
+ setXmlAccessorOrder(XML_ACCESSOR_ORDER_EDEFAULT);
+ return;
+ case OxmPackage.EXML_BINDINGS__XML_MAPPING_METADATA_COMPLETE:
+ setXmlMappingMetadataComplete(XML_MAPPING_METADATA_COMPLETE_EDEFAULT);
+ return;
+ case OxmPackage.EXML_BINDINGS__PACKAGE_NAME:
+ setPackageName(PACKAGE_NAME_EDEFAULT);
+ return;
+ case OxmPackage.EXML_BINDINGS__XML_NAME_TRANSFORMER:
+ setXmlNameTransformer(XML_NAME_TRANSFORMER_EDEFAULT);
+ return;
+ case OxmPackage.EXML_BINDINGS__XML_SCHEMA:
+ setXmlSchema((EXmlSchema)null);
+ return;
+ case OxmPackage.EXML_BINDINGS__XML_SCHEMA_TYPE:
+ setXmlSchemaType((EXmlSchemaType)null);
+ return;
+ case OxmPackage.EXML_BINDINGS__XML_SCHEMA_TYPES:
+ getXmlSchemaTypes().clear();
+ return;
+ case OxmPackage.EXML_BINDINGS__XML_JAVA_TYPE_ADAPTERS:
+ getXmlJavaTypeAdapters().clear();
+ return;
+ case OxmPackage.EXML_BINDINGS__XML_REGISTRIES:
+ getXmlRegistries().clear();
+ return;
+ case OxmPackage.EXML_BINDINGS__XML_ENUMS:
+ getXmlEnums().clear();
+ return;
+ case OxmPackage.EXML_BINDINGS__JAVA_TYPES:
+ getJavaTypes().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_BINDINGS__XML_ACCESSOR_TYPE:
+ return xmlAccessorType != XML_ACCESSOR_TYPE_EDEFAULT;
+ case OxmPackage.EXML_BINDINGS__XML_ACCESSOR_ORDER:
+ return xmlAccessorOrder != XML_ACCESSOR_ORDER_EDEFAULT;
+ case OxmPackage.EXML_BINDINGS__XML_MAPPING_METADATA_COMPLETE:
+ return xmlMappingMetadataComplete != XML_MAPPING_METADATA_COMPLETE_EDEFAULT;
+ case OxmPackage.EXML_BINDINGS__PACKAGE_NAME:
+ return PACKAGE_NAME_EDEFAULT == null ? packageName != null : !PACKAGE_NAME_EDEFAULT.equals(packageName);
+ case OxmPackage.EXML_BINDINGS__XML_NAME_TRANSFORMER:
+ return XML_NAME_TRANSFORMER_EDEFAULT == null ? xmlNameTransformer != null : !XML_NAME_TRANSFORMER_EDEFAULT.equals(xmlNameTransformer);
+ case OxmPackage.EXML_BINDINGS__XML_SCHEMA:
+ return xmlSchema != null;
+ case OxmPackage.EXML_BINDINGS__XML_SCHEMA_TYPE:
+ return xmlSchemaType != null;
+ case OxmPackage.EXML_BINDINGS__XML_SCHEMA_TYPES:
+ return xmlSchemaTypes != null && !xmlSchemaTypes.isEmpty();
+ case OxmPackage.EXML_BINDINGS__XML_JAVA_TYPE_ADAPTERS:
+ return xmlJavaTypeAdapters != null && !xmlJavaTypeAdapters.isEmpty();
+ case OxmPackage.EXML_BINDINGS__XML_REGISTRIES:
+ return xmlRegistries != null && !xmlRegistries.isEmpty();
+ case OxmPackage.EXML_BINDINGS__XML_ENUMS:
+ return xmlEnums != null && !xmlEnums.isEmpty();
+ case OxmPackage.EXML_BINDINGS__JAVA_TYPES:
+ return javaTypes != null && !javaTypes.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (xmlAccessorType: ");
+ result.append(xmlAccessorType);
+ result.append(", xmlAccessorOrder: ");
+ result.append(xmlAccessorOrder);
+ result.append(", xmlMappingMetadataComplete: ");
+ result.append(xmlMappingMetadataComplete);
+ result.append(", packageName: ");
+ result.append(packageName);
+ result.append(", xmlNameTransformer: ");
+ result.append(xmlNameTransformer);
+ result.append(')');
+ return result.toString();
+ }
+
+ // ********** version -> schema location mapping **********
+
+ @Override
+ protected String getNamespace() {
+ return EclipseLink.SCHEMA_NAMESPACE;
+ }
+
+ @Override
+ protected String getSchemaLocationForVersion(String schemaVersion) {
+ return SCHEMA_LOCATIONS.get(schemaVersion);
+ }
+
+ private static HashMap<String, String> SCHEMA_LOCATIONS = buildSchemaLocations();
+
+ private static HashMap<String, String> buildSchemaLocations() {
+ HashMap<String, String> map = new HashMap<String, String>();
+ map.put(EclipseLink.SCHEMA_VERSION_2_1, EclipseLink.SCHEMA_LOCATION_2_1);
+ map.put(EclipseLink.SCHEMA_VERSION_2_2, EclipseLink.SCHEMA_LOCATION_2_2);
+ map.put(EclipseLink.SCHEMA_VERSION_2_3, EclipseLink.SCHEMA_LOCATION_2_3);
+ map.put(EclipseLink.SCHEMA_VERSION_2_4, EclipseLink.SCHEMA_LOCATION_2_4);
+ return map;
+ }
+
+
+ // ********** content type **********
+
+ /**
+ * The content type for <code>oxm.xml</code> mapping files.
+ */
+ public static final IContentType CONTENT_TYPE = JptJaxbEclipseLinkCorePlugin.instance().getContentType("oxm"); //$NON-NLS-1$
+
+
+ // ********** translators **********
+
+ private static final Translator ROOT_TRANSLATOR = buildRootTranslator();
+
+ public static Translator getRootTranslator() {
+ return ROOT_TRANSLATOR;
+ }
+
+ private static Translator buildRootTranslator() {
+ return new SimpleRootTranslator(EclipseLink.XML_BINDINGS, OxmPackage.eINSTANCE.getEXmlBindings(), buildTranslatorChildren());
+ }
+
+ private static Translator[] buildTranslatorChildren() {
+ return new Translator[] {
+ buildVersionTranslator(SCHEMA_LOCATIONS),
+ buildNamespaceTranslator(EclipseLink.SCHEMA_NAMESPACE),
+ buildSchemaNamespaceTranslator(),
+ buildSchemaLocationTranslator(EclipseLink.SCHEMA_NAMESPACE, SCHEMA_LOCATIONS),
+ EJavaType.buildTranslator()
+ };
+ }
+} \ No newline at end of file
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlClassExtractor.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlClassExtractor.java
new file mode 100644
index 0000000000..6fa51d0bae
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlClassExtractor.java
@@ -0,0 +1,192 @@
+/**
+ */
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.jpt.common.core.resource.xml.EBaseObject;
+import org.eclipse.jpt.common.core.resource.xml.EBaseObjectImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EXml Class Extractor</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlClassExtractor#getClassName <em>Class Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlClassExtractor()
+ * @model kind="class"
+ * @extends EBaseObject
+ * @generated
+ */
+public class EXmlClassExtractor extends EBaseObjectImpl implements EBaseObject
+{
+ /**
+ * The default value of the '{@link #getClassName() <em>Class Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getClassName()
+ * @generated
+ * @ordered
+ */
+ protected static final String CLASS_NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getClassName() <em>Class Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getClassName()
+ * @generated
+ * @ordered
+ */
+ protected String className = CLASS_NAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EXmlClassExtractor()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OxmPackage.Literals.EXML_CLASS_EXTRACTOR;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Class Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Class Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Class Name</em>' attribute.
+ * @see #setClassName(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlClassExtractor_ClassName()
+ * @model
+ * @generated
+ */
+ public String getClassName()
+ {
+ return className;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlClassExtractor#getClassName <em>Class Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Class Name</em>' attribute.
+ * @see #getClassName()
+ * @generated
+ */
+ public void setClassName(String newClassName)
+ {
+ String oldClassName = className;
+ className = newClassName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_CLASS_EXTRACTOR__CLASS_NAME, oldClassName, className));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_CLASS_EXTRACTOR__CLASS_NAME:
+ return getClassName();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_CLASS_EXTRACTOR__CLASS_NAME:
+ setClassName((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_CLASS_EXTRACTOR__CLASS_NAME:
+ setClassName(CLASS_NAME_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_CLASS_EXTRACTOR__CLASS_NAME:
+ return CLASS_NAME_EDEFAULT == null ? className != null : !CLASS_NAME_EDEFAULT.equals(className);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (className: ");
+ result.append(className);
+ result.append(')');
+ return result.toString();
+ }
+
+} // EXmlClassExtractor
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlElement.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlElement.java
new file mode 100644
index 0000000000..c9156f3981
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlElement.java
@@ -0,0 +1,1996 @@
+/*******************************************************************************
+ * Copyright (c) 2012 Oracle. All rights reserved.
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0, which accompanies this distribution
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+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.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.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EStructuralFeature;
+import org.eclipse.wst.common.internal.emf.resource.Translator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EXml Element</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#getNamespace <em>Namespace</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#getDefaultValue <em>Default Value</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#isNillable <em>Nillable</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#isRequired <em>Required</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#isXmlId <em>Xml Id</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#isXmlIdRef <em>Xml Id Ref</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#isXmlKey <em>Xml Key</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#isXmlList <em>Xml List</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#isXmlInlineBinaryData <em>Xml Inline Binary Data</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#isXmlAttachmentRef <em>Xml Attachment Ref</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#getXmlMimeType <em>Xml Mime Type</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#isCdata <em>Cdata</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#getXmlPath <em>Xml Path</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#isXmlLocation <em>Xml Location</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#getXmlAbstractNullPolicy <em>Xml Abstract Null Policy</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#getXmlElementWrapper <em>Xml Element Wrapper</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#getXmlMap <em>Xml Map</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#getXmlSchemaType <em>Xml Schema Type</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElement()
+ * @model kind="class"
+ * @generated
+ */
+public class EXmlElement extends EJavaAttribute implements EAccessibleJavaAttribute, EAdaptableJavaAttribute, EContainerJavaAttribute, EPropertyHolder, EReadWriteJavaAttribute
+{
+ /**
+ * The cached value of the '{@link #getXmlAccessMethods() <em>Xml Access Methods</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlAccessMethods()
+ * @generated
+ * @ordered
+ */
+ protected EXmlAccessMethods xmlAccessMethods;
+ /**
+ * The cached value of the '{@link #getXmlJavaTypeAdapter() <em>Xml Java Type Adapter</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlJavaTypeAdapter()
+ * @generated
+ * @ordered
+ */
+ protected EXmlJavaTypeAdapter xmlJavaTypeAdapter;
+ /**
+ * The default value of the '{@link #getContainerType() <em>Container Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getContainerType()
+ * @generated
+ * @ordered
+ */
+ protected static final String CONTAINER_TYPE_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getContainerType() <em>Container Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getContainerType()
+ * @generated
+ * @ordered
+ */
+ protected String containerType = CONTAINER_TYPE_EDEFAULT;
+ /**
+ * The cached value of the '{@link #getXmlProperties() <em>Xml Properties</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlProperties()
+ * @generated
+ * @ordered
+ */
+ protected EList<EXmlProperty> xmlProperties;
+ /**
+ * The default value of the '{@link #isReadOnly() <em>Read Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isReadOnly()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean READ_ONLY_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isReadOnly() <em>Read Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isReadOnly()
+ * @generated
+ * @ordered
+ */
+ protected boolean readOnly = READ_ONLY_EDEFAULT;
+ /**
+ * The default value of the '{@link #isWriteOnly() <em>Write Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isWriteOnly()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean WRITE_ONLY_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isWriteOnly() <em>Write Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isWriteOnly()
+ * @generated
+ * @ordered
+ */
+ protected boolean writeOnly = WRITE_ONLY_EDEFAULT;
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+ /**
+ * The default value of the '{@link #getNamespace() <em>Namespace</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getNamespace()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAMESPACE_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getNamespace() <em>Namespace</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getNamespace()
+ * @generated
+ * @ordered
+ */
+ protected String namespace = NAMESPACE_EDEFAULT;
+ /**
+ * The default value of the '{@link #getDefaultValue() <em>Default Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDefaultValue()
+ * @generated
+ * @ordered
+ */
+ protected static final String DEFAULT_VALUE_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getDefaultValue() <em>Default Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDefaultValue()
+ * @generated
+ * @ordered
+ */
+ protected String defaultValue = DEFAULT_VALUE_EDEFAULT;
+ /**
+ * The default value of the '{@link #isNillable() <em>Nillable</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isNillable()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean NILLABLE_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isNillable() <em>Nillable</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isNillable()
+ * @generated
+ * @ordered
+ */
+ protected boolean nillable = NILLABLE_EDEFAULT;
+ /**
+ * The default value of the '{@link #isRequired() <em>Required</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isRequired()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean REQUIRED_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isRequired() <em>Required</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isRequired()
+ * @generated
+ * @ordered
+ */
+ protected boolean required = REQUIRED_EDEFAULT;
+ /**
+ * The default value of the '{@link #isXmlId() <em>Xml Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXmlId()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean XML_ID_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isXmlId() <em>Xml Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXmlId()
+ * @generated
+ * @ordered
+ */
+ protected boolean xmlId = XML_ID_EDEFAULT;
+ /**
+ * The default value of the '{@link #isXmlIdRef() <em>Xml Id Ref</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXmlIdRef()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean XML_ID_REF_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isXmlIdRef() <em>Xml Id Ref</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXmlIdRef()
+ * @generated
+ * @ordered
+ */
+ protected boolean xmlIdRef = XML_ID_REF_EDEFAULT;
+ /**
+ * The default value of the '{@link #isXmlKey() <em>Xml Key</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXmlKey()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean XML_KEY_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isXmlKey() <em>Xml Key</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXmlKey()
+ * @generated
+ * @ordered
+ */
+ protected boolean xmlKey = XML_KEY_EDEFAULT;
+ /**
+ * The default value of the '{@link #isXmlList() <em>Xml List</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXmlList()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean XML_LIST_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isXmlList() <em>Xml List</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXmlList()
+ * @generated
+ * @ordered
+ */
+ protected boolean xmlList = XML_LIST_EDEFAULT;
+ /**
+ * The default value of the '{@link #isXmlInlineBinaryData() <em>Xml Inline Binary Data</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXmlInlineBinaryData()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean XML_INLINE_BINARY_DATA_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isXmlInlineBinaryData() <em>Xml Inline Binary Data</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXmlInlineBinaryData()
+ * @generated
+ * @ordered
+ */
+ protected boolean xmlInlineBinaryData = XML_INLINE_BINARY_DATA_EDEFAULT;
+ /**
+ * The default value of the '{@link #isXmlAttachmentRef() <em>Xml Attachment Ref</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXmlAttachmentRef()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean XML_ATTACHMENT_REF_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isXmlAttachmentRef() <em>Xml Attachment Ref</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXmlAttachmentRef()
+ * @generated
+ * @ordered
+ */
+ protected boolean xmlAttachmentRef = XML_ATTACHMENT_REF_EDEFAULT;
+ /**
+ * The default value of the '{@link #getXmlMimeType() <em>Xml Mime Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlMimeType()
+ * @generated
+ * @ordered
+ */
+ protected static final String XML_MIME_TYPE_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getXmlMimeType() <em>Xml Mime Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlMimeType()
+ * @generated
+ * @ordered
+ */
+ protected String xmlMimeType = XML_MIME_TYPE_EDEFAULT;
+ /**
+ * The default value of the '{@link #isCdata() <em>Cdata</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isCdata()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean CDATA_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isCdata() <em>Cdata</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isCdata()
+ * @generated
+ * @ordered
+ */
+ protected boolean cdata = CDATA_EDEFAULT;
+ /**
+ * The default value of the '{@link #getXmlPath() <em>Xml Path</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlPath()
+ * @generated
+ * @ordered
+ */
+ protected static final String XML_PATH_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getXmlPath() <em>Xml Path</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlPath()
+ * @generated
+ * @ordered
+ */
+ protected String xmlPath = XML_PATH_EDEFAULT;
+ /**
+ * The default value of the '{@link #isXmlLocation() <em>Xml Location</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXmlLocation()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean XML_LOCATION_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isXmlLocation() <em>Xml Location</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXmlLocation()
+ * @generated
+ * @ordered
+ */
+ protected boolean xmlLocation = XML_LOCATION_EDEFAULT;
+ /**
+ * The cached value of the '{@link #getXmlAbstractNullPolicy() <em>Xml Abstract Null Policy</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlAbstractNullPolicy()
+ * @generated
+ * @ordered
+ */
+ protected EAbstractXmlNullPolicy xmlAbstractNullPolicy;
+ /**
+ * The cached value of the '{@link #getXmlElementWrapper() <em>Xml Element Wrapper</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlElementWrapper()
+ * @generated
+ * @ordered
+ */
+ protected EXmlElementWrapper xmlElementWrapper;
+ /**
+ * The cached value of the '{@link #getXmlMap() <em>Xml Map</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlMap()
+ * @generated
+ * @ordered
+ */
+ protected EXmlElementWrapper xmlMap;
+ /**
+ * The cached value of the '{@link #getXmlSchemaType() <em>Xml Schema Type</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlSchemaType()
+ * @generated
+ * @ordered
+ */
+ protected EXmlSchemaType xmlSchemaType;
+
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EXmlElement()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OxmPackage.Literals.EXML_ELEMENT;
+ }
+
+
+ /**
+ * Returns the value of the '<em><b>Xml Access Methods</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml 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>Xml Access Methods</em>' containment reference.
+ * @see #setXmlAccessMethods(EXmlAccessMethods)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEAccessibleJavaAttribute_XmlAccessMethods()
+ * @model containment="true"
+ * @generated
+ */
+ public EXmlAccessMethods getXmlAccessMethods()
+ {
+ return xmlAccessMethods;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetXmlAccessMethods(EXmlAccessMethods newXmlAccessMethods, NotificationChain msgs)
+ {
+ EXmlAccessMethods oldXmlAccessMethods = xmlAccessMethods;
+ xmlAccessMethods = newXmlAccessMethods;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT__XML_ACCESS_METHODS, oldXmlAccessMethods, newXmlAccessMethods);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#getXmlAccessMethods <em>Xml Access Methods</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Access Methods</em>' containment reference.
+ * @see #getXmlAccessMethods()
+ * @generated
+ */
+ public void setXmlAccessMethods(EXmlAccessMethods newXmlAccessMethods)
+ {
+ if (newXmlAccessMethods != xmlAccessMethods)
+ {
+ NotificationChain msgs = null;
+ if (xmlAccessMethods != null)
+ msgs = ((InternalEObject)xmlAccessMethods).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_ELEMENT__XML_ACCESS_METHODS, null, msgs);
+ if (newXmlAccessMethods != null)
+ msgs = ((InternalEObject)newXmlAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_ELEMENT__XML_ACCESS_METHODS, null, msgs);
+ msgs = basicSetXmlAccessMethods(newXmlAccessMethods, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT__XML_ACCESS_METHODS, newXmlAccessMethods, newXmlAccessMethods));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Java Type Adapter</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Java Type Adapter</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>Xml Java Type Adapter</em>' containment reference.
+ * @see #setXmlJavaTypeAdapter(EXmlJavaTypeAdapter)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEAdaptableJavaAttribute_XmlJavaTypeAdapter()
+ * @model containment="true"
+ * @generated
+ */
+ public EXmlJavaTypeAdapter getXmlJavaTypeAdapter()
+ {
+ return xmlJavaTypeAdapter;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetXmlJavaTypeAdapter(EXmlJavaTypeAdapter newXmlJavaTypeAdapter, NotificationChain msgs)
+ {
+ EXmlJavaTypeAdapter oldXmlJavaTypeAdapter = xmlJavaTypeAdapter;
+ xmlJavaTypeAdapter = newXmlJavaTypeAdapter;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT__XML_JAVA_TYPE_ADAPTER, oldXmlJavaTypeAdapter, newXmlJavaTypeAdapter);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#getXmlJavaTypeAdapter <em>Xml Java Type Adapter</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Java Type Adapter</em>' containment reference.
+ * @see #getXmlJavaTypeAdapter()
+ * @generated
+ */
+ public void setXmlJavaTypeAdapter(EXmlJavaTypeAdapter newXmlJavaTypeAdapter)
+ {
+ if (newXmlJavaTypeAdapter != xmlJavaTypeAdapter)
+ {
+ NotificationChain msgs = null;
+ if (xmlJavaTypeAdapter != null)
+ msgs = ((InternalEObject)xmlJavaTypeAdapter).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_ELEMENT__XML_JAVA_TYPE_ADAPTER, null, msgs);
+ if (newXmlJavaTypeAdapter != null)
+ msgs = ((InternalEObject)newXmlJavaTypeAdapter).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_ELEMENT__XML_JAVA_TYPE_ADAPTER, null, msgs);
+ msgs = basicSetXmlJavaTypeAdapter(newXmlJavaTypeAdapter, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT__XML_JAVA_TYPE_ADAPTER, newXmlJavaTypeAdapter, newXmlJavaTypeAdapter));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Container Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Container 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>Container Type</em>' attribute.
+ * @see #setContainerType(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEContainerJavaAttribute_ContainerType()
+ * @model
+ * @generated
+ */
+ public String getContainerType()
+ {
+ return containerType;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#getContainerType <em>Container Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Container Type</em>' attribute.
+ * @see #getContainerType()
+ * @generated
+ */
+ public void setContainerType(String newContainerType)
+ {
+ String oldContainerType = containerType;
+ containerType = newContainerType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT__CONTAINER_TYPE, oldContainerType, containerType));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Properties</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlProperty}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml 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>Xml Properties</em>' containment reference list.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEPropertyHolder_XmlProperties()
+ * @model containment="true"
+ * @generated
+ */
+ public EList<EXmlProperty> getXmlProperties()
+ {
+ if (xmlProperties == null)
+ {
+ xmlProperties = new EObjectContainmentEList<EXmlProperty>(EXmlProperty.class, this, OxmPackage.EXML_ELEMENT__XML_PROPERTIES);
+ }
+ return xmlProperties;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Read Only</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Read Only</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Read Only</em>' attribute.
+ * @see #setReadOnly(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEReadWriteJavaAttribute_ReadOnly()
+ * @model
+ * @generated
+ */
+ public boolean isReadOnly()
+ {
+ return readOnly;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#isReadOnly <em>Read Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Read Only</em>' attribute.
+ * @see #isReadOnly()
+ * @generated
+ */
+ public void setReadOnly(boolean newReadOnly)
+ {
+ boolean oldReadOnly = readOnly;
+ readOnly = newReadOnly;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT__READ_ONLY, oldReadOnly, readOnly));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Write Only</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Write Only</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Write Only</em>' attribute.
+ * @see #setWriteOnly(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEReadWriteJavaAttribute_WriteOnly()
+ * @model
+ * @generated
+ */
+ public boolean isWriteOnly()
+ {
+ return writeOnly;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#isWriteOnly <em>Write Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Write Only</em>' attribute.
+ * @see #isWriteOnly()
+ * @generated
+ */
+ public void setWriteOnly(boolean newWriteOnly)
+ {
+ boolean oldWriteOnly = writeOnly;
+ writeOnly = newWriteOnly;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT__WRITE_ONLY, oldWriteOnly, writeOnly));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElement_Name()
+ * @model
+ * @generated
+ */
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ public void setName(String newName)
+ {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT__NAME, oldName, name));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Namespace</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Namespace</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Namespace</em>' attribute.
+ * @see #setNamespace(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElement_Namespace()
+ * @model
+ * @generated
+ */
+ public String getNamespace()
+ {
+ return namespace;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#getNamespace <em>Namespace</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Namespace</em>' attribute.
+ * @see #getNamespace()
+ * @generated
+ */
+ public void setNamespace(String newNamespace)
+ {
+ String oldNamespace = namespace;
+ namespace = newNamespace;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT__NAMESPACE, oldNamespace, namespace));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Default Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Default Value</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Default Value</em>' attribute.
+ * @see #setDefaultValue(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElement_DefaultValue()
+ * @model
+ * @generated
+ */
+ public String getDefaultValue()
+ {
+ return defaultValue;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#getDefaultValue <em>Default Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Default Value</em>' attribute.
+ * @see #getDefaultValue()
+ * @generated
+ */
+ public void setDefaultValue(String newDefaultValue)
+ {
+ String oldDefaultValue = defaultValue;
+ defaultValue = newDefaultValue;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT__DEFAULT_VALUE, oldDefaultValue, defaultValue));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Nillable</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Nillable</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Nillable</em>' attribute.
+ * @see #setNillable(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElement_Nillable()
+ * @model
+ * @generated
+ */
+ public boolean isNillable()
+ {
+ return nillable;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#isNillable <em>Nillable</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Nillable</em>' attribute.
+ * @see #isNillable()
+ * @generated
+ */
+ public void setNillable(boolean newNillable)
+ {
+ boolean oldNillable = nillable;
+ nillable = newNillable;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT__NILLABLE, oldNillable, nillable));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Required</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Required</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Required</em>' attribute.
+ * @see #setRequired(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElement_Required()
+ * @model
+ * @generated
+ */
+ public boolean isRequired()
+ {
+ return required;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#isRequired <em>Required</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Required</em>' attribute.
+ * @see #isRequired()
+ * @generated
+ */
+ public void setRequired(boolean newRequired)
+ {
+ boolean oldRequired = required;
+ required = newRequired;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT__REQUIRED, oldRequired, required));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Id</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Xml Id</em>' attribute.
+ * @see #setXmlId(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElement_XmlId()
+ * @model
+ * @generated
+ */
+ public boolean isXmlId()
+ {
+ return xmlId;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#isXmlId <em>Xml Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Id</em>' attribute.
+ * @see #isXmlId()
+ * @generated
+ */
+ public void setXmlId(boolean newXmlId)
+ {
+ boolean oldXmlId = xmlId;
+ xmlId = newXmlId;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT__XML_ID, oldXmlId, xmlId));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Id Ref</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Id Ref</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Xml Id Ref</em>' attribute.
+ * @see #setXmlIdRef(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElement_XmlIdRef()
+ * @model
+ * @generated
+ */
+ public boolean isXmlIdRef()
+ {
+ return xmlIdRef;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#isXmlIdRef <em>Xml Id Ref</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Id Ref</em>' attribute.
+ * @see #isXmlIdRef()
+ * @generated
+ */
+ public void setXmlIdRef(boolean newXmlIdRef)
+ {
+ boolean oldXmlIdRef = xmlIdRef;
+ xmlIdRef = newXmlIdRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT__XML_ID_REF, oldXmlIdRef, xmlIdRef));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Key</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Key</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Xml Key</em>' attribute.
+ * @see #setXmlKey(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElement_XmlKey()
+ * @model
+ * @generated
+ */
+ public boolean isXmlKey()
+ {
+ return xmlKey;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#isXmlKey <em>Xml Key</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Key</em>' attribute.
+ * @see #isXmlKey()
+ * @generated
+ */
+ public void setXmlKey(boolean newXmlKey)
+ {
+ boolean oldXmlKey = xmlKey;
+ xmlKey = newXmlKey;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT__XML_KEY, oldXmlKey, xmlKey));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml List</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml List</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Xml List</em>' attribute.
+ * @see #setXmlList(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElement_XmlList()
+ * @model
+ * @generated
+ */
+ public boolean isXmlList()
+ {
+ return xmlList;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#isXmlList <em>Xml List</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml List</em>' attribute.
+ * @see #isXmlList()
+ * @generated
+ */
+ public void setXmlList(boolean newXmlList)
+ {
+ boolean oldXmlList = xmlList;
+ xmlList = newXmlList;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT__XML_LIST, oldXmlList, xmlList));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Inline Binary Data</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Inline Binary Data</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Xml Inline Binary Data</em>' attribute.
+ * @see #setXmlInlineBinaryData(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElement_XmlInlineBinaryData()
+ * @model
+ * @generated
+ */
+ public boolean isXmlInlineBinaryData()
+ {
+ return xmlInlineBinaryData;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#isXmlInlineBinaryData <em>Xml Inline Binary Data</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Inline Binary Data</em>' attribute.
+ * @see #isXmlInlineBinaryData()
+ * @generated
+ */
+ public void setXmlInlineBinaryData(boolean newXmlInlineBinaryData)
+ {
+ boolean oldXmlInlineBinaryData = xmlInlineBinaryData;
+ xmlInlineBinaryData = newXmlInlineBinaryData;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT__XML_INLINE_BINARY_DATA, oldXmlInlineBinaryData, xmlInlineBinaryData));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Attachment Ref</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Attachment Ref</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Xml Attachment Ref</em>' attribute.
+ * @see #setXmlAttachmentRef(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElement_XmlAttachmentRef()
+ * @model
+ * @generated
+ */
+ public boolean isXmlAttachmentRef()
+ {
+ return xmlAttachmentRef;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#isXmlAttachmentRef <em>Xml Attachment Ref</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Attachment Ref</em>' attribute.
+ * @see #isXmlAttachmentRef()
+ * @generated
+ */
+ public void setXmlAttachmentRef(boolean newXmlAttachmentRef)
+ {
+ boolean oldXmlAttachmentRef = xmlAttachmentRef;
+ xmlAttachmentRef = newXmlAttachmentRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT__XML_ATTACHMENT_REF, oldXmlAttachmentRef, xmlAttachmentRef));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Mime Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Mime 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>Xml Mime Type</em>' attribute.
+ * @see #setXmlMimeType(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElement_XmlMimeType()
+ * @model
+ * @generated
+ */
+ public String getXmlMimeType()
+ {
+ return xmlMimeType;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#getXmlMimeType <em>Xml Mime Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Mime Type</em>' attribute.
+ * @see #getXmlMimeType()
+ * @generated
+ */
+ public void setXmlMimeType(String newXmlMimeType)
+ {
+ String oldXmlMimeType = xmlMimeType;
+ xmlMimeType = newXmlMimeType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT__XML_MIME_TYPE, oldXmlMimeType, xmlMimeType));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Cdata</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Cdata</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Cdata</em>' attribute.
+ * @see #setCdata(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElement_Cdata()
+ * @model
+ * @generated
+ */
+ public boolean isCdata()
+ {
+ return cdata;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#isCdata <em>Cdata</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Cdata</em>' attribute.
+ * @see #isCdata()
+ * @generated
+ */
+ public void setCdata(boolean newCdata)
+ {
+ boolean oldCdata = cdata;
+ cdata = newCdata;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT__CDATA, oldCdata, cdata));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Path</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Path</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Xml Path</em>' attribute.
+ * @see #setXmlPath(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElement_XmlPath()
+ * @model
+ * @generated
+ */
+ public String getXmlPath()
+ {
+ return xmlPath;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#getXmlPath <em>Xml Path</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Path</em>' attribute.
+ * @see #getXmlPath()
+ * @generated
+ */
+ public void setXmlPath(String newXmlPath)
+ {
+ String oldXmlPath = xmlPath;
+ xmlPath = newXmlPath;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT__XML_PATH, oldXmlPath, xmlPath));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Location</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Location</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Xml Location</em>' attribute.
+ * @see #setXmlLocation(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElement_XmlLocation()
+ * @model
+ * @generated
+ */
+ public boolean isXmlLocation()
+ {
+ return xmlLocation;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#isXmlLocation <em>Xml Location</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Location</em>' attribute.
+ * @see #isXmlLocation()
+ * @generated
+ */
+ public void setXmlLocation(boolean newXmlLocation)
+ {
+ boolean oldXmlLocation = xmlLocation;
+ xmlLocation = newXmlLocation;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT__XML_LOCATION, oldXmlLocation, xmlLocation));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Abstract Null Policy</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Abstract Null Policy</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>Xml Abstract Null Policy</em>' containment reference.
+ * @see #setXmlAbstractNullPolicy(EAbstractXmlNullPolicy)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElement_XmlAbstractNullPolicy()
+ * @model containment="true"
+ * @generated
+ */
+ public EAbstractXmlNullPolicy getXmlAbstractNullPolicy()
+ {
+ return xmlAbstractNullPolicy;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetXmlAbstractNullPolicy(EAbstractXmlNullPolicy newXmlAbstractNullPolicy, NotificationChain msgs)
+ {
+ EAbstractXmlNullPolicy oldXmlAbstractNullPolicy = xmlAbstractNullPolicy;
+ xmlAbstractNullPolicy = newXmlAbstractNullPolicy;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT__XML_ABSTRACT_NULL_POLICY, oldXmlAbstractNullPolicy, newXmlAbstractNullPolicy);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#getXmlAbstractNullPolicy <em>Xml Abstract Null Policy</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Abstract Null Policy</em>' containment reference.
+ * @see #getXmlAbstractNullPolicy()
+ * @generated
+ */
+ public void setXmlAbstractNullPolicy(EAbstractXmlNullPolicy newXmlAbstractNullPolicy)
+ {
+ if (newXmlAbstractNullPolicy != xmlAbstractNullPolicy)
+ {
+ NotificationChain msgs = null;
+ if (xmlAbstractNullPolicy != null)
+ msgs = ((InternalEObject)xmlAbstractNullPolicy).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_ELEMENT__XML_ABSTRACT_NULL_POLICY, null, msgs);
+ if (newXmlAbstractNullPolicy != null)
+ msgs = ((InternalEObject)newXmlAbstractNullPolicy).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_ELEMENT__XML_ABSTRACT_NULL_POLICY, null, msgs);
+ msgs = basicSetXmlAbstractNullPolicy(newXmlAbstractNullPolicy, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT__XML_ABSTRACT_NULL_POLICY, newXmlAbstractNullPolicy, newXmlAbstractNullPolicy));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Element Wrapper</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Element Wrapper</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>Xml Element Wrapper</em>' containment reference.
+ * @see #setXmlElementWrapper(EXmlElementWrapper)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElement_XmlElementWrapper()
+ * @model containment="true"
+ * @generated
+ */
+ public EXmlElementWrapper getXmlElementWrapper()
+ {
+ return xmlElementWrapper;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetXmlElementWrapper(EXmlElementWrapper newXmlElementWrapper, NotificationChain msgs)
+ {
+ EXmlElementWrapper oldXmlElementWrapper = xmlElementWrapper;
+ xmlElementWrapper = newXmlElementWrapper;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT__XML_ELEMENT_WRAPPER, oldXmlElementWrapper, newXmlElementWrapper);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#getXmlElementWrapper <em>Xml Element Wrapper</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Element Wrapper</em>' containment reference.
+ * @see #getXmlElementWrapper()
+ * @generated
+ */
+ public void setXmlElementWrapper(EXmlElementWrapper newXmlElementWrapper)
+ {
+ if (newXmlElementWrapper != xmlElementWrapper)
+ {
+ NotificationChain msgs = null;
+ if (xmlElementWrapper != null)
+ msgs = ((InternalEObject)xmlElementWrapper).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_ELEMENT__XML_ELEMENT_WRAPPER, null, msgs);
+ if (newXmlElementWrapper != null)
+ msgs = ((InternalEObject)newXmlElementWrapper).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_ELEMENT__XML_ELEMENT_WRAPPER, null, msgs);
+ msgs = basicSetXmlElementWrapper(newXmlElementWrapper, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT__XML_ELEMENT_WRAPPER, newXmlElementWrapper, newXmlElementWrapper));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Map</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Map</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>Xml Map</em>' containment reference.
+ * @see #setXmlMap(EXmlElementWrapper)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElement_XmlMap()
+ * @model containment="true"
+ * @generated
+ */
+ public EXmlElementWrapper getXmlMap()
+ {
+ return xmlMap;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetXmlMap(EXmlElementWrapper newXmlMap, NotificationChain msgs)
+ {
+ EXmlElementWrapper oldXmlMap = xmlMap;
+ xmlMap = newXmlMap;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT__XML_MAP, oldXmlMap, newXmlMap);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#getXmlMap <em>Xml Map</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Map</em>' containment reference.
+ * @see #getXmlMap()
+ * @generated
+ */
+ public void setXmlMap(EXmlElementWrapper newXmlMap)
+ {
+ if (newXmlMap != xmlMap)
+ {
+ NotificationChain msgs = null;
+ if (xmlMap != null)
+ msgs = ((InternalEObject)xmlMap).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_ELEMENT__XML_MAP, null, msgs);
+ if (newXmlMap != null)
+ msgs = ((InternalEObject)newXmlMap).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_ELEMENT__XML_MAP, null, msgs);
+ msgs = basicSetXmlMap(newXmlMap, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT__XML_MAP, newXmlMap, newXmlMap));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Schema Type</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Schema Type</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>Xml Schema Type</em>' containment reference.
+ * @see #setXmlSchemaType(EXmlSchemaType)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElement_XmlSchemaType()
+ * @model containment="true"
+ * @generated
+ */
+ public EXmlSchemaType getXmlSchemaType()
+ {
+ return xmlSchemaType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetXmlSchemaType(EXmlSchemaType newXmlSchemaType, NotificationChain msgs)
+ {
+ EXmlSchemaType oldXmlSchemaType = xmlSchemaType;
+ xmlSchemaType = newXmlSchemaType;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT__XML_SCHEMA_TYPE, oldXmlSchemaType, newXmlSchemaType);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#getXmlSchemaType <em>Xml Schema Type</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Schema Type</em>' containment reference.
+ * @see #getXmlSchemaType()
+ * @generated
+ */
+ public void setXmlSchemaType(EXmlSchemaType newXmlSchemaType)
+ {
+ if (newXmlSchemaType != xmlSchemaType)
+ {
+ NotificationChain msgs = null;
+ if (xmlSchemaType != null)
+ msgs = ((InternalEObject)xmlSchemaType).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_ELEMENT__XML_SCHEMA_TYPE, null, msgs);
+ if (newXmlSchemaType != null)
+ msgs = ((InternalEObject)newXmlSchemaType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_ELEMENT__XML_SCHEMA_TYPE, null, msgs);
+ msgs = basicSetXmlSchemaType(newXmlSchemaType, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT__XML_SCHEMA_TYPE, newXmlSchemaType, newXmlSchemaType));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_ELEMENT__XML_ACCESS_METHODS:
+ return basicSetXmlAccessMethods(null, msgs);
+ case OxmPackage.EXML_ELEMENT__XML_JAVA_TYPE_ADAPTER:
+ return basicSetXmlJavaTypeAdapter(null, msgs);
+ case OxmPackage.EXML_ELEMENT__XML_PROPERTIES:
+ return ((InternalEList<?>)getXmlProperties()).basicRemove(otherEnd, msgs);
+ case OxmPackage.EXML_ELEMENT__XML_ABSTRACT_NULL_POLICY:
+ return basicSetXmlAbstractNullPolicy(null, msgs);
+ case OxmPackage.EXML_ELEMENT__XML_ELEMENT_WRAPPER:
+ return basicSetXmlElementWrapper(null, msgs);
+ case OxmPackage.EXML_ELEMENT__XML_MAP:
+ return basicSetXmlMap(null, msgs);
+ case OxmPackage.EXML_ELEMENT__XML_SCHEMA_TYPE:
+ return basicSetXmlSchemaType(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 OxmPackage.EXML_ELEMENT__XML_ACCESS_METHODS:
+ return getXmlAccessMethods();
+ case OxmPackage.EXML_ELEMENT__XML_JAVA_TYPE_ADAPTER:
+ return getXmlJavaTypeAdapter();
+ case OxmPackage.EXML_ELEMENT__CONTAINER_TYPE:
+ return getContainerType();
+ case OxmPackage.EXML_ELEMENT__XML_PROPERTIES:
+ return getXmlProperties();
+ case OxmPackage.EXML_ELEMENT__READ_ONLY:
+ return isReadOnly();
+ case OxmPackage.EXML_ELEMENT__WRITE_ONLY:
+ return isWriteOnly();
+ case OxmPackage.EXML_ELEMENT__NAME:
+ return getName();
+ case OxmPackage.EXML_ELEMENT__NAMESPACE:
+ return getNamespace();
+ case OxmPackage.EXML_ELEMENT__DEFAULT_VALUE:
+ return getDefaultValue();
+ case OxmPackage.EXML_ELEMENT__NILLABLE:
+ return isNillable();
+ case OxmPackage.EXML_ELEMENT__REQUIRED:
+ return isRequired();
+ case OxmPackage.EXML_ELEMENT__XML_ID:
+ return isXmlId();
+ case OxmPackage.EXML_ELEMENT__XML_ID_REF:
+ return isXmlIdRef();
+ case OxmPackage.EXML_ELEMENT__XML_KEY:
+ return isXmlKey();
+ case OxmPackage.EXML_ELEMENT__XML_LIST:
+ return isXmlList();
+ case OxmPackage.EXML_ELEMENT__XML_INLINE_BINARY_DATA:
+ return isXmlInlineBinaryData();
+ case OxmPackage.EXML_ELEMENT__XML_ATTACHMENT_REF:
+ return isXmlAttachmentRef();
+ case OxmPackage.EXML_ELEMENT__XML_MIME_TYPE:
+ return getXmlMimeType();
+ case OxmPackage.EXML_ELEMENT__CDATA:
+ return isCdata();
+ case OxmPackage.EXML_ELEMENT__XML_PATH:
+ return getXmlPath();
+ case OxmPackage.EXML_ELEMENT__XML_LOCATION:
+ return isXmlLocation();
+ case OxmPackage.EXML_ELEMENT__XML_ABSTRACT_NULL_POLICY:
+ return getXmlAbstractNullPolicy();
+ case OxmPackage.EXML_ELEMENT__XML_ELEMENT_WRAPPER:
+ return getXmlElementWrapper();
+ case OxmPackage.EXML_ELEMENT__XML_MAP:
+ return getXmlMap();
+ case OxmPackage.EXML_ELEMENT__XML_SCHEMA_TYPE:
+ return getXmlSchemaType();
+ }
+ 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 OxmPackage.EXML_ELEMENT__XML_ACCESS_METHODS:
+ setXmlAccessMethods((EXmlAccessMethods)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT__XML_JAVA_TYPE_ADAPTER:
+ setXmlJavaTypeAdapter((EXmlJavaTypeAdapter)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT__CONTAINER_TYPE:
+ setContainerType((String)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT__XML_PROPERTIES:
+ getXmlProperties().clear();
+ getXmlProperties().addAll((Collection<? extends EXmlProperty>)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT__READ_ONLY:
+ setReadOnly((Boolean)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT__WRITE_ONLY:
+ setWriteOnly((Boolean)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT__NAME:
+ setName((String)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT__NAMESPACE:
+ setNamespace((String)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT__DEFAULT_VALUE:
+ setDefaultValue((String)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT__NILLABLE:
+ setNillable((Boolean)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT__REQUIRED:
+ setRequired((Boolean)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT__XML_ID:
+ setXmlId((Boolean)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT__XML_ID_REF:
+ setXmlIdRef((Boolean)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT__XML_KEY:
+ setXmlKey((Boolean)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT__XML_LIST:
+ setXmlList((Boolean)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT__XML_INLINE_BINARY_DATA:
+ setXmlInlineBinaryData((Boolean)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT__XML_ATTACHMENT_REF:
+ setXmlAttachmentRef((Boolean)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT__XML_MIME_TYPE:
+ setXmlMimeType((String)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT__CDATA:
+ setCdata((Boolean)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT__XML_PATH:
+ setXmlPath((String)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT__XML_LOCATION:
+ setXmlLocation((Boolean)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT__XML_ABSTRACT_NULL_POLICY:
+ setXmlAbstractNullPolicy((EAbstractXmlNullPolicy)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT__XML_ELEMENT_WRAPPER:
+ setXmlElementWrapper((EXmlElementWrapper)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT__XML_MAP:
+ setXmlMap((EXmlElementWrapper)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT__XML_SCHEMA_TYPE:
+ setXmlSchemaType((EXmlSchemaType)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_ELEMENT__XML_ACCESS_METHODS:
+ setXmlAccessMethods((EXmlAccessMethods)null);
+ return;
+ case OxmPackage.EXML_ELEMENT__XML_JAVA_TYPE_ADAPTER:
+ setXmlJavaTypeAdapter((EXmlJavaTypeAdapter)null);
+ return;
+ case OxmPackage.EXML_ELEMENT__CONTAINER_TYPE:
+ setContainerType(CONTAINER_TYPE_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ELEMENT__XML_PROPERTIES:
+ getXmlProperties().clear();
+ return;
+ case OxmPackage.EXML_ELEMENT__READ_ONLY:
+ setReadOnly(READ_ONLY_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ELEMENT__WRITE_ONLY:
+ setWriteOnly(WRITE_ONLY_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ELEMENT__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ELEMENT__NAMESPACE:
+ setNamespace(NAMESPACE_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ELEMENT__DEFAULT_VALUE:
+ setDefaultValue(DEFAULT_VALUE_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ELEMENT__NILLABLE:
+ setNillable(NILLABLE_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ELEMENT__REQUIRED:
+ setRequired(REQUIRED_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ELEMENT__XML_ID:
+ setXmlId(XML_ID_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ELEMENT__XML_ID_REF:
+ setXmlIdRef(XML_ID_REF_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ELEMENT__XML_KEY:
+ setXmlKey(XML_KEY_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ELEMENT__XML_LIST:
+ setXmlList(XML_LIST_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ELEMENT__XML_INLINE_BINARY_DATA:
+ setXmlInlineBinaryData(XML_INLINE_BINARY_DATA_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ELEMENT__XML_ATTACHMENT_REF:
+ setXmlAttachmentRef(XML_ATTACHMENT_REF_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ELEMENT__XML_MIME_TYPE:
+ setXmlMimeType(XML_MIME_TYPE_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ELEMENT__CDATA:
+ setCdata(CDATA_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ELEMENT__XML_PATH:
+ setXmlPath(XML_PATH_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ELEMENT__XML_LOCATION:
+ setXmlLocation(XML_LOCATION_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ELEMENT__XML_ABSTRACT_NULL_POLICY:
+ setXmlAbstractNullPolicy((EAbstractXmlNullPolicy)null);
+ return;
+ case OxmPackage.EXML_ELEMENT__XML_ELEMENT_WRAPPER:
+ setXmlElementWrapper((EXmlElementWrapper)null);
+ return;
+ case OxmPackage.EXML_ELEMENT__XML_MAP:
+ setXmlMap((EXmlElementWrapper)null);
+ return;
+ case OxmPackage.EXML_ELEMENT__XML_SCHEMA_TYPE:
+ setXmlSchemaType((EXmlSchemaType)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_ELEMENT__XML_ACCESS_METHODS:
+ return xmlAccessMethods != null;
+ case OxmPackage.EXML_ELEMENT__XML_JAVA_TYPE_ADAPTER:
+ return xmlJavaTypeAdapter != null;
+ case OxmPackage.EXML_ELEMENT__CONTAINER_TYPE:
+ return CONTAINER_TYPE_EDEFAULT == null ? containerType != null : !CONTAINER_TYPE_EDEFAULT.equals(containerType);
+ case OxmPackage.EXML_ELEMENT__XML_PROPERTIES:
+ return xmlProperties != null && !xmlProperties.isEmpty();
+ case OxmPackage.EXML_ELEMENT__READ_ONLY:
+ return readOnly != READ_ONLY_EDEFAULT;
+ case OxmPackage.EXML_ELEMENT__WRITE_ONLY:
+ return writeOnly != WRITE_ONLY_EDEFAULT;
+ case OxmPackage.EXML_ELEMENT__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case OxmPackage.EXML_ELEMENT__NAMESPACE:
+ return NAMESPACE_EDEFAULT == null ? namespace != null : !NAMESPACE_EDEFAULT.equals(namespace);
+ case OxmPackage.EXML_ELEMENT__DEFAULT_VALUE:
+ return DEFAULT_VALUE_EDEFAULT == null ? defaultValue != null : !DEFAULT_VALUE_EDEFAULT.equals(defaultValue);
+ case OxmPackage.EXML_ELEMENT__NILLABLE:
+ return nillable != NILLABLE_EDEFAULT;
+ case OxmPackage.EXML_ELEMENT__REQUIRED:
+ return required != REQUIRED_EDEFAULT;
+ case OxmPackage.EXML_ELEMENT__XML_ID:
+ return xmlId != XML_ID_EDEFAULT;
+ case OxmPackage.EXML_ELEMENT__XML_ID_REF:
+ return xmlIdRef != XML_ID_REF_EDEFAULT;
+ case OxmPackage.EXML_ELEMENT__XML_KEY:
+ return xmlKey != XML_KEY_EDEFAULT;
+ case OxmPackage.EXML_ELEMENT__XML_LIST:
+ return xmlList != XML_LIST_EDEFAULT;
+ case OxmPackage.EXML_ELEMENT__XML_INLINE_BINARY_DATA:
+ return xmlInlineBinaryData != XML_INLINE_BINARY_DATA_EDEFAULT;
+ case OxmPackage.EXML_ELEMENT__XML_ATTACHMENT_REF:
+ return xmlAttachmentRef != XML_ATTACHMENT_REF_EDEFAULT;
+ case OxmPackage.EXML_ELEMENT__XML_MIME_TYPE:
+ return XML_MIME_TYPE_EDEFAULT == null ? xmlMimeType != null : !XML_MIME_TYPE_EDEFAULT.equals(xmlMimeType);
+ case OxmPackage.EXML_ELEMENT__CDATA:
+ return cdata != CDATA_EDEFAULT;
+ case OxmPackage.EXML_ELEMENT__XML_PATH:
+ return XML_PATH_EDEFAULT == null ? xmlPath != null : !XML_PATH_EDEFAULT.equals(xmlPath);
+ case OxmPackage.EXML_ELEMENT__XML_LOCATION:
+ return xmlLocation != XML_LOCATION_EDEFAULT;
+ case OxmPackage.EXML_ELEMENT__XML_ABSTRACT_NULL_POLICY:
+ return xmlAbstractNullPolicy != null;
+ case OxmPackage.EXML_ELEMENT__XML_ELEMENT_WRAPPER:
+ return xmlElementWrapper != null;
+ case OxmPackage.EXML_ELEMENT__XML_MAP:
+ return xmlMap != null;
+ case OxmPackage.EXML_ELEMENT__XML_SCHEMA_TYPE:
+ return xmlSchemaType != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)
+ {
+ if (baseClass == EAccessibleJavaAttribute.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_ELEMENT__XML_ACCESS_METHODS: return OxmPackage.EACCESSIBLE_JAVA_ATTRIBUTE__XML_ACCESS_METHODS;
+ default: return -1;
+ }
+ }
+ if (baseClass == EAdaptableJavaAttribute.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_ELEMENT__XML_JAVA_TYPE_ADAPTER: return OxmPackage.EADAPTABLE_JAVA_ATTRIBUTE__XML_JAVA_TYPE_ADAPTER;
+ default: return -1;
+ }
+ }
+ if (baseClass == EContainerJavaAttribute.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_ELEMENT__CONTAINER_TYPE: return OxmPackage.ECONTAINER_JAVA_ATTRIBUTE__CONTAINER_TYPE;
+ default: return -1;
+ }
+ }
+ if (baseClass == EPropertyHolder.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_ELEMENT__XML_PROPERTIES: return OxmPackage.EPROPERTY_HOLDER__XML_PROPERTIES;
+ default: return -1;
+ }
+ }
+ if (baseClass == EReadWriteJavaAttribute.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_ELEMENT__READ_ONLY: return OxmPackage.EREAD_WRITE_JAVA_ATTRIBUTE__READ_ONLY;
+ case OxmPackage.EXML_ELEMENT__WRITE_ONLY: return OxmPackage.EREAD_WRITE_JAVA_ATTRIBUTE__WRITE_ONLY;
+ 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 == EAccessibleJavaAttribute.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.EACCESSIBLE_JAVA_ATTRIBUTE__XML_ACCESS_METHODS: return OxmPackage.EXML_ELEMENT__XML_ACCESS_METHODS;
+ default: return -1;
+ }
+ }
+ if (baseClass == EAdaptableJavaAttribute.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.EADAPTABLE_JAVA_ATTRIBUTE__XML_JAVA_TYPE_ADAPTER: return OxmPackage.EXML_ELEMENT__XML_JAVA_TYPE_ADAPTER;
+ default: return -1;
+ }
+ }
+ if (baseClass == EContainerJavaAttribute.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.ECONTAINER_JAVA_ATTRIBUTE__CONTAINER_TYPE: return OxmPackage.EXML_ELEMENT__CONTAINER_TYPE;
+ default: return -1;
+ }
+ }
+ if (baseClass == EPropertyHolder.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.EPROPERTY_HOLDER__XML_PROPERTIES: return OxmPackage.EXML_ELEMENT__XML_PROPERTIES;
+ default: return -1;
+ }
+ }
+ if (baseClass == EReadWriteJavaAttribute.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.EREAD_WRITE_JAVA_ATTRIBUTE__READ_ONLY: return OxmPackage.EXML_ELEMENT__READ_ONLY;
+ case OxmPackage.EREAD_WRITE_JAVA_ATTRIBUTE__WRITE_ONLY: return OxmPackage.EXML_ELEMENT__WRITE_ONLY;
+ 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(" (containerType: ");
+ result.append(containerType);
+ result.append(", readOnly: ");
+ result.append(readOnly);
+ result.append(", writeOnly: ");
+ result.append(writeOnly);
+ result.append(", name: ");
+ result.append(name);
+ result.append(", namespace: ");
+ result.append(namespace);
+ result.append(", defaultValue: ");
+ result.append(defaultValue);
+ result.append(", nillable: ");
+ result.append(nillable);
+ result.append(", required: ");
+ result.append(required);
+ result.append(", xmlId: ");
+ result.append(xmlId);
+ result.append(", xmlIdRef: ");
+ result.append(xmlIdRef);
+ result.append(", xmlKey: ");
+ result.append(xmlKey);
+ result.append(", xmlList: ");
+ result.append(xmlList);
+ result.append(", xmlInlineBinaryData: ");
+ result.append(xmlInlineBinaryData);
+ result.append(", xmlAttachmentRef: ");
+ result.append(xmlAttachmentRef);
+ result.append(", xmlMimeType: ");
+ result.append(xmlMimeType);
+ result.append(", cdata: ");
+ result.append(cdata);
+ result.append(", xmlPath: ");
+ result.append(xmlPath);
+ result.append(", xmlLocation: ");
+ result.append(xmlLocation);
+ result.append(')');
+ return result.toString();
+ }
+
+
+ // ***** translators *****
+
+ static class XmlElementTranslator
+ extends AbstractJavaAttributeTranslator {
+
+ XmlElementTranslator(String domPathAndName, EStructuralFeature eStructuralFeature) {
+ super(domPathAndName, eStructuralFeature, buildTranslatorChildren());
+ }
+
+ private static Translator[] buildTranslatorChildren() {
+ return new Translator[] {
+ };
+ }
+
+ @Override
+ public EObject createEMFObject(String nodeName, String readAheadName) {
+ return OxmFactory.eINSTANCE.createEXmlElement();
+ }
+ }
+}
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlElementDecl.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlElementDecl.java
new file mode 100644
index 0000000000..b92d912570
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlElementDecl.java
@@ -0,0 +1,651 @@
+/**
+ */
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.jpt.common.core.resource.xml.EBaseObject;
+import org.eclipse.jpt.common.core.resource.xml.EBaseObjectImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EXml Element Decl</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementDecl#getJavaMethod <em>Java Method</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementDecl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementDecl#getNamespace <em>Namespace</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementDecl#getDefaultValue <em>Default Value</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementDecl#getScope <em>Scope</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementDecl#getSubstitutionHeadName <em>Substitution Head Name</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementDecl#getSubstitutionHeadNamespace <em>Substitution Head Namespace</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementDecl#getType <em>Type</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElementDecl()
+ * @model kind="class"
+ * @extends EBaseObject
+ * @generated
+ */
+public class EXmlElementDecl extends EBaseObjectImpl implements EBaseObject
+{
+ /**
+ * The default value of the '{@link #getJavaMethod() <em>Java Method</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getJavaMethod()
+ * @generated
+ * @ordered
+ */
+ protected static final String JAVA_METHOD_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getJavaMethod() <em>Java Method</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getJavaMethod()
+ * @generated
+ * @ordered
+ */
+ protected String javaMethod = JAVA_METHOD_EDEFAULT;
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+ /**
+ * The default value of the '{@link #getNamespace() <em>Namespace</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getNamespace()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAMESPACE_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getNamespace() <em>Namespace</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getNamespace()
+ * @generated
+ * @ordered
+ */
+ protected String namespace = NAMESPACE_EDEFAULT;
+ /**
+ * The default value of the '{@link #getDefaultValue() <em>Default Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDefaultValue()
+ * @generated
+ * @ordered
+ */
+ protected static final String DEFAULT_VALUE_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getDefaultValue() <em>Default Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDefaultValue()
+ * @generated
+ * @ordered
+ */
+ protected String defaultValue = DEFAULT_VALUE_EDEFAULT;
+ /**
+ * The default value of the '{@link #getScope() <em>Scope</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getScope()
+ * @generated
+ * @ordered
+ */
+ protected static final String SCOPE_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getScope() <em>Scope</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getScope()
+ * @generated
+ * @ordered
+ */
+ protected String scope = SCOPE_EDEFAULT;
+ /**
+ * The default value of the '{@link #getSubstitutionHeadName() <em>Substitution Head Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSubstitutionHeadName()
+ * @generated
+ * @ordered
+ */
+ protected static final String SUBSTITUTION_HEAD_NAME_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getSubstitutionHeadName() <em>Substitution Head Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSubstitutionHeadName()
+ * @generated
+ * @ordered
+ */
+ protected String substitutionHeadName = SUBSTITUTION_HEAD_NAME_EDEFAULT;
+ /**
+ * The default value of the '{@link #getSubstitutionHeadNamespace() <em>Substitution Head Namespace</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSubstitutionHeadNamespace()
+ * @generated
+ * @ordered
+ */
+ protected static final String SUBSTITUTION_HEAD_NAMESPACE_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getSubstitutionHeadNamespace() <em>Substitution Head Namespace</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSubstitutionHeadNamespace()
+ * @generated
+ * @ordered
+ */
+ protected String substitutionHeadNamespace = SUBSTITUTION_HEAD_NAMESPACE_EDEFAULT;
+ /**
+ * The default value of the '{@link #getType() <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected static final String TYPE_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getType() <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected String type = TYPE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EXmlElementDecl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OxmPackage.Literals.EXML_ELEMENT_DECL;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Java Method</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Java Method</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Java Method</em>' attribute.
+ * @see #setJavaMethod(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElementDecl_JavaMethod()
+ * @model
+ * @generated
+ */
+ public String getJavaMethod()
+ {
+ return javaMethod;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementDecl#getJavaMethod <em>Java Method</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Java Method</em>' attribute.
+ * @see #getJavaMethod()
+ * @generated
+ */
+ public void setJavaMethod(String newJavaMethod)
+ {
+ String oldJavaMethod = javaMethod;
+ javaMethod = newJavaMethod;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT_DECL__JAVA_METHOD, oldJavaMethod, javaMethod));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElementDecl_Name()
+ * @model
+ * @generated
+ */
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementDecl#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ public void setName(String newName)
+ {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT_DECL__NAME, oldName, name));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Namespace</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Namespace</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Namespace</em>' attribute.
+ * @see #setNamespace(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElementDecl_Namespace()
+ * @model
+ * @generated
+ */
+ public String getNamespace()
+ {
+ return namespace;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementDecl#getNamespace <em>Namespace</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Namespace</em>' attribute.
+ * @see #getNamespace()
+ * @generated
+ */
+ public void setNamespace(String newNamespace)
+ {
+ String oldNamespace = namespace;
+ namespace = newNamespace;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT_DECL__NAMESPACE, oldNamespace, namespace));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Default Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Default Value</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Default Value</em>' attribute.
+ * @see #setDefaultValue(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElementDecl_DefaultValue()
+ * @model
+ * @generated
+ */
+ public String getDefaultValue()
+ {
+ return defaultValue;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementDecl#getDefaultValue <em>Default Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Default Value</em>' attribute.
+ * @see #getDefaultValue()
+ * @generated
+ */
+ public void setDefaultValue(String newDefaultValue)
+ {
+ String oldDefaultValue = defaultValue;
+ defaultValue = newDefaultValue;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT_DECL__DEFAULT_VALUE, oldDefaultValue, defaultValue));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Scope</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Scope</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Scope</em>' attribute.
+ * @see #setScope(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElementDecl_Scope()
+ * @model
+ * @generated
+ */
+ public String getScope()
+ {
+ return scope;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementDecl#getScope <em>Scope</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Scope</em>' attribute.
+ * @see #getScope()
+ * @generated
+ */
+ public void setScope(String newScope)
+ {
+ String oldScope = scope;
+ scope = newScope;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT_DECL__SCOPE, oldScope, scope));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Substitution Head Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Substitution Head Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Substitution Head Name</em>' attribute.
+ * @see #setSubstitutionHeadName(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElementDecl_SubstitutionHeadName()
+ * @model
+ * @generated
+ */
+ public String getSubstitutionHeadName()
+ {
+ return substitutionHeadName;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementDecl#getSubstitutionHeadName <em>Substitution Head Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Substitution Head Name</em>' attribute.
+ * @see #getSubstitutionHeadName()
+ * @generated
+ */
+ public void setSubstitutionHeadName(String newSubstitutionHeadName)
+ {
+ String oldSubstitutionHeadName = substitutionHeadName;
+ substitutionHeadName = newSubstitutionHeadName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT_DECL__SUBSTITUTION_HEAD_NAME, oldSubstitutionHeadName, substitutionHeadName));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Substitution Head Namespace</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Substitution Head Namespace</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Substitution Head Namespace</em>' attribute.
+ * @see #setSubstitutionHeadNamespace(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElementDecl_SubstitutionHeadNamespace()
+ * @model
+ * @generated
+ */
+ public String getSubstitutionHeadNamespace()
+ {
+ return substitutionHeadNamespace;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementDecl#getSubstitutionHeadNamespace <em>Substitution Head Namespace</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Substitution Head Namespace</em>' attribute.
+ * @see #getSubstitutionHeadNamespace()
+ * @generated
+ */
+ public void setSubstitutionHeadNamespace(String newSubstitutionHeadNamespace)
+ {
+ String oldSubstitutionHeadNamespace = substitutionHeadNamespace;
+ substitutionHeadNamespace = newSubstitutionHeadNamespace;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT_DECL__SUBSTITUTION_HEAD_NAMESPACE, oldSubstitutionHeadNamespace, substitutionHeadNamespace));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>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>Type</em>' attribute.
+ * @see #setType(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElementDecl_Type()
+ * @model
+ * @generated
+ */
+ public String getType()
+ {
+ return type;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementDecl#getType <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Type</em>' attribute.
+ * @see #getType()
+ * @generated
+ */
+ public void setType(String newType)
+ {
+ String oldType = type;
+ type = newType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT_DECL__TYPE, oldType, type));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_ELEMENT_DECL__JAVA_METHOD:
+ return getJavaMethod();
+ case OxmPackage.EXML_ELEMENT_DECL__NAME:
+ return getName();
+ case OxmPackage.EXML_ELEMENT_DECL__NAMESPACE:
+ return getNamespace();
+ case OxmPackage.EXML_ELEMENT_DECL__DEFAULT_VALUE:
+ return getDefaultValue();
+ case OxmPackage.EXML_ELEMENT_DECL__SCOPE:
+ return getScope();
+ case OxmPackage.EXML_ELEMENT_DECL__SUBSTITUTION_HEAD_NAME:
+ return getSubstitutionHeadName();
+ case OxmPackage.EXML_ELEMENT_DECL__SUBSTITUTION_HEAD_NAMESPACE:
+ return getSubstitutionHeadNamespace();
+ case OxmPackage.EXML_ELEMENT_DECL__TYPE:
+ return getType();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_ELEMENT_DECL__JAVA_METHOD:
+ setJavaMethod((String)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT_DECL__NAME:
+ setName((String)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT_DECL__NAMESPACE:
+ setNamespace((String)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT_DECL__DEFAULT_VALUE:
+ setDefaultValue((String)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT_DECL__SCOPE:
+ setScope((String)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT_DECL__SUBSTITUTION_HEAD_NAME:
+ setSubstitutionHeadName((String)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT_DECL__SUBSTITUTION_HEAD_NAMESPACE:
+ setSubstitutionHeadNamespace((String)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT_DECL__TYPE:
+ setType((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_ELEMENT_DECL__JAVA_METHOD:
+ setJavaMethod(JAVA_METHOD_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ELEMENT_DECL__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ELEMENT_DECL__NAMESPACE:
+ setNamespace(NAMESPACE_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ELEMENT_DECL__DEFAULT_VALUE:
+ setDefaultValue(DEFAULT_VALUE_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ELEMENT_DECL__SCOPE:
+ setScope(SCOPE_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ELEMENT_DECL__SUBSTITUTION_HEAD_NAME:
+ setSubstitutionHeadName(SUBSTITUTION_HEAD_NAME_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ELEMENT_DECL__SUBSTITUTION_HEAD_NAMESPACE:
+ setSubstitutionHeadNamespace(SUBSTITUTION_HEAD_NAMESPACE_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ELEMENT_DECL__TYPE:
+ setType(TYPE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_ELEMENT_DECL__JAVA_METHOD:
+ return JAVA_METHOD_EDEFAULT == null ? javaMethod != null : !JAVA_METHOD_EDEFAULT.equals(javaMethod);
+ case OxmPackage.EXML_ELEMENT_DECL__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case OxmPackage.EXML_ELEMENT_DECL__NAMESPACE:
+ return NAMESPACE_EDEFAULT == null ? namespace != null : !NAMESPACE_EDEFAULT.equals(namespace);
+ case OxmPackage.EXML_ELEMENT_DECL__DEFAULT_VALUE:
+ return DEFAULT_VALUE_EDEFAULT == null ? defaultValue != null : !DEFAULT_VALUE_EDEFAULT.equals(defaultValue);
+ case OxmPackage.EXML_ELEMENT_DECL__SCOPE:
+ return SCOPE_EDEFAULT == null ? scope != null : !SCOPE_EDEFAULT.equals(scope);
+ case OxmPackage.EXML_ELEMENT_DECL__SUBSTITUTION_HEAD_NAME:
+ return SUBSTITUTION_HEAD_NAME_EDEFAULT == null ? substitutionHeadName != null : !SUBSTITUTION_HEAD_NAME_EDEFAULT.equals(substitutionHeadName);
+ case OxmPackage.EXML_ELEMENT_DECL__SUBSTITUTION_HEAD_NAMESPACE:
+ return SUBSTITUTION_HEAD_NAMESPACE_EDEFAULT == null ? substitutionHeadNamespace != null : !SUBSTITUTION_HEAD_NAMESPACE_EDEFAULT.equals(substitutionHeadNamespace);
+ case OxmPackage.EXML_ELEMENT_DECL__TYPE:
+ return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT.equals(type);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (javaMethod: ");
+ result.append(javaMethod);
+ result.append(", name: ");
+ result.append(name);
+ result.append(", namespace: ");
+ result.append(namespace);
+ result.append(", defaultValue: ");
+ result.append(defaultValue);
+ result.append(", scope: ");
+ result.append(scope);
+ result.append(", substitutionHeadName: ");
+ result.append(substitutionHeadName);
+ result.append(", substitutionHeadNamespace: ");
+ result.append(substitutionHeadNamespace);
+ result.append(", type: ");
+ result.append(type);
+ result.append(')');
+ return result.toString();
+ }
+
+} // EXmlElementDecl
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlElementRef.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlElementRef.java
new file mode 100644
index 0000000000..87425ab555
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlElementRef.java
@@ -0,0 +1,1039 @@
+/*******************************************************************************
+ * Copyright (c) 2012 Oracle. All rights reserved.
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0, which accompanies this distribution
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+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.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.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EStructuralFeature;
+import org.eclipse.wst.common.internal.emf.resource.Translator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EXml Element Ref</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRef#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRef#getNamespace <em>Namespace</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRef#isXmlMixed <em>Xml Mixed</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRef#getXmlElementWrapper <em>Xml Element Wrapper</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElementRef()
+ * @model kind="class"
+ * @generated
+ */
+public class EXmlElementRef extends EJavaAttribute implements EAccessibleJavaAttribute, EAdaptableJavaAttribute, EContainerJavaAttribute, EReadWriteJavaAttribute, ETypedJavaAttribute, EPropertyHolder
+{
+ /**
+ * The cached value of the '{@link #getXmlAccessMethods() <em>Xml Access Methods</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlAccessMethods()
+ * @generated
+ * @ordered
+ */
+ protected EXmlAccessMethods xmlAccessMethods;
+ /**
+ * The cached value of the '{@link #getXmlJavaTypeAdapter() <em>Xml Java Type Adapter</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlJavaTypeAdapter()
+ * @generated
+ * @ordered
+ */
+ protected EXmlJavaTypeAdapter xmlJavaTypeAdapter;
+ /**
+ * The default value of the '{@link #getContainerType() <em>Container Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getContainerType()
+ * @generated
+ * @ordered
+ */
+ protected static final String CONTAINER_TYPE_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getContainerType() <em>Container Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getContainerType()
+ * @generated
+ * @ordered
+ */
+ protected String containerType = CONTAINER_TYPE_EDEFAULT;
+ /**
+ * The default value of the '{@link #isReadOnly() <em>Read Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isReadOnly()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean READ_ONLY_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isReadOnly() <em>Read Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isReadOnly()
+ * @generated
+ * @ordered
+ */
+ protected boolean readOnly = READ_ONLY_EDEFAULT;
+ /**
+ * The default value of the '{@link #isWriteOnly() <em>Write Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isWriteOnly()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean WRITE_ONLY_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isWriteOnly() <em>Write Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isWriteOnly()
+ * @generated
+ * @ordered
+ */
+ protected boolean writeOnly = WRITE_ONLY_EDEFAULT;
+ /**
+ * The default value of the '{@link #getType() <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected static final String TYPE_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getType() <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected String type = TYPE_EDEFAULT;
+ /**
+ * The cached value of the '{@link #getXmlProperties() <em>Xml Properties</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlProperties()
+ * @generated
+ * @ordered
+ */
+ protected EList<EXmlProperty> xmlProperties;
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+ /**
+ * The default value of the '{@link #getNamespace() <em>Namespace</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getNamespace()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAMESPACE_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getNamespace() <em>Namespace</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getNamespace()
+ * @generated
+ * @ordered
+ */
+ protected String namespace = NAMESPACE_EDEFAULT;
+ /**
+ * The default value of the '{@link #isXmlMixed() <em>Xml Mixed</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXmlMixed()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean XML_MIXED_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isXmlMixed() <em>Xml Mixed</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXmlMixed()
+ * @generated
+ * @ordered
+ */
+ protected boolean xmlMixed = XML_MIXED_EDEFAULT;
+ /**
+ * The cached value of the '{@link #getXmlElementWrapper() <em>Xml Element Wrapper</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlElementWrapper()
+ * @generated
+ * @ordered
+ */
+ protected EXmlElementWrapper xmlElementWrapper;
+
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EXmlElementRef()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OxmPackage.Literals.EXML_ELEMENT_REF;
+ }
+
+
+ /**
+ * Returns the value of the '<em><b>Xml Access Methods</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml 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>Xml Access Methods</em>' containment reference.
+ * @see #setXmlAccessMethods(EXmlAccessMethods)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEAccessibleJavaAttribute_XmlAccessMethods()
+ * @model containment="true"
+ * @generated
+ */
+ public EXmlAccessMethods getXmlAccessMethods()
+ {
+ return xmlAccessMethods;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetXmlAccessMethods(EXmlAccessMethods newXmlAccessMethods, NotificationChain msgs)
+ {
+ EXmlAccessMethods oldXmlAccessMethods = xmlAccessMethods;
+ xmlAccessMethods = newXmlAccessMethods;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT_REF__XML_ACCESS_METHODS, oldXmlAccessMethods, newXmlAccessMethods);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRef#getXmlAccessMethods <em>Xml Access Methods</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Access Methods</em>' containment reference.
+ * @see #getXmlAccessMethods()
+ * @generated
+ */
+ public void setXmlAccessMethods(EXmlAccessMethods newXmlAccessMethods)
+ {
+ if (newXmlAccessMethods != xmlAccessMethods)
+ {
+ NotificationChain msgs = null;
+ if (xmlAccessMethods != null)
+ msgs = ((InternalEObject)xmlAccessMethods).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_ELEMENT_REF__XML_ACCESS_METHODS, null, msgs);
+ if (newXmlAccessMethods != null)
+ msgs = ((InternalEObject)newXmlAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_ELEMENT_REF__XML_ACCESS_METHODS, null, msgs);
+ msgs = basicSetXmlAccessMethods(newXmlAccessMethods, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT_REF__XML_ACCESS_METHODS, newXmlAccessMethods, newXmlAccessMethods));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Java Type Adapter</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Java Type Adapter</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>Xml Java Type Adapter</em>' containment reference.
+ * @see #setXmlJavaTypeAdapter(EXmlJavaTypeAdapter)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEAdaptableJavaAttribute_XmlJavaTypeAdapter()
+ * @model containment="true"
+ * @generated
+ */
+ public EXmlJavaTypeAdapter getXmlJavaTypeAdapter()
+ {
+ return xmlJavaTypeAdapter;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetXmlJavaTypeAdapter(EXmlJavaTypeAdapter newXmlJavaTypeAdapter, NotificationChain msgs)
+ {
+ EXmlJavaTypeAdapter oldXmlJavaTypeAdapter = xmlJavaTypeAdapter;
+ xmlJavaTypeAdapter = newXmlJavaTypeAdapter;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT_REF__XML_JAVA_TYPE_ADAPTER, oldXmlJavaTypeAdapter, newXmlJavaTypeAdapter);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRef#getXmlJavaTypeAdapter <em>Xml Java Type Adapter</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Java Type Adapter</em>' containment reference.
+ * @see #getXmlJavaTypeAdapter()
+ * @generated
+ */
+ public void setXmlJavaTypeAdapter(EXmlJavaTypeAdapter newXmlJavaTypeAdapter)
+ {
+ if (newXmlJavaTypeAdapter != xmlJavaTypeAdapter)
+ {
+ NotificationChain msgs = null;
+ if (xmlJavaTypeAdapter != null)
+ msgs = ((InternalEObject)xmlJavaTypeAdapter).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_ELEMENT_REF__XML_JAVA_TYPE_ADAPTER, null, msgs);
+ if (newXmlJavaTypeAdapter != null)
+ msgs = ((InternalEObject)newXmlJavaTypeAdapter).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_ELEMENT_REF__XML_JAVA_TYPE_ADAPTER, null, msgs);
+ msgs = basicSetXmlJavaTypeAdapter(newXmlJavaTypeAdapter, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT_REF__XML_JAVA_TYPE_ADAPTER, newXmlJavaTypeAdapter, newXmlJavaTypeAdapter));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Container Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Container 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>Container Type</em>' attribute.
+ * @see #setContainerType(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEContainerJavaAttribute_ContainerType()
+ * @model
+ * @generated
+ */
+ public String getContainerType()
+ {
+ return containerType;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRef#getContainerType <em>Container Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Container Type</em>' attribute.
+ * @see #getContainerType()
+ * @generated
+ */
+ public void setContainerType(String newContainerType)
+ {
+ String oldContainerType = containerType;
+ containerType = newContainerType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT_REF__CONTAINER_TYPE, oldContainerType, containerType));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Read Only</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Read Only</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Read Only</em>' attribute.
+ * @see #setReadOnly(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEReadWriteJavaAttribute_ReadOnly()
+ * @model
+ * @generated
+ */
+ public boolean isReadOnly()
+ {
+ return readOnly;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRef#isReadOnly <em>Read Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Read Only</em>' attribute.
+ * @see #isReadOnly()
+ * @generated
+ */
+ public void setReadOnly(boolean newReadOnly)
+ {
+ boolean oldReadOnly = readOnly;
+ readOnly = newReadOnly;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT_REF__READ_ONLY, oldReadOnly, readOnly));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Write Only</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Write Only</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Write Only</em>' attribute.
+ * @see #setWriteOnly(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEReadWriteJavaAttribute_WriteOnly()
+ * @model
+ * @generated
+ */
+ public boolean isWriteOnly()
+ {
+ return writeOnly;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRef#isWriteOnly <em>Write Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Write Only</em>' attribute.
+ * @see #isWriteOnly()
+ * @generated
+ */
+ public void setWriteOnly(boolean newWriteOnly)
+ {
+ boolean oldWriteOnly = writeOnly;
+ writeOnly = newWriteOnly;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT_REF__WRITE_ONLY, oldWriteOnly, writeOnly));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>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>Type</em>' attribute.
+ * @see #setType(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getETypedJavaAttribute_Type()
+ * @model
+ * @generated
+ */
+ public String getType()
+ {
+ return type;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRef#getType <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Type</em>' attribute.
+ * @see #getType()
+ * @generated
+ */
+ public void setType(String newType)
+ {
+ String oldType = type;
+ type = newType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT_REF__TYPE, oldType, type));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Properties</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlProperty}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml 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>Xml Properties</em>' containment reference list.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEPropertyHolder_XmlProperties()
+ * @model containment="true"
+ * @generated
+ */
+ public EList<EXmlProperty> getXmlProperties()
+ {
+ if (xmlProperties == null)
+ {
+ xmlProperties = new EObjectContainmentEList<EXmlProperty>(EXmlProperty.class, this, OxmPackage.EXML_ELEMENT_REF__XML_PROPERTIES);
+ }
+ return xmlProperties;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElementRef_Name()
+ * @model
+ * @generated
+ */
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRef#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ public void setName(String newName)
+ {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT_REF__NAME, oldName, name));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Namespace</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Namespace</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Namespace</em>' attribute.
+ * @see #setNamespace(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElementRef_Namespace()
+ * @model
+ * @generated
+ */
+ public String getNamespace()
+ {
+ return namespace;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRef#getNamespace <em>Namespace</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Namespace</em>' attribute.
+ * @see #getNamespace()
+ * @generated
+ */
+ public void setNamespace(String newNamespace)
+ {
+ String oldNamespace = namespace;
+ namespace = newNamespace;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT_REF__NAMESPACE, oldNamespace, namespace));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Mixed</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Mixed</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Xml Mixed</em>' attribute.
+ * @see #setXmlMixed(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElementRef_XmlMixed()
+ * @model
+ * @generated
+ */
+ public boolean isXmlMixed()
+ {
+ return xmlMixed;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRef#isXmlMixed <em>Xml Mixed</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Mixed</em>' attribute.
+ * @see #isXmlMixed()
+ * @generated
+ */
+ public void setXmlMixed(boolean newXmlMixed)
+ {
+ boolean oldXmlMixed = xmlMixed;
+ xmlMixed = newXmlMixed;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT_REF__XML_MIXED, oldXmlMixed, xmlMixed));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Element Wrapper</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Element Wrapper</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>Xml Element Wrapper</em>' containment reference.
+ * @see #setXmlElementWrapper(EXmlElementWrapper)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElementRef_XmlElementWrapper()
+ * @model containment="true"
+ * @generated
+ */
+ public EXmlElementWrapper getXmlElementWrapper()
+ {
+ return xmlElementWrapper;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetXmlElementWrapper(EXmlElementWrapper newXmlElementWrapper, NotificationChain msgs)
+ {
+ EXmlElementWrapper oldXmlElementWrapper = xmlElementWrapper;
+ xmlElementWrapper = newXmlElementWrapper;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT_REF__XML_ELEMENT_WRAPPER, oldXmlElementWrapper, newXmlElementWrapper);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRef#getXmlElementWrapper <em>Xml Element Wrapper</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Element Wrapper</em>' containment reference.
+ * @see #getXmlElementWrapper()
+ * @generated
+ */
+ public void setXmlElementWrapper(EXmlElementWrapper newXmlElementWrapper)
+ {
+ if (newXmlElementWrapper != xmlElementWrapper)
+ {
+ NotificationChain msgs = null;
+ if (xmlElementWrapper != null)
+ msgs = ((InternalEObject)xmlElementWrapper).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_ELEMENT_REF__XML_ELEMENT_WRAPPER, null, msgs);
+ if (newXmlElementWrapper != null)
+ msgs = ((InternalEObject)newXmlElementWrapper).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_ELEMENT_REF__XML_ELEMENT_WRAPPER, null, msgs);
+ msgs = basicSetXmlElementWrapper(newXmlElementWrapper, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT_REF__XML_ELEMENT_WRAPPER, newXmlElementWrapper, newXmlElementWrapper));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_ELEMENT_REF__XML_ACCESS_METHODS:
+ return basicSetXmlAccessMethods(null, msgs);
+ case OxmPackage.EXML_ELEMENT_REF__XML_JAVA_TYPE_ADAPTER:
+ return basicSetXmlJavaTypeAdapter(null, msgs);
+ case OxmPackage.EXML_ELEMENT_REF__XML_PROPERTIES:
+ return ((InternalEList<?>)getXmlProperties()).basicRemove(otherEnd, msgs);
+ case OxmPackage.EXML_ELEMENT_REF__XML_ELEMENT_WRAPPER:
+ return basicSetXmlElementWrapper(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 OxmPackage.EXML_ELEMENT_REF__XML_ACCESS_METHODS:
+ return getXmlAccessMethods();
+ case OxmPackage.EXML_ELEMENT_REF__XML_JAVA_TYPE_ADAPTER:
+ return getXmlJavaTypeAdapter();
+ case OxmPackage.EXML_ELEMENT_REF__CONTAINER_TYPE:
+ return getContainerType();
+ case OxmPackage.EXML_ELEMENT_REF__READ_ONLY:
+ return isReadOnly();
+ case OxmPackage.EXML_ELEMENT_REF__WRITE_ONLY:
+ return isWriteOnly();
+ case OxmPackage.EXML_ELEMENT_REF__TYPE:
+ return getType();
+ case OxmPackage.EXML_ELEMENT_REF__XML_PROPERTIES:
+ return getXmlProperties();
+ case OxmPackage.EXML_ELEMENT_REF__NAME:
+ return getName();
+ case OxmPackage.EXML_ELEMENT_REF__NAMESPACE:
+ return getNamespace();
+ case OxmPackage.EXML_ELEMENT_REF__XML_MIXED:
+ return isXmlMixed();
+ case OxmPackage.EXML_ELEMENT_REF__XML_ELEMENT_WRAPPER:
+ return getXmlElementWrapper();
+ }
+ 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 OxmPackage.EXML_ELEMENT_REF__XML_ACCESS_METHODS:
+ setXmlAccessMethods((EXmlAccessMethods)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT_REF__XML_JAVA_TYPE_ADAPTER:
+ setXmlJavaTypeAdapter((EXmlJavaTypeAdapter)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT_REF__CONTAINER_TYPE:
+ setContainerType((String)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT_REF__READ_ONLY:
+ setReadOnly((Boolean)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT_REF__WRITE_ONLY:
+ setWriteOnly((Boolean)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT_REF__TYPE:
+ setType((String)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT_REF__XML_PROPERTIES:
+ getXmlProperties().clear();
+ getXmlProperties().addAll((Collection<? extends EXmlProperty>)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT_REF__NAME:
+ setName((String)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT_REF__NAMESPACE:
+ setNamespace((String)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT_REF__XML_MIXED:
+ setXmlMixed((Boolean)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT_REF__XML_ELEMENT_WRAPPER:
+ setXmlElementWrapper((EXmlElementWrapper)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_ELEMENT_REF__XML_ACCESS_METHODS:
+ setXmlAccessMethods((EXmlAccessMethods)null);
+ return;
+ case OxmPackage.EXML_ELEMENT_REF__XML_JAVA_TYPE_ADAPTER:
+ setXmlJavaTypeAdapter((EXmlJavaTypeAdapter)null);
+ return;
+ case OxmPackage.EXML_ELEMENT_REF__CONTAINER_TYPE:
+ setContainerType(CONTAINER_TYPE_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ELEMENT_REF__READ_ONLY:
+ setReadOnly(READ_ONLY_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ELEMENT_REF__WRITE_ONLY:
+ setWriteOnly(WRITE_ONLY_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ELEMENT_REF__TYPE:
+ setType(TYPE_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ELEMENT_REF__XML_PROPERTIES:
+ getXmlProperties().clear();
+ return;
+ case OxmPackage.EXML_ELEMENT_REF__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ELEMENT_REF__NAMESPACE:
+ setNamespace(NAMESPACE_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ELEMENT_REF__XML_MIXED:
+ setXmlMixed(XML_MIXED_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ELEMENT_REF__XML_ELEMENT_WRAPPER:
+ setXmlElementWrapper((EXmlElementWrapper)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_ELEMENT_REF__XML_ACCESS_METHODS:
+ return xmlAccessMethods != null;
+ case OxmPackage.EXML_ELEMENT_REF__XML_JAVA_TYPE_ADAPTER:
+ return xmlJavaTypeAdapter != null;
+ case OxmPackage.EXML_ELEMENT_REF__CONTAINER_TYPE:
+ return CONTAINER_TYPE_EDEFAULT == null ? containerType != null : !CONTAINER_TYPE_EDEFAULT.equals(containerType);
+ case OxmPackage.EXML_ELEMENT_REF__READ_ONLY:
+ return readOnly != READ_ONLY_EDEFAULT;
+ case OxmPackage.EXML_ELEMENT_REF__WRITE_ONLY:
+ return writeOnly != WRITE_ONLY_EDEFAULT;
+ case OxmPackage.EXML_ELEMENT_REF__TYPE:
+ return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT.equals(type);
+ case OxmPackage.EXML_ELEMENT_REF__XML_PROPERTIES:
+ return xmlProperties != null && !xmlProperties.isEmpty();
+ case OxmPackage.EXML_ELEMENT_REF__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case OxmPackage.EXML_ELEMENT_REF__NAMESPACE:
+ return NAMESPACE_EDEFAULT == null ? namespace != null : !NAMESPACE_EDEFAULT.equals(namespace);
+ case OxmPackage.EXML_ELEMENT_REF__XML_MIXED:
+ return xmlMixed != XML_MIXED_EDEFAULT;
+ case OxmPackage.EXML_ELEMENT_REF__XML_ELEMENT_WRAPPER:
+ return xmlElementWrapper != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)
+ {
+ if (baseClass == EAccessibleJavaAttribute.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_ELEMENT_REF__XML_ACCESS_METHODS: return OxmPackage.EACCESSIBLE_JAVA_ATTRIBUTE__XML_ACCESS_METHODS;
+ default: return -1;
+ }
+ }
+ if (baseClass == EAdaptableJavaAttribute.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_ELEMENT_REF__XML_JAVA_TYPE_ADAPTER: return OxmPackage.EADAPTABLE_JAVA_ATTRIBUTE__XML_JAVA_TYPE_ADAPTER;
+ default: return -1;
+ }
+ }
+ if (baseClass == EContainerJavaAttribute.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_ELEMENT_REF__CONTAINER_TYPE: return OxmPackage.ECONTAINER_JAVA_ATTRIBUTE__CONTAINER_TYPE;
+ default: return -1;
+ }
+ }
+ if (baseClass == EReadWriteJavaAttribute.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_ELEMENT_REF__READ_ONLY: return OxmPackage.EREAD_WRITE_JAVA_ATTRIBUTE__READ_ONLY;
+ case OxmPackage.EXML_ELEMENT_REF__WRITE_ONLY: return OxmPackage.EREAD_WRITE_JAVA_ATTRIBUTE__WRITE_ONLY;
+ default: return -1;
+ }
+ }
+ if (baseClass == ETypedJavaAttribute.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_ELEMENT_REF__TYPE: return OxmPackage.ETYPED_JAVA_ATTRIBUTE__TYPE;
+ default: return -1;
+ }
+ }
+ if (baseClass == EPropertyHolder.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_ELEMENT_REF__XML_PROPERTIES: return OxmPackage.EPROPERTY_HOLDER__XML_PROPERTIES;
+ 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 == EAccessibleJavaAttribute.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.EACCESSIBLE_JAVA_ATTRIBUTE__XML_ACCESS_METHODS: return OxmPackage.EXML_ELEMENT_REF__XML_ACCESS_METHODS;
+ default: return -1;
+ }
+ }
+ if (baseClass == EAdaptableJavaAttribute.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.EADAPTABLE_JAVA_ATTRIBUTE__XML_JAVA_TYPE_ADAPTER: return OxmPackage.EXML_ELEMENT_REF__XML_JAVA_TYPE_ADAPTER;
+ default: return -1;
+ }
+ }
+ if (baseClass == EContainerJavaAttribute.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.ECONTAINER_JAVA_ATTRIBUTE__CONTAINER_TYPE: return OxmPackage.EXML_ELEMENT_REF__CONTAINER_TYPE;
+ default: return -1;
+ }
+ }
+ if (baseClass == EReadWriteJavaAttribute.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.EREAD_WRITE_JAVA_ATTRIBUTE__READ_ONLY: return OxmPackage.EXML_ELEMENT_REF__READ_ONLY;
+ case OxmPackage.EREAD_WRITE_JAVA_ATTRIBUTE__WRITE_ONLY: return OxmPackage.EXML_ELEMENT_REF__WRITE_ONLY;
+ default: return -1;
+ }
+ }
+ if (baseClass == ETypedJavaAttribute.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.ETYPED_JAVA_ATTRIBUTE__TYPE: return OxmPackage.EXML_ELEMENT_REF__TYPE;
+ default: return -1;
+ }
+ }
+ if (baseClass == EPropertyHolder.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.EPROPERTY_HOLDER__XML_PROPERTIES: return OxmPackage.EXML_ELEMENT_REF__XML_PROPERTIES;
+ 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(" (containerType: ");
+ result.append(containerType);
+ result.append(", readOnly: ");
+ result.append(readOnly);
+ result.append(", writeOnly: ");
+ result.append(writeOnly);
+ result.append(", type: ");
+ result.append(type);
+ result.append(", name: ");
+ result.append(name);
+ result.append(", namespace: ");
+ result.append(namespace);
+ result.append(", xmlMixed: ");
+ result.append(xmlMixed);
+ result.append(')');
+ return result.toString();
+ }
+
+
+ // ***** translators *****
+
+ static class XmlElementRefTranslator
+ extends AbstractJavaAttributeTranslator {
+
+ XmlElementRefTranslator(String domPathAndName, EStructuralFeature eStructuralFeature) {
+ super(domPathAndName, eStructuralFeature, buildTranslatorChildren());
+ }
+
+ private static Translator[] buildTranslatorChildren() {
+ return new Translator[] {
+ };
+ }
+
+ @Override
+ public EObject createEMFObject(String nodeName, String readAheadName) {
+ return OxmFactory.eINSTANCE.createEXmlElementRef();
+ }
+ }
+}
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlElementRefs.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlElementRefs.java
new file mode 100644
index 0000000000..af98164163
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlElementRefs.java
@@ -0,0 +1,791 @@
+/*******************************************************************************
+ * Copyright (c) 2012 Oracle. All rights reserved.
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0, which accompanies this distribution
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+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.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.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EStructuralFeature;
+import org.eclipse.wst.common.internal.emf.resource.Translator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EXml Element Refs</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRefs#isXmlMixed <em>Xml Mixed</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRefs#getXmlElementRefs <em>Xml Element Refs</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRefs#getXmlElementWrapper <em>Xml Element Wrapper</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElementRefs()
+ * @model kind="class"
+ * @generated
+ */
+public class EXmlElementRefs extends EJavaAttribute implements EAccessibleJavaAttribute, EAdaptableJavaAttribute, EReadWriteJavaAttribute, EPropertyHolder
+{
+ /**
+ * The cached value of the '{@link #getXmlAccessMethods() <em>Xml Access Methods</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlAccessMethods()
+ * @generated
+ * @ordered
+ */
+ protected EXmlAccessMethods xmlAccessMethods;
+ /**
+ * The cached value of the '{@link #getXmlJavaTypeAdapter() <em>Xml Java Type Adapter</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlJavaTypeAdapter()
+ * @generated
+ * @ordered
+ */
+ protected EXmlJavaTypeAdapter xmlJavaTypeAdapter;
+ /**
+ * The default value of the '{@link #isReadOnly() <em>Read Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isReadOnly()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean READ_ONLY_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isReadOnly() <em>Read Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isReadOnly()
+ * @generated
+ * @ordered
+ */
+ protected boolean readOnly = READ_ONLY_EDEFAULT;
+ /**
+ * The default value of the '{@link #isWriteOnly() <em>Write Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isWriteOnly()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean WRITE_ONLY_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isWriteOnly() <em>Write Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isWriteOnly()
+ * @generated
+ * @ordered
+ */
+ protected boolean writeOnly = WRITE_ONLY_EDEFAULT;
+ /**
+ * The cached value of the '{@link #getXmlProperties() <em>Xml Properties</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlProperties()
+ * @generated
+ * @ordered
+ */
+ protected EList<EXmlProperty> xmlProperties;
+ /**
+ * The default value of the '{@link #isXmlMixed() <em>Xml Mixed</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXmlMixed()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean XML_MIXED_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isXmlMixed() <em>Xml Mixed</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXmlMixed()
+ * @generated
+ * @ordered
+ */
+ protected boolean xmlMixed = XML_MIXED_EDEFAULT;
+ /**
+ * The cached value of the '{@link #getXmlElementRefs() <em>Xml Element Refs</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlElementRefs()
+ * @generated
+ * @ordered
+ */
+ protected EList<EXmlElementRef> xmlElementRefs;
+ /**
+ * The cached value of the '{@link #getXmlElementWrapper() <em>Xml Element Wrapper</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlElementWrapper()
+ * @generated
+ * @ordered
+ */
+ protected EXmlElementWrapper xmlElementWrapper;
+
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EXmlElementRefs()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OxmPackage.Literals.EXML_ELEMENT_REFS;
+ }
+
+
+ /**
+ * Returns the value of the '<em><b>Xml Access Methods</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml 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>Xml Access Methods</em>' containment reference.
+ * @see #setXmlAccessMethods(EXmlAccessMethods)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEAccessibleJavaAttribute_XmlAccessMethods()
+ * @model containment="true"
+ * @generated
+ */
+ public EXmlAccessMethods getXmlAccessMethods()
+ {
+ return xmlAccessMethods;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetXmlAccessMethods(EXmlAccessMethods newXmlAccessMethods, NotificationChain msgs)
+ {
+ EXmlAccessMethods oldXmlAccessMethods = xmlAccessMethods;
+ xmlAccessMethods = newXmlAccessMethods;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT_REFS__XML_ACCESS_METHODS, oldXmlAccessMethods, newXmlAccessMethods);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRefs#getXmlAccessMethods <em>Xml Access Methods</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Access Methods</em>' containment reference.
+ * @see #getXmlAccessMethods()
+ * @generated
+ */
+ public void setXmlAccessMethods(EXmlAccessMethods newXmlAccessMethods)
+ {
+ if (newXmlAccessMethods != xmlAccessMethods)
+ {
+ NotificationChain msgs = null;
+ if (xmlAccessMethods != null)
+ msgs = ((InternalEObject)xmlAccessMethods).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_ELEMENT_REFS__XML_ACCESS_METHODS, null, msgs);
+ if (newXmlAccessMethods != null)
+ msgs = ((InternalEObject)newXmlAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_ELEMENT_REFS__XML_ACCESS_METHODS, null, msgs);
+ msgs = basicSetXmlAccessMethods(newXmlAccessMethods, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT_REFS__XML_ACCESS_METHODS, newXmlAccessMethods, newXmlAccessMethods));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Java Type Adapter</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Java Type Adapter</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>Xml Java Type Adapter</em>' containment reference.
+ * @see #setXmlJavaTypeAdapter(EXmlJavaTypeAdapter)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEAdaptableJavaAttribute_XmlJavaTypeAdapter()
+ * @model containment="true"
+ * @generated
+ */
+ public EXmlJavaTypeAdapter getXmlJavaTypeAdapter()
+ {
+ return xmlJavaTypeAdapter;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetXmlJavaTypeAdapter(EXmlJavaTypeAdapter newXmlJavaTypeAdapter, NotificationChain msgs)
+ {
+ EXmlJavaTypeAdapter oldXmlJavaTypeAdapter = xmlJavaTypeAdapter;
+ xmlJavaTypeAdapter = newXmlJavaTypeAdapter;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT_REFS__XML_JAVA_TYPE_ADAPTER, oldXmlJavaTypeAdapter, newXmlJavaTypeAdapter);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRefs#getXmlJavaTypeAdapter <em>Xml Java Type Adapter</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Java Type Adapter</em>' containment reference.
+ * @see #getXmlJavaTypeAdapter()
+ * @generated
+ */
+ public void setXmlJavaTypeAdapter(EXmlJavaTypeAdapter newXmlJavaTypeAdapter)
+ {
+ if (newXmlJavaTypeAdapter != xmlJavaTypeAdapter)
+ {
+ NotificationChain msgs = null;
+ if (xmlJavaTypeAdapter != null)
+ msgs = ((InternalEObject)xmlJavaTypeAdapter).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_ELEMENT_REFS__XML_JAVA_TYPE_ADAPTER, null, msgs);
+ if (newXmlJavaTypeAdapter != null)
+ msgs = ((InternalEObject)newXmlJavaTypeAdapter).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_ELEMENT_REFS__XML_JAVA_TYPE_ADAPTER, null, msgs);
+ msgs = basicSetXmlJavaTypeAdapter(newXmlJavaTypeAdapter, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT_REFS__XML_JAVA_TYPE_ADAPTER, newXmlJavaTypeAdapter, newXmlJavaTypeAdapter));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Read Only</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Read Only</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Read Only</em>' attribute.
+ * @see #setReadOnly(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEReadWriteJavaAttribute_ReadOnly()
+ * @model
+ * @generated
+ */
+ public boolean isReadOnly()
+ {
+ return readOnly;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRefs#isReadOnly <em>Read Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Read Only</em>' attribute.
+ * @see #isReadOnly()
+ * @generated
+ */
+ public void setReadOnly(boolean newReadOnly)
+ {
+ boolean oldReadOnly = readOnly;
+ readOnly = newReadOnly;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT_REFS__READ_ONLY, oldReadOnly, readOnly));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Write Only</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Write Only</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Write Only</em>' attribute.
+ * @see #setWriteOnly(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEReadWriteJavaAttribute_WriteOnly()
+ * @model
+ * @generated
+ */
+ public boolean isWriteOnly()
+ {
+ return writeOnly;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRefs#isWriteOnly <em>Write Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Write Only</em>' attribute.
+ * @see #isWriteOnly()
+ * @generated
+ */
+ public void setWriteOnly(boolean newWriteOnly)
+ {
+ boolean oldWriteOnly = writeOnly;
+ writeOnly = newWriteOnly;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT_REFS__WRITE_ONLY, oldWriteOnly, writeOnly));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Properties</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlProperty}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml 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>Xml Properties</em>' containment reference list.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEPropertyHolder_XmlProperties()
+ * @model containment="true"
+ * @generated
+ */
+ public EList<EXmlProperty> getXmlProperties()
+ {
+ if (xmlProperties == null)
+ {
+ xmlProperties = new EObjectContainmentEList<EXmlProperty>(EXmlProperty.class, this, OxmPackage.EXML_ELEMENT_REFS__XML_PROPERTIES);
+ }
+ return xmlProperties;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Mixed</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Mixed</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Xml Mixed</em>' attribute.
+ * @see #setXmlMixed(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElementRefs_XmlMixed()
+ * @model
+ * @generated
+ */
+ public boolean isXmlMixed()
+ {
+ return xmlMixed;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRefs#isXmlMixed <em>Xml Mixed</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Mixed</em>' attribute.
+ * @see #isXmlMixed()
+ * @generated
+ */
+ public void setXmlMixed(boolean newXmlMixed)
+ {
+ boolean oldXmlMixed = xmlMixed;
+ xmlMixed = newXmlMixed;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT_REFS__XML_MIXED, oldXmlMixed, xmlMixed));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Element Refs</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRef}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Element Refs</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>Xml Element Refs</em>' containment reference list.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElementRefs_XmlElementRefs()
+ * @model containment="true"
+ * @generated
+ */
+ public EList<EXmlElementRef> getXmlElementRefs()
+ {
+ if (xmlElementRefs == null)
+ {
+ xmlElementRefs = new EObjectContainmentEList<EXmlElementRef>(EXmlElementRef.class, this, OxmPackage.EXML_ELEMENT_REFS__XML_ELEMENT_REFS);
+ }
+ return xmlElementRefs;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Element Wrapper</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Element Wrapper</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>Xml Element Wrapper</em>' containment reference.
+ * @see #setXmlElementWrapper(EXmlElementWrapper)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElementRefs_XmlElementWrapper()
+ * @model containment="true"
+ * @generated
+ */
+ public EXmlElementWrapper getXmlElementWrapper()
+ {
+ return xmlElementWrapper;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetXmlElementWrapper(EXmlElementWrapper newXmlElementWrapper, NotificationChain msgs)
+ {
+ EXmlElementWrapper oldXmlElementWrapper = xmlElementWrapper;
+ xmlElementWrapper = newXmlElementWrapper;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT_REFS__XML_ELEMENT_WRAPPER, oldXmlElementWrapper, newXmlElementWrapper);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRefs#getXmlElementWrapper <em>Xml Element Wrapper</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Element Wrapper</em>' containment reference.
+ * @see #getXmlElementWrapper()
+ * @generated
+ */
+ public void setXmlElementWrapper(EXmlElementWrapper newXmlElementWrapper)
+ {
+ if (newXmlElementWrapper != xmlElementWrapper)
+ {
+ NotificationChain msgs = null;
+ if (xmlElementWrapper != null)
+ msgs = ((InternalEObject)xmlElementWrapper).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_ELEMENT_REFS__XML_ELEMENT_WRAPPER, null, msgs);
+ if (newXmlElementWrapper != null)
+ msgs = ((InternalEObject)newXmlElementWrapper).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_ELEMENT_REFS__XML_ELEMENT_WRAPPER, null, msgs);
+ msgs = basicSetXmlElementWrapper(newXmlElementWrapper, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT_REFS__XML_ELEMENT_WRAPPER, newXmlElementWrapper, newXmlElementWrapper));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_ELEMENT_REFS__XML_ACCESS_METHODS:
+ return basicSetXmlAccessMethods(null, msgs);
+ case OxmPackage.EXML_ELEMENT_REFS__XML_JAVA_TYPE_ADAPTER:
+ return basicSetXmlJavaTypeAdapter(null, msgs);
+ case OxmPackage.EXML_ELEMENT_REFS__XML_PROPERTIES:
+ return ((InternalEList<?>)getXmlProperties()).basicRemove(otherEnd, msgs);
+ case OxmPackage.EXML_ELEMENT_REFS__XML_ELEMENT_REFS:
+ return ((InternalEList<?>)getXmlElementRefs()).basicRemove(otherEnd, msgs);
+ case OxmPackage.EXML_ELEMENT_REFS__XML_ELEMENT_WRAPPER:
+ return basicSetXmlElementWrapper(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 OxmPackage.EXML_ELEMENT_REFS__XML_ACCESS_METHODS:
+ return getXmlAccessMethods();
+ case OxmPackage.EXML_ELEMENT_REFS__XML_JAVA_TYPE_ADAPTER:
+ return getXmlJavaTypeAdapter();
+ case OxmPackage.EXML_ELEMENT_REFS__READ_ONLY:
+ return isReadOnly();
+ case OxmPackage.EXML_ELEMENT_REFS__WRITE_ONLY:
+ return isWriteOnly();
+ case OxmPackage.EXML_ELEMENT_REFS__XML_PROPERTIES:
+ return getXmlProperties();
+ case OxmPackage.EXML_ELEMENT_REFS__XML_MIXED:
+ return isXmlMixed();
+ case OxmPackage.EXML_ELEMENT_REFS__XML_ELEMENT_REFS:
+ return getXmlElementRefs();
+ case OxmPackage.EXML_ELEMENT_REFS__XML_ELEMENT_WRAPPER:
+ return getXmlElementWrapper();
+ }
+ 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 OxmPackage.EXML_ELEMENT_REFS__XML_ACCESS_METHODS:
+ setXmlAccessMethods((EXmlAccessMethods)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT_REFS__XML_JAVA_TYPE_ADAPTER:
+ setXmlJavaTypeAdapter((EXmlJavaTypeAdapter)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT_REFS__READ_ONLY:
+ setReadOnly((Boolean)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT_REFS__WRITE_ONLY:
+ setWriteOnly((Boolean)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT_REFS__XML_PROPERTIES:
+ getXmlProperties().clear();
+ getXmlProperties().addAll((Collection<? extends EXmlProperty>)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT_REFS__XML_MIXED:
+ setXmlMixed((Boolean)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT_REFS__XML_ELEMENT_REFS:
+ getXmlElementRefs().clear();
+ getXmlElementRefs().addAll((Collection<? extends EXmlElementRef>)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT_REFS__XML_ELEMENT_WRAPPER:
+ setXmlElementWrapper((EXmlElementWrapper)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_ELEMENT_REFS__XML_ACCESS_METHODS:
+ setXmlAccessMethods((EXmlAccessMethods)null);
+ return;
+ case OxmPackage.EXML_ELEMENT_REFS__XML_JAVA_TYPE_ADAPTER:
+ setXmlJavaTypeAdapter((EXmlJavaTypeAdapter)null);
+ return;
+ case OxmPackage.EXML_ELEMENT_REFS__READ_ONLY:
+ setReadOnly(READ_ONLY_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ELEMENT_REFS__WRITE_ONLY:
+ setWriteOnly(WRITE_ONLY_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ELEMENT_REFS__XML_PROPERTIES:
+ getXmlProperties().clear();
+ return;
+ case OxmPackage.EXML_ELEMENT_REFS__XML_MIXED:
+ setXmlMixed(XML_MIXED_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ELEMENT_REFS__XML_ELEMENT_REFS:
+ getXmlElementRefs().clear();
+ return;
+ case OxmPackage.EXML_ELEMENT_REFS__XML_ELEMENT_WRAPPER:
+ setXmlElementWrapper((EXmlElementWrapper)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_ELEMENT_REFS__XML_ACCESS_METHODS:
+ return xmlAccessMethods != null;
+ case OxmPackage.EXML_ELEMENT_REFS__XML_JAVA_TYPE_ADAPTER:
+ return xmlJavaTypeAdapter != null;
+ case OxmPackage.EXML_ELEMENT_REFS__READ_ONLY:
+ return readOnly != READ_ONLY_EDEFAULT;
+ case OxmPackage.EXML_ELEMENT_REFS__WRITE_ONLY:
+ return writeOnly != WRITE_ONLY_EDEFAULT;
+ case OxmPackage.EXML_ELEMENT_REFS__XML_PROPERTIES:
+ return xmlProperties != null && !xmlProperties.isEmpty();
+ case OxmPackage.EXML_ELEMENT_REFS__XML_MIXED:
+ return xmlMixed != XML_MIXED_EDEFAULT;
+ case OxmPackage.EXML_ELEMENT_REFS__XML_ELEMENT_REFS:
+ return xmlElementRefs != null && !xmlElementRefs.isEmpty();
+ case OxmPackage.EXML_ELEMENT_REFS__XML_ELEMENT_WRAPPER:
+ return xmlElementWrapper != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)
+ {
+ if (baseClass == EAccessibleJavaAttribute.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_ELEMENT_REFS__XML_ACCESS_METHODS: return OxmPackage.EACCESSIBLE_JAVA_ATTRIBUTE__XML_ACCESS_METHODS;
+ default: return -1;
+ }
+ }
+ if (baseClass == EAdaptableJavaAttribute.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_ELEMENT_REFS__XML_JAVA_TYPE_ADAPTER: return OxmPackage.EADAPTABLE_JAVA_ATTRIBUTE__XML_JAVA_TYPE_ADAPTER;
+ default: return -1;
+ }
+ }
+ if (baseClass == EReadWriteJavaAttribute.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_ELEMENT_REFS__READ_ONLY: return OxmPackage.EREAD_WRITE_JAVA_ATTRIBUTE__READ_ONLY;
+ case OxmPackage.EXML_ELEMENT_REFS__WRITE_ONLY: return OxmPackage.EREAD_WRITE_JAVA_ATTRIBUTE__WRITE_ONLY;
+ default: return -1;
+ }
+ }
+ if (baseClass == EPropertyHolder.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_ELEMENT_REFS__XML_PROPERTIES: return OxmPackage.EPROPERTY_HOLDER__XML_PROPERTIES;
+ 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 == EAccessibleJavaAttribute.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.EACCESSIBLE_JAVA_ATTRIBUTE__XML_ACCESS_METHODS: return OxmPackage.EXML_ELEMENT_REFS__XML_ACCESS_METHODS;
+ default: return -1;
+ }
+ }
+ if (baseClass == EAdaptableJavaAttribute.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.EADAPTABLE_JAVA_ATTRIBUTE__XML_JAVA_TYPE_ADAPTER: return OxmPackage.EXML_ELEMENT_REFS__XML_JAVA_TYPE_ADAPTER;
+ default: return -1;
+ }
+ }
+ if (baseClass == EReadWriteJavaAttribute.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.EREAD_WRITE_JAVA_ATTRIBUTE__READ_ONLY: return OxmPackage.EXML_ELEMENT_REFS__READ_ONLY;
+ case OxmPackage.EREAD_WRITE_JAVA_ATTRIBUTE__WRITE_ONLY: return OxmPackage.EXML_ELEMENT_REFS__WRITE_ONLY;
+ default: return -1;
+ }
+ }
+ if (baseClass == EPropertyHolder.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.EPROPERTY_HOLDER__XML_PROPERTIES: return OxmPackage.EXML_ELEMENT_REFS__XML_PROPERTIES;
+ 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(" (readOnly: ");
+ result.append(readOnly);
+ result.append(", writeOnly: ");
+ result.append(writeOnly);
+ result.append(", xmlMixed: ");
+ result.append(xmlMixed);
+ result.append(')');
+ return result.toString();
+ }
+
+
+ // ***** translators *****
+
+ static class XmlElementRefsTranslator
+ extends AbstractJavaAttributeTranslator {
+
+ XmlElementRefsTranslator(String domPathAndName, EStructuralFeature eStructuralFeature) {
+ super(domPathAndName, eStructuralFeature, buildTranslatorChildren());
+ }
+
+ private static Translator[] buildTranslatorChildren() {
+ return new Translator[] {
+ };
+ }
+
+ @Override
+ public EObject createEMFObject(String nodeName, String readAheadName) {
+ return OxmFactory.eINSTANCE.createEXmlElementRefs();
+ }
+ }
+}
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlElementWrapper.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlElementWrapper.java
new file mode 100644
index 0000000000..85de5a2076
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlElementWrapper.java
@@ -0,0 +1,396 @@
+/**
+ */
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.jpt.common.core.resource.xml.EBaseObject;
+import org.eclipse.jpt.common.core.resource.xml.EBaseObjectImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EXml Element Wrapper</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementWrapper#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementWrapper#getNamespace <em>Namespace</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementWrapper#isNillable <em>Nillable</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementWrapper#isRequired <em>Required</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElementWrapper()
+ * @model kind="class"
+ * @extends EBaseObject
+ * @generated
+ */
+public class EXmlElementWrapper extends EBaseObjectImpl implements EBaseObject
+{
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getNamespace() <em>Namespace</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getNamespace()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAMESPACE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getNamespace() <em>Namespace</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getNamespace()
+ * @generated
+ * @ordered
+ */
+ protected String namespace = NAMESPACE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #isNillable() <em>Nillable</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isNillable()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean NILLABLE_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isNillable() <em>Nillable</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isNillable()
+ * @generated
+ * @ordered
+ */
+ protected boolean nillable = NILLABLE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #isRequired() <em>Required</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isRequired()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean REQUIRED_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isRequired() <em>Required</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isRequired()
+ * @generated
+ * @ordered
+ */
+ protected boolean required = REQUIRED_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EXmlElementWrapper()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OxmPackage.Literals.EXML_ELEMENT_WRAPPER;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElementWrapper_Name()
+ * @model
+ * @generated
+ */
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementWrapper#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ public void setName(String newName)
+ {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT_WRAPPER__NAME, oldName, name));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Namespace</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Namespace</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Namespace</em>' attribute.
+ * @see #setNamespace(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElementWrapper_Namespace()
+ * @model
+ * @generated
+ */
+ public String getNamespace()
+ {
+ return namespace;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementWrapper#getNamespace <em>Namespace</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Namespace</em>' attribute.
+ * @see #getNamespace()
+ * @generated
+ */
+ public void setNamespace(String newNamespace)
+ {
+ String oldNamespace = namespace;
+ namespace = newNamespace;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT_WRAPPER__NAMESPACE, oldNamespace, namespace));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Nillable</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Nillable</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Nillable</em>' attribute.
+ * @see #setNillable(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElementWrapper_Nillable()
+ * @model
+ * @generated
+ */
+ public boolean isNillable()
+ {
+ return nillable;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementWrapper#isNillable <em>Nillable</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Nillable</em>' attribute.
+ * @see #isNillable()
+ * @generated
+ */
+ public void setNillable(boolean newNillable)
+ {
+ boolean oldNillable = nillable;
+ nillable = newNillable;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT_WRAPPER__NILLABLE, oldNillable, nillable));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Required</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Required</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Required</em>' attribute.
+ * @see #setRequired(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElementWrapper_Required()
+ * @model
+ * @generated
+ */
+ public boolean isRequired()
+ {
+ return required;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementWrapper#isRequired <em>Required</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Required</em>' attribute.
+ * @see #isRequired()
+ * @generated
+ */
+ public void setRequired(boolean newRequired)
+ {
+ boolean oldRequired = required;
+ required = newRequired;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENT_WRAPPER__REQUIRED, oldRequired, required));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_ELEMENT_WRAPPER__NAME:
+ return getName();
+ case OxmPackage.EXML_ELEMENT_WRAPPER__NAMESPACE:
+ return getNamespace();
+ case OxmPackage.EXML_ELEMENT_WRAPPER__NILLABLE:
+ return isNillable();
+ case OxmPackage.EXML_ELEMENT_WRAPPER__REQUIRED:
+ return isRequired();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_ELEMENT_WRAPPER__NAME:
+ setName((String)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT_WRAPPER__NAMESPACE:
+ setNamespace((String)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT_WRAPPER__NILLABLE:
+ setNillable((Boolean)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENT_WRAPPER__REQUIRED:
+ setRequired((Boolean)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_ELEMENT_WRAPPER__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ELEMENT_WRAPPER__NAMESPACE:
+ setNamespace(NAMESPACE_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ELEMENT_WRAPPER__NILLABLE:
+ setNillable(NILLABLE_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ELEMENT_WRAPPER__REQUIRED:
+ setRequired(REQUIRED_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_ELEMENT_WRAPPER__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case OxmPackage.EXML_ELEMENT_WRAPPER__NAMESPACE:
+ return NAMESPACE_EDEFAULT == null ? namespace != null : !NAMESPACE_EDEFAULT.equals(namespace);
+ case OxmPackage.EXML_ELEMENT_WRAPPER__NILLABLE:
+ return nillable != NILLABLE_EDEFAULT;
+ case OxmPackage.EXML_ELEMENT_WRAPPER__REQUIRED:
+ return required != REQUIRED_EDEFAULT;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (name: ");
+ result.append(name);
+ result.append(", namespace: ");
+ result.append(namespace);
+ result.append(", nillable: ");
+ result.append(nillable);
+ result.append(", required: ");
+ result.append(required);
+ result.append(')');
+ return result.toString();
+ }
+
+} // EXmlElementWrapper
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlElements.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlElements.java
new file mode 100644
index 0000000000..dc61c43200
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlElements.java
@@ -0,0 +1,887 @@
+/*******************************************************************************
+ * Copyright (c) 2012 Oracle. All rights reserved.
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0, which accompanies this distribution
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+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.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.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EStructuralFeature;
+import org.eclipse.wst.common.internal.emf.resource.Translator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EXml Elements</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElements#isXmlIdRef <em>Xml Id Ref</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElements#isXmlList <em>Xml List</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElements#getXmlElements <em>Xml Elements</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElements#getXmlElementWrapper <em>Xml Element Wrapper</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElements#getXmlJoinNodes <em>Xml Join Nodes</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElements()
+ * @model kind="class"
+ * @generated
+ */
+public class EXmlElements extends EJavaAttribute implements EAccessibleJavaAttribute, EContainerJavaAttribute, EReadWriteJavaAttribute, EPropertyHolder
+{
+ /**
+ * The cached value of the '{@link #getXmlAccessMethods() <em>Xml Access Methods</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlAccessMethods()
+ * @generated
+ * @ordered
+ */
+ protected EXmlAccessMethods xmlAccessMethods;
+ /**
+ * The default value of the '{@link #getContainerType() <em>Container Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getContainerType()
+ * @generated
+ * @ordered
+ */
+ protected static final String CONTAINER_TYPE_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getContainerType() <em>Container Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getContainerType()
+ * @generated
+ * @ordered
+ */
+ protected String containerType = CONTAINER_TYPE_EDEFAULT;
+ /**
+ * The default value of the '{@link #isReadOnly() <em>Read Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isReadOnly()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean READ_ONLY_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isReadOnly() <em>Read Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isReadOnly()
+ * @generated
+ * @ordered
+ */
+ protected boolean readOnly = READ_ONLY_EDEFAULT;
+ /**
+ * The default value of the '{@link #isWriteOnly() <em>Write Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isWriteOnly()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean WRITE_ONLY_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isWriteOnly() <em>Write Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isWriteOnly()
+ * @generated
+ * @ordered
+ */
+ protected boolean writeOnly = WRITE_ONLY_EDEFAULT;
+ /**
+ * The cached value of the '{@link #getXmlProperties() <em>Xml Properties</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlProperties()
+ * @generated
+ * @ordered
+ */
+ protected EList<EXmlProperty> xmlProperties;
+ /**
+ * The default value of the '{@link #isXmlIdRef() <em>Xml Id Ref</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXmlIdRef()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean XML_ID_REF_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isXmlIdRef() <em>Xml Id Ref</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXmlIdRef()
+ * @generated
+ * @ordered
+ */
+ protected boolean xmlIdRef = XML_ID_REF_EDEFAULT;
+ /**
+ * The default value of the '{@link #isXmlList() <em>Xml List</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXmlList()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean XML_LIST_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isXmlList() <em>Xml List</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXmlList()
+ * @generated
+ * @ordered
+ */
+ protected boolean xmlList = XML_LIST_EDEFAULT;
+ /**
+ * The cached value of the '{@link #getXmlElements() <em>Xml Elements</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlElements()
+ * @generated
+ * @ordered
+ */
+ protected EList<EXmlElement> xmlElements;
+ /**
+ * The cached value of the '{@link #getXmlElementWrapper() <em>Xml Element Wrapper</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlElementWrapper()
+ * @generated
+ * @ordered
+ */
+ protected EXmlElementWrapper xmlElementWrapper;
+ /**
+ * The cached value of the '{@link #getXmlJoinNodes() <em>Xml Join Nodes</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlJoinNodes()
+ * @generated
+ * @ordered
+ */
+ protected EList<EXmlJoinNodes> xmlJoinNodes;
+
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EXmlElements()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OxmPackage.Literals.EXML_ELEMENTS;
+ }
+
+
+ /**
+ * Returns the value of the '<em><b>Xml Access Methods</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml 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>Xml Access Methods</em>' containment reference.
+ * @see #setXmlAccessMethods(EXmlAccessMethods)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEAccessibleJavaAttribute_XmlAccessMethods()
+ * @model containment="true"
+ * @generated
+ */
+ public EXmlAccessMethods getXmlAccessMethods()
+ {
+ return xmlAccessMethods;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetXmlAccessMethods(EXmlAccessMethods newXmlAccessMethods, NotificationChain msgs)
+ {
+ EXmlAccessMethods oldXmlAccessMethods = xmlAccessMethods;
+ xmlAccessMethods = newXmlAccessMethods;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENTS__XML_ACCESS_METHODS, oldXmlAccessMethods, newXmlAccessMethods);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElements#getXmlAccessMethods <em>Xml Access Methods</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Access Methods</em>' containment reference.
+ * @see #getXmlAccessMethods()
+ * @generated
+ */
+ public void setXmlAccessMethods(EXmlAccessMethods newXmlAccessMethods)
+ {
+ if (newXmlAccessMethods != xmlAccessMethods)
+ {
+ NotificationChain msgs = null;
+ if (xmlAccessMethods != null)
+ msgs = ((InternalEObject)xmlAccessMethods).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_ELEMENTS__XML_ACCESS_METHODS, null, msgs);
+ if (newXmlAccessMethods != null)
+ msgs = ((InternalEObject)newXmlAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_ELEMENTS__XML_ACCESS_METHODS, null, msgs);
+ msgs = basicSetXmlAccessMethods(newXmlAccessMethods, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENTS__XML_ACCESS_METHODS, newXmlAccessMethods, newXmlAccessMethods));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Container Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Container 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>Container Type</em>' attribute.
+ * @see #setContainerType(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEContainerJavaAttribute_ContainerType()
+ * @model
+ * @generated
+ */
+ public String getContainerType()
+ {
+ return containerType;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElements#getContainerType <em>Container Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Container Type</em>' attribute.
+ * @see #getContainerType()
+ * @generated
+ */
+ public void setContainerType(String newContainerType)
+ {
+ String oldContainerType = containerType;
+ containerType = newContainerType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENTS__CONTAINER_TYPE, oldContainerType, containerType));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Read Only</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Read Only</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Read Only</em>' attribute.
+ * @see #setReadOnly(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEReadWriteJavaAttribute_ReadOnly()
+ * @model
+ * @generated
+ */
+ public boolean isReadOnly()
+ {
+ return readOnly;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElements#isReadOnly <em>Read Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Read Only</em>' attribute.
+ * @see #isReadOnly()
+ * @generated
+ */
+ public void setReadOnly(boolean newReadOnly)
+ {
+ boolean oldReadOnly = readOnly;
+ readOnly = newReadOnly;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENTS__READ_ONLY, oldReadOnly, readOnly));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Write Only</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Write Only</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Write Only</em>' attribute.
+ * @see #setWriteOnly(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEReadWriteJavaAttribute_WriteOnly()
+ * @model
+ * @generated
+ */
+ public boolean isWriteOnly()
+ {
+ return writeOnly;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElements#isWriteOnly <em>Write Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Write Only</em>' attribute.
+ * @see #isWriteOnly()
+ * @generated
+ */
+ public void setWriteOnly(boolean newWriteOnly)
+ {
+ boolean oldWriteOnly = writeOnly;
+ writeOnly = newWriteOnly;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENTS__WRITE_ONLY, oldWriteOnly, writeOnly));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Properties</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlProperty}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml 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>Xml Properties</em>' containment reference list.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEPropertyHolder_XmlProperties()
+ * @model containment="true"
+ * @generated
+ */
+ public EList<EXmlProperty> getXmlProperties()
+ {
+ if (xmlProperties == null)
+ {
+ xmlProperties = new EObjectContainmentEList<EXmlProperty>(EXmlProperty.class, this, OxmPackage.EXML_ELEMENTS__XML_PROPERTIES);
+ }
+ return xmlProperties;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Id Ref</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Id Ref</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Xml Id Ref</em>' attribute.
+ * @see #setXmlIdRef(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElements_XmlIdRef()
+ * @model
+ * @generated
+ */
+ public boolean isXmlIdRef()
+ {
+ return xmlIdRef;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElements#isXmlIdRef <em>Xml Id Ref</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Id Ref</em>' attribute.
+ * @see #isXmlIdRef()
+ * @generated
+ */
+ public void setXmlIdRef(boolean newXmlIdRef)
+ {
+ boolean oldXmlIdRef = xmlIdRef;
+ xmlIdRef = newXmlIdRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENTS__XML_ID_REF, oldXmlIdRef, xmlIdRef));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml List</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml List</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Xml List</em>' attribute.
+ * @see #setXmlList(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElements_XmlList()
+ * @model
+ * @generated
+ */
+ public boolean isXmlList()
+ {
+ return xmlList;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElements#isXmlList <em>Xml List</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml List</em>' attribute.
+ * @see #isXmlList()
+ * @generated
+ */
+ public void setXmlList(boolean newXmlList)
+ {
+ boolean oldXmlList = xmlList;
+ xmlList = newXmlList;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENTS__XML_LIST, oldXmlList, xmlList));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Elements</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Elements</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>Xml Elements</em>' containment reference list.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElements_XmlElements()
+ * @model containment="true"
+ * @generated
+ */
+ public EList<EXmlElement> getXmlElements()
+ {
+ if (xmlElements == null)
+ {
+ xmlElements = new EObjectContainmentEList<EXmlElement>(EXmlElement.class, this, OxmPackage.EXML_ELEMENTS__XML_ELEMENTS);
+ }
+ return xmlElements;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Element Wrapper</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Element Wrapper</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>Xml Element Wrapper</em>' containment reference.
+ * @see #setXmlElementWrapper(EXmlElementWrapper)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElements_XmlElementWrapper()
+ * @model containment="true"
+ * @generated
+ */
+ public EXmlElementWrapper getXmlElementWrapper()
+ {
+ return xmlElementWrapper;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetXmlElementWrapper(EXmlElementWrapper newXmlElementWrapper, NotificationChain msgs)
+ {
+ EXmlElementWrapper oldXmlElementWrapper = xmlElementWrapper;
+ xmlElementWrapper = newXmlElementWrapper;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENTS__XML_ELEMENT_WRAPPER, oldXmlElementWrapper, newXmlElementWrapper);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElements#getXmlElementWrapper <em>Xml Element Wrapper</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Element Wrapper</em>' containment reference.
+ * @see #getXmlElementWrapper()
+ * @generated
+ */
+ public void setXmlElementWrapper(EXmlElementWrapper newXmlElementWrapper)
+ {
+ if (newXmlElementWrapper != xmlElementWrapper)
+ {
+ NotificationChain msgs = null;
+ if (xmlElementWrapper != null)
+ msgs = ((InternalEObject)xmlElementWrapper).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_ELEMENTS__XML_ELEMENT_WRAPPER, null, msgs);
+ if (newXmlElementWrapper != null)
+ msgs = ((InternalEObject)newXmlElementWrapper).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_ELEMENTS__XML_ELEMENT_WRAPPER, null, msgs);
+ msgs = basicSetXmlElementWrapper(newXmlElementWrapper, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ELEMENTS__XML_ELEMENT_WRAPPER, newXmlElementWrapper, newXmlElementWrapper));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Join Nodes</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlJoinNodes}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Join Nodes</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>Xml Join Nodes</em>' containment reference list.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElements_XmlJoinNodes()
+ * @model containment="true"
+ * @generated
+ */
+ public EList<EXmlJoinNodes> getXmlJoinNodes()
+ {
+ if (xmlJoinNodes == null)
+ {
+ xmlJoinNodes = new EObjectContainmentEList<EXmlJoinNodes>(EXmlJoinNodes.class, this, OxmPackage.EXML_ELEMENTS__XML_JOIN_NODES);
+ }
+ return xmlJoinNodes;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_ELEMENTS__XML_ACCESS_METHODS:
+ return basicSetXmlAccessMethods(null, msgs);
+ case OxmPackage.EXML_ELEMENTS__XML_PROPERTIES:
+ return ((InternalEList<?>)getXmlProperties()).basicRemove(otherEnd, msgs);
+ case OxmPackage.EXML_ELEMENTS__XML_ELEMENTS:
+ return ((InternalEList<?>)getXmlElements()).basicRemove(otherEnd, msgs);
+ case OxmPackage.EXML_ELEMENTS__XML_ELEMENT_WRAPPER:
+ return basicSetXmlElementWrapper(null, msgs);
+ case OxmPackage.EXML_ELEMENTS__XML_JOIN_NODES:
+ return ((InternalEList<?>)getXmlJoinNodes()).basicRemove(otherEnd, 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 OxmPackage.EXML_ELEMENTS__XML_ACCESS_METHODS:
+ return getXmlAccessMethods();
+ case OxmPackage.EXML_ELEMENTS__CONTAINER_TYPE:
+ return getContainerType();
+ case OxmPackage.EXML_ELEMENTS__READ_ONLY:
+ return isReadOnly();
+ case OxmPackage.EXML_ELEMENTS__WRITE_ONLY:
+ return isWriteOnly();
+ case OxmPackage.EXML_ELEMENTS__XML_PROPERTIES:
+ return getXmlProperties();
+ case OxmPackage.EXML_ELEMENTS__XML_ID_REF:
+ return isXmlIdRef();
+ case OxmPackage.EXML_ELEMENTS__XML_LIST:
+ return isXmlList();
+ case OxmPackage.EXML_ELEMENTS__XML_ELEMENTS:
+ return getXmlElements();
+ case OxmPackage.EXML_ELEMENTS__XML_ELEMENT_WRAPPER:
+ return getXmlElementWrapper();
+ case OxmPackage.EXML_ELEMENTS__XML_JOIN_NODES:
+ return getXmlJoinNodes();
+ }
+ 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 OxmPackage.EXML_ELEMENTS__XML_ACCESS_METHODS:
+ setXmlAccessMethods((EXmlAccessMethods)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENTS__CONTAINER_TYPE:
+ setContainerType((String)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENTS__READ_ONLY:
+ setReadOnly((Boolean)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENTS__WRITE_ONLY:
+ setWriteOnly((Boolean)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENTS__XML_PROPERTIES:
+ getXmlProperties().clear();
+ getXmlProperties().addAll((Collection<? extends EXmlProperty>)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENTS__XML_ID_REF:
+ setXmlIdRef((Boolean)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENTS__XML_LIST:
+ setXmlList((Boolean)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENTS__XML_ELEMENTS:
+ getXmlElements().clear();
+ getXmlElements().addAll((Collection<? extends EXmlElement>)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENTS__XML_ELEMENT_WRAPPER:
+ setXmlElementWrapper((EXmlElementWrapper)newValue);
+ return;
+ case OxmPackage.EXML_ELEMENTS__XML_JOIN_NODES:
+ getXmlJoinNodes().clear();
+ getXmlJoinNodes().addAll((Collection<? extends EXmlJoinNodes>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_ELEMENTS__XML_ACCESS_METHODS:
+ setXmlAccessMethods((EXmlAccessMethods)null);
+ return;
+ case OxmPackage.EXML_ELEMENTS__CONTAINER_TYPE:
+ setContainerType(CONTAINER_TYPE_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ELEMENTS__READ_ONLY:
+ setReadOnly(READ_ONLY_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ELEMENTS__WRITE_ONLY:
+ setWriteOnly(WRITE_ONLY_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ELEMENTS__XML_PROPERTIES:
+ getXmlProperties().clear();
+ return;
+ case OxmPackage.EXML_ELEMENTS__XML_ID_REF:
+ setXmlIdRef(XML_ID_REF_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ELEMENTS__XML_LIST:
+ setXmlList(XML_LIST_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ELEMENTS__XML_ELEMENTS:
+ getXmlElements().clear();
+ return;
+ case OxmPackage.EXML_ELEMENTS__XML_ELEMENT_WRAPPER:
+ setXmlElementWrapper((EXmlElementWrapper)null);
+ return;
+ case OxmPackage.EXML_ELEMENTS__XML_JOIN_NODES:
+ getXmlJoinNodes().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_ELEMENTS__XML_ACCESS_METHODS:
+ return xmlAccessMethods != null;
+ case OxmPackage.EXML_ELEMENTS__CONTAINER_TYPE:
+ return CONTAINER_TYPE_EDEFAULT == null ? containerType != null : !CONTAINER_TYPE_EDEFAULT.equals(containerType);
+ case OxmPackage.EXML_ELEMENTS__READ_ONLY:
+ return readOnly != READ_ONLY_EDEFAULT;
+ case OxmPackage.EXML_ELEMENTS__WRITE_ONLY:
+ return writeOnly != WRITE_ONLY_EDEFAULT;
+ case OxmPackage.EXML_ELEMENTS__XML_PROPERTIES:
+ return xmlProperties != null && !xmlProperties.isEmpty();
+ case OxmPackage.EXML_ELEMENTS__XML_ID_REF:
+ return xmlIdRef != XML_ID_REF_EDEFAULT;
+ case OxmPackage.EXML_ELEMENTS__XML_LIST:
+ return xmlList != XML_LIST_EDEFAULT;
+ case OxmPackage.EXML_ELEMENTS__XML_ELEMENTS:
+ return xmlElements != null && !xmlElements.isEmpty();
+ case OxmPackage.EXML_ELEMENTS__XML_ELEMENT_WRAPPER:
+ return xmlElementWrapper != null;
+ case OxmPackage.EXML_ELEMENTS__XML_JOIN_NODES:
+ return xmlJoinNodes != null && !xmlJoinNodes.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)
+ {
+ if (baseClass == EAccessibleJavaAttribute.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_ELEMENTS__XML_ACCESS_METHODS: return OxmPackage.EACCESSIBLE_JAVA_ATTRIBUTE__XML_ACCESS_METHODS;
+ default: return -1;
+ }
+ }
+ if (baseClass == EContainerJavaAttribute.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_ELEMENTS__CONTAINER_TYPE: return OxmPackage.ECONTAINER_JAVA_ATTRIBUTE__CONTAINER_TYPE;
+ default: return -1;
+ }
+ }
+ if (baseClass == EReadWriteJavaAttribute.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_ELEMENTS__READ_ONLY: return OxmPackage.EREAD_WRITE_JAVA_ATTRIBUTE__READ_ONLY;
+ case OxmPackage.EXML_ELEMENTS__WRITE_ONLY: return OxmPackage.EREAD_WRITE_JAVA_ATTRIBUTE__WRITE_ONLY;
+ default: return -1;
+ }
+ }
+ if (baseClass == EPropertyHolder.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_ELEMENTS__XML_PROPERTIES: return OxmPackage.EPROPERTY_HOLDER__XML_PROPERTIES;
+ 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 == EAccessibleJavaAttribute.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.EACCESSIBLE_JAVA_ATTRIBUTE__XML_ACCESS_METHODS: return OxmPackage.EXML_ELEMENTS__XML_ACCESS_METHODS;
+ default: return -1;
+ }
+ }
+ if (baseClass == EContainerJavaAttribute.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.ECONTAINER_JAVA_ATTRIBUTE__CONTAINER_TYPE: return OxmPackage.EXML_ELEMENTS__CONTAINER_TYPE;
+ default: return -1;
+ }
+ }
+ if (baseClass == EReadWriteJavaAttribute.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.EREAD_WRITE_JAVA_ATTRIBUTE__READ_ONLY: return OxmPackage.EXML_ELEMENTS__READ_ONLY;
+ case OxmPackage.EREAD_WRITE_JAVA_ATTRIBUTE__WRITE_ONLY: return OxmPackage.EXML_ELEMENTS__WRITE_ONLY;
+ default: return -1;
+ }
+ }
+ if (baseClass == EPropertyHolder.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.EPROPERTY_HOLDER__XML_PROPERTIES: return OxmPackage.EXML_ELEMENTS__XML_PROPERTIES;
+ 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(" (containerType: ");
+ result.append(containerType);
+ result.append(", readOnly: ");
+ result.append(readOnly);
+ result.append(", writeOnly: ");
+ result.append(writeOnly);
+ result.append(", xmlIdRef: ");
+ result.append(xmlIdRef);
+ result.append(", xmlList: ");
+ result.append(xmlList);
+ result.append(')');
+ return result.toString();
+ }
+
+
+ // ***** translators *****
+
+ static class XmlElementsTranslator
+ extends AbstractJavaAttributeTranslator {
+
+ XmlElementsTranslator(String domPathAndName, EStructuralFeature eStructuralFeature) {
+ super(domPathAndName, eStructuralFeature, buildTranslatorChildren());
+ }
+
+ private static Translator[] buildTranslatorChildren() {
+ return new Translator[] {
+ };
+ }
+
+ @Override
+ public EObject createEMFObject(String nodeName, String readAheadName) {
+ return OxmFactory.eINSTANCE.createEXmlElements();
+ }
+ }
+}
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlEnum.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlEnum.java
new file mode 100644
index 0000000000..33874bebc2
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlEnum.java
@@ -0,0 +1,331 @@
+/**
+ */
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+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.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.resource.xml.EBaseObject;
+import org.eclipse.jpt.common.core.resource.xml.EBaseObjectImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EXml Enum</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlEnum#getJavaEnum <em>Java Enum</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlEnum#getValue <em>Value</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlEnum#getXmlEnumValues <em>Xml Enum Values</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlEnum()
+ * @model kind="class"
+ * @extends EBaseObject
+ * @generated
+ */
+public class EXmlEnum extends EBaseObjectImpl implements EBaseObject
+{
+ /**
+ * The default value of the '{@link #getJavaEnum() <em>Java Enum</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getJavaEnum()
+ * @generated
+ * @ordered
+ */
+ protected static final String JAVA_ENUM_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getJavaEnum() <em>Java Enum</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getJavaEnum()
+ * @generated
+ * @ordered
+ */
+ protected String javaEnum = JAVA_ENUM_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getValue() <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValue()
+ * @generated
+ * @ordered
+ */
+ protected static final String VALUE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValue()
+ * @generated
+ * @ordered
+ */
+ protected String value = VALUE_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getXmlEnumValues() <em>Xml Enum Values</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlEnumValues()
+ * @generated
+ * @ordered
+ */
+ protected EList<EXmlEnumValue> xmlEnumValues;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EXmlEnum()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OxmPackage.Literals.EXML_ENUM;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Java Enum</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Java Enum</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Java Enum</em>' attribute.
+ * @see #setJavaEnum(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlEnum_JavaEnum()
+ * @model
+ * @generated
+ */
+ public String getJavaEnum()
+ {
+ return javaEnum;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlEnum#getJavaEnum <em>Java Enum</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Java Enum</em>' attribute.
+ * @see #getJavaEnum()
+ * @generated
+ */
+ public void setJavaEnum(String newJavaEnum)
+ {
+ String oldJavaEnum = javaEnum;
+ javaEnum = newJavaEnum;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ENUM__JAVA_ENUM, oldJavaEnum, javaEnum));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Value</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Value</em>' attribute.
+ * @see #setValue(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlEnum_Value()
+ * @model
+ * @generated
+ */
+ public String getValue()
+ {
+ return value;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlEnum#getValue <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Value</em>' attribute.
+ * @see #getValue()
+ * @generated
+ */
+ public void setValue(String newValue)
+ {
+ String oldValue = value;
+ value = newValue;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ENUM__VALUE, oldValue, value));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Enum Values</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlEnumValue}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Enum Values</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>Xml Enum Values</em>' containment reference list.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlEnum_XmlEnumValues()
+ * @model containment="true"
+ * @generated
+ */
+ public EList<EXmlEnumValue> getXmlEnumValues()
+ {
+ if (xmlEnumValues == null)
+ {
+ xmlEnumValues = new EObjectContainmentEList<EXmlEnumValue>(EXmlEnumValue.class, this, OxmPackage.EXML_ENUM__XML_ENUM_VALUES);
+ }
+ return xmlEnumValues;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_ENUM__XML_ENUM_VALUES:
+ return ((InternalEList<?>)getXmlEnumValues()).basicRemove(otherEnd, 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 OxmPackage.EXML_ENUM__JAVA_ENUM:
+ return getJavaEnum();
+ case OxmPackage.EXML_ENUM__VALUE:
+ return getValue();
+ case OxmPackage.EXML_ENUM__XML_ENUM_VALUES:
+ return getXmlEnumValues();
+ }
+ 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 OxmPackage.EXML_ENUM__JAVA_ENUM:
+ setJavaEnum((String)newValue);
+ return;
+ case OxmPackage.EXML_ENUM__VALUE:
+ setValue((String)newValue);
+ return;
+ case OxmPackage.EXML_ENUM__XML_ENUM_VALUES:
+ getXmlEnumValues().clear();
+ getXmlEnumValues().addAll((Collection<? extends EXmlEnumValue>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_ENUM__JAVA_ENUM:
+ setJavaEnum(JAVA_ENUM_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ENUM__VALUE:
+ setValue(VALUE_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ENUM__XML_ENUM_VALUES:
+ getXmlEnumValues().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_ENUM__JAVA_ENUM:
+ return JAVA_ENUM_EDEFAULT == null ? javaEnum != null : !JAVA_ENUM_EDEFAULT.equals(javaEnum);
+ case OxmPackage.EXML_ENUM__VALUE:
+ return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
+ case OxmPackage.EXML_ENUM__XML_ENUM_VALUES:
+ return xmlEnumValues != null && !xmlEnumValues.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (javaEnum: ");
+ result.append(javaEnum);
+ result.append(", value: ");
+ result.append(value);
+ result.append(')');
+ return result.toString();
+ }
+
+} // EXmlEnum
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlEnumValue.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlEnumValue.java
new file mode 100644
index 0000000000..536add223d
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlEnumValue.java
@@ -0,0 +1,192 @@
+/**
+ */
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.jpt.common.core.resource.xml.EBaseObject;
+import org.eclipse.jpt.common.core.resource.xml.EBaseObjectImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EXml Enum Value</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlEnumValue#getJavaEnumValue <em>Java Enum Value</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlEnumValue()
+ * @model kind="class"
+ * @extends EBaseObject
+ * @generated
+ */
+public class EXmlEnumValue extends EBaseObjectImpl implements EBaseObject
+{
+ /**
+ * The default value of the '{@link #getJavaEnumValue() <em>Java Enum Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getJavaEnumValue()
+ * @generated
+ * @ordered
+ */
+ protected static final String JAVA_ENUM_VALUE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getJavaEnumValue() <em>Java Enum Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getJavaEnumValue()
+ * @generated
+ * @ordered
+ */
+ protected String javaEnumValue = JAVA_ENUM_VALUE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EXmlEnumValue()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OxmPackage.Literals.EXML_ENUM_VALUE;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Java Enum Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Java Enum Value</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Java Enum Value</em>' attribute.
+ * @see #setJavaEnumValue(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlEnumValue_JavaEnumValue()
+ * @model
+ * @generated
+ */
+ public String getJavaEnumValue()
+ {
+ return javaEnumValue;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlEnumValue#getJavaEnumValue <em>Java Enum Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Java Enum Value</em>' attribute.
+ * @see #getJavaEnumValue()
+ * @generated
+ */
+ public void setJavaEnumValue(String newJavaEnumValue)
+ {
+ String oldJavaEnumValue = javaEnumValue;
+ javaEnumValue = newJavaEnumValue;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ENUM_VALUE__JAVA_ENUM_VALUE, oldJavaEnumValue, javaEnumValue));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_ENUM_VALUE__JAVA_ENUM_VALUE:
+ return getJavaEnumValue();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_ENUM_VALUE__JAVA_ENUM_VALUE:
+ setJavaEnumValue((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_ENUM_VALUE__JAVA_ENUM_VALUE:
+ setJavaEnumValue(JAVA_ENUM_VALUE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_ENUM_VALUE__JAVA_ENUM_VALUE:
+ return JAVA_ENUM_VALUE_EDEFAULT == null ? javaEnumValue != null : !JAVA_ENUM_VALUE_EDEFAULT.equals(javaEnumValue);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (javaEnumValue: ");
+ result.append(javaEnumValue);
+ result.append(')');
+ return result.toString();
+ }
+
+} // EXmlEnumValue
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlInverseReference.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlInverseReference.java
new file mode 100644
index 0000000000..fdf90db7ac
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlInverseReference.java
@@ -0,0 +1,580 @@
+/*******************************************************************************
+ * Copyright (c) 2012 Oracle. All rights reserved.
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0, which accompanies this distribution
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+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.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.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EStructuralFeature;
+import org.eclipse.wst.common.internal.emf.resource.Translator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EXml Inverse Reference</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlInverseReference#getMappedBy <em>Mapped By</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlInverseReference()
+ * @model kind="class"
+ * @generated
+ */
+public class EXmlInverseReference extends EJavaAttribute implements EAccessibleJavaAttribute, EContainerJavaAttribute, ETypedJavaAttribute, EPropertyHolder
+{
+ /**
+ * The cached value of the '{@link #getXmlAccessMethods() <em>Xml Access Methods</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlAccessMethods()
+ * @generated
+ * @ordered
+ */
+ protected EXmlAccessMethods xmlAccessMethods;
+ /**
+ * The default value of the '{@link #getContainerType() <em>Container Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getContainerType()
+ * @generated
+ * @ordered
+ */
+ protected static final String CONTAINER_TYPE_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getContainerType() <em>Container Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getContainerType()
+ * @generated
+ * @ordered
+ */
+ protected String containerType = CONTAINER_TYPE_EDEFAULT;
+ /**
+ * The default value of the '{@link #getType() <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected static final String TYPE_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getType() <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected String type = TYPE_EDEFAULT;
+ /**
+ * The cached value of the '{@link #getXmlProperties() <em>Xml Properties</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlProperties()
+ * @generated
+ * @ordered
+ */
+ protected EList<EXmlProperty> xmlProperties;
+ /**
+ * The default value of the '{@link #getMappedBy() <em>Mapped By</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMappedBy()
+ * @generated
+ * @ordered
+ */
+ protected static final String MAPPED_BY_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getMappedBy() <em>Mapped By</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMappedBy()
+ * @generated
+ * @ordered
+ */
+ protected String mappedBy = MAPPED_BY_EDEFAULT;
+
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EXmlInverseReference()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OxmPackage.Literals.EXML_INVERSE_REFERENCE;
+ }
+
+
+ /**
+ * Returns the value of the '<em><b>Xml Access Methods</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml 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>Xml Access Methods</em>' containment reference.
+ * @see #setXmlAccessMethods(EXmlAccessMethods)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEAccessibleJavaAttribute_XmlAccessMethods()
+ * @model containment="true"
+ * @generated
+ */
+ public EXmlAccessMethods getXmlAccessMethods()
+ {
+ return xmlAccessMethods;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetXmlAccessMethods(EXmlAccessMethods newXmlAccessMethods, NotificationChain msgs)
+ {
+ EXmlAccessMethods oldXmlAccessMethods = xmlAccessMethods;
+ xmlAccessMethods = newXmlAccessMethods;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_INVERSE_REFERENCE__XML_ACCESS_METHODS, oldXmlAccessMethods, newXmlAccessMethods);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlInverseReference#getXmlAccessMethods <em>Xml Access Methods</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Access Methods</em>' containment reference.
+ * @see #getXmlAccessMethods()
+ * @generated
+ */
+ public void setXmlAccessMethods(EXmlAccessMethods newXmlAccessMethods)
+ {
+ if (newXmlAccessMethods != xmlAccessMethods)
+ {
+ NotificationChain msgs = null;
+ if (xmlAccessMethods != null)
+ msgs = ((InternalEObject)xmlAccessMethods).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_INVERSE_REFERENCE__XML_ACCESS_METHODS, null, msgs);
+ if (newXmlAccessMethods != null)
+ msgs = ((InternalEObject)newXmlAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_INVERSE_REFERENCE__XML_ACCESS_METHODS, null, msgs);
+ msgs = basicSetXmlAccessMethods(newXmlAccessMethods, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_INVERSE_REFERENCE__XML_ACCESS_METHODS, newXmlAccessMethods, newXmlAccessMethods));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Container Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Container 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>Container Type</em>' attribute.
+ * @see #setContainerType(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEContainerJavaAttribute_ContainerType()
+ * @model
+ * @generated
+ */
+ public String getContainerType()
+ {
+ return containerType;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlInverseReference#getContainerType <em>Container Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Container Type</em>' attribute.
+ * @see #getContainerType()
+ * @generated
+ */
+ public void setContainerType(String newContainerType)
+ {
+ String oldContainerType = containerType;
+ containerType = newContainerType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_INVERSE_REFERENCE__CONTAINER_TYPE, oldContainerType, containerType));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>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>Type</em>' attribute.
+ * @see #setType(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getETypedJavaAttribute_Type()
+ * @model
+ * @generated
+ */
+ public String getType()
+ {
+ return type;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlInverseReference#getType <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Type</em>' attribute.
+ * @see #getType()
+ * @generated
+ */
+ public void setType(String newType)
+ {
+ String oldType = type;
+ type = newType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_INVERSE_REFERENCE__TYPE, oldType, type));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Properties</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlProperty}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml 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>Xml Properties</em>' containment reference list.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEPropertyHolder_XmlProperties()
+ * @model containment="true"
+ * @generated
+ */
+ public EList<EXmlProperty> getXmlProperties()
+ {
+ if (xmlProperties == null)
+ {
+ xmlProperties = new EObjectContainmentEList<EXmlProperty>(EXmlProperty.class, this, OxmPackage.EXML_INVERSE_REFERENCE__XML_PROPERTIES);
+ }
+ return xmlProperties;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Mapped By</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Mapped By</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Mapped By</em>' attribute.
+ * @see #setMappedBy(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlInverseReference_MappedBy()
+ * @model
+ * @generated
+ */
+ public String getMappedBy()
+ {
+ return mappedBy;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlInverseReference#getMappedBy <em>Mapped By</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Mapped By</em>' attribute.
+ * @see #getMappedBy()
+ * @generated
+ */
+ public void setMappedBy(String newMappedBy)
+ {
+ String oldMappedBy = mappedBy;
+ mappedBy = newMappedBy;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_INVERSE_REFERENCE__MAPPED_BY, oldMappedBy, mappedBy));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_INVERSE_REFERENCE__XML_ACCESS_METHODS:
+ return basicSetXmlAccessMethods(null, msgs);
+ case OxmPackage.EXML_INVERSE_REFERENCE__XML_PROPERTIES:
+ return ((InternalEList<?>)getXmlProperties()).basicRemove(otherEnd, 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 OxmPackage.EXML_INVERSE_REFERENCE__XML_ACCESS_METHODS:
+ return getXmlAccessMethods();
+ case OxmPackage.EXML_INVERSE_REFERENCE__CONTAINER_TYPE:
+ return getContainerType();
+ case OxmPackage.EXML_INVERSE_REFERENCE__TYPE:
+ return getType();
+ case OxmPackage.EXML_INVERSE_REFERENCE__XML_PROPERTIES:
+ return getXmlProperties();
+ case OxmPackage.EXML_INVERSE_REFERENCE__MAPPED_BY:
+ return getMappedBy();
+ }
+ 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 OxmPackage.EXML_INVERSE_REFERENCE__XML_ACCESS_METHODS:
+ setXmlAccessMethods((EXmlAccessMethods)newValue);
+ return;
+ case OxmPackage.EXML_INVERSE_REFERENCE__CONTAINER_TYPE:
+ setContainerType((String)newValue);
+ return;
+ case OxmPackage.EXML_INVERSE_REFERENCE__TYPE:
+ setType((String)newValue);
+ return;
+ case OxmPackage.EXML_INVERSE_REFERENCE__XML_PROPERTIES:
+ getXmlProperties().clear();
+ getXmlProperties().addAll((Collection<? extends EXmlProperty>)newValue);
+ return;
+ case OxmPackage.EXML_INVERSE_REFERENCE__MAPPED_BY:
+ setMappedBy((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_INVERSE_REFERENCE__XML_ACCESS_METHODS:
+ setXmlAccessMethods((EXmlAccessMethods)null);
+ return;
+ case OxmPackage.EXML_INVERSE_REFERENCE__CONTAINER_TYPE:
+ setContainerType(CONTAINER_TYPE_EDEFAULT);
+ return;
+ case OxmPackage.EXML_INVERSE_REFERENCE__TYPE:
+ setType(TYPE_EDEFAULT);
+ return;
+ case OxmPackage.EXML_INVERSE_REFERENCE__XML_PROPERTIES:
+ getXmlProperties().clear();
+ return;
+ case OxmPackage.EXML_INVERSE_REFERENCE__MAPPED_BY:
+ setMappedBy(MAPPED_BY_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_INVERSE_REFERENCE__XML_ACCESS_METHODS:
+ return xmlAccessMethods != null;
+ case OxmPackage.EXML_INVERSE_REFERENCE__CONTAINER_TYPE:
+ return CONTAINER_TYPE_EDEFAULT == null ? containerType != null : !CONTAINER_TYPE_EDEFAULT.equals(containerType);
+ case OxmPackage.EXML_INVERSE_REFERENCE__TYPE:
+ return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT.equals(type);
+ case OxmPackage.EXML_INVERSE_REFERENCE__XML_PROPERTIES:
+ return xmlProperties != null && !xmlProperties.isEmpty();
+ case OxmPackage.EXML_INVERSE_REFERENCE__MAPPED_BY:
+ return MAPPED_BY_EDEFAULT == null ? mappedBy != null : !MAPPED_BY_EDEFAULT.equals(mappedBy);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)
+ {
+ if (baseClass == EAccessibleJavaAttribute.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_INVERSE_REFERENCE__XML_ACCESS_METHODS: return OxmPackage.EACCESSIBLE_JAVA_ATTRIBUTE__XML_ACCESS_METHODS;
+ default: return -1;
+ }
+ }
+ if (baseClass == EContainerJavaAttribute.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_INVERSE_REFERENCE__CONTAINER_TYPE: return OxmPackage.ECONTAINER_JAVA_ATTRIBUTE__CONTAINER_TYPE;
+ default: return -1;
+ }
+ }
+ if (baseClass == ETypedJavaAttribute.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_INVERSE_REFERENCE__TYPE: return OxmPackage.ETYPED_JAVA_ATTRIBUTE__TYPE;
+ default: return -1;
+ }
+ }
+ if (baseClass == EPropertyHolder.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_INVERSE_REFERENCE__XML_PROPERTIES: return OxmPackage.EPROPERTY_HOLDER__XML_PROPERTIES;
+ 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 == EAccessibleJavaAttribute.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.EACCESSIBLE_JAVA_ATTRIBUTE__XML_ACCESS_METHODS: return OxmPackage.EXML_INVERSE_REFERENCE__XML_ACCESS_METHODS;
+ default: return -1;
+ }
+ }
+ if (baseClass == EContainerJavaAttribute.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.ECONTAINER_JAVA_ATTRIBUTE__CONTAINER_TYPE: return OxmPackage.EXML_INVERSE_REFERENCE__CONTAINER_TYPE;
+ default: return -1;
+ }
+ }
+ if (baseClass == ETypedJavaAttribute.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.ETYPED_JAVA_ATTRIBUTE__TYPE: return OxmPackage.EXML_INVERSE_REFERENCE__TYPE;
+ default: return -1;
+ }
+ }
+ if (baseClass == EPropertyHolder.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.EPROPERTY_HOLDER__XML_PROPERTIES: return OxmPackage.EXML_INVERSE_REFERENCE__XML_PROPERTIES;
+ 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(" (containerType: ");
+ result.append(containerType);
+ result.append(", type: ");
+ result.append(type);
+ result.append(", mappedBy: ");
+ result.append(mappedBy);
+ result.append(')');
+ return result.toString();
+ }
+
+
+ // ***** translators *****
+
+ static class XmlInverseReferenceTranslator
+ extends AbstractJavaAttributeTranslator {
+
+ XmlInverseReferenceTranslator(String domPathAndName, EStructuralFeature eStructuralFeature) {
+ super(domPathAndName, eStructuralFeature, buildTranslatorChildren());
+ }
+
+ private static Translator[] buildTranslatorChildren() {
+ return new Translator[] {
+ };
+ }
+
+ @Override
+ public EObject createEMFObject(String nodeName, String readAheadName) {
+ return OxmFactory.eINSTANCE.createEXmlInverseReference();
+ }
+ }
+} \ No newline at end of file
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlIsSetNullPolicy.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlIsSetNullPolicy.java
new file mode 100644
index 0000000000..ba045419b5
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlIsSetNullPolicy.java
@@ -0,0 +1,283 @@
+/*******************************************************************************
+ * Copyright (c) 2012 Oracle. All rights reserved.
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0, which accompanies this distribution
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+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.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.emf.ecore.EObject;
+import org.eclipse.wst.common.internal.emf.resource.Translator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EXml Is Set Null Policy</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlIsSetNullPolicy#getIsSetMethodName <em>Is Set Method Name</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlIsSetNullPolicy#getXmlIsSetParameters <em>Xml Is Set Parameters</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlIsSetNullPolicy()
+ * @model kind="class"
+ * @generated
+ */
+public class EXmlIsSetNullPolicy extends EAbstractXmlNullPolicy
+{
+ /**
+ * The default value of the '{@link #getIsSetMethodName() <em>Is Set Method Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getIsSetMethodName()
+ * @generated
+ * @ordered
+ */
+ protected static final String IS_SET_METHOD_NAME_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getIsSetMethodName() <em>Is Set Method Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getIsSetMethodName()
+ * @generated
+ * @ordered
+ */
+ protected String isSetMethodName = IS_SET_METHOD_NAME_EDEFAULT;
+ /**
+ * The cached value of the '{@link #getXmlIsSetParameters() <em>Xml Is Set Parameters</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlIsSetParameters()
+ * @generated
+ * @ordered
+ */
+ protected EList<EXmlIsSetParameter> xmlIsSetParameters;
+
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EXmlIsSetNullPolicy()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OxmPackage.Literals.EXML_IS_SET_NULL_POLICY;
+ }
+
+
+ /**
+ * Returns the value of the '<em><b>Is Set Method Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Is Set Method Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Is Set Method Name</em>' attribute.
+ * @see #setIsSetMethodName(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlIsSetNullPolicy_IsSetMethodName()
+ * @model
+ * @generated
+ */
+ public String getIsSetMethodName()
+ {
+ return isSetMethodName;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlIsSetNullPolicy#getIsSetMethodName <em>Is Set Method Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Is Set Method Name</em>' attribute.
+ * @see #getIsSetMethodName()
+ * @generated
+ */
+ public void setIsSetMethodName(String newIsSetMethodName)
+ {
+ String oldIsSetMethodName = isSetMethodName;
+ isSetMethodName = newIsSetMethodName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_IS_SET_NULL_POLICY__IS_SET_METHOD_NAME, oldIsSetMethodName, isSetMethodName));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Is Set Parameters</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlIsSetParameter}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Is Set Parameters</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>Xml Is Set Parameters</em>' containment reference list.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlIsSetNullPolicy_XmlIsSetParameters()
+ * @model containment="true"
+ * @generated
+ */
+ public EList<EXmlIsSetParameter> getXmlIsSetParameters()
+ {
+ if (xmlIsSetParameters == null)
+ {
+ xmlIsSetParameters = new EObjectContainmentEList<EXmlIsSetParameter>(EXmlIsSetParameter.class, this, OxmPackage.EXML_IS_SET_NULL_POLICY__XML_IS_SET_PARAMETERS);
+ }
+ return xmlIsSetParameters;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_IS_SET_NULL_POLICY__XML_IS_SET_PARAMETERS:
+ return ((InternalEList<?>)getXmlIsSetParameters()).basicRemove(otherEnd, 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 OxmPackage.EXML_IS_SET_NULL_POLICY__IS_SET_METHOD_NAME:
+ return getIsSetMethodName();
+ case OxmPackage.EXML_IS_SET_NULL_POLICY__XML_IS_SET_PARAMETERS:
+ return getXmlIsSetParameters();
+ }
+ 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 OxmPackage.EXML_IS_SET_NULL_POLICY__IS_SET_METHOD_NAME:
+ setIsSetMethodName((String)newValue);
+ return;
+ case OxmPackage.EXML_IS_SET_NULL_POLICY__XML_IS_SET_PARAMETERS:
+ getXmlIsSetParameters().clear();
+ getXmlIsSetParameters().addAll((Collection<? extends EXmlIsSetParameter>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_IS_SET_NULL_POLICY__IS_SET_METHOD_NAME:
+ setIsSetMethodName(IS_SET_METHOD_NAME_EDEFAULT);
+ return;
+ case OxmPackage.EXML_IS_SET_NULL_POLICY__XML_IS_SET_PARAMETERS:
+ getXmlIsSetParameters().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_IS_SET_NULL_POLICY__IS_SET_METHOD_NAME:
+ return IS_SET_METHOD_NAME_EDEFAULT == null ? isSetMethodName != null : !IS_SET_METHOD_NAME_EDEFAULT.equals(isSetMethodName);
+ case OxmPackage.EXML_IS_SET_NULL_POLICY__XML_IS_SET_PARAMETERS:
+ return xmlIsSetParameters != null && !xmlIsSetParameters.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (isSetMethodName: ");
+ result.append(isSetMethodName);
+ result.append(')');
+ return result.toString();
+ }
+
+
+ // ***** translators *****
+
+ static class XmlIsSetNullPolicyTranslator
+ extends AbstractAbstractXmlNullPolicyTranslator {
+
+ public XmlIsSetNullPolicyTranslator() {
+ super(EclipseLink.XML_IS_SET_NULL_POLICY, buildTranslatorChildren());
+ }
+
+ private static Translator[] buildTranslatorChildren() {
+ return new Translator[] {
+ };
+ }
+
+ @Override
+ public EObject createEMFObject(String nodeName, String readAheadName) {
+ return OxmFactory.eINSTANCE.createEXmlIsSetNullPolicy();
+ }
+ }
+}
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlIsSetParameter.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlIsSetParameter.java
new file mode 100644
index 0000000000..616da4d697
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlIsSetParameter.java
@@ -0,0 +1,260 @@
+/**
+ */
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.jpt.common.core.resource.xml.EBaseObject;
+import org.eclipse.jpt.common.core.resource.xml.EBaseObjectImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EXml Is Set Parameter</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlIsSetParameter#getValue <em>Value</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlIsSetParameter#getType <em>Type</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlIsSetParameter()
+ * @model kind="class"
+ * @extends EBaseObject
+ * @generated
+ */
+public class EXmlIsSetParameter extends EBaseObjectImpl implements EBaseObject
+{
+ /**
+ * The default value of the '{@link #getValue() <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValue()
+ * @generated
+ * @ordered
+ */
+ protected static final String VALUE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValue()
+ * @generated
+ * @ordered
+ */
+ protected String value = VALUE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getType() <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected static final String TYPE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getType() <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected String type = TYPE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EXmlIsSetParameter()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OxmPackage.Literals.EXML_IS_SET_PARAMETER;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Value</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Value</em>' attribute.
+ * @see #setValue(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlIsSetParameter_Value()
+ * @model
+ * @generated
+ */
+ public String getValue()
+ {
+ return value;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlIsSetParameter#getValue <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Value</em>' attribute.
+ * @see #getValue()
+ * @generated
+ */
+ public void setValue(String newValue)
+ {
+ String oldValue = value;
+ value = newValue;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_IS_SET_PARAMETER__VALUE, oldValue, value));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>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>Type</em>' attribute.
+ * @see #setType(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlIsSetParameter_Type()
+ * @model
+ * @generated
+ */
+ public String getType()
+ {
+ return type;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlIsSetParameter#getType <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Type</em>' attribute.
+ * @see #getType()
+ * @generated
+ */
+ public void setType(String newType)
+ {
+ String oldType = type;
+ type = newType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_IS_SET_PARAMETER__TYPE, oldType, type));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_IS_SET_PARAMETER__VALUE:
+ return getValue();
+ case OxmPackage.EXML_IS_SET_PARAMETER__TYPE:
+ return getType();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_IS_SET_PARAMETER__VALUE:
+ setValue((String)newValue);
+ return;
+ case OxmPackage.EXML_IS_SET_PARAMETER__TYPE:
+ setType((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_IS_SET_PARAMETER__VALUE:
+ setValue(VALUE_EDEFAULT);
+ return;
+ case OxmPackage.EXML_IS_SET_PARAMETER__TYPE:
+ setType(TYPE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_IS_SET_PARAMETER__VALUE:
+ return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
+ case OxmPackage.EXML_IS_SET_PARAMETER__TYPE:
+ return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT.equals(type);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (value: ");
+ result.append(value);
+ result.append(", type: ");
+ result.append(type);
+ result.append(')');
+ return result.toString();
+ }
+
+} // EXmlIsSetParameter
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlJavaTypeAdapter.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlJavaTypeAdapter.java
new file mode 100644
index 0000000000..cc2c094037
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlJavaTypeAdapter.java
@@ -0,0 +1,349 @@
+/*******************************************************************************
+ * Copyright (c) 2012 Oracle. All rights reserved.
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0, which accompanies this distribution
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EStructuralFeature;
+import org.eclipse.wst.common.internal.emf.resource.Translator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EXml Java Type Adapter</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlJavaTypeAdapter#getValue <em>Value</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlJavaTypeAdapter#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlJavaTypeAdapter#getValueType <em>Value Type</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlJavaTypeAdapter()
+ * @model kind="class"
+ * @generated
+ */
+public class EXmlJavaTypeAdapter extends EJavaAttribute
+{
+ /**
+ * The default value of the '{@link #getValue() <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValue()
+ * @generated
+ * @ordered
+ */
+ protected static final String VALUE_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValue()
+ * @generated
+ * @ordered
+ */
+ protected String value = VALUE_EDEFAULT;
+ /**
+ * The default value of the '{@link #getType() <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected static final String TYPE_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getType() <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected String type = TYPE_EDEFAULT;
+ /**
+ * The default value of the '{@link #getValueType() <em>Value Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValueType()
+ * @generated
+ * @ordered
+ */
+ protected static final String VALUE_TYPE_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getValueType() <em>Value Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValueType()
+ * @generated
+ * @ordered
+ */
+ protected String valueType = VALUE_TYPE_EDEFAULT;
+
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EXmlJavaTypeAdapter()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OxmPackage.Literals.EXML_JAVA_TYPE_ADAPTER;
+ }
+
+
+ /**
+ * Returns the value of the '<em><b>Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Value</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Value</em>' attribute.
+ * @see #setValue(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlJavaTypeAdapter_Value()
+ * @model
+ * @generated
+ */
+ public String getValue()
+ {
+ return value;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlJavaTypeAdapter#getValue <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Value</em>' attribute.
+ * @see #getValue()
+ * @generated
+ */
+ public void setValue(String newValue)
+ {
+ String oldValue = value;
+ value = newValue;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_JAVA_TYPE_ADAPTER__VALUE, oldValue, value));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>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>Type</em>' attribute.
+ * @see #setType(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlJavaTypeAdapter_Type()
+ * @model
+ * @generated
+ */
+ public String getType()
+ {
+ return type;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlJavaTypeAdapter#getType <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Type</em>' attribute.
+ * @see #getType()
+ * @generated
+ */
+ public void setType(String newType)
+ {
+ String oldType = type;
+ type = newType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_JAVA_TYPE_ADAPTER__TYPE, oldType, type));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Value Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Value 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>Value Type</em>' attribute.
+ * @see #setValueType(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlJavaTypeAdapter_ValueType()
+ * @model
+ * @generated
+ */
+ public String getValueType()
+ {
+ return valueType;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlJavaTypeAdapter#getValueType <em>Value Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Value Type</em>' attribute.
+ * @see #getValueType()
+ * @generated
+ */
+ public void setValueType(String newValueType)
+ {
+ String oldValueType = valueType;
+ valueType = newValueType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_JAVA_TYPE_ADAPTER__VALUE_TYPE, oldValueType, valueType));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_JAVA_TYPE_ADAPTER__VALUE:
+ return getValue();
+ case OxmPackage.EXML_JAVA_TYPE_ADAPTER__TYPE:
+ return getType();
+ case OxmPackage.EXML_JAVA_TYPE_ADAPTER__VALUE_TYPE:
+ return getValueType();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_JAVA_TYPE_ADAPTER__VALUE:
+ setValue((String)newValue);
+ return;
+ case OxmPackage.EXML_JAVA_TYPE_ADAPTER__TYPE:
+ setType((String)newValue);
+ return;
+ case OxmPackage.EXML_JAVA_TYPE_ADAPTER__VALUE_TYPE:
+ setValueType((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_JAVA_TYPE_ADAPTER__VALUE:
+ setValue(VALUE_EDEFAULT);
+ return;
+ case OxmPackage.EXML_JAVA_TYPE_ADAPTER__TYPE:
+ setType(TYPE_EDEFAULT);
+ return;
+ case OxmPackage.EXML_JAVA_TYPE_ADAPTER__VALUE_TYPE:
+ setValueType(VALUE_TYPE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_JAVA_TYPE_ADAPTER__VALUE:
+ return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
+ case OxmPackage.EXML_JAVA_TYPE_ADAPTER__TYPE:
+ return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT.equals(type);
+ case OxmPackage.EXML_JAVA_TYPE_ADAPTER__VALUE_TYPE:
+ return VALUE_TYPE_EDEFAULT == null ? valueType != null : !VALUE_TYPE_EDEFAULT.equals(valueType);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (value: ");
+ result.append(value);
+ result.append(", type: ");
+ result.append(type);
+ result.append(", valueType: ");
+ result.append(valueType);
+ result.append(')');
+ return result.toString();
+ }
+
+
+ // ***** translators *****
+
+ static class XmlJavaTypeAdapterTranslator
+ extends AbstractJavaAttributeTranslator {
+
+ XmlJavaTypeAdapterTranslator(String domPathAndName, EStructuralFeature eStructuralFeature) {
+ super(domPathAndName, eStructuralFeature, buildTranslatorChildren());
+ }
+
+ private static Translator[] buildTranslatorChildren() {
+ return new Translator[] {
+ };
+ }
+
+ @Override
+ public EObject createEMFObject(String nodeName, String readAheadName) {
+ return OxmFactory.eINSTANCE.createEXmlJavaTypeAdapter();
+ }
+ }
+}
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlJoinNode.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlJoinNode.java
new file mode 100644
index 0000000000..9710f0cda5
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlJoinNode.java
@@ -0,0 +1,260 @@
+/**
+ */
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.jpt.common.core.resource.xml.EBaseObject;
+import org.eclipse.jpt.common.core.resource.xml.EBaseObjectImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EXml Join Node</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlJoinNode#getXmlPath <em>Xml Path</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlJoinNode#getReferencedXmlPath <em>Referenced Xml Path</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlJoinNode()
+ * @model kind="class"
+ * @extends EBaseObject
+ * @generated
+ */
+public class EXmlJoinNode extends EBaseObjectImpl implements EBaseObject
+{
+ /**
+ * The default value of the '{@link #getXmlPath() <em>Xml Path</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlPath()
+ * @generated
+ * @ordered
+ */
+ protected static final String XML_PATH_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getXmlPath() <em>Xml Path</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlPath()
+ * @generated
+ * @ordered
+ */
+ protected String xmlPath = XML_PATH_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getReferencedXmlPath() <em>Referenced Xml Path</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getReferencedXmlPath()
+ * @generated
+ * @ordered
+ */
+ protected static final String REFERENCED_XML_PATH_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getReferencedXmlPath() <em>Referenced Xml Path</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getReferencedXmlPath()
+ * @generated
+ * @ordered
+ */
+ protected String referencedXmlPath = REFERENCED_XML_PATH_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EXmlJoinNode()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OxmPackage.Literals.EXML_JOIN_NODE;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Path</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Path</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Xml Path</em>' attribute.
+ * @see #setXmlPath(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlJoinNode_XmlPath()
+ * @model
+ * @generated
+ */
+ public String getXmlPath()
+ {
+ return xmlPath;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlJoinNode#getXmlPath <em>Xml Path</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Path</em>' attribute.
+ * @see #getXmlPath()
+ * @generated
+ */
+ public void setXmlPath(String newXmlPath)
+ {
+ String oldXmlPath = xmlPath;
+ xmlPath = newXmlPath;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_JOIN_NODE__XML_PATH, oldXmlPath, xmlPath));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Referenced Xml Path</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Referenced Xml Path</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Referenced Xml Path</em>' attribute.
+ * @see #setReferencedXmlPath(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlJoinNode_ReferencedXmlPath()
+ * @model
+ * @generated
+ */
+ public String getReferencedXmlPath()
+ {
+ return referencedXmlPath;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlJoinNode#getReferencedXmlPath <em>Referenced Xml Path</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Referenced Xml Path</em>' attribute.
+ * @see #getReferencedXmlPath()
+ * @generated
+ */
+ public void setReferencedXmlPath(String newReferencedXmlPath)
+ {
+ String oldReferencedXmlPath = referencedXmlPath;
+ referencedXmlPath = newReferencedXmlPath;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_JOIN_NODE__REFERENCED_XML_PATH, oldReferencedXmlPath, referencedXmlPath));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_JOIN_NODE__XML_PATH:
+ return getXmlPath();
+ case OxmPackage.EXML_JOIN_NODE__REFERENCED_XML_PATH:
+ return getReferencedXmlPath();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_JOIN_NODE__XML_PATH:
+ setXmlPath((String)newValue);
+ return;
+ case OxmPackage.EXML_JOIN_NODE__REFERENCED_XML_PATH:
+ setReferencedXmlPath((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_JOIN_NODE__XML_PATH:
+ setXmlPath(XML_PATH_EDEFAULT);
+ return;
+ case OxmPackage.EXML_JOIN_NODE__REFERENCED_XML_PATH:
+ setReferencedXmlPath(REFERENCED_XML_PATH_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_JOIN_NODE__XML_PATH:
+ return XML_PATH_EDEFAULT == null ? xmlPath != null : !XML_PATH_EDEFAULT.equals(xmlPath);
+ case OxmPackage.EXML_JOIN_NODE__REFERENCED_XML_PATH:
+ return REFERENCED_XML_PATH_EDEFAULT == null ? referencedXmlPath != null : !REFERENCED_XML_PATH_EDEFAULT.equals(referencedXmlPath);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (xmlPath: ");
+ result.append(xmlPath);
+ result.append(", referencedXmlPath: ");
+ result.append(referencedXmlPath);
+ result.append(')');
+ return result.toString();
+ }
+
+} // EXmlJoinNode
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlJoinNodes.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlJoinNodes.java
new file mode 100644
index 0000000000..a72f279878
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlJoinNodes.java
@@ -0,0 +1,402 @@
+/*******************************************************************************
+ * Copyright (c) 2012 Oracle. All rights reserved.
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0, which accompanies this distribution
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+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.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.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EStructuralFeature;
+import org.eclipse.wst.common.internal.emf.resource.Translator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EXml Join Nodes</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlJoinNodes#getXmlJoinNodes <em>Xml Join Nodes</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlJoinNodes()
+ * @model kind="class"
+ * @generated
+ */
+public class EXmlJoinNodes extends EJavaAttribute implements EContainerJavaAttribute, ETypedJavaAttribute
+{
+ /**
+ * The default value of the '{@link #getContainerType() <em>Container Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getContainerType()
+ * @generated
+ * @ordered
+ */
+ protected static final String CONTAINER_TYPE_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getContainerType() <em>Container Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getContainerType()
+ * @generated
+ * @ordered
+ */
+ protected String containerType = CONTAINER_TYPE_EDEFAULT;
+ /**
+ * The default value of the '{@link #getType() <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected static final String TYPE_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getType() <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected String type = TYPE_EDEFAULT;
+ /**
+ * The cached value of the '{@link #getXmlJoinNodes() <em>Xml Join Nodes</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlJoinNodes()
+ * @generated
+ * @ordered
+ */
+ protected EList<EXmlJoinNode> xmlJoinNodes;
+
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EXmlJoinNodes()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OxmPackage.Literals.EXML_JOIN_NODES;
+ }
+
+
+ /**
+ * Returns the value of the '<em><b>Container Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Container 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>Container Type</em>' attribute.
+ * @see #setContainerType(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEContainerJavaAttribute_ContainerType()
+ * @model
+ * @generated
+ */
+ public String getContainerType()
+ {
+ return containerType;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlJoinNodes#getContainerType <em>Container Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Container Type</em>' attribute.
+ * @see #getContainerType()
+ * @generated
+ */
+ public void setContainerType(String newContainerType)
+ {
+ String oldContainerType = containerType;
+ containerType = newContainerType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_JOIN_NODES__CONTAINER_TYPE, oldContainerType, containerType));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>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>Type</em>' attribute.
+ * @see #setType(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getETypedJavaAttribute_Type()
+ * @model
+ * @generated
+ */
+ public String getType()
+ {
+ return type;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlJoinNodes#getType <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Type</em>' attribute.
+ * @see #getType()
+ * @generated
+ */
+ public void setType(String newType)
+ {
+ String oldType = type;
+ type = newType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_JOIN_NODES__TYPE, oldType, type));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Join Nodes</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlJoinNode}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Join Nodes</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>Xml Join Nodes</em>' containment reference list.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlJoinNodes_XmlJoinNodes()
+ * @model containment="true"
+ * @generated
+ */
+ public EList<EXmlJoinNode> getXmlJoinNodes()
+ {
+ if (xmlJoinNodes == null)
+ {
+ xmlJoinNodes = new EObjectContainmentEList<EXmlJoinNode>(EXmlJoinNode.class, this, OxmPackage.EXML_JOIN_NODES__XML_JOIN_NODES);
+ }
+ return xmlJoinNodes;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_JOIN_NODES__XML_JOIN_NODES:
+ return ((InternalEList<?>)getXmlJoinNodes()).basicRemove(otherEnd, 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 OxmPackage.EXML_JOIN_NODES__CONTAINER_TYPE:
+ return getContainerType();
+ case OxmPackage.EXML_JOIN_NODES__TYPE:
+ return getType();
+ case OxmPackage.EXML_JOIN_NODES__XML_JOIN_NODES:
+ return getXmlJoinNodes();
+ }
+ 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 OxmPackage.EXML_JOIN_NODES__CONTAINER_TYPE:
+ setContainerType((String)newValue);
+ return;
+ case OxmPackage.EXML_JOIN_NODES__TYPE:
+ setType((String)newValue);
+ return;
+ case OxmPackage.EXML_JOIN_NODES__XML_JOIN_NODES:
+ getXmlJoinNodes().clear();
+ getXmlJoinNodes().addAll((Collection<? extends EXmlJoinNode>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_JOIN_NODES__CONTAINER_TYPE:
+ setContainerType(CONTAINER_TYPE_EDEFAULT);
+ return;
+ case OxmPackage.EXML_JOIN_NODES__TYPE:
+ setType(TYPE_EDEFAULT);
+ return;
+ case OxmPackage.EXML_JOIN_NODES__XML_JOIN_NODES:
+ getXmlJoinNodes().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_JOIN_NODES__CONTAINER_TYPE:
+ return CONTAINER_TYPE_EDEFAULT == null ? containerType != null : !CONTAINER_TYPE_EDEFAULT.equals(containerType);
+ case OxmPackage.EXML_JOIN_NODES__TYPE:
+ return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT.equals(type);
+ case OxmPackage.EXML_JOIN_NODES__XML_JOIN_NODES:
+ return xmlJoinNodes != null && !xmlJoinNodes.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)
+ {
+ if (baseClass == EContainerJavaAttribute.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_JOIN_NODES__CONTAINER_TYPE: return OxmPackage.ECONTAINER_JAVA_ATTRIBUTE__CONTAINER_TYPE;
+ default: return -1;
+ }
+ }
+ if (baseClass == ETypedJavaAttribute.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_JOIN_NODES__TYPE: return OxmPackage.ETYPED_JAVA_ATTRIBUTE__TYPE;
+ 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 == EContainerJavaAttribute.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.ECONTAINER_JAVA_ATTRIBUTE__CONTAINER_TYPE: return OxmPackage.EXML_JOIN_NODES__CONTAINER_TYPE;
+ default: return -1;
+ }
+ }
+ if (baseClass == ETypedJavaAttribute.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.ETYPED_JAVA_ATTRIBUTE__TYPE: return OxmPackage.EXML_JOIN_NODES__TYPE;
+ 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(" (containerType: ");
+ result.append(containerType);
+ result.append(", type: ");
+ result.append(type);
+ result.append(')');
+ return result.toString();
+ }
+
+
+ // ***** translators *****
+
+ static class XmlJoinNodesTranslator
+ extends AbstractJavaAttributeTranslator {
+
+ XmlJoinNodesTranslator(String domPathAndName, EStructuralFeature eStructuralFeature) {
+ super(domPathAndName, eStructuralFeature, buildTranslatorChildren());
+ }
+
+ private static Translator[] buildTranslatorChildren() {
+ return new Translator[] {
+ };
+ }
+
+ @Override
+ public EObject createEMFObject(String nodeName, String readAheadName) {
+ return OxmFactory.eINSTANCE.createEXmlJoinNodes();
+ }
+ }
+}
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlMap.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlMap.java
new file mode 100644
index 0000000000..31f9939892
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlMap.java
@@ -0,0 +1,260 @@
+/**
+ */
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.jpt.common.core.resource.xml.EBaseObject;
+import org.eclipse.jpt.common.core.resource.xml.EBaseObjectImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EXml Map</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlMap#getKey <em>Key</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlMap#getValue <em>Value</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlMap()
+ * @model kind="class"
+ * @extends EBaseObject
+ * @generated
+ */
+public class EXmlMap extends EBaseObjectImpl implements EBaseObject
+{
+ /**
+ * The default value of the '{@link #getKey() <em>Key</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getKey()
+ * @generated
+ * @ordered
+ */
+ protected static final String KEY_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getKey() <em>Key</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getKey()
+ * @generated
+ * @ordered
+ */
+ protected String key = KEY_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getValue() <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValue()
+ * @generated
+ * @ordered
+ */
+ protected static final String VALUE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValue()
+ * @generated
+ * @ordered
+ */
+ protected String value = VALUE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EXmlMap()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OxmPackage.Literals.EXML_MAP;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Key</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Key</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Key</em>' attribute.
+ * @see #setKey(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlMap_Key()
+ * @model
+ * @generated
+ */
+ public String getKey()
+ {
+ return key;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlMap#getKey <em>Key</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Key</em>' attribute.
+ * @see #getKey()
+ * @generated
+ */
+ public void setKey(String newKey)
+ {
+ String oldKey = key;
+ key = newKey;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_MAP__KEY, oldKey, key));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Value</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Value</em>' attribute.
+ * @see #setValue(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlMap_Value()
+ * @model
+ * @generated
+ */
+ public String getValue()
+ {
+ return value;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlMap#getValue <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Value</em>' attribute.
+ * @see #getValue()
+ * @generated
+ */
+ public void setValue(String newValue)
+ {
+ String oldValue = value;
+ value = newValue;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_MAP__VALUE, oldValue, value));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_MAP__KEY:
+ return getKey();
+ case OxmPackage.EXML_MAP__VALUE:
+ return getValue();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_MAP__KEY:
+ setKey((String)newValue);
+ return;
+ case OxmPackage.EXML_MAP__VALUE:
+ setValue((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_MAP__KEY:
+ setKey(KEY_EDEFAULT);
+ return;
+ case OxmPackage.EXML_MAP__VALUE:
+ setValue(VALUE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_MAP__KEY:
+ return KEY_EDEFAULT == null ? key != null : !KEY_EDEFAULT.equals(key);
+ case OxmPackage.EXML_MAP__VALUE:
+ return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (key: ");
+ result.append(key);
+ result.append(", value: ");
+ result.append(value);
+ result.append(')');
+ return result.toString();
+ }
+
+} // EXmlMap
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlMarshalNullRepresentation.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlMarshalNullRepresentation.java
new file mode 100644
index 0000000000..a903cc5188
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlMarshalNullRepresentation.java
@@ -0,0 +1,250 @@
+/**
+ */
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.List;
+
+import org.eclipse.emf.common.util.Enumerator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the literals of the enumeration '<em><b>EXml Marshal Null Representation</b></em>',
+ * and utility methods for working with them.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlMarshalNullRepresentation()
+ * @model
+ * @generated
+ */
+public enum EXmlMarshalNullRepresentation implements Enumerator
+{
+ /**
+ * The '<em><b>XSI NIL</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #XSI_NIL_VALUE
+ * @generated
+ * @ordered
+ */
+ XSI_NIL(0, "XSI_NIL", "XSI_NIL"),
+
+ /**
+ * The '<em><b>ABSENT NODE</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #ABSENT_NODE_VALUE
+ * @generated
+ * @ordered
+ */
+ ABSENT_NODE(1, "ABSENT_NODE", "ABSENT_NODE"),
+
+ /**
+ * The '<em><b>EMPTY NODE</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #EMPTY_NODE_VALUE
+ * @generated
+ * @ordered
+ */
+ EMPTY_NODE(2, "EMPTY_NODE", "EMPTY_NODE");
+
+ /**
+ * The '<em><b>XSI NIL</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>XSI NIL</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #XSI_NIL
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int XSI_NIL_VALUE = 0;
+
+ /**
+ * The '<em><b>ABSENT NODE</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>ABSENT NODE</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #ABSENT_NODE
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int ABSENT_NODE_VALUE = 1;
+
+ /**
+ * The '<em><b>EMPTY NODE</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>EMPTY NODE</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #EMPTY_NODE
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int EMPTY_NODE_VALUE = 2;
+
+ /**
+ * An array of all the '<em><b>EXml Marshal Null Representation</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final EXmlMarshalNullRepresentation[] VALUES_ARRAY =
+ new EXmlMarshalNullRepresentation[]
+ {
+ XSI_NIL,
+ ABSENT_NODE,
+ EMPTY_NODE,
+ };
+
+ /**
+ * A public read-only list of all the '<em><b>EXml Marshal Null Representation</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final List<EXmlMarshalNullRepresentation> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
+
+ /**
+ * Returns the '<em><b>EXml Marshal Null Representation</b></em>' literal with the specified literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static EXmlMarshalNullRepresentation get(String literal)
+ {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i)
+ {
+ EXmlMarshalNullRepresentation result = VALUES_ARRAY[i];
+ if (result.toString().equals(literal))
+ {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>EXml Marshal Null Representation</b></em>' literal with the specified name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static EXmlMarshalNullRepresentation getByName(String name)
+ {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i)
+ {
+ EXmlMarshalNullRepresentation result = VALUES_ARRAY[i];
+ if (result.getName().equals(name))
+ {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>EXml Marshal Null Representation</b></em>' literal with the specified integer value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static EXmlMarshalNullRepresentation get(int value)
+ {
+ switch (value)
+ {
+ case XSI_NIL_VALUE: return XSI_NIL;
+ case ABSENT_NODE_VALUE: return ABSENT_NODE;
+ case EMPTY_NODE_VALUE: return EMPTY_NODE;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final int value;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String name;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String literal;
+
+ /**
+ * Only this class can construct instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EXmlMarshalNullRepresentation(int value, String name, String literal)
+ {
+ this.value = value;
+ this.name = name;
+ this.literal = literal;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getValue()
+ {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getLiteral()
+ {
+ return literal;
+ }
+
+ /**
+ * Returns the literal value of the enumerator, which is its string representation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ return literal;
+ }
+
+} //EXmlMarshalNullRepresentation
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlNs.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlNs.java
new file mode 100644
index 0000000000..6bf5e9b58e
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlNs.java
@@ -0,0 +1,260 @@
+/**
+ */
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.jpt.common.core.resource.xml.EBaseObject;
+import org.eclipse.jpt.common.core.resource.xml.EBaseObjectImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EXml Ns</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlNs#getNamespaceUri <em>Namespace Uri</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlNs#getPrefix <em>Prefix</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlNs()
+ * @model kind="class"
+ * @extends EBaseObject
+ * @generated
+ */
+public class EXmlNs extends EBaseObjectImpl implements EBaseObject
+{
+ /**
+ * The default value of the '{@link #getNamespaceUri() <em>Namespace Uri</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getNamespaceUri()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAMESPACE_URI_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getNamespaceUri() <em>Namespace Uri</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getNamespaceUri()
+ * @generated
+ * @ordered
+ */
+ protected String namespaceUri = NAMESPACE_URI_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getPrefix() <em>Prefix</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPrefix()
+ * @generated
+ * @ordered
+ */
+ protected static final String PREFIX_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getPrefix() <em>Prefix</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPrefix()
+ * @generated
+ * @ordered
+ */
+ protected String prefix = PREFIX_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EXmlNs()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OxmPackage.Literals.EXML_NS;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Namespace Uri</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Namespace Uri</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Namespace Uri</em>' attribute.
+ * @see #setNamespaceUri(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlNs_NamespaceUri()
+ * @model
+ * @generated
+ */
+ public String getNamespaceUri()
+ {
+ return namespaceUri;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlNs#getNamespaceUri <em>Namespace Uri</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Namespace Uri</em>' attribute.
+ * @see #getNamespaceUri()
+ * @generated
+ */
+ public void setNamespaceUri(String newNamespaceUri)
+ {
+ String oldNamespaceUri = namespaceUri;
+ namespaceUri = newNamespaceUri;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_NS__NAMESPACE_URI, oldNamespaceUri, namespaceUri));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Prefix</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Prefix</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Prefix</em>' attribute.
+ * @see #setPrefix(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlNs_Prefix()
+ * @model
+ * @generated
+ */
+ public String getPrefix()
+ {
+ return prefix;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlNs#getPrefix <em>Prefix</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Prefix</em>' attribute.
+ * @see #getPrefix()
+ * @generated
+ */
+ public void setPrefix(String newPrefix)
+ {
+ String oldPrefix = prefix;
+ prefix = newPrefix;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_NS__PREFIX, oldPrefix, prefix));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_NS__NAMESPACE_URI:
+ return getNamespaceUri();
+ case OxmPackage.EXML_NS__PREFIX:
+ return getPrefix();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_NS__NAMESPACE_URI:
+ setNamespaceUri((String)newValue);
+ return;
+ case OxmPackage.EXML_NS__PREFIX:
+ setPrefix((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_NS__NAMESPACE_URI:
+ setNamespaceUri(NAMESPACE_URI_EDEFAULT);
+ return;
+ case OxmPackage.EXML_NS__PREFIX:
+ setPrefix(PREFIX_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_NS__NAMESPACE_URI:
+ return NAMESPACE_URI_EDEFAULT == null ? namespaceUri != null : !NAMESPACE_URI_EDEFAULT.equals(namespaceUri);
+ case OxmPackage.EXML_NS__PREFIX:
+ return PREFIX_EDEFAULT == null ? prefix != null : !PREFIX_EDEFAULT.equals(prefix);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (namespaceUri: ");
+ result.append(namespaceUri);
+ result.append(", prefix: ");
+ result.append(prefix);
+ result.append(')');
+ return result.toString();
+ }
+
+} // EXmlNs
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlNsForm.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlNsForm.java
new file mode 100644
index 0000000000..9b7519d30f
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlNsForm.java
@@ -0,0 +1,250 @@
+/**
+ */
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.List;
+
+import org.eclipse.emf.common.util.Enumerator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the literals of the enumeration '<em><b>EXml Ns Form</b></em>',
+ * and utility methods for working with them.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlNsForm()
+ * @model
+ * @generated
+ */
+public enum EXmlNsForm implements Enumerator
+{
+ /**
+ * The '<em><b>UNQUALIFIED</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #UNQUALIFIED_VALUE
+ * @generated
+ * @ordered
+ */
+ UNQUALIFIED(0, "UNQUALIFIED", "UNQUALIFIED"),
+
+ /**
+ * The '<em><b>QUALIFIED</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #QUALIFIED_VALUE
+ * @generated
+ * @ordered
+ */
+ QUALIFIED(1, "QUALIFIED", "QUALIFIED"),
+
+ /**
+ * The '<em><b>UNSET</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #UNSET_VALUE
+ * @generated
+ * @ordered
+ */
+ UNSET(2, "UNSET", "UNSET");
+
+ /**
+ * The '<em><b>UNQUALIFIED</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>UNQUALIFIED</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #UNQUALIFIED
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int UNQUALIFIED_VALUE = 0;
+
+ /**
+ * The '<em><b>QUALIFIED</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>QUALIFIED</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #QUALIFIED
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int QUALIFIED_VALUE = 1;
+
+ /**
+ * The '<em><b>UNSET</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>UNSET</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #UNSET
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int UNSET_VALUE = 2;
+
+ /**
+ * An array of all the '<em><b>EXml Ns Form</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final EXmlNsForm[] VALUES_ARRAY =
+ new EXmlNsForm[]
+ {
+ UNQUALIFIED,
+ QUALIFIED,
+ UNSET,
+ };
+
+ /**
+ * A public read-only list of all the '<em><b>EXml Ns Form</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final List<EXmlNsForm> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
+
+ /**
+ * Returns the '<em><b>EXml Ns Form</b></em>' literal with the specified literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static EXmlNsForm get(String literal)
+ {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i)
+ {
+ EXmlNsForm result = VALUES_ARRAY[i];
+ if (result.toString().equals(literal))
+ {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>EXml Ns Form</b></em>' literal with the specified name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static EXmlNsForm getByName(String name)
+ {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i)
+ {
+ EXmlNsForm result = VALUES_ARRAY[i];
+ if (result.getName().equals(name))
+ {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>EXml Ns Form</b></em>' literal with the specified integer value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static EXmlNsForm get(int value)
+ {
+ switch (value)
+ {
+ case UNQUALIFIED_VALUE: return UNQUALIFIED;
+ case QUALIFIED_VALUE: return QUALIFIED;
+ case UNSET_VALUE: return UNSET;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final int value;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String name;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String literal;
+
+ /**
+ * Only this class can construct instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EXmlNsForm(int value, String name, String literal)
+ {
+ this.value = value;
+ this.name = name;
+ this.literal = literal;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getValue()
+ {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getLiteral()
+ {
+ return literal;
+ }
+
+ /**
+ * Returns the literal value of the enumerator, which is its string representation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ return literal;
+ }
+
+} //EXmlNsForm
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlNullPolicy.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlNullPolicy.java
new file mode 100644
index 0000000000..a17e04237e
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlNullPolicy.java
@@ -0,0 +1,216 @@
+/*******************************************************************************
+ * Copyright (c) 2012 Oracle. All rights reserved.
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0, which accompanies this distribution
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.wst.common.internal.emf.resource.Translator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EXml Null Policy</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlNullPolicy#isIsSetPerformedForAbsentNode <em>Is Set Performed For Absent Node</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlNullPolicy()
+ * @model kind="class"
+ * @generated
+ */
+public class EXmlNullPolicy extends EAbstractXmlNullPolicy
+{
+ /**
+ * The default value of the '{@link #isIsSetPerformedForAbsentNode() <em>Is Set Performed For Absent Node</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsSetPerformedForAbsentNode()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean IS_SET_PERFORMED_FOR_ABSENT_NODE_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isIsSetPerformedForAbsentNode() <em>Is Set Performed For Absent Node</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsSetPerformedForAbsentNode()
+ * @generated
+ * @ordered
+ */
+ protected boolean isSetPerformedForAbsentNode = IS_SET_PERFORMED_FOR_ABSENT_NODE_EDEFAULT;
+
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EXmlNullPolicy()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OxmPackage.Literals.EXML_NULL_POLICY;
+ }
+
+
+ /**
+ * Returns the value of the '<em><b>Is Set Performed For Absent Node</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Is Set Performed For Absent Node</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Is Set Performed For Absent Node</em>' attribute.
+ * @see #setIsSetPerformedForAbsentNode(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlNullPolicy_IsSetPerformedForAbsentNode()
+ * @model
+ * @generated
+ */
+ public boolean isIsSetPerformedForAbsentNode()
+ {
+ return isSetPerformedForAbsentNode;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlNullPolicy#isIsSetPerformedForAbsentNode <em>Is Set Performed For Absent Node</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Is Set Performed For Absent Node</em>' attribute.
+ * @see #isIsSetPerformedForAbsentNode()
+ * @generated
+ */
+ public void setIsSetPerformedForAbsentNode(boolean newIsSetPerformedForAbsentNode)
+ {
+ boolean oldIsSetPerformedForAbsentNode = isSetPerformedForAbsentNode;
+ isSetPerformedForAbsentNode = newIsSetPerformedForAbsentNode;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_NULL_POLICY__IS_SET_PERFORMED_FOR_ABSENT_NODE, oldIsSetPerformedForAbsentNode, isSetPerformedForAbsentNode));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_NULL_POLICY__IS_SET_PERFORMED_FOR_ABSENT_NODE:
+ return isIsSetPerformedForAbsentNode();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_NULL_POLICY__IS_SET_PERFORMED_FOR_ABSENT_NODE:
+ setIsSetPerformedForAbsentNode((Boolean)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_NULL_POLICY__IS_SET_PERFORMED_FOR_ABSENT_NODE:
+ setIsSetPerformedForAbsentNode(IS_SET_PERFORMED_FOR_ABSENT_NODE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_NULL_POLICY__IS_SET_PERFORMED_FOR_ABSENT_NODE:
+ return isSetPerformedForAbsentNode != IS_SET_PERFORMED_FOR_ABSENT_NODE_EDEFAULT;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (isSetPerformedForAbsentNode: ");
+ result.append(isSetPerformedForAbsentNode);
+ result.append(')');
+ return result.toString();
+ }
+
+
+ // ***** translators *****
+
+ static class XmlNullPolicyTranslator
+ extends AbstractAbstractXmlNullPolicyTranslator {
+
+ public XmlNullPolicyTranslator() {
+ super(EclipseLink.XML_NULL_POLICY, buildTranslatorChildren());
+ }
+
+ private static Translator[] buildTranslatorChildren() {
+ return new Translator[] {
+ };
+ }
+
+ @Override
+ public EObject createEMFObject(String nodeName, String readAheadName) {
+ return OxmFactory.eINSTANCE.createEXmlNullPolicy();
+ }
+ }
+} \ No newline at end of file
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlProperty.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlProperty.java
new file mode 100644
index 0000000000..889604e7eb
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlProperty.java
@@ -0,0 +1,328 @@
+/**
+ */
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.jpt.common.core.resource.xml.EBaseObject;
+import org.eclipse.jpt.common.core.resource.xml.EBaseObjectImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EXml Property</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlProperty#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlProperty#getValue <em>Value</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlProperty#getValueType <em>Value Type</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlProperty()
+ * @model kind="class"
+ * @extends EBaseObject
+ * @generated
+ */
+public class EXmlProperty extends EBaseObjectImpl implements EBaseObject
+{
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getValue() <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValue()
+ * @generated
+ * @ordered
+ */
+ protected static final String VALUE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValue()
+ * @generated
+ * @ordered
+ */
+ protected String value = VALUE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getValueType() <em>Value Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValueType()
+ * @generated
+ * @ordered
+ */
+ protected static final String VALUE_TYPE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getValueType() <em>Value Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValueType()
+ * @generated
+ * @ordered
+ */
+ protected String valueType = VALUE_TYPE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EXmlProperty()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OxmPackage.Literals.EXML_PROPERTY;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlProperty_Name()
+ * @model
+ * @generated
+ */
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlProperty#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ public void setName(String newName)
+ {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_PROPERTY__NAME, oldName, name));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Value</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Value</em>' attribute.
+ * @see #setValue(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlProperty_Value()
+ * @model
+ * @generated
+ */
+ public String getValue()
+ {
+ return value;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlProperty#getValue <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Value</em>' attribute.
+ * @see #getValue()
+ * @generated
+ */
+ public void setValue(String newValue)
+ {
+ String oldValue = value;
+ value = newValue;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_PROPERTY__VALUE, oldValue, value));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Value Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Value 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>Value Type</em>' attribute.
+ * @see #setValueType(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlProperty_ValueType()
+ * @model
+ * @generated
+ */
+ public String getValueType()
+ {
+ return valueType;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlProperty#getValueType <em>Value Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Value Type</em>' attribute.
+ * @see #getValueType()
+ * @generated
+ */
+ public void setValueType(String newValueType)
+ {
+ String oldValueType = valueType;
+ valueType = newValueType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_PROPERTY__VALUE_TYPE, oldValueType, valueType));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_PROPERTY__NAME:
+ return getName();
+ case OxmPackage.EXML_PROPERTY__VALUE:
+ return getValue();
+ case OxmPackage.EXML_PROPERTY__VALUE_TYPE:
+ return getValueType();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_PROPERTY__NAME:
+ setName((String)newValue);
+ return;
+ case OxmPackage.EXML_PROPERTY__VALUE:
+ setValue((String)newValue);
+ return;
+ case OxmPackage.EXML_PROPERTY__VALUE_TYPE:
+ setValueType((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_PROPERTY__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case OxmPackage.EXML_PROPERTY__VALUE:
+ setValue(VALUE_EDEFAULT);
+ return;
+ case OxmPackage.EXML_PROPERTY__VALUE_TYPE:
+ setValueType(VALUE_TYPE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_PROPERTY__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case OxmPackage.EXML_PROPERTY__VALUE:
+ return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
+ case OxmPackage.EXML_PROPERTY__VALUE_TYPE:
+ return VALUE_TYPE_EDEFAULT == null ? valueType != null : !VALUE_TYPE_EDEFAULT.equals(valueType);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (name: ");
+ result.append(name);
+ result.append(", value: ");
+ result.append(value);
+ result.append(", valueType: ");
+ result.append(valueType);
+ result.append(')');
+ return result.toString();
+ }
+
+} // EXmlProperty
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlReadTransformer.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlReadTransformer.java
new file mode 100644
index 0000000000..494e40559a
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlReadTransformer.java
@@ -0,0 +1,40 @@
+/**
+ */
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+import org.eclipse.emf.ecore.EClass;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EXml Read Transformer</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlReadTransformer()
+ * @model kind="class"
+ * @generated
+ */
+public class EXmlReadTransformer extends EAbstractXmlTransformer
+{
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EXmlReadTransformer()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OxmPackage.Literals.EXML_READ_TRANSFORMER;
+ }
+
+} // EXmlReadTransformer
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlRegistry.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlRegistry.java
new file mode 100644
index 0000000000..2c9ab1aa62
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlRegistry.java
@@ -0,0 +1,260 @@
+/**
+ */
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+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.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.resource.xml.EBaseObject;
+import org.eclipse.jpt.common.core.resource.xml.EBaseObjectImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EXml Registry</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlRegistry#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlRegistry#getXmlElementDecls <em>Xml Element Decls</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlRegistry()
+ * @model kind="class"
+ * @extends EBaseObject
+ * @generated
+ */
+public class EXmlRegistry extends EBaseObjectImpl implements EBaseObject
+{
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getXmlElementDecls() <em>Xml Element Decls</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlElementDecls()
+ * @generated
+ * @ordered
+ */
+ protected EList<EXmlElementDecl> xmlElementDecls;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EXmlRegistry()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OxmPackage.Literals.EXML_REGISTRY;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlRegistry_Name()
+ * @model
+ * @generated
+ */
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlRegistry#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ public void setName(String newName)
+ {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_REGISTRY__NAME, oldName, name));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Element Decls</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementDecl}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Element Decls</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>Xml Element Decls</em>' containment reference list.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlRegistry_XmlElementDecls()
+ * @model containment="true"
+ * @generated
+ */
+ public EList<EXmlElementDecl> getXmlElementDecls()
+ {
+ if (xmlElementDecls == null)
+ {
+ xmlElementDecls = new EObjectContainmentEList<EXmlElementDecl>(EXmlElementDecl.class, this, OxmPackage.EXML_REGISTRY__XML_ELEMENT_DECLS);
+ }
+ return xmlElementDecls;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_REGISTRY__XML_ELEMENT_DECLS:
+ return ((InternalEList<?>)getXmlElementDecls()).basicRemove(otherEnd, 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 OxmPackage.EXML_REGISTRY__NAME:
+ return getName();
+ case OxmPackage.EXML_REGISTRY__XML_ELEMENT_DECLS:
+ return getXmlElementDecls();
+ }
+ 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 OxmPackage.EXML_REGISTRY__NAME:
+ setName((String)newValue);
+ return;
+ case OxmPackage.EXML_REGISTRY__XML_ELEMENT_DECLS:
+ getXmlElementDecls().clear();
+ getXmlElementDecls().addAll((Collection<? extends EXmlElementDecl>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_REGISTRY__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case OxmPackage.EXML_REGISTRY__XML_ELEMENT_DECLS:
+ getXmlElementDecls().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_REGISTRY__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case OxmPackage.EXML_REGISTRY__XML_ELEMENT_DECLS:
+ return xmlElementDecls != null && !xmlElementDecls.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} // EXmlRegistry
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlRootElement.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlRootElement.java
new file mode 100644
index 0000000000..fae54e244c
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlRootElement.java
@@ -0,0 +1,255 @@
+/**
+ */
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.jpt.common.core.resource.xml.EBaseObject;
+import org.eclipse.jpt.common.core.resource.xml.EBaseObjectImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EXml Root Element</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlRootElement#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlRootElement#getNamespace <em>Namespace</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlRootElement()
+ * @model kind="class"
+ * @extends EBaseObject
+ * @generated
+ */
+public class EXmlRootElement extends EBaseObjectImpl implements EBaseObject
+{
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+ /**
+ * The default value of the '{@link #getNamespace() <em>Namespace</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getNamespace()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAMESPACE_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getNamespace() <em>Namespace</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getNamespace()
+ * @generated
+ * @ordered
+ */
+ protected String namespace = NAMESPACE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EXmlRootElement()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OxmPackage.Literals.EXML_ROOT_ELEMENT;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlRootElement_Name()
+ * @model
+ * @generated
+ */
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlRootElement#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ public void setName(String newName)
+ {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ROOT_ELEMENT__NAME, oldName, name));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Namespace</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Namespace</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Namespace</em>' attribute.
+ * @see #setNamespace(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlRootElement_Namespace()
+ * @model
+ * @generated
+ */
+ public String getNamespace()
+ {
+ return namespace;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlRootElement#getNamespace <em>Namespace</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Namespace</em>' attribute.
+ * @see #getNamespace()
+ * @generated
+ */
+ public void setNamespace(String newNamespace)
+ {
+ String oldNamespace = namespace;
+ namespace = newNamespace;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_ROOT_ELEMENT__NAMESPACE, oldNamespace, namespace));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_ROOT_ELEMENT__NAME:
+ return getName();
+ case OxmPackage.EXML_ROOT_ELEMENT__NAMESPACE:
+ return getNamespace();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_ROOT_ELEMENT__NAME:
+ setName((String)newValue);
+ return;
+ case OxmPackage.EXML_ROOT_ELEMENT__NAMESPACE:
+ setNamespace((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_ROOT_ELEMENT__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case OxmPackage.EXML_ROOT_ELEMENT__NAMESPACE:
+ setNamespace(NAMESPACE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_ROOT_ELEMENT__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case OxmPackage.EXML_ROOT_ELEMENT__NAMESPACE:
+ return NAMESPACE_EDEFAULT == null ? namespace != null : !NAMESPACE_EDEFAULT.equals(namespace);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (name: ");
+ result.append(name);
+ result.append(", namespace: ");
+ result.append(namespace);
+ result.append(')');
+ return result.toString();
+ }
+
+} // EXmlRootElement
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlSchema.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlSchema.java
new file mode 100644
index 0000000000..f76d6a7adb
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlSchema.java
@@ -0,0 +1,460 @@
+/**
+ */
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+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.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.resource.xml.EBaseObject;
+import org.eclipse.jpt.common.core.resource.xml.EBaseObjectImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EXml Schema</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlSchema#getAttributeFormDefault <em>Attribute Form Default</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlSchema#getElementFormDefault <em>Element Form Default</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlSchema#getLocation <em>Location</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlSchema#getNamespace <em>Namespace</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlSchema#getXmlns <em>Xmlns</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlSchema()
+ * @model kind="class"
+ * @extends EBaseObject
+ * @generated
+ */
+public class EXmlSchema extends EBaseObjectImpl implements EBaseObject
+{
+ /**
+ * The default value of the '{@link #getAttributeFormDefault() <em>Attribute Form Default</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttributeFormDefault()
+ * @generated
+ * @ordered
+ */
+ protected static final EXmlNsForm ATTRIBUTE_FORM_DEFAULT_EDEFAULT = EXmlNsForm.UNQUALIFIED;
+ /**
+ * The cached value of the '{@link #getAttributeFormDefault() <em>Attribute Form Default</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttributeFormDefault()
+ * @generated
+ * @ordered
+ */
+ protected EXmlNsForm attributeFormDefault = ATTRIBUTE_FORM_DEFAULT_EDEFAULT;
+ /**
+ * The default value of the '{@link #getElementFormDefault() <em>Element Form Default</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getElementFormDefault()
+ * @generated
+ * @ordered
+ */
+ protected static final EXmlNsForm ELEMENT_FORM_DEFAULT_EDEFAULT = EXmlNsForm.UNQUALIFIED;
+ /**
+ * The cached value of the '{@link #getElementFormDefault() <em>Element Form Default</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getElementFormDefault()
+ * @generated
+ * @ordered
+ */
+ protected EXmlNsForm elementFormDefault = ELEMENT_FORM_DEFAULT_EDEFAULT;
+ /**
+ * The default value of the '{@link #getLocation() <em>Location</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLocation()
+ * @generated
+ * @ordered
+ */
+ protected static final String LOCATION_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getLocation() <em>Location</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLocation()
+ * @generated
+ * @ordered
+ */
+ protected String location = LOCATION_EDEFAULT;
+ /**
+ * The default value of the '{@link #getNamespace() <em>Namespace</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getNamespace()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAMESPACE_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getNamespace() <em>Namespace</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getNamespace()
+ * @generated
+ * @ordered
+ */
+ protected String namespace = NAMESPACE_EDEFAULT;
+ /**
+ * The cached value of the '{@link #getXmlns() <em>Xmlns</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlns()
+ * @generated
+ * @ordered
+ */
+ protected EList<EXmlNs> xmlns;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EXmlSchema()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OxmPackage.Literals.EXML_SCHEMA;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Attribute Form Default</b></em>' attribute.
+ * The literals are from the enumeration {@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlNsForm}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Attribute Form Default</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 Form Default</em>' attribute.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlNsForm
+ * @see #setAttributeFormDefault(EXmlNsForm)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlSchema_AttributeFormDefault()
+ * @model
+ * @generated
+ */
+ public EXmlNsForm getAttributeFormDefault()
+ {
+ return attributeFormDefault;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlSchema#getAttributeFormDefault <em>Attribute Form Default</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Attribute Form Default</em>' attribute.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlNsForm
+ * @see #getAttributeFormDefault()
+ * @generated
+ */
+ public void setAttributeFormDefault(EXmlNsForm newAttributeFormDefault)
+ {
+ EXmlNsForm oldAttributeFormDefault = attributeFormDefault;
+ attributeFormDefault = newAttributeFormDefault == null ? ATTRIBUTE_FORM_DEFAULT_EDEFAULT : newAttributeFormDefault;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_SCHEMA__ATTRIBUTE_FORM_DEFAULT, oldAttributeFormDefault, attributeFormDefault));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Element Form Default</b></em>' attribute.
+ * The literals are from the enumeration {@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlNsForm}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Element Form Default</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Element Form Default</em>' attribute.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlNsForm
+ * @see #setElementFormDefault(EXmlNsForm)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlSchema_ElementFormDefault()
+ * @model
+ * @generated
+ */
+ public EXmlNsForm getElementFormDefault()
+ {
+ return elementFormDefault;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlSchema#getElementFormDefault <em>Element Form Default</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Element Form Default</em>' attribute.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlNsForm
+ * @see #getElementFormDefault()
+ * @generated
+ */
+ public void setElementFormDefault(EXmlNsForm newElementFormDefault)
+ {
+ EXmlNsForm oldElementFormDefault = elementFormDefault;
+ elementFormDefault = newElementFormDefault == null ? ELEMENT_FORM_DEFAULT_EDEFAULT : newElementFormDefault;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_SCHEMA__ELEMENT_FORM_DEFAULT, oldElementFormDefault, elementFormDefault));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Location</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Location</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Location</em>' attribute.
+ * @see #setLocation(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlSchema_Location()
+ * @model
+ * @generated
+ */
+ public String getLocation()
+ {
+ return location;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlSchema#getLocation <em>Location</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Location</em>' attribute.
+ * @see #getLocation()
+ * @generated
+ */
+ public void setLocation(String newLocation)
+ {
+ String oldLocation = location;
+ location = newLocation;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_SCHEMA__LOCATION, oldLocation, location));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Namespace</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Namespace</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Namespace</em>' attribute.
+ * @see #setNamespace(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlSchema_Namespace()
+ * @model
+ * @generated
+ */
+ public String getNamespace()
+ {
+ return namespace;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlSchema#getNamespace <em>Namespace</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Namespace</em>' attribute.
+ * @see #getNamespace()
+ * @generated
+ */
+ public void setNamespace(String newNamespace)
+ {
+ String oldNamespace = namespace;
+ namespace = newNamespace;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_SCHEMA__NAMESPACE, oldNamespace, namespace));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xmlns</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlNs}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xmlns</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>Xmlns</em>' containment reference list.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlSchema_Xmlns()
+ * @model containment="true"
+ * @generated
+ */
+ public EList<EXmlNs> getXmlns()
+ {
+ if (xmlns == null)
+ {
+ xmlns = new EObjectContainmentEList<EXmlNs>(EXmlNs.class, this, OxmPackage.EXML_SCHEMA__XMLNS);
+ }
+ return xmlns;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_SCHEMA__XMLNS:
+ return ((InternalEList<?>)getXmlns()).basicRemove(otherEnd, 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 OxmPackage.EXML_SCHEMA__ATTRIBUTE_FORM_DEFAULT:
+ return getAttributeFormDefault();
+ case OxmPackage.EXML_SCHEMA__ELEMENT_FORM_DEFAULT:
+ return getElementFormDefault();
+ case OxmPackage.EXML_SCHEMA__LOCATION:
+ return getLocation();
+ case OxmPackage.EXML_SCHEMA__NAMESPACE:
+ return getNamespace();
+ case OxmPackage.EXML_SCHEMA__XMLNS:
+ return getXmlns();
+ }
+ 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 OxmPackage.EXML_SCHEMA__ATTRIBUTE_FORM_DEFAULT:
+ setAttributeFormDefault((EXmlNsForm)newValue);
+ return;
+ case OxmPackage.EXML_SCHEMA__ELEMENT_FORM_DEFAULT:
+ setElementFormDefault((EXmlNsForm)newValue);
+ return;
+ case OxmPackage.EXML_SCHEMA__LOCATION:
+ setLocation((String)newValue);
+ return;
+ case OxmPackage.EXML_SCHEMA__NAMESPACE:
+ setNamespace((String)newValue);
+ return;
+ case OxmPackage.EXML_SCHEMA__XMLNS:
+ getXmlns().clear();
+ getXmlns().addAll((Collection<? extends EXmlNs>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_SCHEMA__ATTRIBUTE_FORM_DEFAULT:
+ setAttributeFormDefault(ATTRIBUTE_FORM_DEFAULT_EDEFAULT);
+ return;
+ case OxmPackage.EXML_SCHEMA__ELEMENT_FORM_DEFAULT:
+ setElementFormDefault(ELEMENT_FORM_DEFAULT_EDEFAULT);
+ return;
+ case OxmPackage.EXML_SCHEMA__LOCATION:
+ setLocation(LOCATION_EDEFAULT);
+ return;
+ case OxmPackage.EXML_SCHEMA__NAMESPACE:
+ setNamespace(NAMESPACE_EDEFAULT);
+ return;
+ case OxmPackage.EXML_SCHEMA__XMLNS:
+ getXmlns().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_SCHEMA__ATTRIBUTE_FORM_DEFAULT:
+ return attributeFormDefault != ATTRIBUTE_FORM_DEFAULT_EDEFAULT;
+ case OxmPackage.EXML_SCHEMA__ELEMENT_FORM_DEFAULT:
+ return elementFormDefault != ELEMENT_FORM_DEFAULT_EDEFAULT;
+ case OxmPackage.EXML_SCHEMA__LOCATION:
+ return LOCATION_EDEFAULT == null ? location != null : !LOCATION_EDEFAULT.equals(location);
+ case OxmPackage.EXML_SCHEMA__NAMESPACE:
+ return NAMESPACE_EDEFAULT == null ? namespace != null : !NAMESPACE_EDEFAULT.equals(namespace);
+ case OxmPackage.EXML_SCHEMA__XMLNS:
+ return xmlns != null && !xmlns.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (attributeFormDefault: ");
+ result.append(attributeFormDefault);
+ result.append(", elementFormDefault: ");
+ result.append(elementFormDefault);
+ result.append(", location: ");
+ result.append(location);
+ result.append(", namespace: ");
+ result.append(namespace);
+ result.append(')');
+ return result.toString();
+ }
+
+} // EXmlSchema
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlSchemaType.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlSchemaType.java
new file mode 100644
index 0000000000..f32845a235
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlSchemaType.java
@@ -0,0 +1,321 @@
+/**
+ */
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.jpt.common.core.resource.xml.EBaseObject;
+import org.eclipse.jpt.common.core.resource.xml.EBaseObjectImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EXml Schema Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlSchemaType#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlSchemaType#getNamespace <em>Namespace</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlSchemaType#getType <em>Type</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlSchemaType()
+ * @model kind="class"
+ * @extends EBaseObject
+ * @generated
+ */
+public class EXmlSchemaType extends EBaseObjectImpl implements EBaseObject
+{
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+ /**
+ * The default value of the '{@link #getNamespace() <em>Namespace</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getNamespace()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAMESPACE_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getNamespace() <em>Namespace</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getNamespace()
+ * @generated
+ * @ordered
+ */
+ protected String namespace = NAMESPACE_EDEFAULT;
+ /**
+ * The default value of the '{@link #getType() <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected static final String TYPE_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getType() <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected String type = TYPE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EXmlSchemaType()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OxmPackage.Literals.EXML_SCHEMA_TYPE;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlSchemaType_Name()
+ * @model
+ * @generated
+ */
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlSchemaType#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ public void setName(String newName)
+ {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_SCHEMA_TYPE__NAME, oldName, name));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Namespace</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Namespace</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Namespace</em>' attribute.
+ * @see #setNamespace(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlSchemaType_Namespace()
+ * @model
+ * @generated
+ */
+ public String getNamespace()
+ {
+ return namespace;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlSchemaType#getNamespace <em>Namespace</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Namespace</em>' attribute.
+ * @see #getNamespace()
+ * @generated
+ */
+ public void setNamespace(String newNamespace)
+ {
+ String oldNamespace = namespace;
+ namespace = newNamespace;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_SCHEMA_TYPE__NAMESPACE, oldNamespace, namespace));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>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>Type</em>' attribute.
+ * @see #setType(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlSchemaType_Type()
+ * @model
+ * @generated
+ */
+ public String getType()
+ {
+ return type;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlSchemaType#getType <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Type</em>' attribute.
+ * @see #getType()
+ * @generated
+ */
+ public void setType(String newType)
+ {
+ String oldType = type;
+ type = newType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_SCHEMA_TYPE__TYPE, oldType, type));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_SCHEMA_TYPE__NAME:
+ return getName();
+ case OxmPackage.EXML_SCHEMA_TYPE__NAMESPACE:
+ return getNamespace();
+ case OxmPackage.EXML_SCHEMA_TYPE__TYPE:
+ return getType();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_SCHEMA_TYPE__NAME:
+ setName((String)newValue);
+ return;
+ case OxmPackage.EXML_SCHEMA_TYPE__NAMESPACE:
+ setNamespace((String)newValue);
+ return;
+ case OxmPackage.EXML_SCHEMA_TYPE__TYPE:
+ setType((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_SCHEMA_TYPE__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case OxmPackage.EXML_SCHEMA_TYPE__NAMESPACE:
+ setNamespace(NAMESPACE_EDEFAULT);
+ return;
+ case OxmPackage.EXML_SCHEMA_TYPE__TYPE:
+ setType(TYPE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_SCHEMA_TYPE__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case OxmPackage.EXML_SCHEMA_TYPE__NAMESPACE:
+ return NAMESPACE_EDEFAULT == null ? namespace != null : !NAMESPACE_EDEFAULT.equals(namespace);
+ case OxmPackage.EXML_SCHEMA_TYPE__TYPE:
+ return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT.equals(type);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (name: ");
+ result.append(name);
+ result.append(", namespace: ");
+ result.append(namespace);
+ result.append(", type: ");
+ result.append(type);
+ result.append(')');
+ return result.toString();
+ }
+
+} // EXmlSchemaType
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlTransformation.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlTransformation.java
new file mode 100644
index 0000000000..110a7278b9
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlTransformation.java
@@ -0,0 +1,546 @@
+/*******************************************************************************
+ * Copyright (c) 2012 Oracle. All rights reserved.
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0, which accompanies this distribution
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+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.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.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EStructuralFeature;
+import org.eclipse.wst.common.internal.emf.resource.Translator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EXml Transformation</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlTransformation#isOptional <em>Optional</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlTransformation#getXmlReadTransformer <em>Xml Read Transformer</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlTransformation#getXmlWriteTransformers <em>Xml Write Transformers</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlTransformation()
+ * @model kind="class"
+ * @generated
+ */
+public class EXmlTransformation extends EJavaAttribute implements EAccessibleJavaAttribute, EPropertyHolder
+{
+ /**
+ * The cached value of the '{@link #getXmlAccessMethods() <em>Xml Access Methods</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlAccessMethods()
+ * @generated
+ * @ordered
+ */
+ protected EXmlAccessMethods xmlAccessMethods;
+ /**
+ * The cached value of the '{@link #getXmlProperties() <em>Xml Properties</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlProperties()
+ * @generated
+ * @ordered
+ */
+ protected EList<EXmlProperty> xmlProperties;
+ /**
+ * The default value of the '{@link #isOptional() <em>Optional</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isOptional()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean OPTIONAL_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isOptional() <em>Optional</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isOptional()
+ * @generated
+ * @ordered
+ */
+ protected boolean optional = OPTIONAL_EDEFAULT;
+ /**
+ * The cached value of the '{@link #getXmlReadTransformer() <em>Xml Read Transformer</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlReadTransformer()
+ * @generated
+ * @ordered
+ */
+ protected EXmlReadTransformer xmlReadTransformer;
+ /**
+ * The cached value of the '{@link #getXmlWriteTransformers() <em>Xml Write Transformers</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlWriteTransformers()
+ * @generated
+ * @ordered
+ */
+ protected EList<EXmlWriteTransformer> xmlWriteTransformers;
+
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EXmlTransformation()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OxmPackage.Literals.EXML_TRANSFORMATION;
+ }
+
+
+ /**
+ * Returns the value of the '<em><b>Xml Access Methods</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml 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>Xml Access Methods</em>' containment reference.
+ * @see #setXmlAccessMethods(EXmlAccessMethods)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEAccessibleJavaAttribute_XmlAccessMethods()
+ * @model containment="true"
+ * @generated
+ */
+ public EXmlAccessMethods getXmlAccessMethods()
+ {
+ return xmlAccessMethods;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetXmlAccessMethods(EXmlAccessMethods newXmlAccessMethods, NotificationChain msgs)
+ {
+ EXmlAccessMethods oldXmlAccessMethods = xmlAccessMethods;
+ xmlAccessMethods = newXmlAccessMethods;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_TRANSFORMATION__XML_ACCESS_METHODS, oldXmlAccessMethods, newXmlAccessMethods);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlTransformation#getXmlAccessMethods <em>Xml Access Methods</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Access Methods</em>' containment reference.
+ * @see #getXmlAccessMethods()
+ * @generated
+ */
+ public void setXmlAccessMethods(EXmlAccessMethods newXmlAccessMethods)
+ {
+ if (newXmlAccessMethods != xmlAccessMethods)
+ {
+ NotificationChain msgs = null;
+ if (xmlAccessMethods != null)
+ msgs = ((InternalEObject)xmlAccessMethods).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_TRANSFORMATION__XML_ACCESS_METHODS, null, msgs);
+ if (newXmlAccessMethods != null)
+ msgs = ((InternalEObject)newXmlAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_TRANSFORMATION__XML_ACCESS_METHODS, null, msgs);
+ msgs = basicSetXmlAccessMethods(newXmlAccessMethods, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_TRANSFORMATION__XML_ACCESS_METHODS, newXmlAccessMethods, newXmlAccessMethods));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Properties</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlProperty}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml 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>Xml Properties</em>' containment reference list.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEPropertyHolder_XmlProperties()
+ * @model containment="true"
+ * @generated
+ */
+ public EList<EXmlProperty> getXmlProperties()
+ {
+ if (xmlProperties == null)
+ {
+ xmlProperties = new EObjectContainmentEList<EXmlProperty>(EXmlProperty.class, this, OxmPackage.EXML_TRANSFORMATION__XML_PROPERTIES);
+ }
+ return xmlProperties;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Optional</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Optional</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Optional</em>' attribute.
+ * @see #setOptional(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlTransformation_Optional()
+ * @model
+ * @generated
+ */
+ public boolean isOptional()
+ {
+ return optional;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlTransformation#isOptional <em>Optional</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Optional</em>' attribute.
+ * @see #isOptional()
+ * @generated
+ */
+ public void setOptional(boolean newOptional)
+ {
+ boolean oldOptional = optional;
+ optional = newOptional;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_TRANSFORMATION__OPTIONAL, oldOptional, optional));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Read Transformer</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Read Transformer</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>Xml Read Transformer</em>' containment reference.
+ * @see #setXmlReadTransformer(EXmlReadTransformer)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlTransformation_XmlReadTransformer()
+ * @model containment="true"
+ * @generated
+ */
+ public EXmlReadTransformer getXmlReadTransformer()
+ {
+ return xmlReadTransformer;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetXmlReadTransformer(EXmlReadTransformer newXmlReadTransformer, NotificationChain msgs)
+ {
+ EXmlReadTransformer oldXmlReadTransformer = xmlReadTransformer;
+ xmlReadTransformer = newXmlReadTransformer;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_TRANSFORMATION__XML_READ_TRANSFORMER, oldXmlReadTransformer, newXmlReadTransformer);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlTransformation#getXmlReadTransformer <em>Xml Read Transformer</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Read Transformer</em>' containment reference.
+ * @see #getXmlReadTransformer()
+ * @generated
+ */
+ public void setXmlReadTransformer(EXmlReadTransformer newXmlReadTransformer)
+ {
+ if (newXmlReadTransformer != xmlReadTransformer)
+ {
+ NotificationChain msgs = null;
+ if (xmlReadTransformer != null)
+ msgs = ((InternalEObject)xmlReadTransformer).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_TRANSFORMATION__XML_READ_TRANSFORMER, null, msgs);
+ if (newXmlReadTransformer != null)
+ msgs = ((InternalEObject)newXmlReadTransformer).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_TRANSFORMATION__XML_READ_TRANSFORMER, null, msgs);
+ msgs = basicSetXmlReadTransformer(newXmlReadTransformer, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_TRANSFORMATION__XML_READ_TRANSFORMER, newXmlReadTransformer, newXmlReadTransformer));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Write Transformers</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlWriteTransformer}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Write Transformers</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>Xml Write Transformers</em>' containment reference list.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlTransformation_XmlWriteTransformers()
+ * @model containment="true"
+ * @generated
+ */
+ public EList<EXmlWriteTransformer> getXmlWriteTransformers()
+ {
+ if (xmlWriteTransformers == null)
+ {
+ xmlWriteTransformers = new EObjectContainmentEList<EXmlWriteTransformer>(EXmlWriteTransformer.class, this, OxmPackage.EXML_TRANSFORMATION__XML_WRITE_TRANSFORMERS);
+ }
+ return xmlWriteTransformers;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_TRANSFORMATION__XML_ACCESS_METHODS:
+ return basicSetXmlAccessMethods(null, msgs);
+ case OxmPackage.EXML_TRANSFORMATION__XML_PROPERTIES:
+ return ((InternalEList<?>)getXmlProperties()).basicRemove(otherEnd, msgs);
+ case OxmPackage.EXML_TRANSFORMATION__XML_READ_TRANSFORMER:
+ return basicSetXmlReadTransformer(null, msgs);
+ case OxmPackage.EXML_TRANSFORMATION__XML_WRITE_TRANSFORMERS:
+ return ((InternalEList<?>)getXmlWriteTransformers()).basicRemove(otherEnd, 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 OxmPackage.EXML_TRANSFORMATION__XML_ACCESS_METHODS:
+ return getXmlAccessMethods();
+ case OxmPackage.EXML_TRANSFORMATION__XML_PROPERTIES:
+ return getXmlProperties();
+ case OxmPackage.EXML_TRANSFORMATION__OPTIONAL:
+ return isOptional();
+ case OxmPackage.EXML_TRANSFORMATION__XML_READ_TRANSFORMER:
+ return getXmlReadTransformer();
+ case OxmPackage.EXML_TRANSFORMATION__XML_WRITE_TRANSFORMERS:
+ return getXmlWriteTransformers();
+ }
+ 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 OxmPackage.EXML_TRANSFORMATION__XML_ACCESS_METHODS:
+ setXmlAccessMethods((EXmlAccessMethods)newValue);
+ return;
+ case OxmPackage.EXML_TRANSFORMATION__XML_PROPERTIES:
+ getXmlProperties().clear();
+ getXmlProperties().addAll((Collection<? extends EXmlProperty>)newValue);
+ return;
+ case OxmPackage.EXML_TRANSFORMATION__OPTIONAL:
+ setOptional((Boolean)newValue);
+ return;
+ case OxmPackage.EXML_TRANSFORMATION__XML_READ_TRANSFORMER:
+ setXmlReadTransformer((EXmlReadTransformer)newValue);
+ return;
+ case OxmPackage.EXML_TRANSFORMATION__XML_WRITE_TRANSFORMERS:
+ getXmlWriteTransformers().clear();
+ getXmlWriteTransformers().addAll((Collection<? extends EXmlWriteTransformer>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_TRANSFORMATION__XML_ACCESS_METHODS:
+ setXmlAccessMethods((EXmlAccessMethods)null);
+ return;
+ case OxmPackage.EXML_TRANSFORMATION__XML_PROPERTIES:
+ getXmlProperties().clear();
+ return;
+ case OxmPackage.EXML_TRANSFORMATION__OPTIONAL:
+ setOptional(OPTIONAL_EDEFAULT);
+ return;
+ case OxmPackage.EXML_TRANSFORMATION__XML_READ_TRANSFORMER:
+ setXmlReadTransformer((EXmlReadTransformer)null);
+ return;
+ case OxmPackage.EXML_TRANSFORMATION__XML_WRITE_TRANSFORMERS:
+ getXmlWriteTransformers().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_TRANSFORMATION__XML_ACCESS_METHODS:
+ return xmlAccessMethods != null;
+ case OxmPackage.EXML_TRANSFORMATION__XML_PROPERTIES:
+ return xmlProperties != null && !xmlProperties.isEmpty();
+ case OxmPackage.EXML_TRANSFORMATION__OPTIONAL:
+ return optional != OPTIONAL_EDEFAULT;
+ case OxmPackage.EXML_TRANSFORMATION__XML_READ_TRANSFORMER:
+ return xmlReadTransformer != null;
+ case OxmPackage.EXML_TRANSFORMATION__XML_WRITE_TRANSFORMERS:
+ return xmlWriteTransformers != null && !xmlWriteTransformers.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)
+ {
+ if (baseClass == EAccessibleJavaAttribute.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_TRANSFORMATION__XML_ACCESS_METHODS: return OxmPackage.EACCESSIBLE_JAVA_ATTRIBUTE__XML_ACCESS_METHODS;
+ default: return -1;
+ }
+ }
+ if (baseClass == EPropertyHolder.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_TRANSFORMATION__XML_PROPERTIES: return OxmPackage.EPROPERTY_HOLDER__XML_PROPERTIES;
+ 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 == EAccessibleJavaAttribute.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.EACCESSIBLE_JAVA_ATTRIBUTE__XML_ACCESS_METHODS: return OxmPackage.EXML_TRANSFORMATION__XML_ACCESS_METHODS;
+ default: return -1;
+ }
+ }
+ if (baseClass == EPropertyHolder.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.EPROPERTY_HOLDER__XML_PROPERTIES: return OxmPackage.EXML_TRANSFORMATION__XML_PROPERTIES;
+ 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(" (optional: ");
+ result.append(optional);
+ result.append(')');
+ return result.toString();
+ }
+
+
+ // ***** translators *****
+
+ static class XmlTransformationTranslator
+ extends AbstractJavaAttributeTranslator {
+
+ XmlTransformationTranslator(String domPathAndName, EStructuralFeature eStructuralFeature) {
+ super(domPathAndName, eStructuralFeature, buildTranslatorChildren());
+ }
+
+ private static Translator[] buildTranslatorChildren() {
+ return new Translator[] {
+ };
+ }
+
+ @Override
+ public EObject createEMFObject(String nodeName, String readAheadName) {
+ return OxmFactory.eINSTANCE.createEXmlTransformation();
+ }
+ }
+}
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlTransient.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlTransient.java
new file mode 100644
index 0000000000..f39adc6d70
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlTransient.java
@@ -0,0 +1,217 @@
+/*******************************************************************************
+ * Copyright (c) 2012 Oracle. All rights reserved.
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0, which accompanies this distribution
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EStructuralFeature;
+import org.eclipse.wst.common.internal.emf.resource.Translator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EXml Transient</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlTransient#isXmlLocation <em>Xml Location</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlTransient()
+ * @model kind="class"
+ * @generated
+ */
+public class EXmlTransient extends EJavaAttribute
+{
+ /**
+ * The default value of the '{@link #isXmlLocation() <em>Xml Location</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXmlLocation()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean XML_LOCATION_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isXmlLocation() <em>Xml Location</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isXmlLocation()
+ * @generated
+ * @ordered
+ */
+ protected boolean xmlLocation = XML_LOCATION_EDEFAULT;
+
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EXmlTransient()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OxmPackage.Literals.EXML_TRANSIENT;
+ }
+
+
+ /**
+ * Returns the value of the '<em><b>Xml Location</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Location</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Xml Location</em>' attribute.
+ * @see #setXmlLocation(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlTransient_XmlLocation()
+ * @model
+ * @generated
+ */
+ public boolean isXmlLocation()
+ {
+ return xmlLocation;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlTransient#isXmlLocation <em>Xml Location</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Location</em>' attribute.
+ * @see #isXmlLocation()
+ * @generated
+ */
+ public void setXmlLocation(boolean newXmlLocation)
+ {
+ boolean oldXmlLocation = xmlLocation;
+ xmlLocation = newXmlLocation;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_TRANSIENT__XML_LOCATION, oldXmlLocation, xmlLocation));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_TRANSIENT__XML_LOCATION:
+ return isXmlLocation();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_TRANSIENT__XML_LOCATION:
+ setXmlLocation((Boolean)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_TRANSIENT__XML_LOCATION:
+ setXmlLocation(XML_LOCATION_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_TRANSIENT__XML_LOCATION:
+ return xmlLocation != XML_LOCATION_EDEFAULT;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (xmlLocation: ");
+ result.append(xmlLocation);
+ result.append(')');
+ return result.toString();
+ }
+
+
+ // ***** translators *****
+
+ static class XmlTransientTranslator
+ extends AbstractJavaAttributeTranslator {
+
+ XmlTransientTranslator(String domPathAndName, EStructuralFeature eStructuralFeature) {
+ super(domPathAndName, eStructuralFeature, buildTranslatorChildren());
+ }
+
+ private static Translator[] buildTranslatorChildren() {
+ return new Translator[] {
+ };
+ }
+
+ @Override
+ public EObject createEMFObject(String nodeName, String readAheadName) {
+ return OxmFactory.eINSTANCE.createEXmlTransient();
+ }
+ }
+}
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlType.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlType.java
new file mode 100644
index 0000000000..fd1d3d413a
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlType.java
@@ -0,0 +1,466 @@
+/**
+ */
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+import java.util.List;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.jpt.common.core.resource.xml.EBaseObject;
+import org.eclipse.jpt.common.core.resource.xml.EBaseObjectImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EXml Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlType#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlType#getNamespace <em>Namespace</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlType#getFactoryClass <em>Factory Class</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlType#getFactoryMethod <em>Factory Method</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlType#getPropOrder <em>Prop Order</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlType()
+ * @model kind="class"
+ * @extends EBaseObject
+ * @generated
+ */
+public class EXmlType extends EBaseObjectImpl implements EBaseObject
+{
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getNamespace() <em>Namespace</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getNamespace()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAMESPACE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getNamespace() <em>Namespace</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getNamespace()
+ * @generated
+ * @ordered
+ */
+ protected String namespace = NAMESPACE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getFactoryClass() <em>Factory Class</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFactoryClass()
+ * @generated
+ * @ordered
+ */
+ protected static final String FACTORY_CLASS_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getFactoryClass() <em>Factory Class</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFactoryClass()
+ * @generated
+ * @ordered
+ */
+ protected String factoryClass = FACTORY_CLASS_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getFactoryMethod() <em>Factory Method</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFactoryMethod()
+ * @generated
+ * @ordered
+ */
+ protected static final String FACTORY_METHOD_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getFactoryMethod() <em>Factory Method</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFactoryMethod()
+ * @generated
+ * @ordered
+ */
+ protected String factoryMethod = FACTORY_METHOD_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getPropOrder() <em>Prop Order</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPropOrder()
+ * @generated
+ * @ordered
+ */
+ protected static final List<String> PROP_ORDER_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getPropOrder() <em>Prop Order</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPropOrder()
+ * @generated
+ * @ordered
+ */
+ protected List<String> propOrder = PROP_ORDER_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EXmlType()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OxmPackage.Literals.EXML_TYPE;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlType_Name()
+ * @model
+ * @generated
+ */
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlType#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ public void setName(String newName)
+ {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_TYPE__NAME, oldName, name));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Namespace</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Namespace</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Namespace</em>' attribute.
+ * @see #setNamespace(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlType_Namespace()
+ * @model
+ * @generated
+ */
+ public String getNamespace()
+ {
+ return namespace;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlType#getNamespace <em>Namespace</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Namespace</em>' attribute.
+ * @see #getNamespace()
+ * @generated
+ */
+ public void setNamespace(String newNamespace)
+ {
+ String oldNamespace = namespace;
+ namespace = newNamespace;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_TYPE__NAMESPACE, oldNamespace, namespace));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Factory Class</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Factory Class</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Factory Class</em>' attribute.
+ * @see #setFactoryClass(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlType_FactoryClass()
+ * @model
+ * @generated
+ */
+ public String getFactoryClass()
+ {
+ return factoryClass;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlType#getFactoryClass <em>Factory Class</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Factory Class</em>' attribute.
+ * @see #getFactoryClass()
+ * @generated
+ */
+ public void setFactoryClass(String newFactoryClass)
+ {
+ String oldFactoryClass = factoryClass;
+ factoryClass = newFactoryClass;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_TYPE__FACTORY_CLASS, oldFactoryClass, factoryClass));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Factory Method</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Factory Method</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Factory Method</em>' attribute.
+ * @see #setFactoryMethod(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlType_FactoryMethod()
+ * @model
+ * @generated
+ */
+ public String getFactoryMethod()
+ {
+ return factoryMethod;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlType#getFactoryMethod <em>Factory Method</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Factory Method</em>' attribute.
+ * @see #getFactoryMethod()
+ * @generated
+ */
+ public void setFactoryMethod(String newFactoryMethod)
+ {
+ String oldFactoryMethod = factoryMethod;
+ factoryMethod = newFactoryMethod;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_TYPE__FACTORY_METHOD, oldFactoryMethod, factoryMethod));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Prop Order</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Prop Order</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Prop Order</em>' attribute.
+ * @see #setPropOrder(List)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlType_PropOrder()
+ * @model dataType="org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EPropOrder" many="false"
+ * @generated
+ */
+ public List<String> getPropOrder()
+ {
+ return propOrder;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlType#getPropOrder <em>Prop Order</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Prop Order</em>' attribute.
+ * @see #getPropOrder()
+ * @generated
+ */
+ public void setPropOrder(List<String> newPropOrder)
+ {
+ List<String> oldPropOrder = propOrder;
+ propOrder = newPropOrder;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_TYPE__PROP_ORDER, oldPropOrder, propOrder));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_TYPE__NAME:
+ return getName();
+ case OxmPackage.EXML_TYPE__NAMESPACE:
+ return getNamespace();
+ case OxmPackage.EXML_TYPE__FACTORY_CLASS:
+ return getFactoryClass();
+ case OxmPackage.EXML_TYPE__FACTORY_METHOD:
+ return getFactoryMethod();
+ case OxmPackage.EXML_TYPE__PROP_ORDER:
+ return getPropOrder();
+ }
+ 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 OxmPackage.EXML_TYPE__NAME:
+ setName((String)newValue);
+ return;
+ case OxmPackage.EXML_TYPE__NAMESPACE:
+ setNamespace((String)newValue);
+ return;
+ case OxmPackage.EXML_TYPE__FACTORY_CLASS:
+ setFactoryClass((String)newValue);
+ return;
+ case OxmPackage.EXML_TYPE__FACTORY_METHOD:
+ setFactoryMethod((String)newValue);
+ return;
+ case OxmPackage.EXML_TYPE__PROP_ORDER:
+ setPropOrder((List<String>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_TYPE__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case OxmPackage.EXML_TYPE__NAMESPACE:
+ setNamespace(NAMESPACE_EDEFAULT);
+ return;
+ case OxmPackage.EXML_TYPE__FACTORY_CLASS:
+ setFactoryClass(FACTORY_CLASS_EDEFAULT);
+ return;
+ case OxmPackage.EXML_TYPE__FACTORY_METHOD:
+ setFactoryMethod(FACTORY_METHOD_EDEFAULT);
+ return;
+ case OxmPackage.EXML_TYPE__PROP_ORDER:
+ setPropOrder(PROP_ORDER_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_TYPE__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case OxmPackage.EXML_TYPE__NAMESPACE:
+ return NAMESPACE_EDEFAULT == null ? namespace != null : !NAMESPACE_EDEFAULT.equals(namespace);
+ case OxmPackage.EXML_TYPE__FACTORY_CLASS:
+ return FACTORY_CLASS_EDEFAULT == null ? factoryClass != null : !FACTORY_CLASS_EDEFAULT.equals(factoryClass);
+ case OxmPackage.EXML_TYPE__FACTORY_METHOD:
+ return FACTORY_METHOD_EDEFAULT == null ? factoryMethod != null : !FACTORY_METHOD_EDEFAULT.equals(factoryMethod);
+ case OxmPackage.EXML_TYPE__PROP_ORDER:
+ return PROP_ORDER_EDEFAULT == null ? propOrder != null : !PROP_ORDER_EDEFAULT.equals(propOrder);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (name: ");
+ result.append(name);
+ result.append(", namespace: ");
+ result.append(namespace);
+ result.append(", factoryClass: ");
+ result.append(factoryClass);
+ result.append(", factoryMethod: ");
+ result.append(factoryMethod);
+ result.append(", propOrder: ");
+ result.append(propOrder);
+ result.append(')');
+ return result.toString();
+ }
+
+} // EXmlType
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlValue.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlValue.java
new file mode 100644
index 0000000000..66897da10f
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlValue.java
@@ -0,0 +1,907 @@
+/*******************************************************************************
+ * Copyright (c) 2012 Oracle. All rights reserved.
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0, which accompanies this distribution
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+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.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.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EStructuralFeature;
+import org.eclipse.wst.common.internal.emf.resource.Translator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EXml Value</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlValue#isCdata <em>Cdata</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlValue#getXmlAbstractNullPolicy <em>Xml Abstract Null Policy</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlValue()
+ * @model kind="class"
+ * @generated
+ */
+public class EXmlValue extends EJavaAttribute implements EAccessibleJavaAttribute, EAdaptableJavaAttribute, EContainerJavaAttribute, EReadWriteJavaAttribute, ETypedJavaAttribute, EPropertyHolder
+{
+ /**
+ * The cached value of the '{@link #getXmlAccessMethods() <em>Xml Access Methods</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlAccessMethods()
+ * @generated
+ * @ordered
+ */
+ protected EXmlAccessMethods xmlAccessMethods;
+ /**
+ * The cached value of the '{@link #getXmlJavaTypeAdapter() <em>Xml Java Type Adapter</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlJavaTypeAdapter()
+ * @generated
+ * @ordered
+ */
+ protected EXmlJavaTypeAdapter xmlJavaTypeAdapter;
+ /**
+ * The default value of the '{@link #getContainerType() <em>Container Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getContainerType()
+ * @generated
+ * @ordered
+ */
+ protected static final String CONTAINER_TYPE_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getContainerType() <em>Container Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getContainerType()
+ * @generated
+ * @ordered
+ */
+ protected String containerType = CONTAINER_TYPE_EDEFAULT;
+ /**
+ * The default value of the '{@link #isReadOnly() <em>Read Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isReadOnly()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean READ_ONLY_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isReadOnly() <em>Read Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isReadOnly()
+ * @generated
+ * @ordered
+ */
+ protected boolean readOnly = READ_ONLY_EDEFAULT;
+ /**
+ * The default value of the '{@link #isWriteOnly() <em>Write Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isWriteOnly()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean WRITE_ONLY_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isWriteOnly() <em>Write Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isWriteOnly()
+ * @generated
+ * @ordered
+ */
+ protected boolean writeOnly = WRITE_ONLY_EDEFAULT;
+ /**
+ * The default value of the '{@link #getType() <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected static final String TYPE_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getType() <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected String type = TYPE_EDEFAULT;
+ /**
+ * The cached value of the '{@link #getXmlProperties() <em>Xml Properties</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlProperties()
+ * @generated
+ * @ordered
+ */
+ protected EList<EXmlProperty> xmlProperties;
+ /**
+ * The default value of the '{@link #isCdata() <em>Cdata</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isCdata()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean CDATA_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isCdata() <em>Cdata</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isCdata()
+ * @generated
+ * @ordered
+ */
+ protected boolean cdata = CDATA_EDEFAULT;
+ /**
+ * The cached value of the '{@link #getXmlAbstractNullPolicy() <em>Xml Abstract Null Policy</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlAbstractNullPolicy()
+ * @generated
+ * @ordered
+ */
+ protected EAbstractXmlNullPolicy xmlAbstractNullPolicy;
+
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EXmlValue()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OxmPackage.Literals.EXML_VALUE;
+ }
+
+
+ /**
+ * Returns the value of the '<em><b>Xml Access Methods</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml 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>Xml Access Methods</em>' containment reference.
+ * @see #setXmlAccessMethods(EXmlAccessMethods)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEAccessibleJavaAttribute_XmlAccessMethods()
+ * @model containment="true"
+ * @generated
+ */
+ public EXmlAccessMethods getXmlAccessMethods()
+ {
+ return xmlAccessMethods;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetXmlAccessMethods(EXmlAccessMethods newXmlAccessMethods, NotificationChain msgs)
+ {
+ EXmlAccessMethods oldXmlAccessMethods = xmlAccessMethods;
+ xmlAccessMethods = newXmlAccessMethods;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_VALUE__XML_ACCESS_METHODS, oldXmlAccessMethods, newXmlAccessMethods);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlValue#getXmlAccessMethods <em>Xml Access Methods</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Access Methods</em>' containment reference.
+ * @see #getXmlAccessMethods()
+ * @generated
+ */
+ public void setXmlAccessMethods(EXmlAccessMethods newXmlAccessMethods)
+ {
+ if (newXmlAccessMethods != xmlAccessMethods)
+ {
+ NotificationChain msgs = null;
+ if (xmlAccessMethods != null)
+ msgs = ((InternalEObject)xmlAccessMethods).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_VALUE__XML_ACCESS_METHODS, null, msgs);
+ if (newXmlAccessMethods != null)
+ msgs = ((InternalEObject)newXmlAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_VALUE__XML_ACCESS_METHODS, null, msgs);
+ msgs = basicSetXmlAccessMethods(newXmlAccessMethods, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_VALUE__XML_ACCESS_METHODS, newXmlAccessMethods, newXmlAccessMethods));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Java Type Adapter</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Java Type Adapter</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>Xml Java Type Adapter</em>' containment reference.
+ * @see #setXmlJavaTypeAdapter(EXmlJavaTypeAdapter)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEAdaptableJavaAttribute_XmlJavaTypeAdapter()
+ * @model containment="true"
+ * @generated
+ */
+ public EXmlJavaTypeAdapter getXmlJavaTypeAdapter()
+ {
+ return xmlJavaTypeAdapter;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetXmlJavaTypeAdapter(EXmlJavaTypeAdapter newXmlJavaTypeAdapter, NotificationChain msgs)
+ {
+ EXmlJavaTypeAdapter oldXmlJavaTypeAdapter = xmlJavaTypeAdapter;
+ xmlJavaTypeAdapter = newXmlJavaTypeAdapter;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_VALUE__XML_JAVA_TYPE_ADAPTER, oldXmlJavaTypeAdapter, newXmlJavaTypeAdapter);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlValue#getXmlJavaTypeAdapter <em>Xml Java Type Adapter</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Java Type Adapter</em>' containment reference.
+ * @see #getXmlJavaTypeAdapter()
+ * @generated
+ */
+ public void setXmlJavaTypeAdapter(EXmlJavaTypeAdapter newXmlJavaTypeAdapter)
+ {
+ if (newXmlJavaTypeAdapter != xmlJavaTypeAdapter)
+ {
+ NotificationChain msgs = null;
+ if (xmlJavaTypeAdapter != null)
+ msgs = ((InternalEObject)xmlJavaTypeAdapter).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_VALUE__XML_JAVA_TYPE_ADAPTER, null, msgs);
+ if (newXmlJavaTypeAdapter != null)
+ msgs = ((InternalEObject)newXmlJavaTypeAdapter).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_VALUE__XML_JAVA_TYPE_ADAPTER, null, msgs);
+ msgs = basicSetXmlJavaTypeAdapter(newXmlJavaTypeAdapter, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_VALUE__XML_JAVA_TYPE_ADAPTER, newXmlJavaTypeAdapter, newXmlJavaTypeAdapter));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Container Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Container 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>Container Type</em>' attribute.
+ * @see #setContainerType(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEContainerJavaAttribute_ContainerType()
+ * @model
+ * @generated
+ */
+ public String getContainerType()
+ {
+ return containerType;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlValue#getContainerType <em>Container Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Container Type</em>' attribute.
+ * @see #getContainerType()
+ * @generated
+ */
+ public void setContainerType(String newContainerType)
+ {
+ String oldContainerType = containerType;
+ containerType = newContainerType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_VALUE__CONTAINER_TYPE, oldContainerType, containerType));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Read Only</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Read Only</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Read Only</em>' attribute.
+ * @see #setReadOnly(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEReadWriteJavaAttribute_ReadOnly()
+ * @model
+ * @generated
+ */
+ public boolean isReadOnly()
+ {
+ return readOnly;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlValue#isReadOnly <em>Read Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Read Only</em>' attribute.
+ * @see #isReadOnly()
+ * @generated
+ */
+ public void setReadOnly(boolean newReadOnly)
+ {
+ boolean oldReadOnly = readOnly;
+ readOnly = newReadOnly;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_VALUE__READ_ONLY, oldReadOnly, readOnly));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Write Only</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Write Only</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Write Only</em>' attribute.
+ * @see #setWriteOnly(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEReadWriteJavaAttribute_WriteOnly()
+ * @model
+ * @generated
+ */
+ public boolean isWriteOnly()
+ {
+ return writeOnly;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlValue#isWriteOnly <em>Write Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Write Only</em>' attribute.
+ * @see #isWriteOnly()
+ * @generated
+ */
+ public void setWriteOnly(boolean newWriteOnly)
+ {
+ boolean oldWriteOnly = writeOnly;
+ writeOnly = newWriteOnly;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_VALUE__WRITE_ONLY, oldWriteOnly, writeOnly));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>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>Type</em>' attribute.
+ * @see #setType(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getETypedJavaAttribute_Type()
+ * @model
+ * @generated
+ */
+ public String getType()
+ {
+ return type;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlValue#getType <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Type</em>' attribute.
+ * @see #getType()
+ * @generated
+ */
+ public void setType(String newType)
+ {
+ String oldType = type;
+ type = newType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_VALUE__TYPE, oldType, type));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Properties</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlProperty}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml 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>Xml Properties</em>' containment reference list.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEPropertyHolder_XmlProperties()
+ * @model containment="true"
+ * @generated
+ */
+ public EList<EXmlProperty> getXmlProperties()
+ {
+ if (xmlProperties == null)
+ {
+ xmlProperties = new EObjectContainmentEList<EXmlProperty>(EXmlProperty.class, this, OxmPackage.EXML_VALUE__XML_PROPERTIES);
+ }
+ return xmlProperties;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Cdata</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Cdata</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Cdata</em>' attribute.
+ * @see #setCdata(boolean)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlValue_Cdata()
+ * @model
+ * @generated
+ */
+ public boolean isCdata()
+ {
+ return cdata;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlValue#isCdata <em>Cdata</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Cdata</em>' attribute.
+ * @see #isCdata()
+ * @generated
+ */
+ public void setCdata(boolean newCdata)
+ {
+ boolean oldCdata = cdata;
+ cdata = newCdata;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_VALUE__CDATA, oldCdata, cdata));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Abstract Null Policy</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Abstract Null Policy</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>Xml Abstract Null Policy</em>' containment reference.
+ * @see #setXmlAbstractNullPolicy(EAbstractXmlNullPolicy)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlValue_XmlAbstractNullPolicy()
+ * @model containment="true"
+ * @generated
+ */
+ public EAbstractXmlNullPolicy getXmlAbstractNullPolicy()
+ {
+ return xmlAbstractNullPolicy;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetXmlAbstractNullPolicy(EAbstractXmlNullPolicy newXmlAbstractNullPolicy, NotificationChain msgs)
+ {
+ EAbstractXmlNullPolicy oldXmlAbstractNullPolicy = xmlAbstractNullPolicy;
+ xmlAbstractNullPolicy = newXmlAbstractNullPolicy;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_VALUE__XML_ABSTRACT_NULL_POLICY, oldXmlAbstractNullPolicy, newXmlAbstractNullPolicy);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlValue#getXmlAbstractNullPolicy <em>Xml Abstract Null Policy</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Abstract Null Policy</em>' containment reference.
+ * @see #getXmlAbstractNullPolicy()
+ * @generated
+ */
+ public void setXmlAbstractNullPolicy(EAbstractXmlNullPolicy newXmlAbstractNullPolicy)
+ {
+ if (newXmlAbstractNullPolicy != xmlAbstractNullPolicy)
+ {
+ NotificationChain msgs = null;
+ if (xmlAbstractNullPolicy != null)
+ msgs = ((InternalEObject)xmlAbstractNullPolicy).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_VALUE__XML_ABSTRACT_NULL_POLICY, null, msgs);
+ if (newXmlAbstractNullPolicy != null)
+ msgs = ((InternalEObject)newXmlAbstractNullPolicy).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_VALUE__XML_ABSTRACT_NULL_POLICY, null, msgs);
+ msgs = basicSetXmlAbstractNullPolicy(newXmlAbstractNullPolicy, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_VALUE__XML_ABSTRACT_NULL_POLICY, newXmlAbstractNullPolicy, newXmlAbstractNullPolicy));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_VALUE__XML_ACCESS_METHODS:
+ return basicSetXmlAccessMethods(null, msgs);
+ case OxmPackage.EXML_VALUE__XML_JAVA_TYPE_ADAPTER:
+ return basicSetXmlJavaTypeAdapter(null, msgs);
+ case OxmPackage.EXML_VALUE__XML_PROPERTIES:
+ return ((InternalEList<?>)getXmlProperties()).basicRemove(otherEnd, msgs);
+ case OxmPackage.EXML_VALUE__XML_ABSTRACT_NULL_POLICY:
+ return basicSetXmlAbstractNullPolicy(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 OxmPackage.EXML_VALUE__XML_ACCESS_METHODS:
+ return getXmlAccessMethods();
+ case OxmPackage.EXML_VALUE__XML_JAVA_TYPE_ADAPTER:
+ return getXmlJavaTypeAdapter();
+ case OxmPackage.EXML_VALUE__CONTAINER_TYPE:
+ return getContainerType();
+ case OxmPackage.EXML_VALUE__READ_ONLY:
+ return isReadOnly();
+ case OxmPackage.EXML_VALUE__WRITE_ONLY:
+ return isWriteOnly();
+ case OxmPackage.EXML_VALUE__TYPE:
+ return getType();
+ case OxmPackage.EXML_VALUE__XML_PROPERTIES:
+ return getXmlProperties();
+ case OxmPackage.EXML_VALUE__CDATA:
+ return isCdata();
+ case OxmPackage.EXML_VALUE__XML_ABSTRACT_NULL_POLICY:
+ return getXmlAbstractNullPolicy();
+ }
+ 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 OxmPackage.EXML_VALUE__XML_ACCESS_METHODS:
+ setXmlAccessMethods((EXmlAccessMethods)newValue);
+ return;
+ case OxmPackage.EXML_VALUE__XML_JAVA_TYPE_ADAPTER:
+ setXmlJavaTypeAdapter((EXmlJavaTypeAdapter)newValue);
+ return;
+ case OxmPackage.EXML_VALUE__CONTAINER_TYPE:
+ setContainerType((String)newValue);
+ return;
+ case OxmPackage.EXML_VALUE__READ_ONLY:
+ setReadOnly((Boolean)newValue);
+ return;
+ case OxmPackage.EXML_VALUE__WRITE_ONLY:
+ setWriteOnly((Boolean)newValue);
+ return;
+ case OxmPackage.EXML_VALUE__TYPE:
+ setType((String)newValue);
+ return;
+ case OxmPackage.EXML_VALUE__XML_PROPERTIES:
+ getXmlProperties().clear();
+ getXmlProperties().addAll((Collection<? extends EXmlProperty>)newValue);
+ return;
+ case OxmPackage.EXML_VALUE__CDATA:
+ setCdata((Boolean)newValue);
+ return;
+ case OxmPackage.EXML_VALUE__XML_ABSTRACT_NULL_POLICY:
+ setXmlAbstractNullPolicy((EAbstractXmlNullPolicy)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_VALUE__XML_ACCESS_METHODS:
+ setXmlAccessMethods((EXmlAccessMethods)null);
+ return;
+ case OxmPackage.EXML_VALUE__XML_JAVA_TYPE_ADAPTER:
+ setXmlJavaTypeAdapter((EXmlJavaTypeAdapter)null);
+ return;
+ case OxmPackage.EXML_VALUE__CONTAINER_TYPE:
+ setContainerType(CONTAINER_TYPE_EDEFAULT);
+ return;
+ case OxmPackage.EXML_VALUE__READ_ONLY:
+ setReadOnly(READ_ONLY_EDEFAULT);
+ return;
+ case OxmPackage.EXML_VALUE__WRITE_ONLY:
+ setWriteOnly(WRITE_ONLY_EDEFAULT);
+ return;
+ case OxmPackage.EXML_VALUE__TYPE:
+ setType(TYPE_EDEFAULT);
+ return;
+ case OxmPackage.EXML_VALUE__XML_PROPERTIES:
+ getXmlProperties().clear();
+ return;
+ case OxmPackage.EXML_VALUE__CDATA:
+ setCdata(CDATA_EDEFAULT);
+ return;
+ case OxmPackage.EXML_VALUE__XML_ABSTRACT_NULL_POLICY:
+ setXmlAbstractNullPolicy((EAbstractXmlNullPolicy)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_VALUE__XML_ACCESS_METHODS:
+ return xmlAccessMethods != null;
+ case OxmPackage.EXML_VALUE__XML_JAVA_TYPE_ADAPTER:
+ return xmlJavaTypeAdapter != null;
+ case OxmPackage.EXML_VALUE__CONTAINER_TYPE:
+ return CONTAINER_TYPE_EDEFAULT == null ? containerType != null : !CONTAINER_TYPE_EDEFAULT.equals(containerType);
+ case OxmPackage.EXML_VALUE__READ_ONLY:
+ return readOnly != READ_ONLY_EDEFAULT;
+ case OxmPackage.EXML_VALUE__WRITE_ONLY:
+ return writeOnly != WRITE_ONLY_EDEFAULT;
+ case OxmPackage.EXML_VALUE__TYPE:
+ return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT.equals(type);
+ case OxmPackage.EXML_VALUE__XML_PROPERTIES:
+ return xmlProperties != null && !xmlProperties.isEmpty();
+ case OxmPackage.EXML_VALUE__CDATA:
+ return cdata != CDATA_EDEFAULT;
+ case OxmPackage.EXML_VALUE__XML_ABSTRACT_NULL_POLICY:
+ return xmlAbstractNullPolicy != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)
+ {
+ if (baseClass == EAccessibleJavaAttribute.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_VALUE__XML_ACCESS_METHODS: return OxmPackage.EACCESSIBLE_JAVA_ATTRIBUTE__XML_ACCESS_METHODS;
+ default: return -1;
+ }
+ }
+ if (baseClass == EAdaptableJavaAttribute.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_VALUE__XML_JAVA_TYPE_ADAPTER: return OxmPackage.EADAPTABLE_JAVA_ATTRIBUTE__XML_JAVA_TYPE_ADAPTER;
+ default: return -1;
+ }
+ }
+ if (baseClass == EContainerJavaAttribute.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_VALUE__CONTAINER_TYPE: return OxmPackage.ECONTAINER_JAVA_ATTRIBUTE__CONTAINER_TYPE;
+ default: return -1;
+ }
+ }
+ if (baseClass == EReadWriteJavaAttribute.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_VALUE__READ_ONLY: return OxmPackage.EREAD_WRITE_JAVA_ATTRIBUTE__READ_ONLY;
+ case OxmPackage.EXML_VALUE__WRITE_ONLY: return OxmPackage.EREAD_WRITE_JAVA_ATTRIBUTE__WRITE_ONLY;
+ default: return -1;
+ }
+ }
+ if (baseClass == ETypedJavaAttribute.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_VALUE__TYPE: return OxmPackage.ETYPED_JAVA_ATTRIBUTE__TYPE;
+ default: return -1;
+ }
+ }
+ if (baseClass == EPropertyHolder.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case OxmPackage.EXML_VALUE__XML_PROPERTIES: return OxmPackage.EPROPERTY_HOLDER__XML_PROPERTIES;
+ 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 == EAccessibleJavaAttribute.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.EACCESSIBLE_JAVA_ATTRIBUTE__XML_ACCESS_METHODS: return OxmPackage.EXML_VALUE__XML_ACCESS_METHODS;
+ default: return -1;
+ }
+ }
+ if (baseClass == EAdaptableJavaAttribute.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.EADAPTABLE_JAVA_ATTRIBUTE__XML_JAVA_TYPE_ADAPTER: return OxmPackage.EXML_VALUE__XML_JAVA_TYPE_ADAPTER;
+ default: return -1;
+ }
+ }
+ if (baseClass == EContainerJavaAttribute.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.ECONTAINER_JAVA_ATTRIBUTE__CONTAINER_TYPE: return OxmPackage.EXML_VALUE__CONTAINER_TYPE;
+ default: return -1;
+ }
+ }
+ if (baseClass == EReadWriteJavaAttribute.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.EREAD_WRITE_JAVA_ATTRIBUTE__READ_ONLY: return OxmPackage.EXML_VALUE__READ_ONLY;
+ case OxmPackage.EREAD_WRITE_JAVA_ATTRIBUTE__WRITE_ONLY: return OxmPackage.EXML_VALUE__WRITE_ONLY;
+ default: return -1;
+ }
+ }
+ if (baseClass == ETypedJavaAttribute.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.ETYPED_JAVA_ATTRIBUTE__TYPE: return OxmPackage.EXML_VALUE__TYPE;
+ default: return -1;
+ }
+ }
+ if (baseClass == EPropertyHolder.class)
+ {
+ switch (baseFeatureID)
+ {
+ case OxmPackage.EPROPERTY_HOLDER__XML_PROPERTIES: return OxmPackage.EXML_VALUE__XML_PROPERTIES;
+ 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(" (containerType: ");
+ result.append(containerType);
+ result.append(", readOnly: ");
+ result.append(readOnly);
+ result.append(", writeOnly: ");
+ result.append(writeOnly);
+ result.append(", type: ");
+ result.append(type);
+ result.append(", cdata: ");
+ result.append(cdata);
+ result.append(')');
+ return result.toString();
+ }
+
+
+ // ***** translators *****
+
+ static class XmlValueTranslator
+ extends AbstractJavaAttributeTranslator {
+
+ XmlValueTranslator(String domPathAndName, EStructuralFeature eStructuralFeature) {
+ super(domPathAndName, eStructuralFeature, buildTranslatorChildren());
+ }
+
+ private static Translator[] buildTranslatorChildren() {
+ return new Translator[] {
+ };
+ }
+
+ @Override
+ public EObject createEMFObject(String nodeName, String readAheadName) {
+ return OxmFactory.eINSTANCE.createEXmlValue();
+ }
+ }
+}
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlVirtualAccessMethods.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlVirtualAccessMethods.java
new file mode 100644
index 0000000000..727f1d436e
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlVirtualAccessMethods.java
@@ -0,0 +1,331 @@
+/**
+ */
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.jpt.common.core.resource.xml.EBaseObject;
+import org.eclipse.jpt.common.core.resource.xml.EBaseObjectImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EXml Virtual Access Methods</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlVirtualAccessMethods#getGetMethod <em>Get Method</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlVirtualAccessMethods#getSetMethod <em>Set Method</em>}</li>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlVirtualAccessMethods#getSchema <em>Schema</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlVirtualAccessMethods()
+ * @model kind="class"
+ * @extends EBaseObject
+ * @generated
+ */
+public class EXmlVirtualAccessMethods extends EBaseObjectImpl implements EBaseObject
+{
+ /**
+ * The default value of the '{@link #getGetMethod() <em>Get Method</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getGetMethod()
+ * @generated
+ * @ordered
+ */
+ protected static final String GET_METHOD_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getGetMethod() <em>Get Method</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getGetMethod()
+ * @generated
+ * @ordered
+ */
+ protected String getMethod = GET_METHOD_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getSetMethod() <em>Set Method</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSetMethod()
+ * @generated
+ * @ordered
+ */
+ protected static final String SET_METHOD_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getSetMethod() <em>Set Method</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSetMethod()
+ * @generated
+ * @ordered
+ */
+ protected String setMethod = SET_METHOD_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getSchema() <em>Schema</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSchema()
+ * @generated
+ * @ordered
+ */
+ protected static final EXmlVirtualAccessMethodsSchema SCHEMA_EDEFAULT = EXmlVirtualAccessMethodsSchema.NODES;
+
+ /**
+ * The cached value of the '{@link #getSchema() <em>Schema</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSchema()
+ * @generated
+ * @ordered
+ */
+ protected EXmlVirtualAccessMethodsSchema schema = SCHEMA_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EXmlVirtualAccessMethods()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OxmPackage.Literals.EXML_VIRTUAL_ACCESS_METHODS;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Get Method</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Get Method</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Get Method</em>' attribute.
+ * @see #setGetMethod(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlVirtualAccessMethods_GetMethod()
+ * @model
+ * @generated
+ */
+ public String getGetMethod()
+ {
+ return getMethod;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlVirtualAccessMethods#getGetMethod <em>Get Method</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Get Method</em>' attribute.
+ * @see #getGetMethod()
+ * @generated
+ */
+ public void setGetMethod(String newGetMethod)
+ {
+ String oldGetMethod = getMethod;
+ getMethod = newGetMethod;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_VIRTUAL_ACCESS_METHODS__GET_METHOD, oldGetMethod, getMethod));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Set Method</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Set Method</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Set Method</em>' attribute.
+ * @see #setSetMethod(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlVirtualAccessMethods_SetMethod()
+ * @model
+ * @generated
+ */
+ public String getSetMethod()
+ {
+ return setMethod;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlVirtualAccessMethods#getSetMethod <em>Set Method</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Set Method</em>' attribute.
+ * @see #getSetMethod()
+ * @generated
+ */
+ public void setSetMethod(String newSetMethod)
+ {
+ String oldSetMethod = setMethod;
+ setMethod = newSetMethod;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_VIRTUAL_ACCESS_METHODS__SET_METHOD, oldSetMethod, setMethod));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Schema</b></em>' attribute.
+ * The literals are from the enumeration {@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlVirtualAccessMethodsSchema}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Schema</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Schema</em>' attribute.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlVirtualAccessMethodsSchema
+ * @see #setSchema(EXmlVirtualAccessMethodsSchema)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlVirtualAccessMethods_Schema()
+ * @model
+ * @generated
+ */
+ public EXmlVirtualAccessMethodsSchema getSchema()
+ {
+ return schema;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlVirtualAccessMethods#getSchema <em>Schema</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Schema</em>' attribute.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlVirtualAccessMethodsSchema
+ * @see #getSchema()
+ * @generated
+ */
+ public void setSchema(EXmlVirtualAccessMethodsSchema newSchema)
+ {
+ EXmlVirtualAccessMethodsSchema oldSchema = schema;
+ schema = newSchema == null ? SCHEMA_EDEFAULT : newSchema;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_VIRTUAL_ACCESS_METHODS__SCHEMA, oldSchema, schema));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_VIRTUAL_ACCESS_METHODS__GET_METHOD:
+ return getGetMethod();
+ case OxmPackage.EXML_VIRTUAL_ACCESS_METHODS__SET_METHOD:
+ return getSetMethod();
+ case OxmPackage.EXML_VIRTUAL_ACCESS_METHODS__SCHEMA:
+ return getSchema();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_VIRTUAL_ACCESS_METHODS__GET_METHOD:
+ setGetMethod((String)newValue);
+ return;
+ case OxmPackage.EXML_VIRTUAL_ACCESS_METHODS__SET_METHOD:
+ setSetMethod((String)newValue);
+ return;
+ case OxmPackage.EXML_VIRTUAL_ACCESS_METHODS__SCHEMA:
+ setSchema((EXmlVirtualAccessMethodsSchema)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_VIRTUAL_ACCESS_METHODS__GET_METHOD:
+ setGetMethod(GET_METHOD_EDEFAULT);
+ return;
+ case OxmPackage.EXML_VIRTUAL_ACCESS_METHODS__SET_METHOD:
+ setSetMethod(SET_METHOD_EDEFAULT);
+ return;
+ case OxmPackage.EXML_VIRTUAL_ACCESS_METHODS__SCHEMA:
+ setSchema(SCHEMA_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_VIRTUAL_ACCESS_METHODS__GET_METHOD:
+ return GET_METHOD_EDEFAULT == null ? getMethod != null : !GET_METHOD_EDEFAULT.equals(getMethod);
+ case OxmPackage.EXML_VIRTUAL_ACCESS_METHODS__SET_METHOD:
+ return SET_METHOD_EDEFAULT == null ? setMethod != null : !SET_METHOD_EDEFAULT.equals(setMethod);
+ case OxmPackage.EXML_VIRTUAL_ACCESS_METHODS__SCHEMA:
+ return schema != SCHEMA_EDEFAULT;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (getMethod: ");
+ result.append(getMethod);
+ result.append(", setMethod: ");
+ result.append(setMethod);
+ result.append(", schema: ");
+ result.append(schema);
+ result.append(')');
+ return result.toString();
+ }
+
+} // EXmlVirtualAccessMethods
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlVirtualAccessMethodsSchema.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlVirtualAccessMethodsSchema.java
new file mode 100644
index 0000000000..a6697b2cba
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlVirtualAccessMethodsSchema.java
@@ -0,0 +1,223 @@
+/**
+ */
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.List;
+
+import org.eclipse.emf.common.util.Enumerator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the literals of the enumeration '<em><b>EXml Virtual Access Methods Schema</b></em>',
+ * and utility methods for working with them.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlVirtualAccessMethodsSchema()
+ * @model
+ * @generated
+ */
+public enum EXmlVirtualAccessMethodsSchema implements Enumerator
+{
+ /**
+ * The '<em><b>NODES</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #NODES_VALUE
+ * @generated
+ * @ordered
+ */
+ NODES(0, "NODES", "NODES"),
+
+ /**
+ * The '<em><b>ANY</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #ANY_VALUE
+ * @generated
+ * @ordered
+ */
+ ANY(1, "ANY", "ANY");
+
+ /**
+ * The '<em><b>NODES</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>NODES</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #NODES
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int NODES_VALUE = 0;
+
+ /**
+ * The '<em><b>ANY</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>ANY</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #ANY
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int ANY_VALUE = 1;
+
+ /**
+ * An array of all the '<em><b>EXml Virtual Access Methods Schema</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final EXmlVirtualAccessMethodsSchema[] VALUES_ARRAY =
+ new EXmlVirtualAccessMethodsSchema[]
+ {
+ NODES,
+ ANY,
+ };
+
+ /**
+ * A public read-only list of all the '<em><b>EXml Virtual Access Methods Schema</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final List<EXmlVirtualAccessMethodsSchema> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
+
+ /**
+ * Returns the '<em><b>EXml Virtual Access Methods Schema</b></em>' literal with the specified literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static EXmlVirtualAccessMethodsSchema get(String literal)
+ {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i)
+ {
+ EXmlVirtualAccessMethodsSchema result = VALUES_ARRAY[i];
+ if (result.toString().equals(literal))
+ {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>EXml Virtual Access Methods Schema</b></em>' literal with the specified name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static EXmlVirtualAccessMethodsSchema getByName(String name)
+ {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i)
+ {
+ EXmlVirtualAccessMethodsSchema result = VALUES_ARRAY[i];
+ if (result.getName().equals(name))
+ {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>EXml Virtual Access Methods Schema</b></em>' literal with the specified integer value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static EXmlVirtualAccessMethodsSchema get(int value)
+ {
+ switch (value)
+ {
+ case NODES_VALUE: return NODES;
+ case ANY_VALUE: return ANY;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final int value;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String name;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String literal;
+
+ /**
+ * Only this class can construct instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EXmlVirtualAccessMethodsSchema(int value, String name, String literal)
+ {
+ this.value = value;
+ this.name = name;
+ this.literal = literal;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getValue()
+ {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getLiteral()
+ {
+ return literal;
+ }
+
+ /**
+ * Returns the literal value of the enumerator, which is its string representation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ return literal;
+ }
+
+} //EXmlVirtualAccessMethodsSchema
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlWriteTransformer.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlWriteTransformer.java
new file mode 100644
index 0000000000..94af609de0
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlWriteTransformer.java
@@ -0,0 +1,188 @@
+/**
+ */
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>EXml Write Transformer</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlWriteTransformer#getXmlPath <em>Xml Path</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlWriteTransformer()
+ * @model kind="class"
+ * @generated
+ */
+public class EXmlWriteTransformer extends EAbstractXmlTransformer
+{
+ /**
+ * The default value of the '{@link #getXmlPath() <em>Xml Path</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlPath()
+ * @generated
+ * @ordered
+ */
+ protected static final String XML_PATH_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getXmlPath() <em>Xml Path</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlPath()
+ * @generated
+ * @ordered
+ */
+ protected String xmlPath = XML_PATH_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EXmlWriteTransformer()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OxmPackage.Literals.EXML_WRITE_TRANSFORMER;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Xml Path</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Path</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Xml Path</em>' attribute.
+ * @see #setXmlPath(String)
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlWriteTransformer_XmlPath()
+ * @model
+ * @generated
+ */
+ public String getXmlPath()
+ {
+ return xmlPath;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlWriteTransformer#getXmlPath <em>Xml Path</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Path</em>' attribute.
+ * @see #getXmlPath()
+ * @generated
+ */
+ public void setXmlPath(String newXmlPath)
+ {
+ String oldXmlPath = xmlPath;
+ xmlPath = newXmlPath;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_WRITE_TRANSFORMER__XML_PATH, oldXmlPath, xmlPath));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_WRITE_TRANSFORMER__XML_PATH:
+ return getXmlPath();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_WRITE_TRANSFORMER__XML_PATH:
+ setXmlPath((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_WRITE_TRANSFORMER__XML_PATH:
+ setXmlPath(XML_PATH_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OxmPackage.EXML_WRITE_TRANSFORMER__XML_PATH:
+ return XML_PATH_EDEFAULT == null ? xmlPath != null : !XML_PATH_EDEFAULT.equals(xmlPath);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (xmlPath: ");
+ result.append(xmlPath);
+ result.append(')');
+ return result.toString();
+ }
+
+} // EXmlWriteTransformer
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EclipseLink.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EclipseLink.java
new file mode 100644
index 0000000000..4e11f8e649
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EclipseLink.java
@@ -0,0 +1,49 @@
+/*******************************************************************************
+ * Copyright (c) 2012 Oracle. All rights reserved.
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0, which accompanies this distribution
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+public interface EclipseLink {
+
+ String SCHEMA_NAMESPACE = "http://www.eclipse.org/eclipselink/xsds/persistence/oxm";
+
+ String SCHEMA_VERSION_2_1 = "2.1";
+ String SCHEMA_LOCATION_2_1 = "http://www.eclipse.org/eclipselink/xsds/eclipselink_oxm_2_1.xsd";
+
+ String SCHEMA_VERSION_2_2 = "2.2";
+ String SCHEMA_LOCATION_2_2 = "http://www.eclipse.org/eclipselink/xsds/eclipselink_oxm_2_2.xsd";
+
+ String SCHEMA_VERSION_2_3 = "2.3";
+ String SCHEMA_LOCATION_2_3 = "http://www.eclipse.org/eclipselink/xsds/eclipselink_oxm_2_3.xsd";
+
+ String SCHEMA_VERSION_2_4 = "2.4";
+ String SCHEMA_LOCATION_2_4 = "http://www.eclipse.org/eclipselink/xsds/eclipselink_oxm_2_4.xsd";
+
+
+ // EclipseLink specific nodes
+ String JAVA_ATTRIBUTES = "java-attributes"; //$NON-NLS-1$
+ String JAVA_TYPE = "java-type"; //$NON-NLS-1$
+ String JAVA_TYPES = "java-types"; //$NON-NLS-1$
+ String XML_ANY_ATTRIBUTE = "xml-any-attribute"; //$NON-NLS-1$
+ String XML_ANY_ELEMENT = "xml-any-element"; //$NON-NLS-1$
+ String XML_ATTRIBUTE = "xml-attribute"; //$NON-NLS-1$
+ String XML_BINDINGS = "xml-bindings"; //$NON-NLS-1$
+ String XML_ELEMENT = "xml-element"; //$NON-NLS-1$
+ String XML_ELEMENT_REF = "xml-element-ref"; //$NON-NLS-1$
+ String XML_ELEMENT_REFS = "xml-element-refs"; //$NON-NLS-1$
+ String XML_ELEMENTS = "xml-elements"; //$NON-NLS-1$
+ String XML_INVERSE_REFERENCE = "xml-inverse-reference"; //$NON-NLS-1$
+ String XML_IS_SET_NULL_POLICY = "xml-is-set-null-policy"; //$NON-NLS-1$
+ String XML_JAVA_TYPE_ADAPTER = "xml-java-type-adapter"; //$NON-NLS-1$
+ String XML_JOIN_NODES = "xml-join-nodes"; //$NON-NLS-1$
+ String XML_NULL_POLICY = "xml-null-policy"; //$NON-NLS-1$
+ String XML_TRANSFORMATION = "xml-transformation"; //$NON-NLS-1$
+ String XML_TRANSIENT = "xml-transient"; //$NON-NLS-1$
+ String XML_VALUE = "xml-value"; //$NON-NLS-1$
+}
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/OxmFactory.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/OxmFactory.java
new file mode 100644
index 0000000000..8839682485
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/OxmFactory.java
@@ -0,0 +1,782 @@
+/*******************************************************************************
+ * Copyright (c) 2012 Oracle. All rights reserved.
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0, which accompanies this distribution
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+import java.util.ArrayList;
+import java.util.List;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EDataType;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.impl.EFactoryImpl;
+import org.eclipse.emf.ecore.plugin.EcorePlugin;
+import org.eclipse.emf.ecore.xml.type.XMLTypeFactory;
+import org.eclipse.emf.ecore.xml.type.XMLTypePackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Factory</b> for the model.
+ * It provides a create method for each non-abstract class of the model.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage
+ * @generated
+ */
+public class OxmFactory extends EFactoryImpl
+{
+ /**
+ * The singleton instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final OxmFactory eINSTANCE = init();
+
+ /**
+ * Creates the default factory implementation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static OxmFactory init()
+ {
+ try
+ {
+ OxmFactory theOxmFactory = (OxmFactory)EPackage.Registry.INSTANCE.getEFactory("jpt.eclipselink.oxm.xmi");
+ if (theOxmFactory != null)
+ {
+ return theOxmFactory;
+ }
+ }
+ catch (Exception exception)
+ {
+ EcorePlugin.INSTANCE.log(exception);
+ }
+ return new OxmFactory();
+ }
+
+ /**
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public OxmFactory()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EObject create(EClass eClass)
+ {
+ switch (eClass.getClassifierID())
+ {
+ case OxmPackage.EJAVA_TYPE: return (EObject)createEJavaType();
+ case OxmPackage.EXML_ACCESS_METHODS: return (EObject)createEXmlAccessMethods();
+ case OxmPackage.EXML_ANY_ATTRIBUTE: return (EObject)createEXmlAnyAttribute();
+ case OxmPackage.EXML_ANY_ELEMENT: return (EObject)createEXmlAnyElement();
+ case OxmPackage.EXML_ATTRIBUTE: return (EObject)createEXmlAttribute();
+ case OxmPackage.EXML_BINDINGS: return (EObject)createEXmlBindings();
+ case OxmPackage.EXML_CLASS_EXTRACTOR: return (EObject)createEXmlClassExtractor();
+ case OxmPackage.EXML_ELEMENT: return (EObject)createEXmlElement();
+ case OxmPackage.EXML_ELEMENT_DECL: return (EObject)createEXmlElementDecl();
+ case OxmPackage.EXML_ELEMENT_REF: return (EObject)createEXmlElementRef();
+ case OxmPackage.EXML_ELEMENT_REFS: return (EObject)createEXmlElementRefs();
+ case OxmPackage.EXML_ELEMENTS: return (EObject)createEXmlElements();
+ case OxmPackage.EXML_ELEMENT_WRAPPER: return (EObject)createEXmlElementWrapper();
+ case OxmPackage.EXML_ENUM: return (EObject)createEXmlEnum();
+ case OxmPackage.EXML_ENUM_VALUE: return (EObject)createEXmlEnumValue();
+ case OxmPackage.EXML_INVERSE_REFERENCE: return (EObject)createEXmlInverseReference();
+ case OxmPackage.EXML_IS_SET_NULL_POLICY: return (EObject)createEXmlIsSetNullPolicy();
+ case OxmPackage.EXML_IS_SET_PARAMETER: return (EObject)createEXmlIsSetParameter();
+ case OxmPackage.EXML_JAVA_TYPE_ADAPTER: return (EObject)createEXmlJavaTypeAdapter();
+ case OxmPackage.EXML_JOIN_NODE: return (EObject)createEXmlJoinNode();
+ case OxmPackage.EXML_JOIN_NODES: return (EObject)createEXmlJoinNodes();
+ case OxmPackage.EXML_MAP: return (EObject)createEXmlMap();
+ case OxmPackage.EXML_NULL_POLICY: return (EObject)createEXmlNullPolicy();
+ case OxmPackage.EXML_NS: return (EObject)createEXmlNs();
+ case OxmPackage.EXML_PROPERTY: return (EObject)createEXmlProperty();
+ case OxmPackage.EXML_READ_TRANSFORMER: return (EObject)createEXmlReadTransformer();
+ case OxmPackage.EXML_REGISTRY: return (EObject)createEXmlRegistry();
+ case OxmPackage.EXML_ROOT_ELEMENT: return (EObject)createEXmlRootElement();
+ case OxmPackage.EXML_SCHEMA: return (EObject)createEXmlSchema();
+ case OxmPackage.EXML_SCHEMA_TYPE: return (EObject)createEXmlSchemaType();
+ case OxmPackage.EXML_TRANSFORMATION: return (EObject)createEXmlTransformation();
+ case OxmPackage.EXML_TRANSIENT: return (EObject)createEXmlTransient();
+ case OxmPackage.EXML_TYPE: return (EObject)createEXmlType();
+ case OxmPackage.EXML_VALUE: return (EObject)createEXmlValue();
+ case OxmPackage.EXML_VIRTUAL_ACCESS_METHODS: return (EObject)createEXmlVirtualAccessMethods();
+ case OxmPackage.EXML_WRITE_TRANSFORMER: return (EObject)createEXmlWriteTransformer();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object createFromString(EDataType eDataType, String initialValue)
+ {
+ switch (eDataType.getClassifierID())
+ {
+ case OxmPackage.EXML_ACCESS_ORDER:
+ return createEXmlAccessOrderFromString(eDataType, initialValue);
+ case OxmPackage.EXML_ACCESS_TYPE:
+ return createEXmlAccessTypeFromString(eDataType, initialValue);
+ case OxmPackage.EXML_MARSHAL_NULL_REPRESENTATION:
+ return createEXmlMarshalNullRepresentationFromString(eDataType, initialValue);
+ case OxmPackage.EXML_NS_FORM:
+ return createEXmlNsFormFromString(eDataType, initialValue);
+ case OxmPackage.EXML_VIRTUAL_ACCESS_METHODS_SCHEMA:
+ return createEXmlVirtualAccessMethodsSchemaFromString(eDataType, initialValue);
+ case OxmPackage.EPROP_ORDER:
+ return createEPropOrderFromString(eDataType, initialValue);
+ case OxmPackage.EXML_SEE_ALSO:
+ return createEXmlSeeAlsoFromString(eDataType, initialValue);
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String convertToString(EDataType eDataType, Object instanceValue)
+ {
+ switch (eDataType.getClassifierID())
+ {
+ case OxmPackage.EXML_ACCESS_ORDER:
+ return convertEXmlAccessOrderToString(eDataType, instanceValue);
+ case OxmPackage.EXML_ACCESS_TYPE:
+ return convertEXmlAccessTypeToString(eDataType, instanceValue);
+ case OxmPackage.EXML_MARSHAL_NULL_REPRESENTATION:
+ return convertEXmlMarshalNullRepresentationToString(eDataType, instanceValue);
+ case OxmPackage.EXML_NS_FORM:
+ return convertEXmlNsFormToString(eDataType, instanceValue);
+ case OxmPackage.EXML_VIRTUAL_ACCESS_METHODS_SCHEMA:
+ return convertEXmlVirtualAccessMethodsSchemaToString(eDataType, instanceValue);
+ case OxmPackage.EPROP_ORDER:
+ return convertEPropOrderToString(eDataType, instanceValue);
+ case OxmPackage.EXML_SEE_ALSO:
+ return convertEXmlSeeAlsoToString(eDataType, instanceValue);
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EJavaType createEJavaType()
+ {
+ EJavaType eJavaType = new EJavaType();
+ return eJavaType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EXmlAccessMethods createEXmlAccessMethods()
+ {
+ EXmlAccessMethods eXmlAccessMethods = new EXmlAccessMethods();
+ return eXmlAccessMethods;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EXmlAnyAttribute createEXmlAnyAttribute()
+ {
+ EXmlAnyAttribute eXmlAnyAttribute = new EXmlAnyAttribute();
+ return eXmlAnyAttribute;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EXmlAnyElement createEXmlAnyElement()
+ {
+ EXmlAnyElement eXmlAnyElement = new EXmlAnyElement();
+ return eXmlAnyElement;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EXmlAttribute createEXmlAttribute()
+ {
+ EXmlAttribute eXmlAttribute = new EXmlAttribute();
+ return eXmlAttribute;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EXmlBindings createEXmlBindings()
+ {
+ EXmlBindings eXmlBindings = new EXmlBindings();
+ return eXmlBindings;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EXmlClassExtractor createEXmlClassExtractor()
+ {
+ EXmlClassExtractor eXmlClassExtractor = new EXmlClassExtractor();
+ return eXmlClassExtractor;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EXmlElement createEXmlElement()
+ {
+ EXmlElement eXmlElement = new EXmlElement();
+ return eXmlElement;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EXmlElementDecl createEXmlElementDecl()
+ {
+ EXmlElementDecl eXmlElementDecl = new EXmlElementDecl();
+ return eXmlElementDecl;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EXmlElementRef createEXmlElementRef()
+ {
+ EXmlElementRef eXmlElementRef = new EXmlElementRef();
+ return eXmlElementRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EXmlElementRefs createEXmlElementRefs()
+ {
+ EXmlElementRefs eXmlElementRefs = new EXmlElementRefs();
+ return eXmlElementRefs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EXmlElements createEXmlElements()
+ {
+ EXmlElements eXmlElements = new EXmlElements();
+ return eXmlElements;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EXmlElementWrapper createEXmlElementWrapper()
+ {
+ EXmlElementWrapper eXmlElementWrapper = new EXmlElementWrapper();
+ return eXmlElementWrapper;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EXmlEnum createEXmlEnum()
+ {
+ EXmlEnum eXmlEnum = new EXmlEnum();
+ return eXmlEnum;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EXmlEnumValue createEXmlEnumValue()
+ {
+ EXmlEnumValue eXmlEnumValue = new EXmlEnumValue();
+ return eXmlEnumValue;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EXmlInverseReference createEXmlInverseReference()
+ {
+ EXmlInverseReference eXmlInverseReference = new EXmlInverseReference();
+ return eXmlInverseReference;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EXmlIsSetNullPolicy createEXmlIsSetNullPolicy()
+ {
+ EXmlIsSetNullPolicy eXmlIsSetNullPolicy = new EXmlIsSetNullPolicy();
+ return eXmlIsSetNullPolicy;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EXmlIsSetParameter createEXmlIsSetParameter()
+ {
+ EXmlIsSetParameter eXmlIsSetParameter = new EXmlIsSetParameter();
+ return eXmlIsSetParameter;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EXmlJavaTypeAdapter createEXmlJavaTypeAdapter()
+ {
+ EXmlJavaTypeAdapter eXmlJavaTypeAdapter = new EXmlJavaTypeAdapter();
+ return eXmlJavaTypeAdapter;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EXmlJoinNode createEXmlJoinNode()
+ {
+ EXmlJoinNode eXmlJoinNode = new EXmlJoinNode();
+ return eXmlJoinNode;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EXmlJoinNodes createEXmlJoinNodes()
+ {
+ EXmlJoinNodes eXmlJoinNodes = new EXmlJoinNodes();
+ return eXmlJoinNodes;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EXmlMap createEXmlMap()
+ {
+ EXmlMap eXmlMap = new EXmlMap();
+ return eXmlMap;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EXmlNullPolicy createEXmlNullPolicy()
+ {
+ EXmlNullPolicy eXmlNullPolicy = new EXmlNullPolicy();
+ return eXmlNullPolicy;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EXmlNs createEXmlNs()
+ {
+ EXmlNs eXmlNs = new EXmlNs();
+ return eXmlNs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EXmlProperty createEXmlProperty()
+ {
+ EXmlProperty eXmlProperty = new EXmlProperty();
+ return eXmlProperty;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EXmlReadTransformer createEXmlReadTransformer()
+ {
+ EXmlReadTransformer eXmlReadTransformer = new EXmlReadTransformer();
+ return eXmlReadTransformer;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EXmlRegistry createEXmlRegistry()
+ {
+ EXmlRegistry eXmlRegistry = new EXmlRegistry();
+ return eXmlRegistry;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EXmlRootElement createEXmlRootElement()
+ {
+ EXmlRootElement eXmlRootElement = new EXmlRootElement();
+ return eXmlRootElement;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EXmlSchema createEXmlSchema()
+ {
+ EXmlSchema eXmlSchema = new EXmlSchema();
+ return eXmlSchema;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EXmlSchemaType createEXmlSchemaType()
+ {
+ EXmlSchemaType eXmlSchemaType = new EXmlSchemaType();
+ return eXmlSchemaType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EXmlTransformation createEXmlTransformation()
+ {
+ EXmlTransformation eXmlTransformation = new EXmlTransformation();
+ return eXmlTransformation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EXmlTransient createEXmlTransient()
+ {
+ EXmlTransient eXmlTransient = new EXmlTransient();
+ return eXmlTransient;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EXmlType createEXmlType()
+ {
+ EXmlType eXmlType = new EXmlType();
+ return eXmlType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EXmlValue createEXmlValue()
+ {
+ EXmlValue eXmlValue = new EXmlValue();
+ return eXmlValue;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EXmlVirtualAccessMethods createEXmlVirtualAccessMethods()
+ {
+ EXmlVirtualAccessMethods eXmlVirtualAccessMethods = new EXmlVirtualAccessMethods();
+ return eXmlVirtualAccessMethods;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EXmlWriteTransformer createEXmlWriteTransformer()
+ {
+ EXmlWriteTransformer eXmlWriteTransformer = new EXmlWriteTransformer();
+ return eXmlWriteTransformer;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EXmlAccessOrder createEXmlAccessOrderFromString(EDataType eDataType, String initialValue)
+ {
+ EXmlAccessOrder result = EXmlAccessOrder.get(initialValue);
+ if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
+ return result;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String convertEXmlAccessOrderToString(EDataType eDataType, Object instanceValue)
+ {
+ return instanceValue == null ? null : instanceValue.toString();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EXmlAccessType createEXmlAccessTypeFromString(EDataType eDataType, String initialValue)
+ {
+ EXmlAccessType result = EXmlAccessType.get(initialValue);
+ if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
+ return result;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String convertEXmlAccessTypeToString(EDataType eDataType, Object instanceValue)
+ {
+ return instanceValue == null ? null : instanceValue.toString();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EXmlMarshalNullRepresentation createEXmlMarshalNullRepresentationFromString(EDataType eDataType, String initialValue)
+ {
+ EXmlMarshalNullRepresentation result = EXmlMarshalNullRepresentation.get(initialValue);
+ if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
+ return result;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String convertEXmlMarshalNullRepresentationToString(EDataType eDataType, Object instanceValue)
+ {
+ return instanceValue == null ? null : instanceValue.toString();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EXmlNsForm createEXmlNsFormFromString(EDataType eDataType, String initialValue)
+ {
+ EXmlNsForm result = EXmlNsForm.get(initialValue);
+ if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
+ return result;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String convertEXmlNsFormToString(EDataType eDataType, Object instanceValue)
+ {
+ return instanceValue == null ? null : instanceValue.toString();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EXmlVirtualAccessMethodsSchema createEXmlVirtualAccessMethodsSchemaFromString(EDataType eDataType, String initialValue)
+ {
+ EXmlVirtualAccessMethodsSchema result = EXmlVirtualAccessMethodsSchema.get(initialValue);
+ if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
+ return result;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String convertEXmlVirtualAccessMethodsSchemaToString(EDataType eDataType, Object instanceValue)
+ {
+ return instanceValue == null ? null : instanceValue.toString();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<String> createEPropOrderFromString(EDataType eDataType, String initialValue)
+ {
+ if (initialValue == null) return null;
+ List<String> result = new ArrayList<String>();
+ for (String item : split(initialValue))
+ {
+ result.add((String)XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.Literals.STRING, item));
+ }
+ return result;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String convertEPropOrderToString(EDataType eDataType, Object instanceValue)
+ {
+ if (instanceValue == null) return null;
+ List<?> list = (List<?>)instanceValue;
+ if (list.isEmpty()) return "";
+ StringBuffer result = new StringBuffer();
+ for (Object item : list)
+ {
+ result.append(XMLTypeFactory.eINSTANCE.convertToString(XMLTypePackage.Literals.STRING, item));
+ result.append(' ');
+ }
+ return result.substring(0, result.length() - 1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List<String> createEXmlSeeAlsoFromString(EDataType eDataType, String initialValue)
+ {
+ if (initialValue == null) return null;
+ List<String> result = new ArrayList<String>();
+ for (String item : split(initialValue))
+ {
+ result.add((String)XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.Literals.STRING, item));
+ }
+ return result;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String convertEXmlSeeAlsoToString(EDataType eDataType, Object instanceValue)
+ {
+ if (instanceValue == null) return null;
+ List<?> list = (List<?>)instanceValue;
+ if (list.isEmpty()) return "";
+ StringBuffer result = new StringBuffer();
+ for (Object item : list)
+ {
+ result.append(XMLTypeFactory.eINSTANCE.convertToString(XMLTypePackage.Literals.STRING, item));
+ result.append(' ');
+ }
+ return result.substring(0, result.length() - 1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public OxmPackage getOxmPackage()
+ {
+ return (OxmPackage)getEPackage();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @deprecated
+ * @generated
+ */
+ @Deprecated
+ public static OxmPackage getPackage()
+ {
+ return OxmPackage.eINSTANCE;
+ }
+
+} //OxmFactory
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/OxmPackage.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/OxmPackage.java
new file mode 100644
index 0000000000..9074a07988
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/OxmPackage.java
@@ -0,0 +1,9301 @@
+/*******************************************************************************
+ * Copyright (c) 2012 Oracle. All rights reserved.
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0, which accompanies this distribution
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
+
+import java.util.List;
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EDataType;
+import org.eclipse.emf.ecore.EEnum;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+import org.eclipse.emf.ecore.EValidator;
+import org.eclipse.emf.ecore.impl.EPackageImpl;
+import org.eclipse.jpt.common.core.resource.xml.CommonPackage;
+import org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.util.OxmValidator;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Package</b> for the model.
+ * It contains accessors for the meta objects to represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmFactory
+ * @model kind="package"
+ * @generated
+ */
+public class OxmPackage extends EPackageImpl
+{
+ /**
+ * The package name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final String eNAME = "oxm";
+
+ /**
+ * The package namespace URI.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final String eNS_URI = "jpt.eclipselink.oxm.xmi";
+
+ /**
+ * The package namespace name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final String eNS_PREFIX = "org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm";
+
+ /**
+ * The singleton instance of the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final OxmPackage eINSTANCE = org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage.init();
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAbstractXmlNullPolicy <em>EAbstract Xml Null Policy</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAbstractXmlNullPolicy
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEAbstractXmlNullPolicy()
+ * @generated
+ */
+ public static final int EABSTRACT_XML_NULL_POLICY = 0;
+
+ /**
+ * The feature id for the '<em><b>Xsi Nil Represents Null</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EABSTRACT_XML_NULL_POLICY__XSI_NIL_REPRESENTS_NULL = 0;
+
+ /**
+ * The feature id for the '<em><b>Empty Node Represents Null</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EABSTRACT_XML_NULL_POLICY__EMPTY_NODE_REPRESENTS_NULL = 1;
+
+ /**
+ * The feature id for the '<em><b>Null Representation For Xml</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EABSTRACT_XML_NULL_POLICY__NULL_REPRESENTATION_FOR_XML = 2;
+
+ /**
+ * The number of structural features of the '<em>EAbstract Xml Null Policy</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EABSTRACT_XML_NULL_POLICY_FEATURE_COUNT = 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAbstractXmlTransformer <em>EAbstract Xml Transformer</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAbstractXmlTransformer
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEAbstractXmlTransformer()
+ * @generated
+ */
+ public static final int EABSTRACT_XML_TRANSFORMER = 1;
+
+ /**
+ * The feature id for the '<em><b>Method</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EABSTRACT_XML_TRANSFORMER__METHOD = 0;
+
+ /**
+ * The feature id for the '<em><b>Transformer Class</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EABSTRACT_XML_TRANSFORMER__TRANSFORMER_CLASS = 1;
+
+ /**
+ * The number of structural features of the '<em>EAbstract Xml Transformer</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EABSTRACT_XML_TRANSFORMER_FEATURE_COUNT = 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAccessibleJavaAttribute <em>EAccessible Java Attribute</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAccessibleJavaAttribute
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEAccessibleJavaAttribute()
+ * @generated
+ */
+ public static final int EACCESSIBLE_JAVA_ATTRIBUTE = 2;
+
+ /**
+ * The feature id for the '<em><b>Xml Access Methods</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EACCESSIBLE_JAVA_ATTRIBUTE__XML_ACCESS_METHODS = 0;
+
+ /**
+ * The number of structural features of the '<em>EAccessible Java Attribute</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EACCESSIBLE_JAVA_ATTRIBUTE_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAdaptableJavaAttribute <em>EAdaptable Java Attribute</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAdaptableJavaAttribute
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEAdaptableJavaAttribute()
+ * @generated
+ */
+ public static final int EADAPTABLE_JAVA_ATTRIBUTE = 3;
+
+ /**
+ * The feature id for the '<em><b>Xml Java Type Adapter</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EADAPTABLE_JAVA_ATTRIBUTE__XML_JAVA_TYPE_ADAPTER = 0;
+
+ /**
+ * The number of structural features of the '<em>EAdaptable Java Attribute</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EADAPTABLE_JAVA_ATTRIBUTE_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EContainerJavaAttribute <em>EContainer Java Attribute</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EContainerJavaAttribute
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEContainerJavaAttribute()
+ * @generated
+ */
+ public static final int ECONTAINER_JAVA_ATTRIBUTE = 4;
+
+ /**
+ * The feature id for the '<em><b>Container Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int ECONTAINER_JAVA_ATTRIBUTE__CONTAINER_TYPE = 0;
+
+ /**
+ * The number of structural features of the '<em>EContainer Java Attribute</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int ECONTAINER_JAVA_ATTRIBUTE_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaAttribute <em>EJava Attribute</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaAttribute
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEJavaAttribute()
+ * @generated
+ */
+ public static final int EJAVA_ATTRIBUTE = 5;
+
+ /**
+ * The feature id for the '<em><b>Java Attribute</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EJAVA_ATTRIBUTE__JAVA_ATTRIBUTE = 0;
+
+ /**
+ * The feature id for the '<em><b>Xml Accessor Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EJAVA_ATTRIBUTE__XML_ACCESSOR_TYPE = 1;
+
+ /**
+ * The number of structural features of the '<em>EJava Attribute</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EJAVA_ATTRIBUTE_FEATURE_COUNT = 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EPropertyHolder <em>EProperty Holder</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EPropertyHolder
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEPropertyHolder()
+ * @generated
+ */
+ public static final int EPROPERTY_HOLDER = 7;
+
+ /**
+ * The feature id for the '<em><b>Xml Properties</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EPROPERTY_HOLDER__XML_PROPERTIES = 0;
+
+ /**
+ * The number of structural features of the '<em>EProperty Holder</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EPROPERTY_HOLDER_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType <em>EJava Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEJavaType()
+ * @generated
+ */
+ public static final int EJAVA_TYPE = 6;
+
+ /**
+ * The feature id for the '<em><b>Xml Properties</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EJAVA_TYPE__XML_PROPERTIES = EPROPERTY_HOLDER__XML_PROPERTIES;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EJAVA_TYPE__NAME = EPROPERTY_HOLDER_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Super Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EJAVA_TYPE__SUPER_TYPE = EPROPERTY_HOLDER_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Xml Accessor Order</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EJAVA_TYPE__XML_ACCESSOR_ORDER = EPROPERTY_HOLDER_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Xml Accessor Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EJAVA_TYPE__XML_ACCESSOR_TYPE = EPROPERTY_HOLDER_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Xml Customizer</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EJAVA_TYPE__XML_CUSTOMIZER = EPROPERTY_HOLDER_FEATURE_COUNT + 4;
+
+ /**
+ * The feature id for the '<em><b>Xml Discriminator Node</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EJAVA_TYPE__XML_DISCRIMINATOR_NODE = EPROPERTY_HOLDER_FEATURE_COUNT + 5;
+
+ /**
+ * The feature id for the '<em><b>Xml Discriminator Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EJAVA_TYPE__XML_DISCRIMINATOR_VALUE = EPROPERTY_HOLDER_FEATURE_COUNT + 6;
+
+ /**
+ * The feature id for the '<em><b>Xml Inline Binary Data</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EJAVA_TYPE__XML_INLINE_BINARY_DATA = EPROPERTY_HOLDER_FEATURE_COUNT + 7;
+
+ /**
+ * The feature id for the '<em><b>Xml Transient</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EJAVA_TYPE__XML_TRANSIENT = EPROPERTY_HOLDER_FEATURE_COUNT + 8;
+
+ /**
+ * The feature id for the '<em><b>Xml Name Transformer</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EJAVA_TYPE__XML_NAME_TRANSFORMER = EPROPERTY_HOLDER_FEATURE_COUNT + 9;
+
+ /**
+ * The feature id for the '<em><b>Xml Type</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EJAVA_TYPE__XML_TYPE = EPROPERTY_HOLDER_FEATURE_COUNT + 10;
+
+ /**
+ * The feature id for the '<em><b>Xml Root Element</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EJAVA_TYPE__XML_ROOT_ELEMENT = EPROPERTY_HOLDER_FEATURE_COUNT + 11;
+
+ /**
+ * The feature id for the '<em><b>Xml Virtual Access Methods</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EJAVA_TYPE__XML_VIRTUAL_ACCESS_METHODS = EPROPERTY_HOLDER_FEATURE_COUNT + 12;
+
+ /**
+ * The feature id for the '<em><b>Xml See Also</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EJAVA_TYPE__XML_SEE_ALSO = EPROPERTY_HOLDER_FEATURE_COUNT + 13;
+
+ /**
+ * The feature id for the '<em><b>Xml Java Type Adapter</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EJAVA_TYPE__XML_JAVA_TYPE_ADAPTER = EPROPERTY_HOLDER_FEATURE_COUNT + 14;
+
+ /**
+ * The feature id for the '<em><b>Xml Class Extractor</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EJAVA_TYPE__XML_CLASS_EXTRACTOR = EPROPERTY_HOLDER_FEATURE_COUNT + 15;
+
+ /**
+ * The feature id for the '<em><b>Java Attributes</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EJAVA_TYPE__JAVA_ATTRIBUTES = EPROPERTY_HOLDER_FEATURE_COUNT + 16;
+
+ /**
+ * The number of structural features of the '<em>EJava Type</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EJAVA_TYPE_FEATURE_COUNT = EPROPERTY_HOLDER_FEATURE_COUNT + 17;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EReadWriteJavaAttribute <em>ERead Write Java Attribute</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EReadWriteJavaAttribute
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEReadWriteJavaAttribute()
+ * @generated
+ */
+ public static final int EREAD_WRITE_JAVA_ATTRIBUTE = 8;
+
+ /**
+ * The feature id for the '<em><b>Read Only</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EREAD_WRITE_JAVA_ATTRIBUTE__READ_ONLY = 0;
+
+ /**
+ * The feature id for the '<em><b>Write Only</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EREAD_WRITE_JAVA_ATTRIBUTE__WRITE_ONLY = 1;
+
+ /**
+ * The number of structural features of the '<em>ERead Write Java Attribute</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EREAD_WRITE_JAVA_ATTRIBUTE_FEATURE_COUNT = 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.ETypedJavaAttribute <em>ETyped Java Attribute</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.ETypedJavaAttribute
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getETypedJavaAttribute()
+ * @generated
+ */
+ public static final int ETYPED_JAVA_ATTRIBUTE = 9;
+
+ /**
+ * The feature id for the '<em><b>Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int ETYPED_JAVA_ATTRIBUTE__TYPE = 0;
+
+ /**
+ * The number of structural features of the '<em>ETyped Java Attribute</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int ETYPED_JAVA_ATTRIBUTE_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAccessMethods <em>EXml Access Methods</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAccessMethods
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlAccessMethods()
+ * @generated
+ */
+ public static final int EXML_ACCESS_METHODS = 10;
+
+ /**
+ * The feature id for the '<em><b>Get Method</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ACCESS_METHODS__GET_METHOD = 0;
+
+ /**
+ * The feature id for the '<em><b>Set Method</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ACCESS_METHODS__SET_METHOD = 1;
+
+ /**
+ * The number of structural features of the '<em>EXml Access Methods</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ACCESS_METHODS_FEATURE_COUNT = 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAnyAttribute <em>EXml Any Attribute</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAnyAttribute
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlAnyAttribute()
+ * @generated
+ */
+ public static final int EXML_ANY_ATTRIBUTE = 11;
+
+ /**
+ * The feature id for the '<em><b>Java Attribute</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ANY_ATTRIBUTE__JAVA_ATTRIBUTE = EJAVA_ATTRIBUTE__JAVA_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Xml Accessor Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ANY_ATTRIBUTE__XML_ACCESSOR_TYPE = EJAVA_ATTRIBUTE__XML_ACCESSOR_TYPE;
+
+ /**
+ * The feature id for the '<em><b>Xml Access Methods</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ANY_ATTRIBUTE__XML_ACCESS_METHODS = EJAVA_ATTRIBUTE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Container Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ANY_ATTRIBUTE__CONTAINER_TYPE = EJAVA_ATTRIBUTE_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Read Only</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ANY_ATTRIBUTE__READ_ONLY = EJAVA_ATTRIBUTE_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Write Only</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ANY_ATTRIBUTE__WRITE_ONLY = EJAVA_ATTRIBUTE_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Xml Properties</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ANY_ATTRIBUTE__XML_PROPERTIES = EJAVA_ATTRIBUTE_FEATURE_COUNT + 4;
+
+ /**
+ * The feature id for the '<em><b>Xml Path</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ANY_ATTRIBUTE__XML_PATH = EJAVA_ATTRIBUTE_FEATURE_COUNT + 5;
+
+ /**
+ * The number of structural features of the '<em>EXml Any Attribute</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ANY_ATTRIBUTE_FEATURE_COUNT = EJAVA_ATTRIBUTE_FEATURE_COUNT + 6;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAnyElement <em>EXml Any Element</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAnyElement
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlAnyElement()
+ * @generated
+ */
+ public static final int EXML_ANY_ELEMENT = 12;
+
+ /**
+ * The feature id for the '<em><b>Java Attribute</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ANY_ELEMENT__JAVA_ATTRIBUTE = EJAVA_ATTRIBUTE__JAVA_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Xml Accessor Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ANY_ELEMENT__XML_ACCESSOR_TYPE = EJAVA_ATTRIBUTE__XML_ACCESSOR_TYPE;
+
+ /**
+ * The feature id for the '<em><b>Xml Access Methods</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ANY_ELEMENT__XML_ACCESS_METHODS = EJAVA_ATTRIBUTE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Xml Java Type Adapter</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ANY_ELEMENT__XML_JAVA_TYPE_ADAPTER = EJAVA_ATTRIBUTE_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Container Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ANY_ELEMENT__CONTAINER_TYPE = EJAVA_ATTRIBUTE_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Read Only</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ANY_ELEMENT__READ_ONLY = EJAVA_ATTRIBUTE_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Write Only</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ANY_ELEMENT__WRITE_ONLY = EJAVA_ATTRIBUTE_FEATURE_COUNT + 4;
+
+ /**
+ * The feature id for the '<em><b>Xml Properties</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ANY_ELEMENT__XML_PROPERTIES = EJAVA_ATTRIBUTE_FEATURE_COUNT + 5;
+
+ /**
+ * The feature id for the '<em><b>Xml Mixed</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ANY_ELEMENT__XML_MIXED = EJAVA_ATTRIBUTE_FEATURE_COUNT + 6;
+
+ /**
+ * The feature id for the '<em><b>Lax</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ANY_ELEMENT__LAX = EJAVA_ATTRIBUTE_FEATURE_COUNT + 7;
+
+ /**
+ * The feature id for the '<em><b>Dom Handler</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ANY_ELEMENT__DOM_HANDLER = EJAVA_ATTRIBUTE_FEATURE_COUNT + 8;
+
+ /**
+ * The feature id for the '<em><b>Xml Path</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ANY_ELEMENT__XML_PATH = EJAVA_ATTRIBUTE_FEATURE_COUNT + 9;
+
+ /**
+ * The feature id for the '<em><b>Xml Element Refs</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ANY_ELEMENT__XML_ELEMENT_REFS = EJAVA_ATTRIBUTE_FEATURE_COUNT + 10;
+
+ /**
+ * The number of structural features of the '<em>EXml Any Element</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ANY_ELEMENT_FEATURE_COUNT = EJAVA_ATTRIBUTE_FEATURE_COUNT + 11;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute <em>EXml Attribute</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlAttribute()
+ * @generated
+ */
+ public static final int EXML_ATTRIBUTE = 13;
+
+ /**
+ * The feature id for the '<em><b>Java Attribute</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ATTRIBUTE__JAVA_ATTRIBUTE = EJAVA_ATTRIBUTE__JAVA_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Xml Accessor Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ATTRIBUTE__XML_ACCESSOR_TYPE = EJAVA_ATTRIBUTE__XML_ACCESSOR_TYPE;
+
+ /**
+ * The feature id for the '<em><b>Xml Access Methods</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ATTRIBUTE__XML_ACCESS_METHODS = EJAVA_ATTRIBUTE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Xml Java Type Adapter</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ATTRIBUTE__XML_JAVA_TYPE_ADAPTER = EJAVA_ATTRIBUTE_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Container Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ATTRIBUTE__CONTAINER_TYPE = EJAVA_ATTRIBUTE_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Read Only</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ATTRIBUTE__READ_ONLY = EJAVA_ATTRIBUTE_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Write Only</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ATTRIBUTE__WRITE_ONLY = EJAVA_ATTRIBUTE_FEATURE_COUNT + 4;
+
+ /**
+ * The feature id for the '<em><b>Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ATTRIBUTE__TYPE = EJAVA_ATTRIBUTE_FEATURE_COUNT + 5;
+
+ /**
+ * The feature id for the '<em><b>Xml Properties</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ATTRIBUTE__XML_PROPERTIES = EJAVA_ATTRIBUTE_FEATURE_COUNT + 6;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ATTRIBUTE__NAME = EJAVA_ATTRIBUTE_FEATURE_COUNT + 7;
+
+ /**
+ * The feature id for the '<em><b>Namespace</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ATTRIBUTE__NAMESPACE = EJAVA_ATTRIBUTE_FEATURE_COUNT + 8;
+
+ /**
+ * The feature id for the '<em><b>Required</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ATTRIBUTE__REQUIRED = EJAVA_ATTRIBUTE_FEATURE_COUNT + 9;
+
+ /**
+ * The feature id for the '<em><b>Xml Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ATTRIBUTE__XML_ID = EJAVA_ATTRIBUTE_FEATURE_COUNT + 10;
+
+ /**
+ * The feature id for the '<em><b>Xml Id Ref</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ATTRIBUTE__XML_ID_REF = EJAVA_ATTRIBUTE_FEATURE_COUNT + 11;
+
+ /**
+ * The feature id for the '<em><b>Xml Key</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ATTRIBUTE__XML_KEY = EJAVA_ATTRIBUTE_FEATURE_COUNT + 12;
+
+ /**
+ * The feature id for the '<em><b>Xml List</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ATTRIBUTE__XML_LIST = EJAVA_ATTRIBUTE_FEATURE_COUNT + 13;
+
+ /**
+ * The feature id for the '<em><b>Xml Inline Binary Data</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ATTRIBUTE__XML_INLINE_BINARY_DATA = EJAVA_ATTRIBUTE_FEATURE_COUNT + 14;
+
+ /**
+ * The feature id for the '<em><b>Xml Attachment Ref</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ATTRIBUTE__XML_ATTACHMENT_REF = EJAVA_ATTRIBUTE_FEATURE_COUNT + 15;
+
+ /**
+ * The feature id for the '<em><b>Xml Mime Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ATTRIBUTE__XML_MIME_TYPE = EJAVA_ATTRIBUTE_FEATURE_COUNT + 16;
+
+ /**
+ * The feature id for the '<em><b>Xml Path</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ATTRIBUTE__XML_PATH = EJAVA_ATTRIBUTE_FEATURE_COUNT + 17;
+
+ /**
+ * The feature id for the '<em><b>Xml Abstract Null Policy</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ATTRIBUTE__XML_ABSTRACT_NULL_POLICY = EJAVA_ATTRIBUTE_FEATURE_COUNT + 18;
+
+ /**
+ * The feature id for the '<em><b>Xml Schema Type</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ATTRIBUTE__XML_SCHEMA_TYPE = EJAVA_ATTRIBUTE_FEATURE_COUNT + 19;
+
+ /**
+ * The number of structural features of the '<em>EXml Attribute</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ATTRIBUTE_FEATURE_COUNT = EJAVA_ATTRIBUTE_FEATURE_COUNT + 20;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings <em>EXml Bindings</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlBindings()
+ * @generated
+ */
+ public static final int EXML_BINDINGS = 14;
+
+ /**
+ * The feature id for the '<em><b>Version</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_BINDINGS__VERSION = CommonPackage.EROOT_OBJECT_IMPL__VERSION;
+
+ /**
+ * The feature id for the '<em><b>Schema Location</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_BINDINGS__SCHEMA_LOCATION = CommonPackage.EROOT_OBJECT_IMPL__SCHEMA_LOCATION;
+
+ /**
+ * The feature id for the '<em><b>Xml Accessor Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_BINDINGS__XML_ACCESSOR_TYPE = CommonPackage.EROOT_OBJECT_IMPL_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Xml Accessor Order</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_BINDINGS__XML_ACCESSOR_ORDER = CommonPackage.EROOT_OBJECT_IMPL_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Xml Mapping Metadata Complete</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_BINDINGS__XML_MAPPING_METADATA_COMPLETE = CommonPackage.EROOT_OBJECT_IMPL_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Package Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_BINDINGS__PACKAGE_NAME = CommonPackage.EROOT_OBJECT_IMPL_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Xml Name Transformer</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_BINDINGS__XML_NAME_TRANSFORMER = CommonPackage.EROOT_OBJECT_IMPL_FEATURE_COUNT + 4;
+
+ /**
+ * The feature id for the '<em><b>Xml Schema</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_BINDINGS__XML_SCHEMA = CommonPackage.EROOT_OBJECT_IMPL_FEATURE_COUNT + 5;
+
+ /**
+ * The feature id for the '<em><b>Xml Schema Type</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_BINDINGS__XML_SCHEMA_TYPE = CommonPackage.EROOT_OBJECT_IMPL_FEATURE_COUNT + 6;
+
+ /**
+ * The feature id for the '<em><b>Xml Schema Types</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_BINDINGS__XML_SCHEMA_TYPES = CommonPackage.EROOT_OBJECT_IMPL_FEATURE_COUNT + 7;
+
+ /**
+ * The feature id for the '<em><b>Xml Java Type Adapters</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_BINDINGS__XML_JAVA_TYPE_ADAPTERS = CommonPackage.EROOT_OBJECT_IMPL_FEATURE_COUNT + 8;
+
+ /**
+ * The feature id for the '<em><b>Xml Registries</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_BINDINGS__XML_REGISTRIES = CommonPackage.EROOT_OBJECT_IMPL_FEATURE_COUNT + 9;
+
+ /**
+ * The feature id for the '<em><b>Xml Enums</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_BINDINGS__XML_ENUMS = CommonPackage.EROOT_OBJECT_IMPL_FEATURE_COUNT + 10;
+
+ /**
+ * The feature id for the '<em><b>Java Types</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_BINDINGS__JAVA_TYPES = CommonPackage.EROOT_OBJECT_IMPL_FEATURE_COUNT + 11;
+
+ /**
+ * The number of structural features of the '<em>EXml Bindings</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_BINDINGS_FEATURE_COUNT = CommonPackage.EROOT_OBJECT_IMPL_FEATURE_COUNT + 12;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlClassExtractor <em>EXml Class Extractor</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlClassExtractor
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlClassExtractor()
+ * @generated
+ */
+ public static final int EXML_CLASS_EXTRACTOR = 15;
+
+ /**
+ * The feature id for the '<em><b>Class Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_CLASS_EXTRACTOR__CLASS_NAME = 0;
+
+ /**
+ * The number of structural features of the '<em>EXml Class Extractor</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_CLASS_EXTRACTOR_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement <em>EXml Element</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElement()
+ * @generated
+ */
+ public static final int EXML_ELEMENT = 16;
+
+ /**
+ * The feature id for the '<em><b>Java Attribute</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT__JAVA_ATTRIBUTE = EJAVA_ATTRIBUTE__JAVA_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Xml Accessor Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT__XML_ACCESSOR_TYPE = EJAVA_ATTRIBUTE__XML_ACCESSOR_TYPE;
+
+ /**
+ * The feature id for the '<em><b>Xml Access Methods</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT__XML_ACCESS_METHODS = EJAVA_ATTRIBUTE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Xml Java Type Adapter</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT__XML_JAVA_TYPE_ADAPTER = EJAVA_ATTRIBUTE_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Container Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT__CONTAINER_TYPE = EJAVA_ATTRIBUTE_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Xml Properties</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT__XML_PROPERTIES = EJAVA_ATTRIBUTE_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Read Only</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT__READ_ONLY = EJAVA_ATTRIBUTE_FEATURE_COUNT + 4;
+
+ /**
+ * The feature id for the '<em><b>Write Only</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT__WRITE_ONLY = EJAVA_ATTRIBUTE_FEATURE_COUNT + 5;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT__NAME = EJAVA_ATTRIBUTE_FEATURE_COUNT + 6;
+
+ /**
+ * The feature id for the '<em><b>Namespace</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT__NAMESPACE = EJAVA_ATTRIBUTE_FEATURE_COUNT + 7;
+
+ /**
+ * The feature id for the '<em><b>Default Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT__DEFAULT_VALUE = EJAVA_ATTRIBUTE_FEATURE_COUNT + 8;
+
+ /**
+ * The feature id for the '<em><b>Nillable</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT__NILLABLE = EJAVA_ATTRIBUTE_FEATURE_COUNT + 9;
+
+ /**
+ * The feature id for the '<em><b>Required</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT__REQUIRED = EJAVA_ATTRIBUTE_FEATURE_COUNT + 10;
+
+ /**
+ * The feature id for the '<em><b>Xml Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT__XML_ID = EJAVA_ATTRIBUTE_FEATURE_COUNT + 11;
+
+ /**
+ * The feature id for the '<em><b>Xml Id Ref</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT__XML_ID_REF = EJAVA_ATTRIBUTE_FEATURE_COUNT + 12;
+
+ /**
+ * The feature id for the '<em><b>Xml Key</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT__XML_KEY = EJAVA_ATTRIBUTE_FEATURE_COUNT + 13;
+
+ /**
+ * The feature id for the '<em><b>Xml List</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT__XML_LIST = EJAVA_ATTRIBUTE_FEATURE_COUNT + 14;
+
+ /**
+ * The feature id for the '<em><b>Xml Inline Binary Data</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT__XML_INLINE_BINARY_DATA = EJAVA_ATTRIBUTE_FEATURE_COUNT + 15;
+
+ /**
+ * The feature id for the '<em><b>Xml Attachment Ref</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT__XML_ATTACHMENT_REF = EJAVA_ATTRIBUTE_FEATURE_COUNT + 16;
+
+ /**
+ * The feature id for the '<em><b>Xml Mime Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT__XML_MIME_TYPE = EJAVA_ATTRIBUTE_FEATURE_COUNT + 17;
+
+ /**
+ * The feature id for the '<em><b>Cdata</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT__CDATA = EJAVA_ATTRIBUTE_FEATURE_COUNT + 18;
+
+ /**
+ * The feature id for the '<em><b>Xml Path</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT__XML_PATH = EJAVA_ATTRIBUTE_FEATURE_COUNT + 19;
+
+ /**
+ * The feature id for the '<em><b>Xml Location</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT__XML_LOCATION = EJAVA_ATTRIBUTE_FEATURE_COUNT + 20;
+
+ /**
+ * The feature id for the '<em><b>Xml Abstract Null Policy</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT__XML_ABSTRACT_NULL_POLICY = EJAVA_ATTRIBUTE_FEATURE_COUNT + 21;
+
+ /**
+ * The feature id for the '<em><b>Xml Element Wrapper</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT__XML_ELEMENT_WRAPPER = EJAVA_ATTRIBUTE_FEATURE_COUNT + 22;
+
+ /**
+ * The feature id for the '<em><b>Xml Map</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT__XML_MAP = EJAVA_ATTRIBUTE_FEATURE_COUNT + 23;
+
+ /**
+ * The feature id for the '<em><b>Xml Schema Type</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT__XML_SCHEMA_TYPE = EJAVA_ATTRIBUTE_FEATURE_COUNT + 24;
+
+ /**
+ * The number of structural features of the '<em>EXml Element</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT_FEATURE_COUNT = EJAVA_ATTRIBUTE_FEATURE_COUNT + 25;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementDecl <em>EXml Element Decl</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementDecl
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElementDecl()
+ * @generated
+ */
+ public static final int EXML_ELEMENT_DECL = 17;
+
+ /**
+ * The feature id for the '<em><b>Java Method</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT_DECL__JAVA_METHOD = 0;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT_DECL__NAME = 1;
+
+ /**
+ * The feature id for the '<em><b>Namespace</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT_DECL__NAMESPACE = 2;
+
+ /**
+ * The feature id for the '<em><b>Default Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT_DECL__DEFAULT_VALUE = 3;
+
+ /**
+ * The feature id for the '<em><b>Scope</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT_DECL__SCOPE = 4;
+
+ /**
+ * The feature id for the '<em><b>Substitution Head Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT_DECL__SUBSTITUTION_HEAD_NAME = 5;
+
+ /**
+ * The feature id for the '<em><b>Substitution Head Namespace</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT_DECL__SUBSTITUTION_HEAD_NAMESPACE = 6;
+
+ /**
+ * The feature id for the '<em><b>Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT_DECL__TYPE = 7;
+
+ /**
+ * The number of structural features of the '<em>EXml Element Decl</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT_DECL_FEATURE_COUNT = 8;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRef <em>EXml Element Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRef
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElementRef()
+ * @generated
+ */
+ public static final int EXML_ELEMENT_REF = 18;
+
+ /**
+ * The feature id for the '<em><b>Java Attribute</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT_REF__JAVA_ATTRIBUTE = EJAVA_ATTRIBUTE__JAVA_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Xml Accessor Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT_REF__XML_ACCESSOR_TYPE = EJAVA_ATTRIBUTE__XML_ACCESSOR_TYPE;
+
+ /**
+ * The feature id for the '<em><b>Xml Access Methods</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT_REF__XML_ACCESS_METHODS = EJAVA_ATTRIBUTE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Xml Java Type Adapter</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT_REF__XML_JAVA_TYPE_ADAPTER = EJAVA_ATTRIBUTE_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Container Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT_REF__CONTAINER_TYPE = EJAVA_ATTRIBUTE_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Read Only</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT_REF__READ_ONLY = EJAVA_ATTRIBUTE_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Write Only</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT_REF__WRITE_ONLY = EJAVA_ATTRIBUTE_FEATURE_COUNT + 4;
+
+ /**
+ * The feature id for the '<em><b>Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT_REF__TYPE = EJAVA_ATTRIBUTE_FEATURE_COUNT + 5;
+
+ /**
+ * The feature id for the '<em><b>Xml Properties</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT_REF__XML_PROPERTIES = EJAVA_ATTRIBUTE_FEATURE_COUNT + 6;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT_REF__NAME = EJAVA_ATTRIBUTE_FEATURE_COUNT + 7;
+
+ /**
+ * The feature id for the '<em><b>Namespace</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT_REF__NAMESPACE = EJAVA_ATTRIBUTE_FEATURE_COUNT + 8;
+
+ /**
+ * The feature id for the '<em><b>Xml Mixed</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT_REF__XML_MIXED = EJAVA_ATTRIBUTE_FEATURE_COUNT + 9;
+
+ /**
+ * The feature id for the '<em><b>Xml Element Wrapper</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT_REF__XML_ELEMENT_WRAPPER = EJAVA_ATTRIBUTE_FEATURE_COUNT + 10;
+
+ /**
+ * The number of structural features of the '<em>EXml Element Ref</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT_REF_FEATURE_COUNT = EJAVA_ATTRIBUTE_FEATURE_COUNT + 11;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRefs <em>EXml Element Refs</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRefs
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElementRefs()
+ * @generated
+ */
+ public static final int EXML_ELEMENT_REFS = 19;
+
+ /**
+ * The feature id for the '<em><b>Java Attribute</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT_REFS__JAVA_ATTRIBUTE = EJAVA_ATTRIBUTE__JAVA_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Xml Accessor Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT_REFS__XML_ACCESSOR_TYPE = EJAVA_ATTRIBUTE__XML_ACCESSOR_TYPE;
+
+ /**
+ * The feature id for the '<em><b>Xml Access Methods</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT_REFS__XML_ACCESS_METHODS = EJAVA_ATTRIBUTE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Xml Java Type Adapter</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT_REFS__XML_JAVA_TYPE_ADAPTER = EJAVA_ATTRIBUTE_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Read Only</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT_REFS__READ_ONLY = EJAVA_ATTRIBUTE_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Write Only</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT_REFS__WRITE_ONLY = EJAVA_ATTRIBUTE_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Xml Properties</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT_REFS__XML_PROPERTIES = EJAVA_ATTRIBUTE_FEATURE_COUNT + 4;
+
+ /**
+ * The feature id for the '<em><b>Xml Mixed</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT_REFS__XML_MIXED = EJAVA_ATTRIBUTE_FEATURE_COUNT + 5;
+
+ /**
+ * The feature id for the '<em><b>Xml Element Refs</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT_REFS__XML_ELEMENT_REFS = EJAVA_ATTRIBUTE_FEATURE_COUNT + 6;
+
+ /**
+ * The feature id for the '<em><b>Xml Element Wrapper</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT_REFS__XML_ELEMENT_WRAPPER = EJAVA_ATTRIBUTE_FEATURE_COUNT + 7;
+
+ /**
+ * The number of structural features of the '<em>EXml Element Refs</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT_REFS_FEATURE_COUNT = EJAVA_ATTRIBUTE_FEATURE_COUNT + 8;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElements <em>EXml Elements</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElements
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElements()
+ * @generated
+ */
+ public static final int EXML_ELEMENTS = 20;
+
+ /**
+ * The feature id for the '<em><b>Java Attribute</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENTS__JAVA_ATTRIBUTE = EJAVA_ATTRIBUTE__JAVA_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Xml Accessor Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENTS__XML_ACCESSOR_TYPE = EJAVA_ATTRIBUTE__XML_ACCESSOR_TYPE;
+
+ /**
+ * The feature id for the '<em><b>Xml Access Methods</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENTS__XML_ACCESS_METHODS = EJAVA_ATTRIBUTE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Container Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENTS__CONTAINER_TYPE = EJAVA_ATTRIBUTE_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Read Only</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENTS__READ_ONLY = EJAVA_ATTRIBUTE_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Write Only</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENTS__WRITE_ONLY = EJAVA_ATTRIBUTE_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Xml Properties</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENTS__XML_PROPERTIES = EJAVA_ATTRIBUTE_FEATURE_COUNT + 4;
+
+ /**
+ * The feature id for the '<em><b>Xml Id Ref</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENTS__XML_ID_REF = EJAVA_ATTRIBUTE_FEATURE_COUNT + 5;
+
+ /**
+ * The feature id for the '<em><b>Xml List</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENTS__XML_LIST = EJAVA_ATTRIBUTE_FEATURE_COUNT + 6;
+
+ /**
+ * The feature id for the '<em><b>Xml Elements</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENTS__XML_ELEMENTS = EJAVA_ATTRIBUTE_FEATURE_COUNT + 7;
+
+ /**
+ * The feature id for the '<em><b>Xml Element Wrapper</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENTS__XML_ELEMENT_WRAPPER = EJAVA_ATTRIBUTE_FEATURE_COUNT + 8;
+
+ /**
+ * The feature id for the '<em><b>Xml Join Nodes</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENTS__XML_JOIN_NODES = EJAVA_ATTRIBUTE_FEATURE_COUNT + 9;
+
+ /**
+ * The number of structural features of the '<em>EXml Elements</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENTS_FEATURE_COUNT = EJAVA_ATTRIBUTE_FEATURE_COUNT + 10;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementWrapper <em>EXml Element Wrapper</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementWrapper
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElementWrapper()
+ * @generated
+ */
+ public static final int EXML_ELEMENT_WRAPPER = 21;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT_WRAPPER__NAME = 0;
+
+ /**
+ * The feature id for the '<em><b>Namespace</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT_WRAPPER__NAMESPACE = 1;
+
+ /**
+ * The feature id for the '<em><b>Nillable</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT_WRAPPER__NILLABLE = 2;
+
+ /**
+ * The feature id for the '<em><b>Required</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT_WRAPPER__REQUIRED = 3;
+
+ /**
+ * The number of structural features of the '<em>EXml Element Wrapper</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ELEMENT_WRAPPER_FEATURE_COUNT = 4;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlEnum <em>EXml Enum</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlEnum
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlEnum()
+ * @generated
+ */
+ public static final int EXML_ENUM = 22;
+
+ /**
+ * The feature id for the '<em><b>Java Enum</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ENUM__JAVA_ENUM = 0;
+
+ /**
+ * The feature id for the '<em><b>Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ENUM__VALUE = 1;
+
+ /**
+ * The feature id for the '<em><b>Xml Enum Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ENUM__XML_ENUM_VALUES = 2;
+
+ /**
+ * The number of structural features of the '<em>EXml Enum</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ENUM_FEATURE_COUNT = 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlEnumValue <em>EXml Enum Value</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlEnumValue
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlEnumValue()
+ * @generated
+ */
+ public static final int EXML_ENUM_VALUE = 23;
+
+ /**
+ * The feature id for the '<em><b>Java Enum Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ENUM_VALUE__JAVA_ENUM_VALUE = 0;
+
+ /**
+ * The number of structural features of the '<em>EXml Enum Value</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ENUM_VALUE_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlInverseReference <em>EXml Inverse Reference</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlInverseReference
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlInverseReference()
+ * @generated
+ */
+ public static final int EXML_INVERSE_REFERENCE = 24;
+
+ /**
+ * The feature id for the '<em><b>Java Attribute</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_INVERSE_REFERENCE__JAVA_ATTRIBUTE = EJAVA_ATTRIBUTE__JAVA_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Xml Accessor Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_INVERSE_REFERENCE__XML_ACCESSOR_TYPE = EJAVA_ATTRIBUTE__XML_ACCESSOR_TYPE;
+
+ /**
+ * The feature id for the '<em><b>Xml Access Methods</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_INVERSE_REFERENCE__XML_ACCESS_METHODS = EJAVA_ATTRIBUTE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Container Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_INVERSE_REFERENCE__CONTAINER_TYPE = EJAVA_ATTRIBUTE_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_INVERSE_REFERENCE__TYPE = EJAVA_ATTRIBUTE_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Xml Properties</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_INVERSE_REFERENCE__XML_PROPERTIES = EJAVA_ATTRIBUTE_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Mapped By</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_INVERSE_REFERENCE__MAPPED_BY = EJAVA_ATTRIBUTE_FEATURE_COUNT + 4;
+
+ /**
+ * The number of structural features of the '<em>EXml Inverse Reference</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_INVERSE_REFERENCE_FEATURE_COUNT = EJAVA_ATTRIBUTE_FEATURE_COUNT + 5;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlIsSetNullPolicy <em>EXml Is Set Null Policy</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlIsSetNullPolicy
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlIsSetNullPolicy()
+ * @generated
+ */
+ public static final int EXML_IS_SET_NULL_POLICY = 25;
+
+ /**
+ * The feature id for the '<em><b>Xsi Nil Represents Null</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_IS_SET_NULL_POLICY__XSI_NIL_REPRESENTS_NULL = EABSTRACT_XML_NULL_POLICY__XSI_NIL_REPRESENTS_NULL;
+
+ /**
+ * The feature id for the '<em><b>Empty Node Represents Null</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_IS_SET_NULL_POLICY__EMPTY_NODE_REPRESENTS_NULL = EABSTRACT_XML_NULL_POLICY__EMPTY_NODE_REPRESENTS_NULL;
+
+ /**
+ * The feature id for the '<em><b>Null Representation For Xml</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_IS_SET_NULL_POLICY__NULL_REPRESENTATION_FOR_XML = EABSTRACT_XML_NULL_POLICY__NULL_REPRESENTATION_FOR_XML;
+
+ /**
+ * The feature id for the '<em><b>Is Set Method Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_IS_SET_NULL_POLICY__IS_SET_METHOD_NAME = EABSTRACT_XML_NULL_POLICY_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Xml Is Set Parameters</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_IS_SET_NULL_POLICY__XML_IS_SET_PARAMETERS = EABSTRACT_XML_NULL_POLICY_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>EXml Is Set Null Policy</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_IS_SET_NULL_POLICY_FEATURE_COUNT = EABSTRACT_XML_NULL_POLICY_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlIsSetParameter <em>EXml Is Set Parameter</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlIsSetParameter
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlIsSetParameter()
+ * @generated
+ */
+ public static final int EXML_IS_SET_PARAMETER = 26;
+
+ /**
+ * The feature id for the '<em><b>Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_IS_SET_PARAMETER__VALUE = 0;
+
+ /**
+ * The feature id for the '<em><b>Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_IS_SET_PARAMETER__TYPE = 1;
+
+ /**
+ * The number of structural features of the '<em>EXml Is Set Parameter</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_IS_SET_PARAMETER_FEATURE_COUNT = 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlJavaTypeAdapter <em>EXml Java Type Adapter</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlJavaTypeAdapter
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlJavaTypeAdapter()
+ * @generated
+ */
+ public static final int EXML_JAVA_TYPE_ADAPTER = 27;
+
+ /**
+ * The feature id for the '<em><b>Java Attribute</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_JAVA_TYPE_ADAPTER__JAVA_ATTRIBUTE = EJAVA_ATTRIBUTE__JAVA_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Xml Accessor Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_JAVA_TYPE_ADAPTER__XML_ACCESSOR_TYPE = EJAVA_ATTRIBUTE__XML_ACCESSOR_TYPE;
+
+ /**
+ * The feature id for the '<em><b>Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_JAVA_TYPE_ADAPTER__VALUE = EJAVA_ATTRIBUTE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_JAVA_TYPE_ADAPTER__TYPE = EJAVA_ATTRIBUTE_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Value Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_JAVA_TYPE_ADAPTER__VALUE_TYPE = EJAVA_ATTRIBUTE_FEATURE_COUNT + 2;
+
+ /**
+ * The number of structural features of the '<em>EXml Java Type Adapter</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_JAVA_TYPE_ADAPTER_FEATURE_COUNT = EJAVA_ATTRIBUTE_FEATURE_COUNT + 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlJoinNode <em>EXml Join Node</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlJoinNode
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlJoinNode()
+ * @generated
+ */
+ public static final int EXML_JOIN_NODE = 28;
+
+ /**
+ * The feature id for the '<em><b>Xml Path</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_JOIN_NODE__XML_PATH = 0;
+
+ /**
+ * The feature id for the '<em><b>Referenced Xml Path</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_JOIN_NODE__REFERENCED_XML_PATH = 1;
+
+ /**
+ * The number of structural features of the '<em>EXml Join Node</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_JOIN_NODE_FEATURE_COUNT = 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlJoinNodes <em>EXml Join Nodes</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlJoinNodes
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlJoinNodes()
+ * @generated
+ */
+ public static final int EXML_JOIN_NODES = 29;
+
+ /**
+ * The feature id for the '<em><b>Java Attribute</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_JOIN_NODES__JAVA_ATTRIBUTE = EJAVA_ATTRIBUTE__JAVA_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Xml Accessor Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_JOIN_NODES__XML_ACCESSOR_TYPE = EJAVA_ATTRIBUTE__XML_ACCESSOR_TYPE;
+
+ /**
+ * The feature id for the '<em><b>Container Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_JOIN_NODES__CONTAINER_TYPE = EJAVA_ATTRIBUTE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_JOIN_NODES__TYPE = EJAVA_ATTRIBUTE_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Xml Join Nodes</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_JOIN_NODES__XML_JOIN_NODES = EJAVA_ATTRIBUTE_FEATURE_COUNT + 2;
+
+ /**
+ * The number of structural features of the '<em>EXml Join Nodes</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_JOIN_NODES_FEATURE_COUNT = EJAVA_ATTRIBUTE_FEATURE_COUNT + 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlMap <em>EXml Map</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlMap
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlMap()
+ * @generated
+ */
+ public static final int EXML_MAP = 30;
+
+ /**
+ * The feature id for the '<em><b>Key</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_MAP__KEY = 0;
+
+ /**
+ * The feature id for the '<em><b>Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_MAP__VALUE = 1;
+
+ /**
+ * The number of structural features of the '<em>EXml Map</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_MAP_FEATURE_COUNT = 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlNullPolicy <em>EXml Null Policy</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlNullPolicy
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlNullPolicy()
+ * @generated
+ */
+ public static final int EXML_NULL_POLICY = 31;
+
+ /**
+ * The feature id for the '<em><b>Xsi Nil Represents Null</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_NULL_POLICY__XSI_NIL_REPRESENTS_NULL = EABSTRACT_XML_NULL_POLICY__XSI_NIL_REPRESENTS_NULL;
+
+ /**
+ * The feature id for the '<em><b>Empty Node Represents Null</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_NULL_POLICY__EMPTY_NODE_REPRESENTS_NULL = EABSTRACT_XML_NULL_POLICY__EMPTY_NODE_REPRESENTS_NULL;
+
+ /**
+ * The feature id for the '<em><b>Null Representation For Xml</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_NULL_POLICY__NULL_REPRESENTATION_FOR_XML = EABSTRACT_XML_NULL_POLICY__NULL_REPRESENTATION_FOR_XML;
+
+ /**
+ * The feature id for the '<em><b>Is Set Performed For Absent Node</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_NULL_POLICY__IS_SET_PERFORMED_FOR_ABSENT_NODE = EABSTRACT_XML_NULL_POLICY_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>EXml Null Policy</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_NULL_POLICY_FEATURE_COUNT = EABSTRACT_XML_NULL_POLICY_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlNs <em>EXml Ns</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlNs
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlNs()
+ * @generated
+ */
+ public static final int EXML_NS = 32;
+
+ /**
+ * The feature id for the '<em><b>Namespace Uri</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_NS__NAMESPACE_URI = 0;
+
+ /**
+ * The feature id for the '<em><b>Prefix</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_NS__PREFIX = 1;
+
+ /**
+ * The number of structural features of the '<em>EXml Ns</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_NS_FEATURE_COUNT = 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlProperty <em>EXml Property</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlProperty
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlProperty()
+ * @generated
+ */
+ public static final int EXML_PROPERTY = 33;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_PROPERTY__NAME = 0;
+
+ /**
+ * The feature id for the '<em><b>Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_PROPERTY__VALUE = 1;
+
+ /**
+ * The feature id for the '<em><b>Value Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_PROPERTY__VALUE_TYPE = 2;
+
+ /**
+ * The number of structural features of the '<em>EXml Property</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_PROPERTY_FEATURE_COUNT = 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlReadTransformer <em>EXml Read Transformer</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlReadTransformer
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlReadTransformer()
+ * @generated
+ */
+ public static final int EXML_READ_TRANSFORMER = 34;
+
+ /**
+ * The feature id for the '<em><b>Method</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_READ_TRANSFORMER__METHOD = EABSTRACT_XML_TRANSFORMER__METHOD;
+
+ /**
+ * The feature id for the '<em><b>Transformer Class</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_READ_TRANSFORMER__TRANSFORMER_CLASS = EABSTRACT_XML_TRANSFORMER__TRANSFORMER_CLASS;
+
+ /**
+ * The number of structural features of the '<em>EXml Read Transformer</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_READ_TRANSFORMER_FEATURE_COUNT = EABSTRACT_XML_TRANSFORMER_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlRegistry <em>EXml Registry</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlRegistry
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlRegistry()
+ * @generated
+ */
+ public static final int EXML_REGISTRY = 35;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_REGISTRY__NAME = 0;
+
+ /**
+ * The feature id for the '<em><b>Xml Element Decls</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_REGISTRY__XML_ELEMENT_DECLS = 1;
+
+ /**
+ * The number of structural features of the '<em>EXml Registry</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_REGISTRY_FEATURE_COUNT = 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlRootElement <em>EXml Root Element</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlRootElement
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlRootElement()
+ * @generated
+ */
+ public static final int EXML_ROOT_ELEMENT = 36;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ROOT_ELEMENT__NAME = 0;
+
+ /**
+ * The feature id for the '<em><b>Namespace</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ROOT_ELEMENT__NAMESPACE = 1;
+
+ /**
+ * The number of structural features of the '<em>EXml Root Element</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_ROOT_ELEMENT_FEATURE_COUNT = 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlSchema <em>EXml Schema</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlSchema
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlSchema()
+ * @generated
+ */
+ public static final int EXML_SCHEMA = 37;
+
+ /**
+ * The feature id for the '<em><b>Attribute Form Default</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_SCHEMA__ATTRIBUTE_FORM_DEFAULT = 0;
+
+ /**
+ * The feature id for the '<em><b>Element Form Default</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_SCHEMA__ELEMENT_FORM_DEFAULT = 1;
+
+ /**
+ * The feature id for the '<em><b>Location</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_SCHEMA__LOCATION = 2;
+
+ /**
+ * The feature id for the '<em><b>Namespace</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_SCHEMA__NAMESPACE = 3;
+
+ /**
+ * The feature id for the '<em><b>Xmlns</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_SCHEMA__XMLNS = 4;
+
+ /**
+ * The number of structural features of the '<em>EXml Schema</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_SCHEMA_FEATURE_COUNT = 5;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlSchemaType <em>EXml Schema Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlSchemaType
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlSchemaType()
+ * @generated
+ */
+ public static final int EXML_SCHEMA_TYPE = 38;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_SCHEMA_TYPE__NAME = 0;
+
+ /**
+ * The feature id for the '<em><b>Namespace</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_SCHEMA_TYPE__NAMESPACE = 1;
+
+ /**
+ * The feature id for the '<em><b>Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_SCHEMA_TYPE__TYPE = 2;
+
+ /**
+ * The number of structural features of the '<em>EXml Schema Type</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_SCHEMA_TYPE_FEATURE_COUNT = 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlTransformation <em>EXml Transformation</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlTransformation
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlTransformation()
+ * @generated
+ */
+ public static final int EXML_TRANSFORMATION = 39;
+
+ /**
+ * The feature id for the '<em><b>Java Attribute</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_TRANSFORMATION__JAVA_ATTRIBUTE = EJAVA_ATTRIBUTE__JAVA_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Xml Accessor Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_TRANSFORMATION__XML_ACCESSOR_TYPE = EJAVA_ATTRIBUTE__XML_ACCESSOR_TYPE;
+
+ /**
+ * The feature id for the '<em><b>Xml Access Methods</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_TRANSFORMATION__XML_ACCESS_METHODS = EJAVA_ATTRIBUTE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Xml Properties</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_TRANSFORMATION__XML_PROPERTIES = EJAVA_ATTRIBUTE_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Optional</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_TRANSFORMATION__OPTIONAL = EJAVA_ATTRIBUTE_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Xml Read Transformer</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_TRANSFORMATION__XML_READ_TRANSFORMER = EJAVA_ATTRIBUTE_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Xml Write Transformers</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_TRANSFORMATION__XML_WRITE_TRANSFORMERS = EJAVA_ATTRIBUTE_FEATURE_COUNT + 4;
+
+ /**
+ * The number of structural features of the '<em>EXml Transformation</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_TRANSFORMATION_FEATURE_COUNT = EJAVA_ATTRIBUTE_FEATURE_COUNT + 5;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlTransient <em>EXml Transient</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlTransient
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlTransient()
+ * @generated
+ */
+ public static final int EXML_TRANSIENT = 40;
+
+ /**
+ * The feature id for the '<em><b>Java Attribute</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_TRANSIENT__JAVA_ATTRIBUTE = EJAVA_ATTRIBUTE__JAVA_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Xml Accessor Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_TRANSIENT__XML_ACCESSOR_TYPE = EJAVA_ATTRIBUTE__XML_ACCESSOR_TYPE;
+
+ /**
+ * The feature id for the '<em><b>Xml Location</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_TRANSIENT__XML_LOCATION = EJAVA_ATTRIBUTE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>EXml Transient</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_TRANSIENT_FEATURE_COUNT = EJAVA_ATTRIBUTE_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlType <em>EXml Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlType
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlType()
+ * @generated
+ */
+ public static final int EXML_TYPE = 41;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_TYPE__NAME = 0;
+
+ /**
+ * The feature id for the '<em><b>Namespace</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_TYPE__NAMESPACE = 1;
+
+ /**
+ * The feature id for the '<em><b>Factory Class</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_TYPE__FACTORY_CLASS = 2;
+
+ /**
+ * The feature id for the '<em><b>Factory Method</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_TYPE__FACTORY_METHOD = 3;
+
+ /**
+ * The feature id for the '<em><b>Prop Order</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_TYPE__PROP_ORDER = 4;
+
+ /**
+ * The number of structural features of the '<em>EXml Type</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_TYPE_FEATURE_COUNT = 5;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlValue <em>EXml Value</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlValue
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlValue()
+ * @generated
+ */
+ public static final int EXML_VALUE = 42;
+
+ /**
+ * The feature id for the '<em><b>Java Attribute</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_VALUE__JAVA_ATTRIBUTE = EJAVA_ATTRIBUTE__JAVA_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Xml Accessor Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_VALUE__XML_ACCESSOR_TYPE = EJAVA_ATTRIBUTE__XML_ACCESSOR_TYPE;
+
+ /**
+ * The feature id for the '<em><b>Xml Access Methods</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_VALUE__XML_ACCESS_METHODS = EJAVA_ATTRIBUTE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Xml Java Type Adapter</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_VALUE__XML_JAVA_TYPE_ADAPTER = EJAVA_ATTRIBUTE_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Container Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_VALUE__CONTAINER_TYPE = EJAVA_ATTRIBUTE_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Read Only</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_VALUE__READ_ONLY = EJAVA_ATTRIBUTE_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Write Only</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_VALUE__WRITE_ONLY = EJAVA_ATTRIBUTE_FEATURE_COUNT + 4;
+
+ /**
+ * The feature id for the '<em><b>Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_VALUE__TYPE = EJAVA_ATTRIBUTE_FEATURE_COUNT + 5;
+
+ /**
+ * The feature id for the '<em><b>Xml Properties</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_VALUE__XML_PROPERTIES = EJAVA_ATTRIBUTE_FEATURE_COUNT + 6;
+
+ /**
+ * The feature id for the '<em><b>Cdata</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_VALUE__CDATA = EJAVA_ATTRIBUTE_FEATURE_COUNT + 7;
+
+ /**
+ * The feature id for the '<em><b>Xml Abstract Null Policy</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_VALUE__XML_ABSTRACT_NULL_POLICY = EJAVA_ATTRIBUTE_FEATURE_COUNT + 8;
+
+ /**
+ * The number of structural features of the '<em>EXml Value</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_VALUE_FEATURE_COUNT = EJAVA_ATTRIBUTE_FEATURE_COUNT + 9;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlVirtualAccessMethods <em>EXml Virtual Access Methods</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlVirtualAccessMethods
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlVirtualAccessMethods()
+ * @generated
+ */
+ public static final int EXML_VIRTUAL_ACCESS_METHODS = 43;
+
+ /**
+ * The feature id for the '<em><b>Get Method</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_VIRTUAL_ACCESS_METHODS__GET_METHOD = 0;
+
+ /**
+ * The feature id for the '<em><b>Set Method</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_VIRTUAL_ACCESS_METHODS__SET_METHOD = 1;
+
+ /**
+ * The feature id for the '<em><b>Schema</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_VIRTUAL_ACCESS_METHODS__SCHEMA = 2;
+
+ /**
+ * The number of structural features of the '<em>EXml Virtual Access Methods</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_VIRTUAL_ACCESS_METHODS_FEATURE_COUNT = 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlWriteTransformer <em>EXml Write Transformer</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlWriteTransformer
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlWriteTransformer()
+ * @generated
+ */
+ public static final int EXML_WRITE_TRANSFORMER = 44;
+
+ /**
+ * The feature id for the '<em><b>Method</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_WRITE_TRANSFORMER__METHOD = EABSTRACT_XML_TRANSFORMER__METHOD;
+
+ /**
+ * The feature id for the '<em><b>Transformer Class</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_WRITE_TRANSFORMER__TRANSFORMER_CLASS = EABSTRACT_XML_TRANSFORMER__TRANSFORMER_CLASS;
+
+ /**
+ * The feature id for the '<em><b>Xml Path</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_WRITE_TRANSFORMER__XML_PATH = EABSTRACT_XML_TRANSFORMER_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>EXml Write Transformer</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EXML_WRITE_TRANSFORMER_FEATURE_COUNT = EABSTRACT_XML_TRANSFORMER_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAccessOrder <em>EXml Access Order</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAccessOrder
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlAccessOrder()
+ * @generated
+ */
+ public static final int EXML_ACCESS_ORDER = 45;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAccessType <em>EXml Access Type</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAccessType
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlAccessType()
+ * @generated
+ */
+ public static final int EXML_ACCESS_TYPE = 46;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlMarshalNullRepresentation <em>EXml Marshal Null Representation</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlMarshalNullRepresentation
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlMarshalNullRepresentation()
+ * @generated
+ */
+ public static final int EXML_MARSHAL_NULL_REPRESENTATION = 47;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlNsForm <em>EXml Ns Form</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlNsForm
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlNsForm()
+ * @generated
+ */
+ public static final int EXML_NS_FORM = 48;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlVirtualAccessMethodsSchema <em>EXml Virtual Access Methods Schema</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlVirtualAccessMethodsSchema
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlVirtualAccessMethodsSchema()
+ * @generated
+ */
+ public static final int EXML_VIRTUAL_ACCESS_METHODS_SCHEMA = 49;
+
+ /**
+ * The meta object id for the '<em>EProp Order</em>' data type.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see java.util.List
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEPropOrder()
+ * @generated
+ */
+ public static final int EPROP_ORDER = 50;
+
+ /**
+ * The meta object id for the '<em>EXml See Also</em>' data type.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see java.util.List
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlSeeAlso()
+ * @generated
+ */
+ public static final int EXML_SEE_ALSO = 51;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eAbstractXmlNullPolicyEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eAbstractXmlTransformerEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eAccessibleJavaAttributeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eAdaptableJavaAttributeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eContainerJavaAttributeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eJavaAttributeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eJavaTypeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass ePropertyHolderEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eReadWriteJavaAttributeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eTypedJavaAttributeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eXmlAccessMethodsEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eXmlAnyAttributeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eXmlAnyElementEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eXmlAttributeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eXmlBindingsEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eXmlClassExtractorEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eXmlElementEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eXmlElementDeclEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eXmlElementRefEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eXmlElementRefsEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eXmlElementsEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eXmlElementWrapperEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eXmlEnumEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eXmlEnumValueEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eXmlInverseReferenceEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eXmlIsSetNullPolicyEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eXmlIsSetParameterEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eXmlJavaTypeAdapterEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eXmlJoinNodeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eXmlJoinNodesEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eXmlMapEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eXmlNullPolicyEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eXmlNsEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eXmlPropertyEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eXmlReadTransformerEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eXmlRegistryEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eXmlRootElementEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eXmlSchemaEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eXmlSchemaTypeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eXmlTransformationEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eXmlTransientEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eXmlTypeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eXmlValueEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eXmlVirtualAccessMethodsEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass eXmlWriteTransformerEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EEnum eXmlAccessOrderEEnum = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EEnum eXmlAccessTypeEEnum = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EEnum eXmlMarshalNullRepresentationEEnum = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EEnum eXmlNsFormEEnum = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EEnum eXmlVirtualAccessMethodsSchemaEEnum = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EDataType ePropOrderEDataType = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EDataType eXmlSeeAlsoEDataType = null;
+
+ /**
+ * Creates an instance of the model <b>Package</b>, registered with
+ * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
+ * package URI value.
+ * <p>Note: the correct way to create the package is via the static
+ * factory method {@link #init init()}, which also performs
+ * initialization of the package, or returns the registered package,
+ * if one already exists.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.ecore.EPackage.Registry
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#eNS_URI
+ * @see #init()
+ * @generated
+ */
+ private OxmPackage()
+ {
+ super(eNS_URI, OxmFactory.eINSTANCE);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static boolean isInited = false;
+
+ /**
+ * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
+ *
+ * <p>This method is used to initialize {@link OxmPackage#eINSTANCE} when that field is accessed.
+ * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #eNS_URI
+ * @see #createPackageContents()
+ * @see #initializePackageContents()
+ * @generated
+ */
+ public static OxmPackage init()
+ {
+ if (isInited) return (OxmPackage)EPackage.Registry.INSTANCE.getEPackage(OxmPackage.eNS_URI);
+
+ // Obtain or create and register package
+ OxmPackage theOxmPackage = (OxmPackage)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof OxmPackage ? EPackage.Registry.INSTANCE.get(eNS_URI) : new OxmPackage());
+
+ isInited = true;
+
+ // Initialize simple dependencies
+ CommonPackage.eINSTANCE.eClass();
+
+ // Create package meta-data objects
+ theOxmPackage.createPackageContents();
+
+ // Initialize created meta-data
+ theOxmPackage.initializePackageContents();
+
+ // Register package validator
+ EValidator.Registry.INSTANCE.put
+ (theOxmPackage,
+ new EValidator.Descriptor()
+ {
+ public EValidator getEValidator()
+ {
+ return OxmValidator.INSTANCE;
+ }
+ });
+
+ // Mark meta-data to indicate it can't be changed
+ theOxmPackage.freeze();
+
+
+ // Update the registry and return the package
+ EPackage.Registry.INSTANCE.put(OxmPackage.eNS_URI, theOxmPackage);
+ return theOxmPackage;
+ }
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAbstractXmlNullPolicy <em>EAbstract Xml Null Policy</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EAbstract Xml Null Policy</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAbstractXmlNullPolicy
+ * @generated
+ */
+ public EClass getEAbstractXmlNullPolicy()
+ {
+ return eAbstractXmlNullPolicyEClass;
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAbstractXmlNullPolicy#isXsiNilRepresentsNull <em>Xsi Nil Represents Null</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Xsi Nil Represents Null</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAbstractXmlNullPolicy#isXsiNilRepresentsNull()
+ * @see #getEAbstractXmlNullPolicy()
+ * @generated
+ */
+ public EAttribute getEAbstractXmlNullPolicy_XsiNilRepresentsNull()
+ {
+ return (EAttribute)eAbstractXmlNullPolicyEClass.getEStructuralFeatures().get(0);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAbstractXmlNullPolicy#isEmptyNodeRepresentsNull <em>Empty Node Represents Null</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Empty Node Represents Null</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAbstractXmlNullPolicy#isEmptyNodeRepresentsNull()
+ * @see #getEAbstractXmlNullPolicy()
+ * @generated
+ */
+ public EAttribute getEAbstractXmlNullPolicy_EmptyNodeRepresentsNull()
+ {
+ return (EAttribute)eAbstractXmlNullPolicyEClass.getEStructuralFeatures().get(1);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAbstractXmlNullPolicy#getNullRepresentationForXml <em>Null Representation For Xml</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Null Representation For Xml</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAbstractXmlNullPolicy#getNullRepresentationForXml()
+ * @see #getEAbstractXmlNullPolicy()
+ * @generated
+ */
+ public EAttribute getEAbstractXmlNullPolicy_NullRepresentationForXml()
+ {
+ return (EAttribute)eAbstractXmlNullPolicyEClass.getEStructuralFeatures().get(2);
+ }
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAbstractXmlTransformer <em>EAbstract Xml Transformer</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EAbstract Xml Transformer</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAbstractXmlTransformer
+ * @generated
+ */
+ public EClass getEAbstractXmlTransformer()
+ {
+ return eAbstractXmlTransformerEClass;
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAbstractXmlTransformer#getMethod <em>Method</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Method</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAbstractXmlTransformer#getMethod()
+ * @see #getEAbstractXmlTransformer()
+ * @generated
+ */
+ public EAttribute getEAbstractXmlTransformer_Method()
+ {
+ return (EAttribute)eAbstractXmlTransformerEClass.getEStructuralFeatures().get(0);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAbstractXmlTransformer#getTransformerClass <em>Transformer Class</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Transformer Class</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAbstractXmlTransformer#getTransformerClass()
+ * @see #getEAbstractXmlTransformer()
+ * @generated
+ */
+ public EAttribute getEAbstractXmlTransformer_TransformerClass()
+ {
+ return (EAttribute)eAbstractXmlTransformerEClass.getEStructuralFeatures().get(1);
+ }
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAccessibleJavaAttribute <em>EAccessible Java Attribute</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EAccessible Java Attribute</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAccessibleJavaAttribute
+ * @generated
+ */
+ public EClass getEAccessibleJavaAttribute()
+ {
+ return eAccessibleJavaAttributeEClass;
+ }
+
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAccessibleJavaAttribute#getXmlAccessMethods <em>Xml Access Methods</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Xml Access Methods</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAccessibleJavaAttribute#getXmlAccessMethods()
+ * @see #getEAccessibleJavaAttribute()
+ * @generated
+ */
+ public EReference getEAccessibleJavaAttribute_XmlAccessMethods()
+ {
+ return (EReference)eAccessibleJavaAttributeEClass.getEStructuralFeatures().get(0);
+ }
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAdaptableJavaAttribute <em>EAdaptable Java Attribute</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EAdaptable Java Attribute</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAdaptableJavaAttribute
+ * @generated
+ */
+ public EClass getEAdaptableJavaAttribute()
+ {
+ return eAdaptableJavaAttributeEClass;
+ }
+
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAdaptableJavaAttribute#getXmlJavaTypeAdapter <em>Xml Java Type Adapter</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Xml Java Type Adapter</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAdaptableJavaAttribute#getXmlJavaTypeAdapter()
+ * @see #getEAdaptableJavaAttribute()
+ * @generated
+ */
+ public EReference getEAdaptableJavaAttribute_XmlJavaTypeAdapter()
+ {
+ return (EReference)eAdaptableJavaAttributeEClass.getEStructuralFeatures().get(0);
+ }
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EContainerJavaAttribute <em>EContainer Java Attribute</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EContainer Java Attribute</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EContainerJavaAttribute
+ * @generated
+ */
+ public EClass getEContainerJavaAttribute()
+ {
+ return eContainerJavaAttributeEClass;
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EContainerJavaAttribute#getContainerType <em>Container Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Container Type</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EContainerJavaAttribute#getContainerType()
+ * @see #getEContainerJavaAttribute()
+ * @generated
+ */
+ public EAttribute getEContainerJavaAttribute_ContainerType()
+ {
+ return (EAttribute)eContainerJavaAttributeEClass.getEStructuralFeatures().get(0);
+ }
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaAttribute <em>EJava Attribute</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EJava Attribute</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaAttribute
+ * @generated
+ */
+ public EClass getEJavaAttribute()
+ {
+ return eJavaAttributeEClass;
+ }
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaAttribute#getJavaAttribute <em>Java Attribute</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Java Attribute</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaAttribute#getJavaAttribute()
+ * @see #getEJavaAttribute()
+ * @generated
+ */
+ public EAttribute getEJavaAttribute_JavaAttribute()
+ {
+ return (EAttribute)eJavaAttributeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaAttribute#getXmlAccessorType <em>Xml Accessor Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Xml Accessor Type</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaAttribute#getXmlAccessorType()
+ * @see #getEJavaAttribute()
+ * @generated
+ */
+ public EAttribute getEJavaAttribute_XmlAccessorType()
+ {
+ return (EAttribute)eJavaAttributeEClass.getEStructuralFeatures().get(1);
+ }
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType <em>EJava Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EJava Type</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType
+ * @generated
+ */
+ public EClass getEJavaType()
+ {
+ return eJavaTypeEClass;
+ }
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getName()
+ * @see #getEJavaType()
+ * @generated
+ */
+ public EAttribute getEJavaType_Name()
+ {
+ return (EAttribute)eJavaTypeEClass.getEStructuralFeatures().get(0);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getSuperType <em>Super Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Super Type</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getSuperType()
+ * @see #getEJavaType()
+ * @generated
+ */
+ public EAttribute getEJavaType_SuperType()
+ {
+ return (EAttribute)eJavaTypeEClass.getEStructuralFeatures().get(1);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlAccessorOrder <em>Xml Accessor Order</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Xml Accessor Order</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlAccessorOrder()
+ * @see #getEJavaType()
+ * @generated
+ */
+ public EAttribute getEJavaType_XmlAccessorOrder()
+ {
+ return (EAttribute)eJavaTypeEClass.getEStructuralFeatures().get(2);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlAccessorType <em>Xml Accessor Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Xml Accessor Type</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlAccessorType()
+ * @see #getEJavaType()
+ * @generated
+ */
+ public EAttribute getEJavaType_XmlAccessorType()
+ {
+ return (EAttribute)eJavaTypeEClass.getEStructuralFeatures().get(3);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlCustomizer <em>Xml Customizer</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Xml Customizer</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlCustomizer()
+ * @see #getEJavaType()
+ * @generated
+ */
+ public EAttribute getEJavaType_XmlCustomizer()
+ {
+ return (EAttribute)eJavaTypeEClass.getEStructuralFeatures().get(4);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlDiscriminatorNode <em>Xml Discriminator Node</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Xml Discriminator Node</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlDiscriminatorNode()
+ * @see #getEJavaType()
+ * @generated
+ */
+ public EAttribute getEJavaType_XmlDiscriminatorNode()
+ {
+ return (EAttribute)eJavaTypeEClass.getEStructuralFeatures().get(5);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlDiscriminatorValue <em>Xml Discriminator Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Xml Discriminator Value</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlDiscriminatorValue()
+ * @see #getEJavaType()
+ * @generated
+ */
+ public EAttribute getEJavaType_XmlDiscriminatorValue()
+ {
+ return (EAttribute)eJavaTypeEClass.getEStructuralFeatures().get(6);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#isXmlInlineBinaryData <em>Xml Inline Binary Data</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Xml Inline Binary Data</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#isXmlInlineBinaryData()
+ * @see #getEJavaType()
+ * @generated
+ */
+ public EAttribute getEJavaType_XmlInlineBinaryData()
+ {
+ return (EAttribute)eJavaTypeEClass.getEStructuralFeatures().get(7);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#isXmlTransient <em>Xml Transient</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Xml Transient</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#isXmlTransient()
+ * @see #getEJavaType()
+ * @generated
+ */
+ public EAttribute getEJavaType_XmlTransient()
+ {
+ return (EAttribute)eJavaTypeEClass.getEStructuralFeatures().get(8);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlNameTransformer <em>Xml Name Transformer</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Xml Name Transformer</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlNameTransformer()
+ * @see #getEJavaType()
+ * @generated
+ */
+ public EAttribute getEJavaType_XmlNameTransformer()
+ {
+ return (EAttribute)eJavaTypeEClass.getEStructuralFeatures().get(9);
+ }
+
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlType <em>Xml Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Xml Type</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlType()
+ * @see #getEJavaType()
+ * @generated
+ */
+ public EReference getEJavaType_XmlType()
+ {
+ return (EReference)eJavaTypeEClass.getEStructuralFeatures().get(10);
+ }
+
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlRootElement <em>Xml Root Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Xml Root Element</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlRootElement()
+ * @see #getEJavaType()
+ * @generated
+ */
+ public EReference getEJavaType_XmlRootElement()
+ {
+ return (EReference)eJavaTypeEClass.getEStructuralFeatures().get(11);
+ }
+
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlVirtualAccessMethods <em>Xml Virtual Access Methods</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Xml Virtual Access Methods</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlVirtualAccessMethods()
+ * @see #getEJavaType()
+ * @generated
+ */
+ public EReference getEJavaType_XmlVirtualAccessMethods()
+ {
+ return (EReference)eJavaTypeEClass.getEStructuralFeatures().get(12);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlSeeAlso <em>Xml See Also</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Xml See Also</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlSeeAlso()
+ * @see #getEJavaType()
+ * @generated
+ */
+ public EAttribute getEJavaType_XmlSeeAlso()
+ {
+ return (EAttribute)eJavaTypeEClass.getEStructuralFeatures().get(13);
+ }
+
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlJavaTypeAdapter <em>Xml Java Type Adapter</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Xml Java Type Adapter</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlJavaTypeAdapter()
+ * @see #getEJavaType()
+ * @generated
+ */
+ public EReference getEJavaType_XmlJavaTypeAdapter()
+ {
+ return (EReference)eJavaTypeEClass.getEStructuralFeatures().get(14);
+ }
+
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlClassExtractor <em>Xml Class Extractor</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Xml Class Extractor</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getXmlClassExtractor()
+ * @see #getEJavaType()
+ * @generated
+ */
+ public EReference getEJavaType_XmlClassExtractor()
+ {
+ return (EReference)eJavaTypeEClass.getEStructuralFeatures().get(15);
+ }
+
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getJavaAttributes <em>Java Attributes</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Java Attributes</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType#getJavaAttributes()
+ * @see #getEJavaType()
+ * @generated
+ */
+ public EReference getEJavaType_JavaAttributes()
+ {
+ return (EReference)eJavaTypeEClass.getEStructuralFeatures().get(16);
+ }
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EPropertyHolder <em>EProperty Holder</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EProperty Holder</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EPropertyHolder
+ * @generated
+ */
+ public EClass getEPropertyHolder()
+ {
+ return ePropertyHolderEClass;
+ }
+
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EPropertyHolder#getXmlProperties <em>Xml Properties</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Xml Properties</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EPropertyHolder#getXmlProperties()
+ * @see #getEPropertyHolder()
+ * @generated
+ */
+ public EReference getEPropertyHolder_XmlProperties()
+ {
+ return (EReference)ePropertyHolderEClass.getEStructuralFeatures().get(0);
+ }
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EReadWriteJavaAttribute <em>ERead Write Java Attribute</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>ERead Write Java Attribute</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EReadWriteJavaAttribute
+ * @generated
+ */
+ public EClass getEReadWriteJavaAttribute()
+ {
+ return eReadWriteJavaAttributeEClass;
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EReadWriteJavaAttribute#isReadOnly <em>Read Only</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Read Only</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EReadWriteJavaAttribute#isReadOnly()
+ * @see #getEReadWriteJavaAttribute()
+ * @generated
+ */
+ public EAttribute getEReadWriteJavaAttribute_ReadOnly()
+ {
+ return (EAttribute)eReadWriteJavaAttributeEClass.getEStructuralFeatures().get(0);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EReadWriteJavaAttribute#isWriteOnly <em>Write Only</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Write Only</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EReadWriteJavaAttribute#isWriteOnly()
+ * @see #getEReadWriteJavaAttribute()
+ * @generated
+ */
+ public EAttribute getEReadWriteJavaAttribute_WriteOnly()
+ {
+ return (EAttribute)eReadWriteJavaAttributeEClass.getEStructuralFeatures().get(1);
+ }
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.ETypedJavaAttribute <em>ETyped Java Attribute</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>ETyped Java Attribute</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.ETypedJavaAttribute
+ * @generated
+ */
+ public EClass getETypedJavaAttribute()
+ {
+ return eTypedJavaAttributeEClass;
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.ETypedJavaAttribute#getType <em>Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Type</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.ETypedJavaAttribute#getType()
+ * @see #getETypedJavaAttribute()
+ * @generated
+ */
+ public EAttribute getETypedJavaAttribute_Type()
+ {
+ return (EAttribute)eTypedJavaAttributeEClass.getEStructuralFeatures().get(0);
+ }
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAccessMethods <em>EXml Access Methods</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EXml Access Methods</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAccessMethods
+ * @generated
+ */
+ public EClass getEXmlAccessMethods()
+ {
+ return eXmlAccessMethodsEClass;
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAccessMethods#getGetMethod <em>Get Method</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Get Method</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAccessMethods#getGetMethod()
+ * @see #getEXmlAccessMethods()
+ * @generated
+ */
+ public EAttribute getEXmlAccessMethods_GetMethod()
+ {
+ return (EAttribute)eXmlAccessMethodsEClass.getEStructuralFeatures().get(0);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAccessMethods#getSetMethod <em>Set Method</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Set Method</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAccessMethods#getSetMethod()
+ * @see #getEXmlAccessMethods()
+ * @generated
+ */
+ public EAttribute getEXmlAccessMethods_SetMethod()
+ {
+ return (EAttribute)eXmlAccessMethodsEClass.getEStructuralFeatures().get(1);
+ }
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAnyAttribute <em>EXml Any Attribute</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EXml Any Attribute</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAnyAttribute
+ * @generated
+ */
+ public EClass getEXmlAnyAttribute()
+ {
+ return eXmlAnyAttributeEClass;
+ }
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAnyAttribute#getXmlPath <em>Xml Path</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Xml Path</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAnyAttribute#getXmlPath()
+ * @see #getEXmlAnyAttribute()
+ * @generated
+ */
+ public EAttribute getEXmlAnyAttribute_XmlPath()
+ {
+ return (EAttribute)eXmlAnyAttributeEClass.getEStructuralFeatures().get(0);
+ }
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAnyElement <em>EXml Any Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EXml Any Element</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAnyElement
+ * @generated
+ */
+ public EClass getEXmlAnyElement()
+ {
+ return eXmlAnyElementEClass;
+ }
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAnyElement#isXmlMixed <em>Xml Mixed</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Xml Mixed</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAnyElement#isXmlMixed()
+ * @see #getEXmlAnyElement()
+ * @generated
+ */
+ public EAttribute getEXmlAnyElement_XmlMixed()
+ {
+ return (EAttribute)eXmlAnyElementEClass.getEStructuralFeatures().get(0);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAnyElement#isLax <em>Lax</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Lax</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAnyElement#isLax()
+ * @see #getEXmlAnyElement()
+ * @generated
+ */
+ public EAttribute getEXmlAnyElement_Lax()
+ {
+ return (EAttribute)eXmlAnyElementEClass.getEStructuralFeatures().get(1);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAnyElement#getDomHandler <em>Dom Handler</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Dom Handler</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAnyElement#getDomHandler()
+ * @see #getEXmlAnyElement()
+ * @generated
+ */
+ public EAttribute getEXmlAnyElement_DomHandler()
+ {
+ return (EAttribute)eXmlAnyElementEClass.getEStructuralFeatures().get(2);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAnyElement#getXmlPath <em>Xml Path</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Xml Path</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAnyElement#getXmlPath()
+ * @see #getEXmlAnyElement()
+ * @generated
+ */
+ public EAttribute getEXmlAnyElement_XmlPath()
+ {
+ return (EAttribute)eXmlAnyElementEClass.getEStructuralFeatures().get(3);
+ }
+
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAnyElement#getXmlElementRefs <em>Xml Element Refs</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Xml Element Refs</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAnyElement#getXmlElementRefs()
+ * @see #getEXmlAnyElement()
+ * @generated
+ */
+ public EReference getEXmlAnyElement_XmlElementRefs()
+ {
+ return (EReference)eXmlAnyElementEClass.getEStructuralFeatures().get(4);
+ }
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute <em>EXml Attribute</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EXml Attribute</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute
+ * @generated
+ */
+ public EClass getEXmlAttribute()
+ {
+ return eXmlAttributeEClass;
+ }
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#getName()
+ * @see #getEXmlAttribute()
+ * @generated
+ */
+ public EAttribute getEXmlAttribute_Name()
+ {
+ return (EAttribute)eXmlAttributeEClass.getEStructuralFeatures().get(0);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#getNamespace <em>Namespace</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Namespace</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#getNamespace()
+ * @see #getEXmlAttribute()
+ * @generated
+ */
+ public EAttribute getEXmlAttribute_Namespace()
+ {
+ return (EAttribute)eXmlAttributeEClass.getEStructuralFeatures().get(1);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#isRequired <em>Required</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Required</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#isRequired()
+ * @see #getEXmlAttribute()
+ * @generated
+ */
+ public EAttribute getEXmlAttribute_Required()
+ {
+ return (EAttribute)eXmlAttributeEClass.getEStructuralFeatures().get(2);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#isXmlId <em>Xml Id</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Xml Id</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#isXmlId()
+ * @see #getEXmlAttribute()
+ * @generated
+ */
+ public EAttribute getEXmlAttribute_XmlId()
+ {
+ return (EAttribute)eXmlAttributeEClass.getEStructuralFeatures().get(3);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#isXmlIdRef <em>Xml Id Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Xml Id Ref</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#isXmlIdRef()
+ * @see #getEXmlAttribute()
+ * @generated
+ */
+ public EAttribute getEXmlAttribute_XmlIdRef()
+ {
+ return (EAttribute)eXmlAttributeEClass.getEStructuralFeatures().get(4);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#isXmlKey <em>Xml Key</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Xml Key</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#isXmlKey()
+ * @see #getEXmlAttribute()
+ * @generated
+ */
+ public EAttribute getEXmlAttribute_XmlKey()
+ {
+ return (EAttribute)eXmlAttributeEClass.getEStructuralFeatures().get(5);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#isXmlList <em>Xml List</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Xml List</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#isXmlList()
+ * @see #getEXmlAttribute()
+ * @generated
+ */
+ public EAttribute getEXmlAttribute_XmlList()
+ {
+ return (EAttribute)eXmlAttributeEClass.getEStructuralFeatures().get(6);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#isXmlInlineBinaryData <em>Xml Inline Binary Data</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Xml Inline Binary Data</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#isXmlInlineBinaryData()
+ * @see #getEXmlAttribute()
+ * @generated
+ */
+ public EAttribute getEXmlAttribute_XmlInlineBinaryData()
+ {
+ return (EAttribute)eXmlAttributeEClass.getEStructuralFeatures().get(7);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#isXmlAttachmentRef <em>Xml Attachment Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Xml Attachment Ref</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#isXmlAttachmentRef()
+ * @see #getEXmlAttribute()
+ * @generated
+ */
+ public EAttribute getEXmlAttribute_XmlAttachmentRef()
+ {
+ return (EAttribute)eXmlAttributeEClass.getEStructuralFeatures().get(8);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#getXmlMimeType <em>Xml Mime Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Xml Mime Type</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#getXmlMimeType()
+ * @see #getEXmlAttribute()
+ * @generated
+ */
+ public EAttribute getEXmlAttribute_XmlMimeType()
+ {
+ return (EAttribute)eXmlAttributeEClass.getEStructuralFeatures().get(9);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#getXmlPath <em>Xml Path</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Xml Path</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#getXmlPath()
+ * @see #getEXmlAttribute()
+ * @generated
+ */
+ public EAttribute getEXmlAttribute_XmlPath()
+ {
+ return (EAttribute)eXmlAttributeEClass.getEStructuralFeatures().get(10);
+ }
+
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#getXmlAbstractNullPolicy <em>Xml Abstract Null Policy</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Xml Abstract Null Policy</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#getXmlAbstractNullPolicy()
+ * @see #getEXmlAttribute()
+ * @generated
+ */
+ public EReference getEXmlAttribute_XmlAbstractNullPolicy()
+ {
+ return (EReference)eXmlAttributeEClass.getEStructuralFeatures().get(11);
+ }
+
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#getXmlSchemaType <em>Xml Schema Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Xml Schema Type</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute#getXmlSchemaType()
+ * @see #getEXmlAttribute()
+ * @generated
+ */
+ public EReference getEXmlAttribute_XmlSchemaType()
+ {
+ return (EReference)eXmlAttributeEClass.getEStructuralFeatures().get(12);
+ }
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings <em>EXml Bindings</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EXml Bindings</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings
+ * @generated
+ */
+ public EClass getEXmlBindings()
+ {
+ return eXmlBindingsEClass;
+ }
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings#getXmlAccessorType <em>Xml Accessor Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Xml Accessor Type</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings#getXmlAccessorType()
+ * @see #getEXmlBindings()
+ * @generated
+ */
+ public EAttribute getEXmlBindings_XmlAccessorType()
+ {
+ return (EAttribute)eXmlBindingsEClass.getEStructuralFeatures().get(0);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings#getXmlAccessorOrder <em>Xml Accessor Order</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Xml Accessor Order</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings#getXmlAccessorOrder()
+ * @see #getEXmlBindings()
+ * @generated
+ */
+ public EAttribute getEXmlBindings_XmlAccessorOrder()
+ {
+ return (EAttribute)eXmlBindingsEClass.getEStructuralFeatures().get(1);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings#isXmlMappingMetadataComplete <em>Xml Mapping Metadata Complete</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Xml Mapping Metadata Complete</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings#isXmlMappingMetadataComplete()
+ * @see #getEXmlBindings()
+ * @generated
+ */
+ public EAttribute getEXmlBindings_XmlMappingMetadataComplete()
+ {
+ return (EAttribute)eXmlBindingsEClass.getEStructuralFeatures().get(2);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings#getPackageName <em>Package Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Package Name</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings#getPackageName()
+ * @see #getEXmlBindings()
+ * @generated
+ */
+ public EAttribute getEXmlBindings_PackageName()
+ {
+ return (EAttribute)eXmlBindingsEClass.getEStructuralFeatures().get(3);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings#getXmlNameTransformer <em>Xml Name Transformer</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Xml Name Transformer</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings#getXmlNameTransformer()
+ * @see #getEXmlBindings()
+ * @generated
+ */
+ public EAttribute getEXmlBindings_XmlNameTransformer()
+ {
+ return (EAttribute)eXmlBindingsEClass.getEStructuralFeatures().get(4);
+ }
+
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings#getXmlSchema <em>Xml Schema</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Xml Schema</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings#getXmlSchema()
+ * @see #getEXmlBindings()
+ * @generated
+ */
+ public EReference getEXmlBindings_XmlSchema()
+ {
+ return (EReference)eXmlBindingsEClass.getEStructuralFeatures().get(5);
+ }
+
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings#getXmlSchemaType <em>Xml Schema Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Xml Schema Type</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings#getXmlSchemaType()
+ * @see #getEXmlBindings()
+ * @generated
+ */
+ public EReference getEXmlBindings_XmlSchemaType()
+ {
+ return (EReference)eXmlBindingsEClass.getEStructuralFeatures().get(6);
+ }
+
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings#getXmlSchemaTypes <em>Xml Schema Types</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Xml Schema Types</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings#getXmlSchemaTypes()
+ * @see #getEXmlBindings()
+ * @generated
+ */
+ public EReference getEXmlBindings_XmlSchemaTypes()
+ {
+ return (EReference)eXmlBindingsEClass.getEStructuralFeatures().get(7);
+ }
+
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings#getXmlJavaTypeAdapters <em>Xml Java Type Adapters</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Xml Java Type Adapters</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings#getXmlJavaTypeAdapters()
+ * @see #getEXmlBindings()
+ * @generated
+ */
+ public EReference getEXmlBindings_XmlJavaTypeAdapters()
+ {
+ return (EReference)eXmlBindingsEClass.getEStructuralFeatures().get(8);
+ }
+
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings#getXmlRegistries <em>Xml Registries</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Xml Registries</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings#getXmlRegistries()
+ * @see #getEXmlBindings()
+ * @generated
+ */
+ public EReference getEXmlBindings_XmlRegistries()
+ {
+ return (EReference)eXmlBindingsEClass.getEStructuralFeatures().get(9);
+ }
+
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings#getXmlEnums <em>Xml Enums</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Xml Enums</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings#getXmlEnums()
+ * @see #getEXmlBindings()
+ * @generated
+ */
+ public EReference getEXmlBindings_XmlEnums()
+ {
+ return (EReference)eXmlBindingsEClass.getEStructuralFeatures().get(10);
+ }
+
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings#getJavaTypes <em>Java Types</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Java Types</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings#getJavaTypes()
+ * @see #getEXmlBindings()
+ * @generated
+ */
+ public EReference getEXmlBindings_JavaTypes()
+ {
+ return (EReference)eXmlBindingsEClass.getEStructuralFeatures().get(11);
+ }
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlClassExtractor <em>EXml Class Extractor</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EXml Class Extractor</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlClassExtractor
+ * @generated
+ */
+ public EClass getEXmlClassExtractor()
+ {
+ return eXmlClassExtractorEClass;
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlClassExtractor#getClassName <em>Class Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Class Name</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlClassExtractor#getClassName()
+ * @see #getEXmlClassExtractor()
+ * @generated
+ */
+ public EAttribute getEXmlClassExtractor_ClassName()
+ {
+ return (EAttribute)eXmlClassExtractorEClass.getEStructuralFeatures().get(0);
+ }
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement <em>EXml Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EXml Element</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement
+ * @generated
+ */
+ public EClass getEXmlElement()
+ {
+ return eXmlElementEClass;
+ }
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#getName()
+ * @see #getEXmlElement()
+ * @generated
+ */
+ public EAttribute getEXmlElement_Name()
+ {
+ return (EAttribute)eXmlElementEClass.getEStructuralFeatures().get(0);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#getNamespace <em>Namespace</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Namespace</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#getNamespace()
+ * @see #getEXmlElement()
+ * @generated
+ */
+ public EAttribute getEXmlElement_Namespace()
+ {
+ return (EAttribute)eXmlElementEClass.getEStructuralFeatures().get(1);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#getDefaultValue <em>Default Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Default Value</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#getDefaultValue()
+ * @see #getEXmlElement()
+ * @generated
+ */
+ public EAttribute getEXmlElement_DefaultValue()
+ {
+ return (EAttribute)eXmlElementEClass.getEStructuralFeatures().get(2);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#isNillable <em>Nillable</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Nillable</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#isNillable()
+ * @see #getEXmlElement()
+ * @generated
+ */
+ public EAttribute getEXmlElement_Nillable()
+ {
+ return (EAttribute)eXmlElementEClass.getEStructuralFeatures().get(3);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#isRequired <em>Required</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Required</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#isRequired()
+ * @see #getEXmlElement()
+ * @generated
+ */
+ public EAttribute getEXmlElement_Required()
+ {
+ return (EAttribute)eXmlElementEClass.getEStructuralFeatures().get(4);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#isXmlId <em>Xml Id</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Xml Id</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#isXmlId()
+ * @see #getEXmlElement()
+ * @generated
+ */
+ public EAttribute getEXmlElement_XmlId()
+ {
+ return (EAttribute)eXmlElementEClass.getEStructuralFeatures().get(5);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#isXmlIdRef <em>Xml Id Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Xml Id Ref</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#isXmlIdRef()
+ * @see #getEXmlElement()
+ * @generated
+ */
+ public EAttribute getEXmlElement_XmlIdRef()
+ {
+ return (EAttribute)eXmlElementEClass.getEStructuralFeatures().get(6);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#isXmlKey <em>Xml Key</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Xml Key</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#isXmlKey()
+ * @see #getEXmlElement()
+ * @generated
+ */
+ public EAttribute getEXmlElement_XmlKey()
+ {
+ return (EAttribute)eXmlElementEClass.getEStructuralFeatures().get(7);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#isXmlList <em>Xml List</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Xml List</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#isXmlList()
+ * @see #getEXmlElement()
+ * @generated
+ */
+ public EAttribute getEXmlElement_XmlList()
+ {
+ return (EAttribute)eXmlElementEClass.getEStructuralFeatures().get(8);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#isXmlInlineBinaryData <em>Xml Inline Binary Data</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Xml Inline Binary Data</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#isXmlInlineBinaryData()
+ * @see #getEXmlElement()
+ * @generated
+ */
+ public EAttribute getEXmlElement_XmlInlineBinaryData()
+ {
+ return (EAttribute)eXmlElementEClass.getEStructuralFeatures().get(9);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#isXmlAttachmentRef <em>Xml Attachment Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Xml Attachment Ref</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#isXmlAttachmentRef()
+ * @see #getEXmlElement()
+ * @generated
+ */
+ public EAttribute getEXmlElement_XmlAttachmentRef()
+ {
+ return (EAttribute)eXmlElementEClass.getEStructuralFeatures().get(10);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#getXmlMimeType <em>Xml Mime Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Xml Mime Type</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#getXmlMimeType()
+ * @see #getEXmlElement()
+ * @generated
+ */
+ public EAttribute getEXmlElement_XmlMimeType()
+ {
+ return (EAttribute)eXmlElementEClass.getEStructuralFeatures().get(11);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#isCdata <em>Cdata</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Cdata</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#isCdata()
+ * @see #getEXmlElement()
+ * @generated
+ */
+ public EAttribute getEXmlElement_Cdata()
+ {
+ return (EAttribute)eXmlElementEClass.getEStructuralFeatures().get(12);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#getXmlPath <em>Xml Path</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Xml Path</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#getXmlPath()
+ * @see #getEXmlElement()
+ * @generated
+ */
+ public EAttribute getEXmlElement_XmlPath()
+ {
+ return (EAttribute)eXmlElementEClass.getEStructuralFeatures().get(13);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#isXmlLocation <em>Xml Location</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Xml Location</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#isXmlLocation()
+ * @see #getEXmlElement()
+ * @generated
+ */
+ public EAttribute getEXmlElement_XmlLocation()
+ {
+ return (EAttribute)eXmlElementEClass.getEStructuralFeatures().get(14);
+ }
+
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#getXmlAbstractNullPolicy <em>Xml Abstract Null Policy</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Xml Abstract Null Policy</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#getXmlAbstractNullPolicy()
+ * @see #getEXmlElement()
+ * @generated
+ */
+ public EReference getEXmlElement_XmlAbstractNullPolicy()
+ {
+ return (EReference)eXmlElementEClass.getEStructuralFeatures().get(15);
+ }
+
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#getXmlElementWrapper <em>Xml Element Wrapper</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Xml Element Wrapper</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#getXmlElementWrapper()
+ * @see #getEXmlElement()
+ * @generated
+ */
+ public EReference getEXmlElement_XmlElementWrapper()
+ {
+ return (EReference)eXmlElementEClass.getEStructuralFeatures().get(16);
+ }
+
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#getXmlMap <em>Xml Map</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Xml Map</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#getXmlMap()
+ * @see #getEXmlElement()
+ * @generated
+ */
+ public EReference getEXmlElement_XmlMap()
+ {
+ return (EReference)eXmlElementEClass.getEStructuralFeatures().get(17);
+ }
+
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#getXmlSchemaType <em>Xml Schema Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Xml Schema Type</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement#getXmlSchemaType()
+ * @see #getEXmlElement()
+ * @generated
+ */
+ public EReference getEXmlElement_XmlSchemaType()
+ {
+ return (EReference)eXmlElementEClass.getEStructuralFeatures().get(18);
+ }
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementDecl <em>EXml Element Decl</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EXml Element Decl</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementDecl
+ * @generated
+ */
+ public EClass getEXmlElementDecl()
+ {
+ return eXmlElementDeclEClass;
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementDecl#getJavaMethod <em>Java Method</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Java Method</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementDecl#getJavaMethod()
+ * @see #getEXmlElementDecl()
+ * @generated
+ */
+ public EAttribute getEXmlElementDecl_JavaMethod()
+ {
+ return (EAttribute)eXmlElementDeclEClass.getEStructuralFeatures().get(0);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementDecl#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementDecl#getName()
+ * @see #getEXmlElementDecl()
+ * @generated
+ */
+ public EAttribute getEXmlElementDecl_Name()
+ {
+ return (EAttribute)eXmlElementDeclEClass.getEStructuralFeatures().get(1);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementDecl#getNamespace <em>Namespace</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Namespace</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementDecl#getNamespace()
+ * @see #getEXmlElementDecl()
+ * @generated
+ */
+ public EAttribute getEXmlElementDecl_Namespace()
+ {
+ return (EAttribute)eXmlElementDeclEClass.getEStructuralFeatures().get(2);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementDecl#getDefaultValue <em>Default Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Default Value</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementDecl#getDefaultValue()
+ * @see #getEXmlElementDecl()
+ * @generated
+ */
+ public EAttribute getEXmlElementDecl_DefaultValue()
+ {
+ return (EAttribute)eXmlElementDeclEClass.getEStructuralFeatures().get(3);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementDecl#getScope <em>Scope</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Scope</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementDecl#getScope()
+ * @see #getEXmlElementDecl()
+ * @generated
+ */
+ public EAttribute getEXmlElementDecl_Scope()
+ {
+ return (EAttribute)eXmlElementDeclEClass.getEStructuralFeatures().get(4);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementDecl#getSubstitutionHeadName <em>Substitution Head Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Substitution Head Name</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementDecl#getSubstitutionHeadName()
+ * @see #getEXmlElementDecl()
+ * @generated
+ */
+ public EAttribute getEXmlElementDecl_SubstitutionHeadName()
+ {
+ return (EAttribute)eXmlElementDeclEClass.getEStructuralFeatures().get(5);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementDecl#getSubstitutionHeadNamespace <em>Substitution Head Namespace</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Substitution Head Namespace</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementDecl#getSubstitutionHeadNamespace()
+ * @see #getEXmlElementDecl()
+ * @generated
+ */
+ public EAttribute getEXmlElementDecl_SubstitutionHeadNamespace()
+ {
+ return (EAttribute)eXmlElementDeclEClass.getEStructuralFeatures().get(6);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementDecl#getType <em>Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Type</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementDecl#getType()
+ * @see #getEXmlElementDecl()
+ * @generated
+ */
+ public EAttribute getEXmlElementDecl_Type()
+ {
+ return (EAttribute)eXmlElementDeclEClass.getEStructuralFeatures().get(7);
+ }
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRef <em>EXml Element Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EXml Element Ref</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRef
+ * @generated
+ */
+ public EClass getEXmlElementRef()
+ {
+ return eXmlElementRefEClass;
+ }
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRef#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRef#getName()
+ * @see #getEXmlElementRef()
+ * @generated
+ */
+ public EAttribute getEXmlElementRef_Name()
+ {
+ return (EAttribute)eXmlElementRefEClass.getEStructuralFeatures().get(0);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRef#getNamespace <em>Namespace</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Namespace</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRef#getNamespace()
+ * @see #getEXmlElementRef()
+ * @generated
+ */
+ public EAttribute getEXmlElementRef_Namespace()
+ {
+ return (EAttribute)eXmlElementRefEClass.getEStructuralFeatures().get(1);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRef#isXmlMixed <em>Xml Mixed</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Xml Mixed</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRef#isXmlMixed()
+ * @see #getEXmlElementRef()
+ * @generated
+ */
+ public EAttribute getEXmlElementRef_XmlMixed()
+ {
+ return (EAttribute)eXmlElementRefEClass.getEStructuralFeatures().get(2);
+ }
+
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRef#getXmlElementWrapper <em>Xml Element Wrapper</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Xml Element Wrapper</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRef#getXmlElementWrapper()
+ * @see #getEXmlElementRef()
+ * @generated
+ */
+ public EReference getEXmlElementRef_XmlElementWrapper()
+ {
+ return (EReference)eXmlElementRefEClass.getEStructuralFeatures().get(3);
+ }
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRefs <em>EXml Element Refs</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EXml Element Refs</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRefs
+ * @generated
+ */
+ public EClass getEXmlElementRefs()
+ {
+ return eXmlElementRefsEClass;
+ }
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRefs#isXmlMixed <em>Xml Mixed</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Xml Mixed</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRefs#isXmlMixed()
+ * @see #getEXmlElementRefs()
+ * @generated
+ */
+ public EAttribute getEXmlElementRefs_XmlMixed()
+ {
+ return (EAttribute)eXmlElementRefsEClass.getEStructuralFeatures().get(0);
+ }
+
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRefs#getXmlElementRefs <em>Xml Element Refs</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Xml Element Refs</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRefs#getXmlElementRefs()
+ * @see #getEXmlElementRefs()
+ * @generated
+ */
+ public EReference getEXmlElementRefs_XmlElementRefs()
+ {
+ return (EReference)eXmlElementRefsEClass.getEStructuralFeatures().get(1);
+ }
+
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRefs#getXmlElementWrapper <em>Xml Element Wrapper</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Xml Element Wrapper</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRefs#getXmlElementWrapper()
+ * @see #getEXmlElementRefs()
+ * @generated
+ */
+ public EReference getEXmlElementRefs_XmlElementWrapper()
+ {
+ return (EReference)eXmlElementRefsEClass.getEStructuralFeatures().get(2);
+ }
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElements <em>EXml Elements</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EXml Elements</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElements
+ * @generated
+ */
+ public EClass getEXmlElements()
+ {
+ return eXmlElementsEClass;
+ }
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElements#isXmlIdRef <em>Xml Id Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Xml Id Ref</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElements#isXmlIdRef()
+ * @see #getEXmlElements()
+ * @generated
+ */
+ public EAttribute getEXmlElements_XmlIdRef()
+ {
+ return (EAttribute)eXmlElementsEClass.getEStructuralFeatures().get(0);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElements#isXmlList <em>Xml List</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Xml List</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElements#isXmlList()
+ * @see #getEXmlElements()
+ * @generated
+ */
+ public EAttribute getEXmlElements_XmlList()
+ {
+ return (EAttribute)eXmlElementsEClass.getEStructuralFeatures().get(1);
+ }
+
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElements#getXmlElements <em>Xml Elements</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Xml Elements</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElements#getXmlElements()
+ * @see #getEXmlElements()
+ * @generated
+ */
+ public EReference getEXmlElements_XmlElements()
+ {
+ return (EReference)eXmlElementsEClass.getEStructuralFeatures().get(2);
+ }
+
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElements#getXmlElementWrapper <em>Xml Element Wrapper</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Xml Element Wrapper</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElements#getXmlElementWrapper()
+ * @see #getEXmlElements()
+ * @generated
+ */
+ public EReference getEXmlElements_XmlElementWrapper()
+ {
+ return (EReference)eXmlElementsEClass.getEStructuralFeatures().get(3);
+ }
+
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElements#getXmlJoinNodes <em>Xml Join Nodes</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Xml Join Nodes</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElements#getXmlJoinNodes()
+ * @see #getEXmlElements()
+ * @generated
+ */
+ public EReference getEXmlElements_XmlJoinNodes()
+ {
+ return (EReference)eXmlElementsEClass.getEStructuralFeatures().get(4);
+ }
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementWrapper <em>EXml Element Wrapper</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EXml Element Wrapper</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementWrapper
+ * @generated
+ */
+ public EClass getEXmlElementWrapper()
+ {
+ return eXmlElementWrapperEClass;
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementWrapper#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementWrapper#getName()
+ * @see #getEXmlElementWrapper()
+ * @generated
+ */
+ public EAttribute getEXmlElementWrapper_Name()
+ {
+ return (EAttribute)eXmlElementWrapperEClass.getEStructuralFeatures().get(0);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementWrapper#getNamespace <em>Namespace</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Namespace</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementWrapper#getNamespace()
+ * @see #getEXmlElementWrapper()
+ * @generated
+ */
+ public EAttribute getEXmlElementWrapper_Namespace()
+ {
+ return (EAttribute)eXmlElementWrapperEClass.getEStructuralFeatures().get(1);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementWrapper#isNillable <em>Nillable</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Nillable</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementWrapper#isNillable()
+ * @see #getEXmlElementWrapper()
+ * @generated
+ */
+ public EAttribute getEXmlElementWrapper_Nillable()
+ {
+ return (EAttribute)eXmlElementWrapperEClass.getEStructuralFeatures().get(2);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementWrapper#isRequired <em>Required</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Required</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementWrapper#isRequired()
+ * @see #getEXmlElementWrapper()
+ * @generated
+ */
+ public EAttribute getEXmlElementWrapper_Required()
+ {
+ return (EAttribute)eXmlElementWrapperEClass.getEStructuralFeatures().get(3);
+ }
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlEnum <em>EXml Enum</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EXml Enum</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlEnum
+ * @generated
+ */
+ public EClass getEXmlEnum()
+ {
+ return eXmlEnumEClass;
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlEnum#getJavaEnum <em>Java Enum</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Java Enum</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlEnum#getJavaEnum()
+ * @see #getEXmlEnum()
+ * @generated
+ */
+ public EAttribute getEXmlEnum_JavaEnum()
+ {
+ return (EAttribute)eXmlEnumEClass.getEStructuralFeatures().get(0);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlEnum#getValue <em>Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Value</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlEnum#getValue()
+ * @see #getEXmlEnum()
+ * @generated
+ */
+ public EAttribute getEXmlEnum_Value()
+ {
+ return (EAttribute)eXmlEnumEClass.getEStructuralFeatures().get(1);
+ }
+
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlEnum#getXmlEnumValues <em>Xml Enum Values</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Xml Enum Values</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlEnum#getXmlEnumValues()
+ * @see #getEXmlEnum()
+ * @generated
+ */
+ public EReference getEXmlEnum_XmlEnumValues()
+ {
+ return (EReference)eXmlEnumEClass.getEStructuralFeatures().get(2);
+ }
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlEnumValue <em>EXml Enum Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EXml Enum Value</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlEnumValue
+ * @generated
+ */
+ public EClass getEXmlEnumValue()
+ {
+ return eXmlEnumValueEClass;
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlEnumValue#getJavaEnumValue <em>Java Enum Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Java Enum Value</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlEnumValue#getJavaEnumValue()
+ * @see #getEXmlEnumValue()
+ * @generated
+ */
+ public EAttribute getEXmlEnumValue_JavaEnumValue()
+ {
+ return (EAttribute)eXmlEnumValueEClass.getEStructuralFeatures().get(0);
+ }
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlInverseReference <em>EXml Inverse Reference</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EXml Inverse Reference</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlInverseReference
+ * @generated
+ */
+ public EClass getEXmlInverseReference()
+ {
+ return eXmlInverseReferenceEClass;
+ }
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlInverseReference#getMappedBy <em>Mapped By</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Mapped By</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlInverseReference#getMappedBy()
+ * @see #getEXmlInverseReference()
+ * @generated
+ */
+ public EAttribute getEXmlInverseReference_MappedBy()
+ {
+ return (EAttribute)eXmlInverseReferenceEClass.getEStructuralFeatures().get(0);
+ }
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlIsSetNullPolicy <em>EXml Is Set Null Policy</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EXml Is Set Null Policy</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlIsSetNullPolicy
+ * @generated
+ */
+ public EClass getEXmlIsSetNullPolicy()
+ {
+ return eXmlIsSetNullPolicyEClass;
+ }
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlIsSetNullPolicy#getIsSetMethodName <em>Is Set Method Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Is Set Method Name</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlIsSetNullPolicy#getIsSetMethodName()
+ * @see #getEXmlIsSetNullPolicy()
+ * @generated
+ */
+ public EAttribute getEXmlIsSetNullPolicy_IsSetMethodName()
+ {
+ return (EAttribute)eXmlIsSetNullPolicyEClass.getEStructuralFeatures().get(0);
+ }
+
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlIsSetNullPolicy#getXmlIsSetParameters <em>Xml Is Set Parameters</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Xml Is Set Parameters</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlIsSetNullPolicy#getXmlIsSetParameters()
+ * @see #getEXmlIsSetNullPolicy()
+ * @generated
+ */
+ public EReference getEXmlIsSetNullPolicy_XmlIsSetParameters()
+ {
+ return (EReference)eXmlIsSetNullPolicyEClass.getEStructuralFeatures().get(1);
+ }
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlIsSetParameter <em>EXml Is Set Parameter</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EXml Is Set Parameter</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlIsSetParameter
+ * @generated
+ */
+ public EClass getEXmlIsSetParameter()
+ {
+ return eXmlIsSetParameterEClass;
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlIsSetParameter#getValue <em>Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Value</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlIsSetParameter#getValue()
+ * @see #getEXmlIsSetParameter()
+ * @generated
+ */
+ public EAttribute getEXmlIsSetParameter_Value()
+ {
+ return (EAttribute)eXmlIsSetParameterEClass.getEStructuralFeatures().get(0);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlIsSetParameter#getType <em>Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Type</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlIsSetParameter#getType()
+ * @see #getEXmlIsSetParameter()
+ * @generated
+ */
+ public EAttribute getEXmlIsSetParameter_Type()
+ {
+ return (EAttribute)eXmlIsSetParameterEClass.getEStructuralFeatures().get(1);
+ }
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlJavaTypeAdapter <em>EXml Java Type Adapter</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EXml Java Type Adapter</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlJavaTypeAdapter
+ * @generated
+ */
+ public EClass getEXmlJavaTypeAdapter()
+ {
+ return eXmlJavaTypeAdapterEClass;
+ }
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlJavaTypeAdapter#getValue <em>Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Value</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlJavaTypeAdapter#getValue()
+ * @see #getEXmlJavaTypeAdapter()
+ * @generated
+ */
+ public EAttribute getEXmlJavaTypeAdapter_Value()
+ {
+ return (EAttribute)eXmlJavaTypeAdapterEClass.getEStructuralFeatures().get(0);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlJavaTypeAdapter#getType <em>Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Type</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlJavaTypeAdapter#getType()
+ * @see #getEXmlJavaTypeAdapter()
+ * @generated
+ */
+ public EAttribute getEXmlJavaTypeAdapter_Type()
+ {
+ return (EAttribute)eXmlJavaTypeAdapterEClass.getEStructuralFeatures().get(1);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlJavaTypeAdapter#getValueType <em>Value Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Value Type</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlJavaTypeAdapter#getValueType()
+ * @see #getEXmlJavaTypeAdapter()
+ * @generated
+ */
+ public EAttribute getEXmlJavaTypeAdapter_ValueType()
+ {
+ return (EAttribute)eXmlJavaTypeAdapterEClass.getEStructuralFeatures().get(2);
+ }
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlJoinNode <em>EXml Join Node</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EXml Join Node</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlJoinNode
+ * @generated
+ */
+ public EClass getEXmlJoinNode()
+ {
+ return eXmlJoinNodeEClass;
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlJoinNode#getXmlPath <em>Xml Path</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Xml Path</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlJoinNode#getXmlPath()
+ * @see #getEXmlJoinNode()
+ * @generated
+ */
+ public EAttribute getEXmlJoinNode_XmlPath()
+ {
+ return (EAttribute)eXmlJoinNodeEClass.getEStructuralFeatures().get(0);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlJoinNode#getReferencedXmlPath <em>Referenced Xml Path</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Referenced Xml Path</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlJoinNode#getReferencedXmlPath()
+ * @see #getEXmlJoinNode()
+ * @generated
+ */
+ public EAttribute getEXmlJoinNode_ReferencedXmlPath()
+ {
+ return (EAttribute)eXmlJoinNodeEClass.getEStructuralFeatures().get(1);
+ }
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlJoinNodes <em>EXml Join Nodes</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EXml Join Nodes</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlJoinNodes
+ * @generated
+ */
+ public EClass getEXmlJoinNodes()
+ {
+ return eXmlJoinNodesEClass;
+ }
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlJoinNodes#getXmlJoinNodes <em>Xml Join Nodes</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Xml Join Nodes</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlJoinNodes#getXmlJoinNodes()
+ * @see #getEXmlJoinNodes()
+ * @generated
+ */
+ public EReference getEXmlJoinNodes_XmlJoinNodes()
+ {
+ return (EReference)eXmlJoinNodesEClass.getEStructuralFeatures().get(0);
+ }
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlMap <em>EXml Map</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EXml Map</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlMap
+ * @generated
+ */
+ public EClass getEXmlMap()
+ {
+ return eXmlMapEClass;
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlMap#getKey <em>Key</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Key</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlMap#getKey()
+ * @see #getEXmlMap()
+ * @generated
+ */
+ public EAttribute getEXmlMap_Key()
+ {
+ return (EAttribute)eXmlMapEClass.getEStructuralFeatures().get(0);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlMap#getValue <em>Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Value</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlMap#getValue()
+ * @see #getEXmlMap()
+ * @generated
+ */
+ public EAttribute getEXmlMap_Value()
+ {
+ return (EAttribute)eXmlMapEClass.getEStructuralFeatures().get(1);
+ }
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlNullPolicy <em>EXml Null Policy</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EXml Null Policy</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlNullPolicy
+ * @generated
+ */
+ public EClass getEXmlNullPolicy()
+ {
+ return eXmlNullPolicyEClass;
+ }
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlNullPolicy#isIsSetPerformedForAbsentNode <em>Is Set Performed For Absent Node</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Is Set Performed For Absent Node</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlNullPolicy#isIsSetPerformedForAbsentNode()
+ * @see #getEXmlNullPolicy()
+ * @generated
+ */
+ public EAttribute getEXmlNullPolicy_IsSetPerformedForAbsentNode()
+ {
+ return (EAttribute)eXmlNullPolicyEClass.getEStructuralFeatures().get(0);
+ }
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlNs <em>EXml Ns</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EXml Ns</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlNs
+ * @generated
+ */
+ public EClass getEXmlNs()
+ {
+ return eXmlNsEClass;
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlNs#getNamespaceUri <em>Namespace Uri</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Namespace Uri</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlNs#getNamespaceUri()
+ * @see #getEXmlNs()
+ * @generated
+ */
+ public EAttribute getEXmlNs_NamespaceUri()
+ {
+ return (EAttribute)eXmlNsEClass.getEStructuralFeatures().get(0);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlNs#getPrefix <em>Prefix</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Prefix</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlNs#getPrefix()
+ * @see #getEXmlNs()
+ * @generated
+ */
+ public EAttribute getEXmlNs_Prefix()
+ {
+ return (EAttribute)eXmlNsEClass.getEStructuralFeatures().get(1);
+ }
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlProperty <em>EXml Property</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EXml Property</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlProperty
+ * @generated
+ */
+ public EClass getEXmlProperty()
+ {
+ return eXmlPropertyEClass;
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlProperty#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlProperty#getName()
+ * @see #getEXmlProperty()
+ * @generated
+ */
+ public EAttribute getEXmlProperty_Name()
+ {
+ return (EAttribute)eXmlPropertyEClass.getEStructuralFeatures().get(0);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlProperty#getValue <em>Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Value</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlProperty#getValue()
+ * @see #getEXmlProperty()
+ * @generated
+ */
+ public EAttribute getEXmlProperty_Value()
+ {
+ return (EAttribute)eXmlPropertyEClass.getEStructuralFeatures().get(1);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlProperty#getValueType <em>Value Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Value Type</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlProperty#getValueType()
+ * @see #getEXmlProperty()
+ * @generated
+ */
+ public EAttribute getEXmlProperty_ValueType()
+ {
+ return (EAttribute)eXmlPropertyEClass.getEStructuralFeatures().get(2);
+ }
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlReadTransformer <em>EXml Read Transformer</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EXml Read Transformer</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlReadTransformer
+ * @generated
+ */
+ public EClass getEXmlReadTransformer()
+ {
+ return eXmlReadTransformerEClass;
+ }
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlRegistry <em>EXml Registry</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EXml Registry</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlRegistry
+ * @generated
+ */
+ public EClass getEXmlRegistry()
+ {
+ return eXmlRegistryEClass;
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlRegistry#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlRegistry#getName()
+ * @see #getEXmlRegistry()
+ * @generated
+ */
+ public EAttribute getEXmlRegistry_Name()
+ {
+ return (EAttribute)eXmlRegistryEClass.getEStructuralFeatures().get(0);
+ }
+
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlRegistry#getXmlElementDecls <em>Xml Element Decls</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Xml Element Decls</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlRegistry#getXmlElementDecls()
+ * @see #getEXmlRegistry()
+ * @generated
+ */
+ public EReference getEXmlRegistry_XmlElementDecls()
+ {
+ return (EReference)eXmlRegistryEClass.getEStructuralFeatures().get(1);
+ }
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlRootElement <em>EXml Root Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EXml Root Element</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlRootElement
+ * @generated
+ */
+ public EClass getEXmlRootElement()
+ {
+ return eXmlRootElementEClass;
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlRootElement#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlRootElement#getName()
+ * @see #getEXmlRootElement()
+ * @generated
+ */
+ public EAttribute getEXmlRootElement_Name()
+ {
+ return (EAttribute)eXmlRootElementEClass.getEStructuralFeatures().get(0);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlRootElement#getNamespace <em>Namespace</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Namespace</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlRootElement#getNamespace()
+ * @see #getEXmlRootElement()
+ * @generated
+ */
+ public EAttribute getEXmlRootElement_Namespace()
+ {
+ return (EAttribute)eXmlRootElementEClass.getEStructuralFeatures().get(1);
+ }
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlSchema <em>EXml Schema</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EXml Schema</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlSchema
+ * @generated
+ */
+ public EClass getEXmlSchema()
+ {
+ return eXmlSchemaEClass;
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlSchema#getAttributeFormDefault <em>Attribute Form Default</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attribute Form Default</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlSchema#getAttributeFormDefault()
+ * @see #getEXmlSchema()
+ * @generated
+ */
+ public EAttribute getEXmlSchema_AttributeFormDefault()
+ {
+ return (EAttribute)eXmlSchemaEClass.getEStructuralFeatures().get(0);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlSchema#getElementFormDefault <em>Element Form Default</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Element Form Default</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlSchema#getElementFormDefault()
+ * @see #getEXmlSchema()
+ * @generated
+ */
+ public EAttribute getEXmlSchema_ElementFormDefault()
+ {
+ return (EAttribute)eXmlSchemaEClass.getEStructuralFeatures().get(1);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlSchema#getLocation <em>Location</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Location</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlSchema#getLocation()
+ * @see #getEXmlSchema()
+ * @generated
+ */
+ public EAttribute getEXmlSchema_Location()
+ {
+ return (EAttribute)eXmlSchemaEClass.getEStructuralFeatures().get(2);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlSchema#getNamespace <em>Namespace</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Namespace</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlSchema#getNamespace()
+ * @see #getEXmlSchema()
+ * @generated
+ */
+ public EAttribute getEXmlSchema_Namespace()
+ {
+ return (EAttribute)eXmlSchemaEClass.getEStructuralFeatures().get(3);
+ }
+
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlSchema#getXmlns <em>Xmlns</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Xmlns</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlSchema#getXmlns()
+ * @see #getEXmlSchema()
+ * @generated
+ */
+ public EReference getEXmlSchema_Xmlns()
+ {
+ return (EReference)eXmlSchemaEClass.getEStructuralFeatures().get(4);
+ }
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlSchemaType <em>EXml Schema Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EXml Schema Type</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlSchemaType
+ * @generated
+ */
+ public EClass getEXmlSchemaType()
+ {
+ return eXmlSchemaTypeEClass;
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlSchemaType#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlSchemaType#getName()
+ * @see #getEXmlSchemaType()
+ * @generated
+ */
+ public EAttribute getEXmlSchemaType_Name()
+ {
+ return (EAttribute)eXmlSchemaTypeEClass.getEStructuralFeatures().get(0);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlSchemaType#getNamespace <em>Namespace</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Namespace</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlSchemaType#getNamespace()
+ * @see #getEXmlSchemaType()
+ * @generated
+ */
+ public EAttribute getEXmlSchemaType_Namespace()
+ {
+ return (EAttribute)eXmlSchemaTypeEClass.getEStructuralFeatures().get(1);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlSchemaType#getType <em>Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Type</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlSchemaType#getType()
+ * @see #getEXmlSchemaType()
+ * @generated
+ */
+ public EAttribute getEXmlSchemaType_Type()
+ {
+ return (EAttribute)eXmlSchemaTypeEClass.getEStructuralFeatures().get(2);
+ }
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlTransformation <em>EXml Transformation</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EXml Transformation</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlTransformation
+ * @generated
+ */
+ public EClass getEXmlTransformation()
+ {
+ return eXmlTransformationEClass;
+ }
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlTransformation#isOptional <em>Optional</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Optional</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlTransformation#isOptional()
+ * @see #getEXmlTransformation()
+ * @generated
+ */
+ public EAttribute getEXmlTransformation_Optional()
+ {
+ return (EAttribute)eXmlTransformationEClass.getEStructuralFeatures().get(0);
+ }
+
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlTransformation#getXmlReadTransformer <em>Xml Read Transformer</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Xml Read Transformer</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlTransformation#getXmlReadTransformer()
+ * @see #getEXmlTransformation()
+ * @generated
+ */
+ public EReference getEXmlTransformation_XmlReadTransformer()
+ {
+ return (EReference)eXmlTransformationEClass.getEStructuralFeatures().get(1);
+ }
+
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlTransformation#getXmlWriteTransformers <em>Xml Write Transformers</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Xml Write Transformers</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlTransformation#getXmlWriteTransformers()
+ * @see #getEXmlTransformation()
+ * @generated
+ */
+ public EReference getEXmlTransformation_XmlWriteTransformers()
+ {
+ return (EReference)eXmlTransformationEClass.getEStructuralFeatures().get(2);
+ }
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlTransient <em>EXml Transient</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EXml Transient</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlTransient
+ * @generated
+ */
+ public EClass getEXmlTransient()
+ {
+ return eXmlTransientEClass;
+ }
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlTransient#isXmlLocation <em>Xml Location</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Xml Location</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlTransient#isXmlLocation()
+ * @see #getEXmlTransient()
+ * @generated
+ */
+ public EAttribute getEXmlTransient_XmlLocation()
+ {
+ return (EAttribute)eXmlTransientEClass.getEStructuralFeatures().get(0);
+ }
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlType <em>EXml Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EXml Type</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlType
+ * @generated
+ */
+ public EClass getEXmlType()
+ {
+ return eXmlTypeEClass;
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlType#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlType#getName()
+ * @see #getEXmlType()
+ * @generated
+ */
+ public EAttribute getEXmlType_Name()
+ {
+ return (EAttribute)eXmlTypeEClass.getEStructuralFeatures().get(0);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlType#getNamespace <em>Namespace</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Namespace</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlType#getNamespace()
+ * @see #getEXmlType()
+ * @generated
+ */
+ public EAttribute getEXmlType_Namespace()
+ {
+ return (EAttribute)eXmlTypeEClass.getEStructuralFeatures().get(1);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlType#getFactoryClass <em>Factory Class</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Factory Class</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlType#getFactoryClass()
+ * @see #getEXmlType()
+ * @generated
+ */
+ public EAttribute getEXmlType_FactoryClass()
+ {
+ return (EAttribute)eXmlTypeEClass.getEStructuralFeatures().get(2);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlType#getFactoryMethod <em>Factory Method</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Factory Method</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlType#getFactoryMethod()
+ * @see #getEXmlType()
+ * @generated
+ */
+ public EAttribute getEXmlType_FactoryMethod()
+ {
+ return (EAttribute)eXmlTypeEClass.getEStructuralFeatures().get(3);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlType#getPropOrder <em>Prop Order</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Prop Order</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlType#getPropOrder()
+ * @see #getEXmlType()
+ * @generated
+ */
+ public EAttribute getEXmlType_PropOrder()
+ {
+ return (EAttribute)eXmlTypeEClass.getEStructuralFeatures().get(4);
+ }
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlValue <em>EXml Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EXml Value</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlValue
+ * @generated
+ */
+ public EClass getEXmlValue()
+ {
+ return eXmlValueEClass;
+ }
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlValue#isCdata <em>Cdata</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Cdata</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlValue#isCdata()
+ * @see #getEXmlValue()
+ * @generated
+ */
+ public EAttribute getEXmlValue_Cdata()
+ {
+ return (EAttribute)eXmlValueEClass.getEStructuralFeatures().get(0);
+ }
+
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlValue#getXmlAbstractNullPolicy <em>Xml Abstract Null Policy</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Xml Abstract Null Policy</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlValue#getXmlAbstractNullPolicy()
+ * @see #getEXmlValue()
+ * @generated
+ */
+ public EReference getEXmlValue_XmlAbstractNullPolicy()
+ {
+ return (EReference)eXmlValueEClass.getEStructuralFeatures().get(1);
+ }
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlVirtualAccessMethods <em>EXml Virtual Access Methods</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EXml Virtual Access Methods</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlVirtualAccessMethods
+ * @generated
+ */
+ public EClass getEXmlVirtualAccessMethods()
+ {
+ return eXmlVirtualAccessMethodsEClass;
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlVirtualAccessMethods#getGetMethod <em>Get Method</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Get Method</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlVirtualAccessMethods#getGetMethod()
+ * @see #getEXmlVirtualAccessMethods()
+ * @generated
+ */
+ public EAttribute getEXmlVirtualAccessMethods_GetMethod()
+ {
+ return (EAttribute)eXmlVirtualAccessMethodsEClass.getEStructuralFeatures().get(0);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlVirtualAccessMethods#getSetMethod <em>Set Method</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Set Method</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlVirtualAccessMethods#getSetMethod()
+ * @see #getEXmlVirtualAccessMethods()
+ * @generated
+ */
+ public EAttribute getEXmlVirtualAccessMethods_SetMethod()
+ {
+ return (EAttribute)eXmlVirtualAccessMethodsEClass.getEStructuralFeatures().get(1);
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlVirtualAccessMethods#getSchema <em>Schema</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Schema</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlVirtualAccessMethods#getSchema()
+ * @see #getEXmlVirtualAccessMethods()
+ * @generated
+ */
+ public EAttribute getEXmlVirtualAccessMethods_Schema()
+ {
+ return (EAttribute)eXmlVirtualAccessMethodsEClass.getEStructuralFeatures().get(2);
+ }
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlWriteTransformer <em>EXml Write Transformer</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>EXml Write Transformer</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlWriteTransformer
+ * @generated
+ */
+ public EClass getEXmlWriteTransformer()
+ {
+ return eXmlWriteTransformerEClass;
+ }
+
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlWriteTransformer#getXmlPath <em>Xml Path</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Xml Path</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlWriteTransformer#getXmlPath()
+ * @see #getEXmlWriteTransformer()
+ * @generated
+ */
+ public EAttribute getEXmlWriteTransformer_XmlPath()
+ {
+ return (EAttribute)eXmlWriteTransformerEClass.getEStructuralFeatures().get(0);
+ }
+
+
+ /**
+ * Returns the meta object for enum '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAccessOrder <em>EXml Access Order</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for enum '<em>EXml Access Order</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAccessOrder
+ * @generated
+ */
+ public EEnum getEXmlAccessOrder()
+ {
+ return eXmlAccessOrderEEnum;
+ }
+
+
+ /**
+ * Returns the meta object for enum '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAccessType <em>EXml Access Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for enum '<em>EXml Access Type</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAccessType
+ * @generated
+ */
+ public EEnum getEXmlAccessType()
+ {
+ return eXmlAccessTypeEEnum;
+ }
+
+
+ /**
+ * Returns the meta object for enum '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlMarshalNullRepresentation <em>EXml Marshal Null Representation</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for enum '<em>EXml Marshal Null Representation</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlMarshalNullRepresentation
+ * @generated
+ */
+ public EEnum getEXmlMarshalNullRepresentation()
+ {
+ return eXmlMarshalNullRepresentationEEnum;
+ }
+
+
+ /**
+ * Returns the meta object for enum '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlNsForm <em>EXml Ns Form</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for enum '<em>EXml Ns Form</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlNsForm
+ * @generated
+ */
+ public EEnum getEXmlNsForm()
+ {
+ return eXmlNsFormEEnum;
+ }
+
+
+ /**
+ * Returns the meta object for enum '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlVirtualAccessMethodsSchema <em>EXml Virtual Access Methods Schema</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for enum '<em>EXml Virtual Access Methods Schema</em>'.
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlVirtualAccessMethodsSchema
+ * @generated
+ */
+ public EEnum getEXmlVirtualAccessMethodsSchema()
+ {
+ return eXmlVirtualAccessMethodsSchemaEEnum;
+ }
+
+
+ /**
+ * Returns the meta object for data type '{@link java.util.List <em>EProp Order</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for data type '<em>EProp Order</em>'.
+ * @see java.util.List
+ * @model instanceClass="java.util.List"
+ * extendedMetaData="itemType='http://www.eclipse.org/emf/2003/XMLType#string'"
+ * @generated
+ */
+ public EDataType getEPropOrder()
+ {
+ return ePropOrderEDataType;
+ }
+
+
+ /**
+ * Returns the meta object for data type '{@link java.util.List <em>EXml See Also</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for data type '<em>EXml See Also</em>'.
+ * @see java.util.List
+ * @model instanceClass="java.util.List"
+ * extendedMetaData="itemType='http://www.eclipse.org/emf/2003/XMLType#string'"
+ * @generated
+ */
+ public EDataType getEXmlSeeAlso()
+ {
+ return eXmlSeeAlsoEDataType;
+ }
+
+
+ /**
+ * Returns the factory that creates the instances of the model.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the factory that creates the instances of the model.
+ * @generated
+ */
+ public OxmFactory getOxmFactory()
+ {
+ return (OxmFactory)getEFactoryInstance();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private boolean isCreated = false;
+
+ /**
+ * Creates the meta-model objects for the package. This method is
+ * guarded to have no affect on any invocation but its first.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void createPackageContents()
+ {
+ if (isCreated) return;
+ isCreated = true;
+
+ // Create classes and their features
+ eAbstractXmlNullPolicyEClass = createEClass(EABSTRACT_XML_NULL_POLICY);
+ createEAttribute(eAbstractXmlNullPolicyEClass, EABSTRACT_XML_NULL_POLICY__XSI_NIL_REPRESENTS_NULL);
+ createEAttribute(eAbstractXmlNullPolicyEClass, EABSTRACT_XML_NULL_POLICY__EMPTY_NODE_REPRESENTS_NULL);
+ createEAttribute(eAbstractXmlNullPolicyEClass, EABSTRACT_XML_NULL_POLICY__NULL_REPRESENTATION_FOR_XML);
+
+ eAbstractXmlTransformerEClass = createEClass(EABSTRACT_XML_TRANSFORMER);
+ createEAttribute(eAbstractXmlTransformerEClass, EABSTRACT_XML_TRANSFORMER__METHOD);
+ createEAttribute(eAbstractXmlTransformerEClass, EABSTRACT_XML_TRANSFORMER__TRANSFORMER_CLASS);
+
+ eAccessibleJavaAttributeEClass = createEClass(EACCESSIBLE_JAVA_ATTRIBUTE);
+ createEReference(eAccessibleJavaAttributeEClass, EACCESSIBLE_JAVA_ATTRIBUTE__XML_ACCESS_METHODS);
+
+ eAdaptableJavaAttributeEClass = createEClass(EADAPTABLE_JAVA_ATTRIBUTE);
+ createEReference(eAdaptableJavaAttributeEClass, EADAPTABLE_JAVA_ATTRIBUTE__XML_JAVA_TYPE_ADAPTER);
+
+ eContainerJavaAttributeEClass = createEClass(ECONTAINER_JAVA_ATTRIBUTE);
+ createEAttribute(eContainerJavaAttributeEClass, ECONTAINER_JAVA_ATTRIBUTE__CONTAINER_TYPE);
+
+ eJavaAttributeEClass = createEClass(EJAVA_ATTRIBUTE);
+ createEAttribute(eJavaAttributeEClass, EJAVA_ATTRIBUTE__JAVA_ATTRIBUTE);
+ createEAttribute(eJavaAttributeEClass, EJAVA_ATTRIBUTE__XML_ACCESSOR_TYPE);
+
+ eJavaTypeEClass = createEClass(EJAVA_TYPE);
+ createEAttribute(eJavaTypeEClass, EJAVA_TYPE__NAME);
+ createEAttribute(eJavaTypeEClass, EJAVA_TYPE__SUPER_TYPE);
+ createEAttribute(eJavaTypeEClass, EJAVA_TYPE__XML_ACCESSOR_ORDER);
+ createEAttribute(eJavaTypeEClass, EJAVA_TYPE__XML_ACCESSOR_TYPE);
+ createEAttribute(eJavaTypeEClass, EJAVA_TYPE__XML_CUSTOMIZER);
+ createEAttribute(eJavaTypeEClass, EJAVA_TYPE__XML_DISCRIMINATOR_NODE);
+ createEAttribute(eJavaTypeEClass, EJAVA_TYPE__XML_DISCRIMINATOR_VALUE);
+ createEAttribute(eJavaTypeEClass, EJAVA_TYPE__XML_INLINE_BINARY_DATA);
+ createEAttribute(eJavaTypeEClass, EJAVA_TYPE__XML_TRANSIENT);
+ createEAttribute(eJavaTypeEClass, EJAVA_TYPE__XML_NAME_TRANSFORMER);
+ createEReference(eJavaTypeEClass, EJAVA_TYPE__XML_TYPE);
+ createEReference(eJavaTypeEClass, EJAVA_TYPE__XML_ROOT_ELEMENT);
+ createEReference(eJavaTypeEClass, EJAVA_TYPE__XML_VIRTUAL_ACCESS_METHODS);
+ createEAttribute(eJavaTypeEClass, EJAVA_TYPE__XML_SEE_ALSO);
+ createEReference(eJavaTypeEClass, EJAVA_TYPE__XML_JAVA_TYPE_ADAPTER);
+ createEReference(eJavaTypeEClass, EJAVA_TYPE__XML_CLASS_EXTRACTOR);
+ createEReference(eJavaTypeEClass, EJAVA_TYPE__JAVA_ATTRIBUTES);
+
+ ePropertyHolderEClass = createEClass(EPROPERTY_HOLDER);
+ createEReference(ePropertyHolderEClass, EPROPERTY_HOLDER__XML_PROPERTIES);
+
+ eReadWriteJavaAttributeEClass = createEClass(EREAD_WRITE_JAVA_ATTRIBUTE);
+ createEAttribute(eReadWriteJavaAttributeEClass, EREAD_WRITE_JAVA_ATTRIBUTE__READ_ONLY);
+ createEAttribute(eReadWriteJavaAttributeEClass, EREAD_WRITE_JAVA_ATTRIBUTE__WRITE_ONLY);
+
+ eTypedJavaAttributeEClass = createEClass(ETYPED_JAVA_ATTRIBUTE);
+ createEAttribute(eTypedJavaAttributeEClass, ETYPED_JAVA_ATTRIBUTE__TYPE);
+
+ eXmlAccessMethodsEClass = createEClass(EXML_ACCESS_METHODS);
+ createEAttribute(eXmlAccessMethodsEClass, EXML_ACCESS_METHODS__GET_METHOD);
+ createEAttribute(eXmlAccessMethodsEClass, EXML_ACCESS_METHODS__SET_METHOD);
+
+ eXmlAnyAttributeEClass = createEClass(EXML_ANY_ATTRIBUTE);
+ createEAttribute(eXmlAnyAttributeEClass, EXML_ANY_ATTRIBUTE__XML_PATH);
+
+ eXmlAnyElementEClass = createEClass(EXML_ANY_ELEMENT);
+ createEAttribute(eXmlAnyElementEClass, EXML_ANY_ELEMENT__XML_MIXED);
+ createEAttribute(eXmlAnyElementEClass, EXML_ANY_ELEMENT__LAX);
+ createEAttribute(eXmlAnyElementEClass, EXML_ANY_ELEMENT__DOM_HANDLER);
+ createEAttribute(eXmlAnyElementEClass, EXML_ANY_ELEMENT__XML_PATH);
+ createEReference(eXmlAnyElementEClass, EXML_ANY_ELEMENT__XML_ELEMENT_REFS);
+
+ eXmlAttributeEClass = createEClass(EXML_ATTRIBUTE);
+ createEAttribute(eXmlAttributeEClass, EXML_ATTRIBUTE__NAME);
+ createEAttribute(eXmlAttributeEClass, EXML_ATTRIBUTE__NAMESPACE);
+ createEAttribute(eXmlAttributeEClass, EXML_ATTRIBUTE__REQUIRED);
+ createEAttribute(eXmlAttributeEClass, EXML_ATTRIBUTE__XML_ID);
+ createEAttribute(eXmlAttributeEClass, EXML_ATTRIBUTE__XML_ID_REF);
+ createEAttribute(eXmlAttributeEClass, EXML_ATTRIBUTE__XML_KEY);
+ createEAttribute(eXmlAttributeEClass, EXML_ATTRIBUTE__XML_LIST);
+ createEAttribute(eXmlAttributeEClass, EXML_ATTRIBUTE__XML_INLINE_BINARY_DATA);
+ createEAttribute(eXmlAttributeEClass, EXML_ATTRIBUTE__XML_ATTACHMENT_REF);
+ createEAttribute(eXmlAttributeEClass, EXML_ATTRIBUTE__XML_MIME_TYPE);
+ createEAttribute(eXmlAttributeEClass, EXML_ATTRIBUTE__XML_PATH);
+ createEReference(eXmlAttributeEClass, EXML_ATTRIBUTE__XML_ABSTRACT_NULL_POLICY);
+ createEReference(eXmlAttributeEClass, EXML_ATTRIBUTE__XML_SCHEMA_TYPE);
+
+ eXmlBindingsEClass = createEClass(EXML_BINDINGS);
+ createEAttribute(eXmlBindingsEClass, EXML_BINDINGS__XML_ACCESSOR_TYPE);
+ createEAttribute(eXmlBindingsEClass, EXML_BINDINGS__XML_ACCESSOR_ORDER);
+ createEAttribute(eXmlBindingsEClass, EXML_BINDINGS__XML_MAPPING_METADATA_COMPLETE);
+ createEAttribute(eXmlBindingsEClass, EXML_BINDINGS__PACKAGE_NAME);
+ createEAttribute(eXmlBindingsEClass, EXML_BINDINGS__XML_NAME_TRANSFORMER);
+ createEReference(eXmlBindingsEClass, EXML_BINDINGS__XML_SCHEMA);
+ createEReference(eXmlBindingsEClass, EXML_BINDINGS__XML_SCHEMA_TYPE);
+ createEReference(eXmlBindingsEClass, EXML_BINDINGS__XML_SCHEMA_TYPES);
+ createEReference(eXmlBindingsEClass, EXML_BINDINGS__XML_JAVA_TYPE_ADAPTERS);
+ createEReference(eXmlBindingsEClass, EXML_BINDINGS__XML_REGISTRIES);
+ createEReference(eXmlBindingsEClass, EXML_BINDINGS__XML_ENUMS);
+ createEReference(eXmlBindingsEClass, EXML_BINDINGS__JAVA_TYPES);
+
+ eXmlClassExtractorEClass = createEClass(EXML_CLASS_EXTRACTOR);
+ createEAttribute(eXmlClassExtractorEClass, EXML_CLASS_EXTRACTOR__CLASS_NAME);
+
+ eXmlElementEClass = createEClass(EXML_ELEMENT);
+ createEAttribute(eXmlElementEClass, EXML_ELEMENT__NAME);
+ createEAttribute(eXmlElementEClass, EXML_ELEMENT__NAMESPACE);
+ createEAttribute(eXmlElementEClass, EXML_ELEMENT__DEFAULT_VALUE);
+ createEAttribute(eXmlElementEClass, EXML_ELEMENT__NILLABLE);
+ createEAttribute(eXmlElementEClass, EXML_ELEMENT__REQUIRED);
+ createEAttribute(eXmlElementEClass, EXML_ELEMENT__XML_ID);
+ createEAttribute(eXmlElementEClass, EXML_ELEMENT__XML_ID_REF);
+ createEAttribute(eXmlElementEClass, EXML_ELEMENT__XML_KEY);
+ createEAttribute(eXmlElementEClass, EXML_ELEMENT__XML_LIST);
+ createEAttribute(eXmlElementEClass, EXML_ELEMENT__XML_INLINE_BINARY_DATA);
+ createEAttribute(eXmlElementEClass, EXML_ELEMENT__XML_ATTACHMENT_REF);
+ createEAttribute(eXmlElementEClass, EXML_ELEMENT__XML_MIME_TYPE);
+ createEAttribute(eXmlElementEClass, EXML_ELEMENT__CDATA);
+ createEAttribute(eXmlElementEClass, EXML_ELEMENT__XML_PATH);
+ createEAttribute(eXmlElementEClass, EXML_ELEMENT__XML_LOCATION);
+ createEReference(eXmlElementEClass, EXML_ELEMENT__XML_ABSTRACT_NULL_POLICY);
+ createEReference(eXmlElementEClass, EXML_ELEMENT__XML_ELEMENT_WRAPPER);
+ createEReference(eXmlElementEClass, EXML_ELEMENT__XML_MAP);
+ createEReference(eXmlElementEClass, EXML_ELEMENT__XML_SCHEMA_TYPE);
+
+ eXmlElementDeclEClass = createEClass(EXML_ELEMENT_DECL);
+ createEAttribute(eXmlElementDeclEClass, EXML_ELEMENT_DECL__JAVA_METHOD);
+ createEAttribute(eXmlElementDeclEClass, EXML_ELEMENT_DECL__NAME);
+ createEAttribute(eXmlElementDeclEClass, EXML_ELEMENT_DECL__NAMESPACE);
+ createEAttribute(eXmlElementDeclEClass, EXML_ELEMENT_DECL__DEFAULT_VALUE);
+ createEAttribute(eXmlElementDeclEClass, EXML_ELEMENT_DECL__SCOPE);
+ createEAttribute(eXmlElementDeclEClass, EXML_ELEMENT_DECL__SUBSTITUTION_HEAD_NAME);
+ createEAttribute(eXmlElementDeclEClass, EXML_ELEMENT_DECL__SUBSTITUTION_HEAD_NAMESPACE);
+ createEAttribute(eXmlElementDeclEClass, EXML_ELEMENT_DECL__TYPE);
+
+ eXmlElementRefEClass = createEClass(EXML_ELEMENT_REF);
+ createEAttribute(eXmlElementRefEClass, EXML_ELEMENT_REF__NAME);
+ createEAttribute(eXmlElementRefEClass, EXML_ELEMENT_REF__NAMESPACE);
+ createEAttribute(eXmlElementRefEClass, EXML_ELEMENT_REF__XML_MIXED);
+ createEReference(eXmlElementRefEClass, EXML_ELEMENT_REF__XML_ELEMENT_WRAPPER);
+
+ eXmlElementRefsEClass = createEClass(EXML_ELEMENT_REFS);
+ createEAttribute(eXmlElementRefsEClass, EXML_ELEMENT_REFS__XML_MIXED);
+ createEReference(eXmlElementRefsEClass, EXML_ELEMENT_REFS__XML_ELEMENT_REFS);
+ createEReference(eXmlElementRefsEClass, EXML_ELEMENT_REFS__XML_ELEMENT_WRAPPER);
+
+ eXmlElementsEClass = createEClass(EXML_ELEMENTS);
+ createEAttribute(eXmlElementsEClass, EXML_ELEMENTS__XML_ID_REF);
+ createEAttribute(eXmlElementsEClass, EXML_ELEMENTS__XML_LIST);
+ createEReference(eXmlElementsEClass, EXML_ELEMENTS__XML_ELEMENTS);
+ createEReference(eXmlElementsEClass, EXML_ELEMENTS__XML_ELEMENT_WRAPPER);
+ createEReference(eXmlElementsEClass, EXML_ELEMENTS__XML_JOIN_NODES);
+
+ eXmlElementWrapperEClass = createEClass(EXML_ELEMENT_WRAPPER);
+ createEAttribute(eXmlElementWrapperEClass, EXML_ELEMENT_WRAPPER__NAME);
+ createEAttribute(eXmlElementWrapperEClass, EXML_ELEMENT_WRAPPER__NAMESPACE);
+ createEAttribute(eXmlElementWrapperEClass, EXML_ELEMENT_WRAPPER__NILLABLE);
+ createEAttribute(eXmlElementWrapperEClass, EXML_ELEMENT_WRAPPER__REQUIRED);
+
+ eXmlEnumEClass = createEClass(EXML_ENUM);
+ createEAttribute(eXmlEnumEClass, EXML_ENUM__JAVA_ENUM);
+ createEAttribute(eXmlEnumEClass, EXML_ENUM__VALUE);
+ createEReference(eXmlEnumEClass, EXML_ENUM__XML_ENUM_VALUES);
+
+ eXmlEnumValueEClass = createEClass(EXML_ENUM_VALUE);
+ createEAttribute(eXmlEnumValueEClass, EXML_ENUM_VALUE__JAVA_ENUM_VALUE);
+
+ eXmlInverseReferenceEClass = createEClass(EXML_INVERSE_REFERENCE);
+ createEAttribute(eXmlInverseReferenceEClass, EXML_INVERSE_REFERENCE__MAPPED_BY);
+
+ eXmlIsSetNullPolicyEClass = createEClass(EXML_IS_SET_NULL_POLICY);
+ createEAttribute(eXmlIsSetNullPolicyEClass, EXML_IS_SET_NULL_POLICY__IS_SET_METHOD_NAME);
+ createEReference(eXmlIsSetNullPolicyEClass, EXML_IS_SET_NULL_POLICY__XML_IS_SET_PARAMETERS);
+
+ eXmlIsSetParameterEClass = createEClass(EXML_IS_SET_PARAMETER);
+ createEAttribute(eXmlIsSetParameterEClass, EXML_IS_SET_PARAMETER__VALUE);
+ createEAttribute(eXmlIsSetParameterEClass, EXML_IS_SET_PARAMETER__TYPE);
+
+ eXmlJavaTypeAdapterEClass = createEClass(EXML_JAVA_TYPE_ADAPTER);
+ createEAttribute(eXmlJavaTypeAdapterEClass, EXML_JAVA_TYPE_ADAPTER__VALUE);
+ createEAttribute(eXmlJavaTypeAdapterEClass, EXML_JAVA_TYPE_ADAPTER__TYPE);
+ createEAttribute(eXmlJavaTypeAdapterEClass, EXML_JAVA_TYPE_ADAPTER__VALUE_TYPE);
+
+ eXmlJoinNodeEClass = createEClass(EXML_JOIN_NODE);
+ createEAttribute(eXmlJoinNodeEClass, EXML_JOIN_NODE__XML_PATH);
+ createEAttribute(eXmlJoinNodeEClass, EXML_JOIN_NODE__REFERENCED_XML_PATH);
+
+ eXmlJoinNodesEClass = createEClass(EXML_JOIN_NODES);
+ createEReference(eXmlJoinNodesEClass, EXML_JOIN_NODES__XML_JOIN_NODES);
+
+ eXmlMapEClass = createEClass(EXML_MAP);
+ createEAttribute(eXmlMapEClass, EXML_MAP__KEY);
+ createEAttribute(eXmlMapEClass, EXML_MAP__VALUE);
+
+ eXmlNullPolicyEClass = createEClass(EXML_NULL_POLICY);
+ createEAttribute(eXmlNullPolicyEClass, EXML_NULL_POLICY__IS_SET_PERFORMED_FOR_ABSENT_NODE);
+
+ eXmlNsEClass = createEClass(EXML_NS);
+ createEAttribute(eXmlNsEClass, EXML_NS__NAMESPACE_URI);
+ createEAttribute(eXmlNsEClass, EXML_NS__PREFIX);
+
+ eXmlPropertyEClass = createEClass(EXML_PROPERTY);
+ createEAttribute(eXmlPropertyEClass, EXML_PROPERTY__NAME);
+ createEAttribute(eXmlPropertyEClass, EXML_PROPERTY__VALUE);
+ createEAttribute(eXmlPropertyEClass, EXML_PROPERTY__VALUE_TYPE);
+
+ eXmlReadTransformerEClass = createEClass(EXML_READ_TRANSFORMER);
+
+ eXmlRegistryEClass = createEClass(EXML_REGISTRY);
+ createEAttribute(eXmlRegistryEClass, EXML_REGISTRY__NAME);
+ createEReference(eXmlRegistryEClass, EXML_REGISTRY__XML_ELEMENT_DECLS);
+
+ eXmlRootElementEClass = createEClass(EXML_ROOT_ELEMENT);
+ createEAttribute(eXmlRootElementEClass, EXML_ROOT_ELEMENT__NAME);
+ createEAttribute(eXmlRootElementEClass, EXML_ROOT_ELEMENT__NAMESPACE);
+
+ eXmlSchemaEClass = createEClass(EXML_SCHEMA);
+ createEAttribute(eXmlSchemaEClass, EXML_SCHEMA__ATTRIBUTE_FORM_DEFAULT);
+ createEAttribute(eXmlSchemaEClass, EXML_SCHEMA__ELEMENT_FORM_DEFAULT);
+ createEAttribute(eXmlSchemaEClass, EXML_SCHEMA__LOCATION);
+ createEAttribute(eXmlSchemaEClass, EXML_SCHEMA__NAMESPACE);
+ createEReference(eXmlSchemaEClass, EXML_SCHEMA__XMLNS);
+
+ eXmlSchemaTypeEClass = createEClass(EXML_SCHEMA_TYPE);
+ createEAttribute(eXmlSchemaTypeEClass, EXML_SCHEMA_TYPE__NAME);
+ createEAttribute(eXmlSchemaTypeEClass, EXML_SCHEMA_TYPE__NAMESPACE);
+ createEAttribute(eXmlSchemaTypeEClass, EXML_SCHEMA_TYPE__TYPE);
+
+ eXmlTransformationEClass = createEClass(EXML_TRANSFORMATION);
+ createEAttribute(eXmlTransformationEClass, EXML_TRANSFORMATION__OPTIONAL);
+ createEReference(eXmlTransformationEClass, EXML_TRANSFORMATION__XML_READ_TRANSFORMER);
+ createEReference(eXmlTransformationEClass, EXML_TRANSFORMATION__XML_WRITE_TRANSFORMERS);
+
+ eXmlTransientEClass = createEClass(EXML_TRANSIENT);
+ createEAttribute(eXmlTransientEClass, EXML_TRANSIENT__XML_LOCATION);
+
+ eXmlTypeEClass = createEClass(EXML_TYPE);
+ createEAttribute(eXmlTypeEClass, EXML_TYPE__NAME);
+ createEAttribute(eXmlTypeEClass, EXML_TYPE__NAMESPACE);
+ createEAttribute(eXmlTypeEClass, EXML_TYPE__FACTORY_CLASS);
+ createEAttribute(eXmlTypeEClass, EXML_TYPE__FACTORY_METHOD);
+ createEAttribute(eXmlTypeEClass, EXML_TYPE__PROP_ORDER);
+
+ eXmlValueEClass = createEClass(EXML_VALUE);
+ createEAttribute(eXmlValueEClass, EXML_VALUE__CDATA);
+ createEReference(eXmlValueEClass, EXML_VALUE__XML_ABSTRACT_NULL_POLICY);
+
+ eXmlVirtualAccessMethodsEClass = createEClass(EXML_VIRTUAL_ACCESS_METHODS);
+ createEAttribute(eXmlVirtualAccessMethodsEClass, EXML_VIRTUAL_ACCESS_METHODS__GET_METHOD);
+ createEAttribute(eXmlVirtualAccessMethodsEClass, EXML_VIRTUAL_ACCESS_METHODS__SET_METHOD);
+ createEAttribute(eXmlVirtualAccessMethodsEClass, EXML_VIRTUAL_ACCESS_METHODS__SCHEMA);
+
+ eXmlWriteTransformerEClass = createEClass(EXML_WRITE_TRANSFORMER);
+ createEAttribute(eXmlWriteTransformerEClass, EXML_WRITE_TRANSFORMER__XML_PATH);
+
+ // Create enums
+ eXmlAccessOrderEEnum = createEEnum(EXML_ACCESS_ORDER);
+ eXmlAccessTypeEEnum = createEEnum(EXML_ACCESS_TYPE);
+ eXmlMarshalNullRepresentationEEnum = createEEnum(EXML_MARSHAL_NULL_REPRESENTATION);
+ eXmlNsFormEEnum = createEEnum(EXML_NS_FORM);
+ eXmlVirtualAccessMethodsSchemaEEnum = createEEnum(EXML_VIRTUAL_ACCESS_METHODS_SCHEMA);
+
+ // Create data types
+ ePropOrderEDataType = createEDataType(EPROP_ORDER);
+ eXmlSeeAlsoEDataType = createEDataType(EXML_SEE_ALSO);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private boolean isInitialized = false;
+
+ /**
+ * Complete the initialization of the package and its meta-model. This
+ * method is guarded to have no affect on any invocation but its first.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void initializePackageContents()
+ {
+ if (isInitialized) return;
+ isInitialized = true;
+
+ // Initialize package
+ setName(eNAME);
+ setNsPrefix(eNS_PREFIX);
+ setNsURI(eNS_URI);
+
+ // Obtain other dependent packages
+ CommonPackage theCommonPackage = (CommonPackage)EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI);
+
+ // Create type parameters
+
+ // Set bounds for type parameters
+
+ // Add supertypes to classes
+ eJavaTypeEClass.getESuperTypes().add(this.getEPropertyHolder());
+ eXmlAnyAttributeEClass.getESuperTypes().add(this.getEJavaAttribute());
+ eXmlAnyAttributeEClass.getESuperTypes().add(this.getEAccessibleJavaAttribute());
+ eXmlAnyAttributeEClass.getESuperTypes().add(this.getEContainerJavaAttribute());
+ eXmlAnyAttributeEClass.getESuperTypes().add(this.getEReadWriteJavaAttribute());
+ eXmlAnyAttributeEClass.getESuperTypes().add(this.getEPropertyHolder());
+ eXmlAnyElementEClass.getESuperTypes().add(this.getEJavaAttribute());
+ eXmlAnyElementEClass.getESuperTypes().add(this.getEAccessibleJavaAttribute());
+ eXmlAnyElementEClass.getESuperTypes().add(this.getEAdaptableJavaAttribute());
+ eXmlAnyElementEClass.getESuperTypes().add(this.getEContainerJavaAttribute());
+ eXmlAnyElementEClass.getESuperTypes().add(this.getEReadWriteJavaAttribute());
+ eXmlAnyElementEClass.getESuperTypes().add(this.getEPropertyHolder());
+ eXmlAttributeEClass.getESuperTypes().add(this.getEJavaAttribute());
+ eXmlAttributeEClass.getESuperTypes().add(this.getEAccessibleJavaAttribute());
+ eXmlAttributeEClass.getESuperTypes().add(this.getEAdaptableJavaAttribute());
+ eXmlAttributeEClass.getESuperTypes().add(this.getEContainerJavaAttribute());
+ eXmlAttributeEClass.getESuperTypes().add(this.getEReadWriteJavaAttribute());
+ eXmlAttributeEClass.getESuperTypes().add(this.getETypedJavaAttribute());
+ eXmlAttributeEClass.getESuperTypes().add(this.getEPropertyHolder());
+ eXmlBindingsEClass.getESuperTypes().add(theCommonPackage.getERootObjectImpl());
+ eXmlElementEClass.getESuperTypes().add(this.getEJavaAttribute());
+ eXmlElementEClass.getESuperTypes().add(this.getEAccessibleJavaAttribute());
+ eXmlElementEClass.getESuperTypes().add(this.getEAdaptableJavaAttribute());
+ eXmlElementEClass.getESuperTypes().add(this.getEContainerJavaAttribute());
+ eXmlElementEClass.getESuperTypes().add(this.getEPropertyHolder());
+ eXmlElementEClass.getESuperTypes().add(this.getEReadWriteJavaAttribute());
+ eXmlElementRefEClass.getESuperTypes().add(this.getEJavaAttribute());
+ eXmlElementRefEClass.getESuperTypes().add(this.getEAccessibleJavaAttribute());
+ eXmlElementRefEClass.getESuperTypes().add(this.getEAdaptableJavaAttribute());
+ eXmlElementRefEClass.getESuperTypes().add(this.getEContainerJavaAttribute());
+ eXmlElementRefEClass.getESuperTypes().add(this.getEReadWriteJavaAttribute());
+ eXmlElementRefEClass.getESuperTypes().add(this.getETypedJavaAttribute());
+ eXmlElementRefEClass.getESuperTypes().add(this.getEPropertyHolder());
+ eXmlElementRefsEClass.getESuperTypes().add(this.getEJavaAttribute());
+ eXmlElementRefsEClass.getESuperTypes().add(this.getEAccessibleJavaAttribute());
+ eXmlElementRefsEClass.getESuperTypes().add(this.getEAdaptableJavaAttribute());
+ eXmlElementRefsEClass.getESuperTypes().add(this.getEReadWriteJavaAttribute());
+ eXmlElementRefsEClass.getESuperTypes().add(this.getEPropertyHolder());
+ eXmlElementsEClass.getESuperTypes().add(this.getEJavaAttribute());
+ eXmlElementsEClass.getESuperTypes().add(this.getEAccessibleJavaAttribute());
+ eXmlElementsEClass.getESuperTypes().add(this.getEContainerJavaAttribute());
+ eXmlElementsEClass.getESuperTypes().add(this.getEReadWriteJavaAttribute());
+ eXmlElementsEClass.getESuperTypes().add(this.getEPropertyHolder());
+ eXmlInverseReferenceEClass.getESuperTypes().add(this.getEJavaAttribute());
+ eXmlInverseReferenceEClass.getESuperTypes().add(this.getEAccessibleJavaAttribute());
+ eXmlInverseReferenceEClass.getESuperTypes().add(this.getEContainerJavaAttribute());
+ eXmlInverseReferenceEClass.getESuperTypes().add(this.getETypedJavaAttribute());
+ eXmlInverseReferenceEClass.getESuperTypes().add(this.getEPropertyHolder());
+ eXmlIsSetNullPolicyEClass.getESuperTypes().add(this.getEAbstractXmlNullPolicy());
+ eXmlJavaTypeAdapterEClass.getESuperTypes().add(this.getEJavaAttribute());
+ eXmlJoinNodesEClass.getESuperTypes().add(this.getEJavaAttribute());
+ eXmlJoinNodesEClass.getESuperTypes().add(this.getEContainerJavaAttribute());
+ eXmlJoinNodesEClass.getESuperTypes().add(this.getETypedJavaAttribute());
+ eXmlNullPolicyEClass.getESuperTypes().add(this.getEAbstractXmlNullPolicy());
+ eXmlReadTransformerEClass.getESuperTypes().add(this.getEAbstractXmlTransformer());
+ eXmlTransformationEClass.getESuperTypes().add(this.getEJavaAttribute());
+ eXmlTransformationEClass.getESuperTypes().add(this.getEAccessibleJavaAttribute());
+ eXmlTransformationEClass.getESuperTypes().add(this.getEPropertyHolder());
+ eXmlTransientEClass.getESuperTypes().add(this.getEJavaAttribute());
+ eXmlValueEClass.getESuperTypes().add(this.getEJavaAttribute());
+ eXmlValueEClass.getESuperTypes().add(this.getEAccessibleJavaAttribute());
+ eXmlValueEClass.getESuperTypes().add(this.getEAdaptableJavaAttribute());
+ eXmlValueEClass.getESuperTypes().add(this.getEContainerJavaAttribute());
+ eXmlValueEClass.getESuperTypes().add(this.getEReadWriteJavaAttribute());
+ eXmlValueEClass.getESuperTypes().add(this.getETypedJavaAttribute());
+ eXmlValueEClass.getESuperTypes().add(this.getEPropertyHolder());
+ eXmlWriteTransformerEClass.getESuperTypes().add(this.getEAbstractXmlTransformer());
+
+ // Initialize classes and features; add operations and parameters
+ initEClass(eAbstractXmlNullPolicyEClass, EAbstractXmlNullPolicy.class, "EAbstractXmlNullPolicy", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEAbstractXmlNullPolicy_XsiNilRepresentsNull(), ecorePackage.getEBoolean(), "xsiNilRepresentsNull", null, 0, 1, EAbstractXmlNullPolicy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEAbstractXmlNullPolicy_EmptyNodeRepresentsNull(), ecorePackage.getEBoolean(), "emptyNodeRepresentsNull", null, 0, 1, EAbstractXmlNullPolicy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEAbstractXmlNullPolicy_NullRepresentationForXml(), this.getEXmlMarshalNullRepresentation(), "nullRepresentationForXml", null, 0, 1, EAbstractXmlNullPolicy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eAbstractXmlTransformerEClass, EAbstractXmlTransformer.class, "EAbstractXmlTransformer", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEAbstractXmlTransformer_Method(), ecorePackage.getEString(), "method", null, 0, 1, EAbstractXmlTransformer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEAbstractXmlTransformer_TransformerClass(), ecorePackage.getEString(), "transformerClass", null, 0, 1, EAbstractXmlTransformer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eAccessibleJavaAttributeEClass, EAccessibleJavaAttribute.class, "EAccessibleJavaAttribute", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getEAccessibleJavaAttribute_XmlAccessMethods(), this.getEXmlAccessMethods(), null, "xmlAccessMethods", null, 0, 1, EAccessibleJavaAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eAdaptableJavaAttributeEClass, EAdaptableJavaAttribute.class, "EAdaptableJavaAttribute", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getEAdaptableJavaAttribute_XmlJavaTypeAdapter(), this.getEXmlJavaTypeAdapter(), null, "xmlJavaTypeAdapter", null, 0, 1, EAdaptableJavaAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eContainerJavaAttributeEClass, EContainerJavaAttribute.class, "EContainerJavaAttribute", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEContainerJavaAttribute_ContainerType(), ecorePackage.getEString(), "containerType", null, 0, 1, EContainerJavaAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eJavaAttributeEClass, EJavaAttribute.class, "EJavaAttribute", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEJavaAttribute_JavaAttribute(), ecorePackage.getEString(), "javaAttribute", null, 0, 1, EJavaAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEJavaAttribute_XmlAccessorType(), this.getEXmlAccessType(), "xmlAccessorType", null, 0, 1, EJavaAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eJavaTypeEClass, EJavaType.class, "EJavaType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEJavaType_Name(), ecorePackage.getEString(), "name", null, 0, 1, EJavaType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEJavaType_SuperType(), ecorePackage.getEString(), "superType", null, 0, 1, EJavaType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEJavaType_XmlAccessorOrder(), this.getEXmlAccessOrder(), "xmlAccessorOrder", null, 0, 1, EJavaType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEJavaType_XmlAccessorType(), this.getEXmlAccessType(), "xmlAccessorType", null, 0, 1, EJavaType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEJavaType_XmlCustomizer(), ecorePackage.getEString(), "xmlCustomizer", null, 0, 1, EJavaType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEJavaType_XmlDiscriminatorNode(), ecorePackage.getEString(), "xmlDiscriminatorNode", null, 0, 1, EJavaType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEJavaType_XmlDiscriminatorValue(), ecorePackage.getEString(), "xmlDiscriminatorValue", null, 0, 1, EJavaType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEJavaType_XmlInlineBinaryData(), ecorePackage.getEBoolean(), "xmlInlineBinaryData", null, 0, 1, EJavaType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEJavaType_XmlTransient(), ecorePackage.getEBoolean(), "xmlTransient", null, 0, 1, EJavaType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEJavaType_XmlNameTransformer(), ecorePackage.getEString(), "xmlNameTransformer", null, 0, 1, EJavaType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getEJavaType_XmlType(), this.getEXmlType(), null, "xmlType", null, 0, 1, EJavaType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getEJavaType_XmlRootElement(), this.getEXmlRootElement(), null, "xmlRootElement", null, 0, 1, EJavaType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getEJavaType_XmlVirtualAccessMethods(), this.getEXmlVirtualAccessMethods(), null, "xmlVirtualAccessMethods", null, 0, 1, EJavaType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEJavaType_XmlSeeAlso(), this.getEXmlSeeAlso(), "xmlSeeAlso", null, 0, 1, EJavaType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getEJavaType_XmlJavaTypeAdapter(), this.getEXmlJavaTypeAdapter(), null, "xmlJavaTypeAdapter", null, 0, 1, EJavaType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getEJavaType_XmlClassExtractor(), this.getEXmlClassExtractor(), null, "xmlClassExtractor", null, 0, 1, EJavaType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getEJavaType_JavaAttributes(), this.getEJavaAttribute(), null, "javaAttributes", null, 0, -1, EJavaType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(ePropertyHolderEClass, EPropertyHolder.class, "EPropertyHolder", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getEPropertyHolder_XmlProperties(), this.getEXmlProperty(), null, "xmlProperties", null, 0, -1, EPropertyHolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eReadWriteJavaAttributeEClass, EReadWriteJavaAttribute.class, "EReadWriteJavaAttribute", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEReadWriteJavaAttribute_ReadOnly(), ecorePackage.getEBoolean(), "readOnly", null, 0, 1, EReadWriteJavaAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEReadWriteJavaAttribute_WriteOnly(), ecorePackage.getEBoolean(), "writeOnly", null, 0, 1, EReadWriteJavaAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eTypedJavaAttributeEClass, ETypedJavaAttribute.class, "ETypedJavaAttribute", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getETypedJavaAttribute_Type(), ecorePackage.getEString(), "type", null, 0, 1, ETypedJavaAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eXmlAccessMethodsEClass, EXmlAccessMethods.class, "EXmlAccessMethods", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEXmlAccessMethods_GetMethod(), ecorePackage.getEString(), "getMethod", null, 0, 1, EXmlAccessMethods.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlAccessMethods_SetMethod(), ecorePackage.getEString(), "setMethod", null, 0, 1, EXmlAccessMethods.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eXmlAnyAttributeEClass, EXmlAnyAttribute.class, "EXmlAnyAttribute", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEXmlAnyAttribute_XmlPath(), ecorePackage.getEString(), "xmlPath", null, 0, 1, EXmlAnyAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eXmlAnyElementEClass, EXmlAnyElement.class, "EXmlAnyElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEXmlAnyElement_XmlMixed(), ecorePackage.getEBoolean(), "xmlMixed", null, 0, 1, EXmlAnyElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlAnyElement_Lax(), ecorePackage.getEBoolean(), "lax", null, 0, 1, EXmlAnyElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlAnyElement_DomHandler(), ecorePackage.getEString(), "domHandler", null, 0, 1, EXmlAnyElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlAnyElement_XmlPath(), ecorePackage.getEString(), "xmlPath", null, 0, 1, EXmlAnyElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getEXmlAnyElement_XmlElementRefs(), this.getEXmlElementRefs(), null, "xmlElementRefs", null, 0, 1, EXmlAnyElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eXmlAttributeEClass, EXmlAttribute.class, "EXmlAttribute", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEXmlAttribute_Name(), ecorePackage.getEString(), "name", null, 0, 1, EXmlAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlAttribute_Namespace(), ecorePackage.getEString(), "namespace", null, 0, 1, EXmlAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlAttribute_Required(), ecorePackage.getEBoolean(), "required", null, 0, 1, EXmlAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlAttribute_XmlId(), ecorePackage.getEBoolean(), "xmlId", null, 0, 1, EXmlAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlAttribute_XmlIdRef(), ecorePackage.getEBoolean(), "xmlIdRef", null, 0, 1, EXmlAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlAttribute_XmlKey(), ecorePackage.getEBoolean(), "xmlKey", null, 0, 1, EXmlAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlAttribute_XmlList(), ecorePackage.getEBoolean(), "xmlList", null, 0, 1, EXmlAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlAttribute_XmlInlineBinaryData(), ecorePackage.getEBoolean(), "xmlInlineBinaryData", null, 0, 1, EXmlAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlAttribute_XmlAttachmentRef(), ecorePackage.getEBoolean(), "xmlAttachmentRef", null, 0, 1, EXmlAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlAttribute_XmlMimeType(), ecorePackage.getEString(), "xmlMimeType", null, 0, 1, EXmlAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlAttribute_XmlPath(), ecorePackage.getEString(), "xmlPath", null, 0, 1, EXmlAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getEXmlAttribute_XmlAbstractNullPolicy(), this.getEAbstractXmlNullPolicy(), null, "xmlAbstractNullPolicy", null, 0, 1, EXmlAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getEXmlAttribute_XmlSchemaType(), this.getEXmlSchemaType(), null, "xmlSchemaType", null, 0, 1, EXmlAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eXmlBindingsEClass, EXmlBindings.class, "EXmlBindings", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEXmlBindings_XmlAccessorType(), this.getEXmlAccessType(), "xmlAccessorType", null, 0, 1, EXmlBindings.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlBindings_XmlAccessorOrder(), this.getEXmlAccessOrder(), "xmlAccessorOrder", null, 0, 1, EXmlBindings.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlBindings_XmlMappingMetadataComplete(), ecorePackage.getEBoolean(), "xmlMappingMetadataComplete", null, 0, 1, EXmlBindings.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlBindings_PackageName(), ecorePackage.getEString(), "packageName", null, 0, 1, EXmlBindings.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlBindings_XmlNameTransformer(), ecorePackage.getEString(), "xmlNameTransformer", null, 0, 1, EXmlBindings.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getEXmlBindings_XmlSchema(), this.getEXmlSchema(), null, "xmlSchema", null, 0, 1, EXmlBindings.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getEXmlBindings_XmlSchemaType(), this.getEXmlSchemaType(), null, "xmlSchemaType", null, 0, 1, EXmlBindings.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getEXmlBindings_XmlSchemaTypes(), this.getEXmlSchemaType(), null, "xmlSchemaTypes", null, 0, -1, EXmlBindings.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getEXmlBindings_XmlJavaTypeAdapters(), this.getEXmlJavaTypeAdapter(), null, "xmlJavaTypeAdapters", null, 0, -1, EXmlBindings.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getEXmlBindings_XmlRegistries(), this.getEXmlRegistry(), null, "xmlRegistries", null, 0, -1, EXmlBindings.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getEXmlBindings_XmlEnums(), this.getEXmlEnum(), null, "xmlEnums", null, 0, -1, EXmlBindings.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getEXmlBindings_JavaTypes(), this.getEJavaType(), null, "javaTypes", null, 0, -1, EXmlBindings.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eXmlClassExtractorEClass, EXmlClassExtractor.class, "EXmlClassExtractor", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEXmlClassExtractor_ClassName(), ecorePackage.getEString(), "className", null, 0, 1, EXmlClassExtractor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eXmlElementEClass, EXmlElement.class, "EXmlElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEXmlElement_Name(), ecorePackage.getEString(), "name", null, 0, 1, EXmlElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlElement_Namespace(), ecorePackage.getEString(), "namespace", null, 0, 1, EXmlElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlElement_DefaultValue(), ecorePackage.getEString(), "defaultValue", null, 0, 1, EXmlElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlElement_Nillable(), ecorePackage.getEBoolean(), "nillable", null, 0, 1, EXmlElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlElement_Required(), ecorePackage.getEBoolean(), "required", null, 0, 1, EXmlElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlElement_XmlId(), ecorePackage.getEBoolean(), "xmlId", null, 0, 1, EXmlElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlElement_XmlIdRef(), ecorePackage.getEBoolean(), "xmlIdRef", null, 0, 1, EXmlElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlElement_XmlKey(), ecorePackage.getEBoolean(), "xmlKey", null, 0, 1, EXmlElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlElement_XmlList(), ecorePackage.getEBoolean(), "xmlList", null, 0, 1, EXmlElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlElement_XmlInlineBinaryData(), ecorePackage.getEBoolean(), "xmlInlineBinaryData", null, 0, 1, EXmlElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlElement_XmlAttachmentRef(), ecorePackage.getEBoolean(), "xmlAttachmentRef", null, 0, 1, EXmlElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlElement_XmlMimeType(), ecorePackage.getEString(), "xmlMimeType", null, 0, 1, EXmlElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlElement_Cdata(), ecorePackage.getEBoolean(), "cdata", null, 0, 1, EXmlElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlElement_XmlPath(), ecorePackage.getEString(), "xmlPath", null, 0, 1, EXmlElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlElement_XmlLocation(), ecorePackage.getEBoolean(), "xmlLocation", null, 0, 1, EXmlElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getEXmlElement_XmlAbstractNullPolicy(), this.getEAbstractXmlNullPolicy(), null, "xmlAbstractNullPolicy", null, 0, 1, EXmlElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getEXmlElement_XmlElementWrapper(), this.getEXmlElementWrapper(), null, "xmlElementWrapper", null, 0, 1, EXmlElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getEXmlElement_XmlMap(), this.getEXmlElementWrapper(), null, "xmlMap", null, 0, 1, EXmlElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getEXmlElement_XmlSchemaType(), this.getEXmlSchemaType(), null, "xmlSchemaType", null, 0, 1, EXmlElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eXmlElementDeclEClass, EXmlElementDecl.class, "EXmlElementDecl", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEXmlElementDecl_JavaMethod(), ecorePackage.getEString(), "javaMethod", null, 0, 1, EXmlElementDecl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlElementDecl_Name(), ecorePackage.getEString(), "name", null, 0, 1, EXmlElementDecl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlElementDecl_Namespace(), ecorePackage.getEString(), "namespace", null, 0, 1, EXmlElementDecl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlElementDecl_DefaultValue(), ecorePackage.getEString(), "defaultValue", null, 0, 1, EXmlElementDecl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlElementDecl_Scope(), ecorePackage.getEString(), "scope", null, 0, 1, EXmlElementDecl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlElementDecl_SubstitutionHeadName(), ecorePackage.getEString(), "substitutionHeadName", null, 0, 1, EXmlElementDecl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlElementDecl_SubstitutionHeadNamespace(), ecorePackage.getEString(), "substitutionHeadNamespace", null, 0, 1, EXmlElementDecl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlElementDecl_Type(), ecorePackage.getEString(), "type", null, 0, 1, EXmlElementDecl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eXmlElementRefEClass, EXmlElementRef.class, "EXmlElementRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEXmlElementRef_Name(), ecorePackage.getEString(), "name", null, 0, 1, EXmlElementRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlElementRef_Namespace(), ecorePackage.getEString(), "namespace", null, 0, 1, EXmlElementRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlElementRef_XmlMixed(), ecorePackage.getEBoolean(), "xmlMixed", null, 0, 1, EXmlElementRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getEXmlElementRef_XmlElementWrapper(), this.getEXmlElementWrapper(), null, "xmlElementWrapper", null, 0, 1, EXmlElementRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eXmlElementRefsEClass, EXmlElementRefs.class, "EXmlElementRefs", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEXmlElementRefs_XmlMixed(), ecorePackage.getEBoolean(), "xmlMixed", null, 0, 1, EXmlElementRefs.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getEXmlElementRefs_XmlElementRefs(), this.getEXmlElementRef(), null, "xmlElementRefs", null, 0, -1, EXmlElementRefs.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getEXmlElementRefs_XmlElementWrapper(), this.getEXmlElementWrapper(), null, "xmlElementWrapper", null, 0, 1, EXmlElementRefs.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eXmlElementsEClass, EXmlElements.class, "EXmlElements", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEXmlElements_XmlIdRef(), ecorePackage.getEBoolean(), "xmlIdRef", null, 0, 1, EXmlElements.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlElements_XmlList(), ecorePackage.getEBoolean(), "xmlList", null, 0, 1, EXmlElements.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getEXmlElements_XmlElements(), this.getEXmlElement(), null, "xmlElements", null, 0, -1, EXmlElements.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getEXmlElements_XmlElementWrapper(), this.getEXmlElementWrapper(), null, "xmlElementWrapper", null, 0, 1, EXmlElements.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getEXmlElements_XmlJoinNodes(), this.getEXmlJoinNodes(), null, "xmlJoinNodes", null, 0, -1, EXmlElements.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eXmlElementWrapperEClass, EXmlElementWrapper.class, "EXmlElementWrapper", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEXmlElementWrapper_Name(), ecorePackage.getEString(), "name", null, 0, 1, EXmlElementWrapper.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlElementWrapper_Namespace(), ecorePackage.getEString(), "namespace", null, 0, 1, EXmlElementWrapper.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlElementWrapper_Nillable(), ecorePackage.getEBoolean(), "nillable", null, 0, 1, EXmlElementWrapper.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlElementWrapper_Required(), ecorePackage.getEBoolean(), "required", null, 0, 1, EXmlElementWrapper.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eXmlEnumEClass, EXmlEnum.class, "EXmlEnum", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEXmlEnum_JavaEnum(), ecorePackage.getEString(), "javaEnum", null, 0, 1, EXmlEnum.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlEnum_Value(), ecorePackage.getEString(), "value", null, 0, 1, EXmlEnum.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getEXmlEnum_XmlEnumValues(), this.getEXmlEnumValue(), null, "xmlEnumValues", null, 0, -1, EXmlEnum.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eXmlEnumValueEClass, EXmlEnumValue.class, "EXmlEnumValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEXmlEnumValue_JavaEnumValue(), ecorePackage.getEString(), "javaEnumValue", null, 0, 1, EXmlEnumValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eXmlInverseReferenceEClass, EXmlInverseReference.class, "EXmlInverseReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEXmlInverseReference_MappedBy(), ecorePackage.getEString(), "mappedBy", null, 0, 1, EXmlInverseReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eXmlIsSetNullPolicyEClass, EXmlIsSetNullPolicy.class, "EXmlIsSetNullPolicy", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEXmlIsSetNullPolicy_IsSetMethodName(), ecorePackage.getEString(), "isSetMethodName", null, 0, 1, EXmlIsSetNullPolicy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getEXmlIsSetNullPolicy_XmlIsSetParameters(), this.getEXmlIsSetParameter(), null, "xmlIsSetParameters", null, 0, -1, EXmlIsSetNullPolicy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eXmlIsSetParameterEClass, EXmlIsSetParameter.class, "EXmlIsSetParameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEXmlIsSetParameter_Value(), ecorePackage.getEString(), "value", null, 0, 1, EXmlIsSetParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlIsSetParameter_Type(), ecorePackage.getEString(), "type", null, 0, 1, EXmlIsSetParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eXmlJavaTypeAdapterEClass, EXmlJavaTypeAdapter.class, "EXmlJavaTypeAdapter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEXmlJavaTypeAdapter_Value(), ecorePackage.getEString(), "value", null, 0, 1, EXmlJavaTypeAdapter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlJavaTypeAdapter_Type(), ecorePackage.getEString(), "type", null, 0, 1, EXmlJavaTypeAdapter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlJavaTypeAdapter_ValueType(), ecorePackage.getEString(), "valueType", null, 0, 1, EXmlJavaTypeAdapter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eXmlJoinNodeEClass, EXmlJoinNode.class, "EXmlJoinNode", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEXmlJoinNode_XmlPath(), ecorePackage.getEString(), "xmlPath", null, 0, 1, EXmlJoinNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlJoinNode_ReferencedXmlPath(), ecorePackage.getEString(), "referencedXmlPath", null, 0, 1, EXmlJoinNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eXmlJoinNodesEClass, EXmlJoinNodes.class, "EXmlJoinNodes", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getEXmlJoinNodes_XmlJoinNodes(), this.getEXmlJoinNode(), null, "xmlJoinNodes", null, 0, -1, EXmlJoinNodes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eXmlMapEClass, EXmlMap.class, "EXmlMap", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEXmlMap_Key(), ecorePackage.getEString(), "key", null, 0, 1, EXmlMap.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlMap_Value(), ecorePackage.getEString(), "value", null, 0, 1, EXmlMap.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eXmlNullPolicyEClass, EXmlNullPolicy.class, "EXmlNullPolicy", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEXmlNullPolicy_IsSetPerformedForAbsentNode(), ecorePackage.getEBoolean(), "isSetPerformedForAbsentNode", null, 0, 1, EXmlNullPolicy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eXmlNsEClass, EXmlNs.class, "EXmlNs", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEXmlNs_NamespaceUri(), ecorePackage.getEString(), "namespaceUri", null, 0, 1, EXmlNs.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlNs_Prefix(), ecorePackage.getEString(), "prefix", null, 0, 1, EXmlNs.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eXmlPropertyEClass, EXmlProperty.class, "EXmlProperty", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEXmlProperty_Name(), ecorePackage.getEString(), "name", null, 0, 1, EXmlProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlProperty_Value(), ecorePackage.getEString(), "value", null, 0, 1, EXmlProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlProperty_ValueType(), ecorePackage.getEString(), "valueType", null, 0, 1, EXmlProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eXmlReadTransformerEClass, EXmlReadTransformer.class, "EXmlReadTransformer", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(eXmlRegistryEClass, EXmlRegistry.class, "EXmlRegistry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEXmlRegistry_Name(), ecorePackage.getEString(), "name", null, 0, 1, EXmlRegistry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getEXmlRegistry_XmlElementDecls(), this.getEXmlElementDecl(), null, "xmlElementDecls", null, 0, -1, EXmlRegistry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eXmlRootElementEClass, EXmlRootElement.class, "EXmlRootElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEXmlRootElement_Name(), ecorePackage.getEString(), "name", null, 0, 1, EXmlRootElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlRootElement_Namespace(), ecorePackage.getEString(), "namespace", null, 0, 1, EXmlRootElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eXmlSchemaEClass, EXmlSchema.class, "EXmlSchema", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEXmlSchema_AttributeFormDefault(), this.getEXmlNsForm(), "attributeFormDefault", null, 0, 1, EXmlSchema.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlSchema_ElementFormDefault(), this.getEXmlNsForm(), "elementFormDefault", null, 0, 1, EXmlSchema.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlSchema_Location(), ecorePackage.getEString(), "location", null, 0, 1, EXmlSchema.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlSchema_Namespace(), ecorePackage.getEString(), "namespace", null, 0, 1, EXmlSchema.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getEXmlSchema_Xmlns(), this.getEXmlNs(), null, "xmlns", null, 0, -1, EXmlSchema.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eXmlSchemaTypeEClass, EXmlSchemaType.class, "EXmlSchemaType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEXmlSchemaType_Name(), ecorePackage.getEString(), "name", null, 0, 1, EXmlSchemaType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlSchemaType_Namespace(), ecorePackage.getEString(), "namespace", null, 0, 1, EXmlSchemaType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlSchemaType_Type(), ecorePackage.getEString(), "type", null, 0, 1, EXmlSchemaType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eXmlTransformationEClass, EXmlTransformation.class, "EXmlTransformation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEXmlTransformation_Optional(), ecorePackage.getEBoolean(), "optional", null, 0, 1, EXmlTransformation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getEXmlTransformation_XmlReadTransformer(), this.getEXmlReadTransformer(), null, "xmlReadTransformer", null, 0, 1, EXmlTransformation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getEXmlTransformation_XmlWriteTransformers(), this.getEXmlWriteTransformer(), null, "xmlWriteTransformers", null, 0, -1, EXmlTransformation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eXmlTransientEClass, EXmlTransient.class, "EXmlTransient", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEXmlTransient_XmlLocation(), ecorePackage.getEBoolean(), "xmlLocation", null, 0, 1, EXmlTransient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eXmlTypeEClass, EXmlType.class, "EXmlType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEXmlType_Name(), ecorePackage.getEString(), "name", null, 0, 1, EXmlType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlType_Namespace(), ecorePackage.getEString(), "namespace", null, 0, 1, EXmlType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlType_FactoryClass(), ecorePackage.getEString(), "factoryClass", null, 0, 1, EXmlType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlType_FactoryMethod(), ecorePackage.getEString(), "factoryMethod", null, 0, 1, EXmlType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlType_PropOrder(), this.getEPropOrder(), "propOrder", null, 0, 1, EXmlType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eXmlValueEClass, EXmlValue.class, "EXmlValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEXmlValue_Cdata(), ecorePackage.getEBoolean(), "cdata", null, 0, 1, EXmlValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getEXmlValue_XmlAbstractNullPolicy(), this.getEAbstractXmlNullPolicy(), null, "xmlAbstractNullPolicy", null, 0, 1, EXmlValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eXmlVirtualAccessMethodsEClass, EXmlVirtualAccessMethods.class, "EXmlVirtualAccessMethods", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEXmlVirtualAccessMethods_GetMethod(), ecorePackage.getEString(), "getMethod", null, 0, 1, EXmlVirtualAccessMethods.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlVirtualAccessMethods_SetMethod(), ecorePackage.getEString(), "setMethod", null, 0, 1, EXmlVirtualAccessMethods.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getEXmlVirtualAccessMethods_Schema(), this.getEXmlVirtualAccessMethodsSchema(), "schema", null, 0, 1, EXmlVirtualAccessMethods.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eXmlWriteTransformerEClass, EXmlWriteTransformer.class, "EXmlWriteTransformer", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEXmlWriteTransformer_XmlPath(), ecorePackage.getEString(), "xmlPath", null, 0, 1, EXmlWriteTransformer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ // Initialize enums and add enum literals
+ initEEnum(eXmlAccessOrderEEnum, EXmlAccessOrder.class, "EXmlAccessOrder");
+ addEEnumLiteral(eXmlAccessOrderEEnum, EXmlAccessOrder.ALPHABETICAL);
+ addEEnumLiteral(eXmlAccessOrderEEnum, EXmlAccessOrder.UNDEFINED);
+
+ initEEnum(eXmlAccessTypeEEnum, EXmlAccessType.class, "EXmlAccessType");
+ addEEnumLiteral(eXmlAccessTypeEEnum, EXmlAccessType.FIELD);
+ addEEnumLiteral(eXmlAccessTypeEEnum, EXmlAccessType.NONE);
+ addEEnumLiteral(eXmlAccessTypeEEnum, EXmlAccessType.PROPERTY);
+ addEEnumLiteral(eXmlAccessTypeEEnum, EXmlAccessType.PUBLIC_MEMBER);
+
+ initEEnum(eXmlMarshalNullRepresentationEEnum, EXmlMarshalNullRepresentation.class, "EXmlMarshalNullRepresentation");
+ addEEnumLiteral(eXmlMarshalNullRepresentationEEnum, EXmlMarshalNullRepresentation.XSI_NIL);
+ addEEnumLiteral(eXmlMarshalNullRepresentationEEnum, EXmlMarshalNullRepresentation.ABSENT_NODE);
+ addEEnumLiteral(eXmlMarshalNullRepresentationEEnum, EXmlMarshalNullRepresentation.EMPTY_NODE);
+
+ initEEnum(eXmlNsFormEEnum, EXmlNsForm.class, "EXmlNsForm");
+ addEEnumLiteral(eXmlNsFormEEnum, EXmlNsForm.UNQUALIFIED);
+ addEEnumLiteral(eXmlNsFormEEnum, EXmlNsForm.QUALIFIED);
+ addEEnumLiteral(eXmlNsFormEEnum, EXmlNsForm.UNSET);
+
+ initEEnum(eXmlVirtualAccessMethodsSchemaEEnum, EXmlVirtualAccessMethodsSchema.class, "EXmlVirtualAccessMethodsSchema");
+ addEEnumLiteral(eXmlVirtualAccessMethodsSchemaEEnum, EXmlVirtualAccessMethodsSchema.NODES);
+ addEEnumLiteral(eXmlVirtualAccessMethodsSchemaEEnum, EXmlVirtualAccessMethodsSchema.ANY);
+
+ // Initialize data types
+ initEDataType(ePropOrderEDataType, List.class, "EPropOrder", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
+ initEDataType(eXmlSeeAlsoEDataType, List.class, "EXmlSeeAlso", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
+
+ // Create resource
+ createResource(eNS_URI);
+
+ // Create annotations
+ // http:///org/eclipse/emf/ecore/util/ExtendedMetaData
+ createExtendedMetaDataAnnotations();
+ }
+
+ /**
+ * Initializes the annotations for <b>http:///org/eclipse/emf/ecore/util/ExtendedMetaData</b>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void createExtendedMetaDataAnnotations()
+ {
+ String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData";
+ addAnnotation
+ (ePropOrderEDataType,
+ source,
+ new String[]
+ {
+ "itemType", "http://www.eclipse.org/emf/2003/XMLType#string"
+ });
+ addAnnotation
+ (eXmlSeeAlsoEDataType,
+ source,
+ new String[]
+ {
+ "itemType", "http://www.eclipse.org/emf/2003/XMLType#string"
+ });
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * Defines literals for the meta objects that represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public interface Literals
+ {
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAbstractXmlNullPolicy <em>EAbstract Xml Null Policy</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAbstractXmlNullPolicy
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEAbstractXmlNullPolicy()
+ * @generated
+ */
+ public static final EClass EABSTRACT_XML_NULL_POLICY = eINSTANCE.getEAbstractXmlNullPolicy();
+
+ /**
+ * The meta object literal for the '<em><b>Xsi Nil Represents Null</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EABSTRACT_XML_NULL_POLICY__XSI_NIL_REPRESENTS_NULL = eINSTANCE.getEAbstractXmlNullPolicy_XsiNilRepresentsNull();
+
+ /**
+ * The meta object literal for the '<em><b>Empty Node Represents Null</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EABSTRACT_XML_NULL_POLICY__EMPTY_NODE_REPRESENTS_NULL = eINSTANCE.getEAbstractXmlNullPolicy_EmptyNodeRepresentsNull();
+
+ /**
+ * The meta object literal for the '<em><b>Null Representation For Xml</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EABSTRACT_XML_NULL_POLICY__NULL_REPRESENTATION_FOR_XML = eINSTANCE.getEAbstractXmlNullPolicy_NullRepresentationForXml();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAbstractXmlTransformer <em>EAbstract Xml Transformer</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAbstractXmlTransformer
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEAbstractXmlTransformer()
+ * @generated
+ */
+ public static final EClass EABSTRACT_XML_TRANSFORMER = eINSTANCE.getEAbstractXmlTransformer();
+
+ /**
+ * The meta object literal for the '<em><b>Method</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EABSTRACT_XML_TRANSFORMER__METHOD = eINSTANCE.getEAbstractXmlTransformer_Method();
+
+ /**
+ * The meta object literal for the '<em><b>Transformer Class</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EABSTRACT_XML_TRANSFORMER__TRANSFORMER_CLASS = eINSTANCE.getEAbstractXmlTransformer_TransformerClass();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAccessibleJavaAttribute <em>EAccessible Java Attribute</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAccessibleJavaAttribute
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEAccessibleJavaAttribute()
+ * @generated
+ */
+ public static final EClass EACCESSIBLE_JAVA_ATTRIBUTE = eINSTANCE.getEAccessibleJavaAttribute();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Access Methods</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EReference EACCESSIBLE_JAVA_ATTRIBUTE__XML_ACCESS_METHODS = eINSTANCE.getEAccessibleJavaAttribute_XmlAccessMethods();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAdaptableJavaAttribute <em>EAdaptable Java Attribute</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EAdaptableJavaAttribute
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEAdaptableJavaAttribute()
+ * @generated
+ */
+ public static final EClass EADAPTABLE_JAVA_ATTRIBUTE = eINSTANCE.getEAdaptableJavaAttribute();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Java Type Adapter</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EReference EADAPTABLE_JAVA_ATTRIBUTE__XML_JAVA_TYPE_ADAPTER = eINSTANCE.getEAdaptableJavaAttribute_XmlJavaTypeAdapter();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EContainerJavaAttribute <em>EContainer Java Attribute</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EContainerJavaAttribute
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEContainerJavaAttribute()
+ * @generated
+ */
+ public static final EClass ECONTAINER_JAVA_ATTRIBUTE = eINSTANCE.getEContainerJavaAttribute();
+
+ /**
+ * The meta object literal for the '<em><b>Container Type</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute ECONTAINER_JAVA_ATTRIBUTE__CONTAINER_TYPE = eINSTANCE.getEContainerJavaAttribute_ContainerType();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaAttribute <em>EJava Attribute</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaAttribute
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEJavaAttribute()
+ * @generated
+ */
+ public static final EClass EJAVA_ATTRIBUTE = eINSTANCE.getEJavaAttribute();
+
+ /**
+ * The meta object literal for the '<em><b>Java Attribute</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EJAVA_ATTRIBUTE__JAVA_ATTRIBUTE = eINSTANCE.getEJavaAttribute_JavaAttribute();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Accessor Type</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EJAVA_ATTRIBUTE__XML_ACCESSOR_TYPE = eINSTANCE.getEJavaAttribute_XmlAccessorType();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType <em>EJava Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEJavaType()
+ * @generated
+ */
+ public static final EClass EJAVA_TYPE = eINSTANCE.getEJavaType();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EJAVA_TYPE__NAME = eINSTANCE.getEJavaType_Name();
+
+ /**
+ * The meta object literal for the '<em><b>Super Type</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EJAVA_TYPE__SUPER_TYPE = eINSTANCE.getEJavaType_SuperType();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Accessor Order</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EJAVA_TYPE__XML_ACCESSOR_ORDER = eINSTANCE.getEJavaType_XmlAccessorOrder();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Accessor Type</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EJAVA_TYPE__XML_ACCESSOR_TYPE = eINSTANCE.getEJavaType_XmlAccessorType();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Customizer</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EJAVA_TYPE__XML_CUSTOMIZER = eINSTANCE.getEJavaType_XmlCustomizer();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Discriminator Node</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EJAVA_TYPE__XML_DISCRIMINATOR_NODE = eINSTANCE.getEJavaType_XmlDiscriminatorNode();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Discriminator Value</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EJAVA_TYPE__XML_DISCRIMINATOR_VALUE = eINSTANCE.getEJavaType_XmlDiscriminatorValue();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Inline Binary Data</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EJAVA_TYPE__XML_INLINE_BINARY_DATA = eINSTANCE.getEJavaType_XmlInlineBinaryData();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Transient</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EJAVA_TYPE__XML_TRANSIENT = eINSTANCE.getEJavaType_XmlTransient();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Name Transformer</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EJAVA_TYPE__XML_NAME_TRANSFORMER = eINSTANCE.getEJavaType_XmlNameTransformer();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Type</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EReference EJAVA_TYPE__XML_TYPE = eINSTANCE.getEJavaType_XmlType();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Root Element</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EReference EJAVA_TYPE__XML_ROOT_ELEMENT = eINSTANCE.getEJavaType_XmlRootElement();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Virtual Access Methods</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EReference EJAVA_TYPE__XML_VIRTUAL_ACCESS_METHODS = eINSTANCE.getEJavaType_XmlVirtualAccessMethods();
+
+ /**
+ * The meta object literal for the '<em><b>Xml See Also</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EJAVA_TYPE__XML_SEE_ALSO = eINSTANCE.getEJavaType_XmlSeeAlso();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Java Type Adapter</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EReference EJAVA_TYPE__XML_JAVA_TYPE_ADAPTER = eINSTANCE.getEJavaType_XmlJavaTypeAdapter();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Class Extractor</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EReference EJAVA_TYPE__XML_CLASS_EXTRACTOR = eINSTANCE.getEJavaType_XmlClassExtractor();
+
+ /**
+ * The meta object literal for the '<em><b>Java Attributes</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EReference EJAVA_TYPE__JAVA_ATTRIBUTES = eINSTANCE.getEJavaType_JavaAttributes();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EPropertyHolder <em>EProperty Holder</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EPropertyHolder
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEPropertyHolder()
+ * @generated
+ */
+ public static final EClass EPROPERTY_HOLDER = eINSTANCE.getEPropertyHolder();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Properties</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EReference EPROPERTY_HOLDER__XML_PROPERTIES = eINSTANCE.getEPropertyHolder_XmlProperties();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EReadWriteJavaAttribute <em>ERead Write Java Attribute</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EReadWriteJavaAttribute
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEReadWriteJavaAttribute()
+ * @generated
+ */
+ public static final EClass EREAD_WRITE_JAVA_ATTRIBUTE = eINSTANCE.getEReadWriteJavaAttribute();
+
+ /**
+ * The meta object literal for the '<em><b>Read Only</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EREAD_WRITE_JAVA_ATTRIBUTE__READ_ONLY = eINSTANCE.getEReadWriteJavaAttribute_ReadOnly();
+
+ /**
+ * The meta object literal for the '<em><b>Write Only</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EREAD_WRITE_JAVA_ATTRIBUTE__WRITE_ONLY = eINSTANCE.getEReadWriteJavaAttribute_WriteOnly();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.ETypedJavaAttribute <em>ETyped Java Attribute</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.ETypedJavaAttribute
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getETypedJavaAttribute()
+ * @generated
+ */
+ public static final EClass ETYPED_JAVA_ATTRIBUTE = eINSTANCE.getETypedJavaAttribute();
+
+ /**
+ * The meta object literal for the '<em><b>Type</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute ETYPED_JAVA_ATTRIBUTE__TYPE = eINSTANCE.getETypedJavaAttribute_Type();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAccessMethods <em>EXml Access Methods</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAccessMethods
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlAccessMethods()
+ * @generated
+ */
+ public static final EClass EXML_ACCESS_METHODS = eINSTANCE.getEXmlAccessMethods();
+
+ /**
+ * The meta object literal for the '<em><b>Get Method</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ACCESS_METHODS__GET_METHOD = eINSTANCE.getEXmlAccessMethods_GetMethod();
+
+ /**
+ * The meta object literal for the '<em><b>Set Method</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ACCESS_METHODS__SET_METHOD = eINSTANCE.getEXmlAccessMethods_SetMethod();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAnyAttribute <em>EXml Any Attribute</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAnyAttribute
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlAnyAttribute()
+ * @generated
+ */
+ public static final EClass EXML_ANY_ATTRIBUTE = eINSTANCE.getEXmlAnyAttribute();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Path</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ANY_ATTRIBUTE__XML_PATH = eINSTANCE.getEXmlAnyAttribute_XmlPath();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAnyElement <em>EXml Any Element</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAnyElement
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlAnyElement()
+ * @generated
+ */
+ public static final EClass EXML_ANY_ELEMENT = eINSTANCE.getEXmlAnyElement();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Mixed</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ANY_ELEMENT__XML_MIXED = eINSTANCE.getEXmlAnyElement_XmlMixed();
+
+ /**
+ * The meta object literal for the '<em><b>Lax</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ANY_ELEMENT__LAX = eINSTANCE.getEXmlAnyElement_Lax();
+
+ /**
+ * The meta object literal for the '<em><b>Dom Handler</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ANY_ELEMENT__DOM_HANDLER = eINSTANCE.getEXmlAnyElement_DomHandler();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Path</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ANY_ELEMENT__XML_PATH = eINSTANCE.getEXmlAnyElement_XmlPath();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Element Refs</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EReference EXML_ANY_ELEMENT__XML_ELEMENT_REFS = eINSTANCE.getEXmlAnyElement_XmlElementRefs();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute <em>EXml Attribute</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAttribute
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlAttribute()
+ * @generated
+ */
+ public static final EClass EXML_ATTRIBUTE = eINSTANCE.getEXmlAttribute();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ATTRIBUTE__NAME = eINSTANCE.getEXmlAttribute_Name();
+
+ /**
+ * The meta object literal for the '<em><b>Namespace</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ATTRIBUTE__NAMESPACE = eINSTANCE.getEXmlAttribute_Namespace();
+
+ /**
+ * The meta object literal for the '<em><b>Required</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ATTRIBUTE__REQUIRED = eINSTANCE.getEXmlAttribute_Required();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Id</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ATTRIBUTE__XML_ID = eINSTANCE.getEXmlAttribute_XmlId();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Id Ref</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ATTRIBUTE__XML_ID_REF = eINSTANCE.getEXmlAttribute_XmlIdRef();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Key</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ATTRIBUTE__XML_KEY = eINSTANCE.getEXmlAttribute_XmlKey();
+
+ /**
+ * The meta object literal for the '<em><b>Xml List</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ATTRIBUTE__XML_LIST = eINSTANCE.getEXmlAttribute_XmlList();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Inline Binary Data</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ATTRIBUTE__XML_INLINE_BINARY_DATA = eINSTANCE.getEXmlAttribute_XmlInlineBinaryData();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Attachment Ref</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ATTRIBUTE__XML_ATTACHMENT_REF = eINSTANCE.getEXmlAttribute_XmlAttachmentRef();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Mime Type</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ATTRIBUTE__XML_MIME_TYPE = eINSTANCE.getEXmlAttribute_XmlMimeType();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Path</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ATTRIBUTE__XML_PATH = eINSTANCE.getEXmlAttribute_XmlPath();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Abstract Null Policy</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EReference EXML_ATTRIBUTE__XML_ABSTRACT_NULL_POLICY = eINSTANCE.getEXmlAttribute_XmlAbstractNullPolicy();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Schema Type</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EReference EXML_ATTRIBUTE__XML_SCHEMA_TYPE = eINSTANCE.getEXmlAttribute_XmlSchemaType();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings <em>EXml Bindings</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlBindings
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlBindings()
+ * @generated
+ */
+ public static final EClass EXML_BINDINGS = eINSTANCE.getEXmlBindings();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Accessor Type</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_BINDINGS__XML_ACCESSOR_TYPE = eINSTANCE.getEXmlBindings_XmlAccessorType();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Accessor Order</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_BINDINGS__XML_ACCESSOR_ORDER = eINSTANCE.getEXmlBindings_XmlAccessorOrder();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Mapping Metadata Complete</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_BINDINGS__XML_MAPPING_METADATA_COMPLETE = eINSTANCE.getEXmlBindings_XmlMappingMetadataComplete();
+
+ /**
+ * The meta object literal for the '<em><b>Package Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_BINDINGS__PACKAGE_NAME = eINSTANCE.getEXmlBindings_PackageName();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Name Transformer</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_BINDINGS__XML_NAME_TRANSFORMER = eINSTANCE.getEXmlBindings_XmlNameTransformer();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Schema</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EReference EXML_BINDINGS__XML_SCHEMA = eINSTANCE.getEXmlBindings_XmlSchema();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Schema Type</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EReference EXML_BINDINGS__XML_SCHEMA_TYPE = eINSTANCE.getEXmlBindings_XmlSchemaType();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Schema Types</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EReference EXML_BINDINGS__XML_SCHEMA_TYPES = eINSTANCE.getEXmlBindings_XmlSchemaTypes();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Java Type Adapters</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EReference EXML_BINDINGS__XML_JAVA_TYPE_ADAPTERS = eINSTANCE.getEXmlBindings_XmlJavaTypeAdapters();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Registries</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EReference EXML_BINDINGS__XML_REGISTRIES = eINSTANCE.getEXmlBindings_XmlRegistries();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Enums</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EReference EXML_BINDINGS__XML_ENUMS = eINSTANCE.getEXmlBindings_XmlEnums();
+
+ /**
+ * The meta object literal for the '<em><b>Java Types</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EReference EXML_BINDINGS__JAVA_TYPES = eINSTANCE.getEXmlBindings_JavaTypes();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlClassExtractor <em>EXml Class Extractor</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlClassExtractor
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlClassExtractor()
+ * @generated
+ */
+ public static final EClass EXML_CLASS_EXTRACTOR = eINSTANCE.getEXmlClassExtractor();
+
+ /**
+ * The meta object literal for the '<em><b>Class Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_CLASS_EXTRACTOR__CLASS_NAME = eINSTANCE.getEXmlClassExtractor_ClassName();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement <em>EXml Element</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElement
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElement()
+ * @generated
+ */
+ public static final EClass EXML_ELEMENT = eINSTANCE.getEXmlElement();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ELEMENT__NAME = eINSTANCE.getEXmlElement_Name();
+
+ /**
+ * The meta object literal for the '<em><b>Namespace</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ELEMENT__NAMESPACE = eINSTANCE.getEXmlElement_Namespace();
+
+ /**
+ * The meta object literal for the '<em><b>Default Value</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ELEMENT__DEFAULT_VALUE = eINSTANCE.getEXmlElement_DefaultValue();
+
+ /**
+ * The meta object literal for the '<em><b>Nillable</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ELEMENT__NILLABLE = eINSTANCE.getEXmlElement_Nillable();
+
+ /**
+ * The meta object literal for the '<em><b>Required</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ELEMENT__REQUIRED = eINSTANCE.getEXmlElement_Required();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Id</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ELEMENT__XML_ID = eINSTANCE.getEXmlElement_XmlId();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Id Ref</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ELEMENT__XML_ID_REF = eINSTANCE.getEXmlElement_XmlIdRef();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Key</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ELEMENT__XML_KEY = eINSTANCE.getEXmlElement_XmlKey();
+
+ /**
+ * The meta object literal for the '<em><b>Xml List</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ELEMENT__XML_LIST = eINSTANCE.getEXmlElement_XmlList();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Inline Binary Data</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ELEMENT__XML_INLINE_BINARY_DATA = eINSTANCE.getEXmlElement_XmlInlineBinaryData();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Attachment Ref</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ELEMENT__XML_ATTACHMENT_REF = eINSTANCE.getEXmlElement_XmlAttachmentRef();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Mime Type</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ELEMENT__XML_MIME_TYPE = eINSTANCE.getEXmlElement_XmlMimeType();
+
+ /**
+ * The meta object literal for the '<em><b>Cdata</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ELEMENT__CDATA = eINSTANCE.getEXmlElement_Cdata();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Path</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ELEMENT__XML_PATH = eINSTANCE.getEXmlElement_XmlPath();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Location</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ELEMENT__XML_LOCATION = eINSTANCE.getEXmlElement_XmlLocation();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Abstract Null Policy</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EReference EXML_ELEMENT__XML_ABSTRACT_NULL_POLICY = eINSTANCE.getEXmlElement_XmlAbstractNullPolicy();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Element Wrapper</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EReference EXML_ELEMENT__XML_ELEMENT_WRAPPER = eINSTANCE.getEXmlElement_XmlElementWrapper();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Map</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EReference EXML_ELEMENT__XML_MAP = eINSTANCE.getEXmlElement_XmlMap();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Schema Type</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EReference EXML_ELEMENT__XML_SCHEMA_TYPE = eINSTANCE.getEXmlElement_XmlSchemaType();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementDecl <em>EXml Element Decl</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementDecl
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElementDecl()
+ * @generated
+ */
+ public static final EClass EXML_ELEMENT_DECL = eINSTANCE.getEXmlElementDecl();
+
+ /**
+ * The meta object literal for the '<em><b>Java Method</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ELEMENT_DECL__JAVA_METHOD = eINSTANCE.getEXmlElementDecl_JavaMethod();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ELEMENT_DECL__NAME = eINSTANCE.getEXmlElementDecl_Name();
+
+ /**
+ * The meta object literal for the '<em><b>Namespace</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ELEMENT_DECL__NAMESPACE = eINSTANCE.getEXmlElementDecl_Namespace();
+
+ /**
+ * The meta object literal for the '<em><b>Default Value</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ELEMENT_DECL__DEFAULT_VALUE = eINSTANCE.getEXmlElementDecl_DefaultValue();
+
+ /**
+ * The meta object literal for the '<em><b>Scope</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ELEMENT_DECL__SCOPE = eINSTANCE.getEXmlElementDecl_Scope();
+
+ /**
+ * The meta object literal for the '<em><b>Substitution Head Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ELEMENT_DECL__SUBSTITUTION_HEAD_NAME = eINSTANCE.getEXmlElementDecl_SubstitutionHeadName();
+
+ /**
+ * The meta object literal for the '<em><b>Substitution Head Namespace</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ELEMENT_DECL__SUBSTITUTION_HEAD_NAMESPACE = eINSTANCE.getEXmlElementDecl_SubstitutionHeadNamespace();
+
+ /**
+ * The meta object literal for the '<em><b>Type</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ELEMENT_DECL__TYPE = eINSTANCE.getEXmlElementDecl_Type();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRef <em>EXml Element Ref</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRef
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElementRef()
+ * @generated
+ */
+ public static final EClass EXML_ELEMENT_REF = eINSTANCE.getEXmlElementRef();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ELEMENT_REF__NAME = eINSTANCE.getEXmlElementRef_Name();
+
+ /**
+ * The meta object literal for the '<em><b>Namespace</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ELEMENT_REF__NAMESPACE = eINSTANCE.getEXmlElementRef_Namespace();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Mixed</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ELEMENT_REF__XML_MIXED = eINSTANCE.getEXmlElementRef_XmlMixed();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Element Wrapper</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EReference EXML_ELEMENT_REF__XML_ELEMENT_WRAPPER = eINSTANCE.getEXmlElementRef_XmlElementWrapper();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRefs <em>EXml Element Refs</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRefs
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElementRefs()
+ * @generated
+ */
+ public static final EClass EXML_ELEMENT_REFS = eINSTANCE.getEXmlElementRefs();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Mixed</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ELEMENT_REFS__XML_MIXED = eINSTANCE.getEXmlElementRefs_XmlMixed();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Element Refs</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EReference EXML_ELEMENT_REFS__XML_ELEMENT_REFS = eINSTANCE.getEXmlElementRefs_XmlElementRefs();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Element Wrapper</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EReference EXML_ELEMENT_REFS__XML_ELEMENT_WRAPPER = eINSTANCE.getEXmlElementRefs_XmlElementWrapper();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElements <em>EXml Elements</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElements
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElements()
+ * @generated
+ */
+ public static final EClass EXML_ELEMENTS = eINSTANCE.getEXmlElements();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Id Ref</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ELEMENTS__XML_ID_REF = eINSTANCE.getEXmlElements_XmlIdRef();
+
+ /**
+ * The meta object literal for the '<em><b>Xml List</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ELEMENTS__XML_LIST = eINSTANCE.getEXmlElements_XmlList();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Elements</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EReference EXML_ELEMENTS__XML_ELEMENTS = eINSTANCE.getEXmlElements_XmlElements();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Element Wrapper</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EReference EXML_ELEMENTS__XML_ELEMENT_WRAPPER = eINSTANCE.getEXmlElements_XmlElementWrapper();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Join Nodes</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EReference EXML_ELEMENTS__XML_JOIN_NODES = eINSTANCE.getEXmlElements_XmlJoinNodes();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementWrapper <em>EXml Element Wrapper</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementWrapper
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlElementWrapper()
+ * @generated
+ */
+ public static final EClass EXML_ELEMENT_WRAPPER = eINSTANCE.getEXmlElementWrapper();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ELEMENT_WRAPPER__NAME = eINSTANCE.getEXmlElementWrapper_Name();
+
+ /**
+ * The meta object literal for the '<em><b>Namespace</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ELEMENT_WRAPPER__NAMESPACE = eINSTANCE.getEXmlElementWrapper_Namespace();
+
+ /**
+ * The meta object literal for the '<em><b>Nillable</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ELEMENT_WRAPPER__NILLABLE = eINSTANCE.getEXmlElementWrapper_Nillable();
+
+ /**
+ * The meta object literal for the '<em><b>Required</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ELEMENT_WRAPPER__REQUIRED = eINSTANCE.getEXmlElementWrapper_Required();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlEnum <em>EXml Enum</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlEnum
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlEnum()
+ * @generated
+ */
+ public static final EClass EXML_ENUM = eINSTANCE.getEXmlEnum();
+
+ /**
+ * The meta object literal for the '<em><b>Java Enum</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ENUM__JAVA_ENUM = eINSTANCE.getEXmlEnum_JavaEnum();
+
+ /**
+ * The meta object literal for the '<em><b>Value</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ENUM__VALUE = eINSTANCE.getEXmlEnum_Value();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Enum Values</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EReference EXML_ENUM__XML_ENUM_VALUES = eINSTANCE.getEXmlEnum_XmlEnumValues();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlEnumValue <em>EXml Enum Value</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlEnumValue
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlEnumValue()
+ * @generated
+ */
+ public static final EClass EXML_ENUM_VALUE = eINSTANCE.getEXmlEnumValue();
+
+ /**
+ * The meta object literal for the '<em><b>Java Enum Value</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ENUM_VALUE__JAVA_ENUM_VALUE = eINSTANCE.getEXmlEnumValue_JavaEnumValue();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlInverseReference <em>EXml Inverse Reference</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlInverseReference
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlInverseReference()
+ * @generated
+ */
+ public static final EClass EXML_INVERSE_REFERENCE = eINSTANCE.getEXmlInverseReference();
+
+ /**
+ * The meta object literal for the '<em><b>Mapped By</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_INVERSE_REFERENCE__MAPPED_BY = eINSTANCE.getEXmlInverseReference_MappedBy();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlIsSetNullPolicy <em>EXml Is Set Null Policy</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlIsSetNullPolicy
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlIsSetNullPolicy()
+ * @generated
+ */
+ public static final EClass EXML_IS_SET_NULL_POLICY = eINSTANCE.getEXmlIsSetNullPolicy();
+
+ /**
+ * The meta object literal for the '<em><b>Is Set Method Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_IS_SET_NULL_POLICY__IS_SET_METHOD_NAME = eINSTANCE.getEXmlIsSetNullPolicy_IsSetMethodName();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Is Set Parameters</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EReference EXML_IS_SET_NULL_POLICY__XML_IS_SET_PARAMETERS = eINSTANCE.getEXmlIsSetNullPolicy_XmlIsSetParameters();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlIsSetParameter <em>EXml Is Set Parameter</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlIsSetParameter
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlIsSetParameter()
+ * @generated
+ */
+ public static final EClass EXML_IS_SET_PARAMETER = eINSTANCE.getEXmlIsSetParameter();
+
+ /**
+ * The meta object literal for the '<em><b>Value</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_IS_SET_PARAMETER__VALUE = eINSTANCE.getEXmlIsSetParameter_Value();
+
+ /**
+ * The meta object literal for the '<em><b>Type</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_IS_SET_PARAMETER__TYPE = eINSTANCE.getEXmlIsSetParameter_Type();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlJavaTypeAdapter <em>EXml Java Type Adapter</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlJavaTypeAdapter
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlJavaTypeAdapter()
+ * @generated
+ */
+ public static final EClass EXML_JAVA_TYPE_ADAPTER = eINSTANCE.getEXmlJavaTypeAdapter();
+
+ /**
+ * The meta object literal for the '<em><b>Value</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_JAVA_TYPE_ADAPTER__VALUE = eINSTANCE.getEXmlJavaTypeAdapter_Value();
+
+ /**
+ * The meta object literal for the '<em><b>Type</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_JAVA_TYPE_ADAPTER__TYPE = eINSTANCE.getEXmlJavaTypeAdapter_Type();
+
+ /**
+ * The meta object literal for the '<em><b>Value Type</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_JAVA_TYPE_ADAPTER__VALUE_TYPE = eINSTANCE.getEXmlJavaTypeAdapter_ValueType();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlJoinNode <em>EXml Join Node</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlJoinNode
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlJoinNode()
+ * @generated
+ */
+ public static final EClass EXML_JOIN_NODE = eINSTANCE.getEXmlJoinNode();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Path</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_JOIN_NODE__XML_PATH = eINSTANCE.getEXmlJoinNode_XmlPath();
+
+ /**
+ * The meta object literal for the '<em><b>Referenced Xml Path</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_JOIN_NODE__REFERENCED_XML_PATH = eINSTANCE.getEXmlJoinNode_ReferencedXmlPath();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlJoinNodes <em>EXml Join Nodes</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlJoinNodes
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlJoinNodes()
+ * @generated
+ */
+ public static final EClass EXML_JOIN_NODES = eINSTANCE.getEXmlJoinNodes();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Join Nodes</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EReference EXML_JOIN_NODES__XML_JOIN_NODES = eINSTANCE.getEXmlJoinNodes_XmlJoinNodes();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlMap <em>EXml Map</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlMap
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlMap()
+ * @generated
+ */
+ public static final EClass EXML_MAP = eINSTANCE.getEXmlMap();
+
+ /**
+ * The meta object literal for the '<em><b>Key</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_MAP__KEY = eINSTANCE.getEXmlMap_Key();
+
+ /**
+ * The meta object literal for the '<em><b>Value</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_MAP__VALUE = eINSTANCE.getEXmlMap_Value();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlNullPolicy <em>EXml Null Policy</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlNullPolicy
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlNullPolicy()
+ * @generated
+ */
+ public static final EClass EXML_NULL_POLICY = eINSTANCE.getEXmlNullPolicy();
+
+ /**
+ * The meta object literal for the '<em><b>Is Set Performed For Absent Node</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_NULL_POLICY__IS_SET_PERFORMED_FOR_ABSENT_NODE = eINSTANCE.getEXmlNullPolicy_IsSetPerformedForAbsentNode();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlNs <em>EXml Ns</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlNs
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlNs()
+ * @generated
+ */
+ public static final EClass EXML_NS = eINSTANCE.getEXmlNs();
+
+ /**
+ * The meta object literal for the '<em><b>Namespace Uri</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_NS__NAMESPACE_URI = eINSTANCE.getEXmlNs_NamespaceUri();
+
+ /**
+ * The meta object literal for the '<em><b>Prefix</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_NS__PREFIX = eINSTANCE.getEXmlNs_Prefix();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlProperty <em>EXml Property</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlProperty
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlProperty()
+ * @generated
+ */
+ public static final EClass EXML_PROPERTY = eINSTANCE.getEXmlProperty();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_PROPERTY__NAME = eINSTANCE.getEXmlProperty_Name();
+
+ /**
+ * The meta object literal for the '<em><b>Value</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_PROPERTY__VALUE = eINSTANCE.getEXmlProperty_Value();
+
+ /**
+ * The meta object literal for the '<em><b>Value Type</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_PROPERTY__VALUE_TYPE = eINSTANCE.getEXmlProperty_ValueType();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlReadTransformer <em>EXml Read Transformer</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlReadTransformer
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlReadTransformer()
+ * @generated
+ */
+ public static final EClass EXML_READ_TRANSFORMER = eINSTANCE.getEXmlReadTransformer();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlRegistry <em>EXml Registry</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlRegistry
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlRegistry()
+ * @generated
+ */
+ public static final EClass EXML_REGISTRY = eINSTANCE.getEXmlRegistry();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_REGISTRY__NAME = eINSTANCE.getEXmlRegistry_Name();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Element Decls</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EReference EXML_REGISTRY__XML_ELEMENT_DECLS = eINSTANCE.getEXmlRegistry_XmlElementDecls();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlRootElement <em>EXml Root Element</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlRootElement
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlRootElement()
+ * @generated
+ */
+ public static final EClass EXML_ROOT_ELEMENT = eINSTANCE.getEXmlRootElement();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ROOT_ELEMENT__NAME = eINSTANCE.getEXmlRootElement_Name();
+
+ /**
+ * The meta object literal for the '<em><b>Namespace</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_ROOT_ELEMENT__NAMESPACE = eINSTANCE.getEXmlRootElement_Namespace();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlSchema <em>EXml Schema</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlSchema
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlSchema()
+ * @generated
+ */
+ public static final EClass EXML_SCHEMA = eINSTANCE.getEXmlSchema();
+
+ /**
+ * The meta object literal for the '<em><b>Attribute Form Default</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_SCHEMA__ATTRIBUTE_FORM_DEFAULT = eINSTANCE.getEXmlSchema_AttributeFormDefault();
+
+ /**
+ * The meta object literal for the '<em><b>Element Form Default</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_SCHEMA__ELEMENT_FORM_DEFAULT = eINSTANCE.getEXmlSchema_ElementFormDefault();
+
+ /**
+ * The meta object literal for the '<em><b>Location</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_SCHEMA__LOCATION = eINSTANCE.getEXmlSchema_Location();
+
+ /**
+ * The meta object literal for the '<em><b>Namespace</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_SCHEMA__NAMESPACE = eINSTANCE.getEXmlSchema_Namespace();
+
+ /**
+ * The meta object literal for the '<em><b>Xmlns</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EReference EXML_SCHEMA__XMLNS = eINSTANCE.getEXmlSchema_Xmlns();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlSchemaType <em>EXml Schema Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlSchemaType
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlSchemaType()
+ * @generated
+ */
+ public static final EClass EXML_SCHEMA_TYPE = eINSTANCE.getEXmlSchemaType();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_SCHEMA_TYPE__NAME = eINSTANCE.getEXmlSchemaType_Name();
+
+ /**
+ * The meta object literal for the '<em><b>Namespace</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_SCHEMA_TYPE__NAMESPACE = eINSTANCE.getEXmlSchemaType_Namespace();
+
+ /**
+ * The meta object literal for the '<em><b>Type</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_SCHEMA_TYPE__TYPE = eINSTANCE.getEXmlSchemaType_Type();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlTransformation <em>EXml Transformation</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlTransformation
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlTransformation()
+ * @generated
+ */
+ public static final EClass EXML_TRANSFORMATION = eINSTANCE.getEXmlTransformation();
+
+ /**
+ * The meta object literal for the '<em><b>Optional</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_TRANSFORMATION__OPTIONAL = eINSTANCE.getEXmlTransformation_Optional();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Read Transformer</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EReference EXML_TRANSFORMATION__XML_READ_TRANSFORMER = eINSTANCE.getEXmlTransformation_XmlReadTransformer();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Write Transformers</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EReference EXML_TRANSFORMATION__XML_WRITE_TRANSFORMERS = eINSTANCE.getEXmlTransformation_XmlWriteTransformers();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlTransient <em>EXml Transient</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlTransient
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlTransient()
+ * @generated
+ */
+ public static final EClass EXML_TRANSIENT = eINSTANCE.getEXmlTransient();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Location</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_TRANSIENT__XML_LOCATION = eINSTANCE.getEXmlTransient_XmlLocation();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlType <em>EXml Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlType
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlType()
+ * @generated
+ */
+ public static final EClass EXML_TYPE = eINSTANCE.getEXmlType();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_TYPE__NAME = eINSTANCE.getEXmlType_Name();
+
+ /**
+ * The meta object literal for the '<em><b>Namespace</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_TYPE__NAMESPACE = eINSTANCE.getEXmlType_Namespace();
+
+ /**
+ * The meta object literal for the '<em><b>Factory Class</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_TYPE__FACTORY_CLASS = eINSTANCE.getEXmlType_FactoryClass();
+
+ /**
+ * The meta object literal for the '<em><b>Factory Method</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_TYPE__FACTORY_METHOD = eINSTANCE.getEXmlType_FactoryMethod();
+
+ /**
+ * The meta object literal for the '<em><b>Prop Order</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_TYPE__PROP_ORDER = eINSTANCE.getEXmlType_PropOrder();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlValue <em>EXml Value</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlValue
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlValue()
+ * @generated
+ */
+ public static final EClass EXML_VALUE = eINSTANCE.getEXmlValue();
+
+ /**
+ * The meta object literal for the '<em><b>Cdata</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_VALUE__CDATA = eINSTANCE.getEXmlValue_Cdata();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Abstract Null Policy</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EReference EXML_VALUE__XML_ABSTRACT_NULL_POLICY = eINSTANCE.getEXmlValue_XmlAbstractNullPolicy();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlVirtualAccessMethods <em>EXml Virtual Access Methods</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlVirtualAccessMethods
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlVirtualAccessMethods()
+ * @generated
+ */
+ public static final EClass EXML_VIRTUAL_ACCESS_METHODS = eINSTANCE.getEXmlVirtualAccessMethods();
+
+ /**
+ * The meta object literal for the '<em><b>Get Method</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_VIRTUAL_ACCESS_METHODS__GET_METHOD = eINSTANCE.getEXmlVirtualAccessMethods_GetMethod();
+
+ /**
+ * The meta object literal for the '<em><b>Set Method</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_VIRTUAL_ACCESS_METHODS__SET_METHOD = eINSTANCE.getEXmlVirtualAccessMethods_SetMethod();
+
+ /**
+ * The meta object literal for the '<em><b>Schema</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_VIRTUAL_ACCESS_METHODS__SCHEMA = eINSTANCE.getEXmlVirtualAccessMethods_Schema();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlWriteTransformer <em>EXml Write Transformer</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlWriteTransformer
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlWriteTransformer()
+ * @generated
+ */
+ public static final EClass EXML_WRITE_TRANSFORMER = eINSTANCE.getEXmlWriteTransformer();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Path</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EAttribute EXML_WRITE_TRANSFORMER__XML_PATH = eINSTANCE.getEXmlWriteTransformer_XmlPath();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAccessOrder <em>EXml Access Order</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAccessOrder
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlAccessOrder()
+ * @generated
+ */
+ public static final EEnum EXML_ACCESS_ORDER = eINSTANCE.getEXmlAccessOrder();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAccessType <em>EXml Access Type</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlAccessType
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlAccessType()
+ * @generated
+ */
+ public static final EEnum EXML_ACCESS_TYPE = eINSTANCE.getEXmlAccessType();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlMarshalNullRepresentation <em>EXml Marshal Null Representation</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlMarshalNullRepresentation
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlMarshalNullRepresentation()
+ * @generated
+ */
+ public static final EEnum EXML_MARSHAL_NULL_REPRESENTATION = eINSTANCE.getEXmlMarshalNullRepresentation();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlNsForm <em>EXml Ns Form</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlNsForm
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlNsForm()
+ * @generated
+ */
+ public static final EEnum EXML_NS_FORM = eINSTANCE.getEXmlNsForm();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlVirtualAccessMethodsSchema <em>EXml Virtual Access Methods Schema</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlVirtualAccessMethodsSchema
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlVirtualAccessMethodsSchema()
+ * @generated
+ */
+ public static final EEnum EXML_VIRTUAL_ACCESS_METHODS_SCHEMA = eINSTANCE.getEXmlVirtualAccessMethodsSchema();
+
+ /**
+ * The meta object literal for the '<em>EProp Order</em>' data type.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see java.util.List
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEPropOrder()
+ * @generated
+ */
+ public static final EDataType EPROP_ORDER = eINSTANCE.getEPropOrder();
+
+ /**
+ * The meta object literal for the '<em>EXml See Also</em>' data type.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see java.util.List
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlSeeAlso()
+ * @generated
+ */
+ public static final EDataType EXML_SEE_ALSO = eINSTANCE.getEXmlSeeAlso();
+
+ }
+
+} //OxmPackage
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/OxmXmlResourceFactory.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/OxmXmlResourceFactory.java
new file mode 100644
index 0000000000..690b8cc2be
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/OxmXmlResourceFactory.java
@@ -0,0 +1,46 @@
+/*******************************************************************************
+ * Copyright (c) 2007, 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.jaxb.eclipselink.core.resource.oxm;
+
+import org.eclipse.emf.common.util.URI;
+import org.eclipse.jpt.common.core.resource.xml.JptXmlResource;
+import org.eclipse.wst.common.internal.emf.resource.Renderer;
+import org.eclipse.wst.common.internal.emf.resource.RendererFactory;
+import org.eclipse.wst.common.internal.emf.resource.TranslatorResource;
+import org.eclipse.wst.common.internal.emf.resource.TranslatorResourceFactory;
+
+/**
+ * Provisional API: This interface is part of an interim API that is still
+ * under development and expected to change significantly before reaching
+ * stability. It is available at this early stage to solicit feedback from
+ * pioneering adopters on the understanding that any code that uses this API
+ * will almost certainly be broken (repeatedly) as the API evolves.
+ */
+public class OxmXmlResourceFactory
+ extends TranslatorResourceFactory {
+
+ public OxmXmlResourceFactory() {
+ this(RendererFactory.getDefaultRendererFactory());
+ }
+
+ public OxmXmlResourceFactory(RendererFactory aRendererFactory) {
+ super(aRendererFactory);
+ }
+
+ public OxmXmlResourceFactory(RendererFactory aRendererFactory, boolean listeningForUpdates) {
+ super(aRendererFactory, listeningForUpdates);
+ }
+
+
+ @Override
+ protected TranslatorResource createResource(URI uri, Renderer renderer) {
+ return new JptXmlResource(uri, renderer, EXmlBindings.CONTENT_TYPE, EXmlBindings.getRootTranslator());
+ }
+}
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/util/OxmValidator.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/util/OxmValidator.java
new file mode 100644
index 0000000000..c7ce432d68
--- /dev/null
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/util/OxmValidator.java
@@ -0,0 +1,805 @@
+/**
+ */
+package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.util;
+
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
+
+import org.eclipse.emf.common.util.DiagnosticChain;
+import org.eclipse.emf.common.util.ResourceLocator;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.util.EObjectValidator;
+
+import org.eclipse.emf.ecore.xml.type.XMLTypePackage;
+
+import org.eclipse.emf.ecore.xml.type.util.XMLTypeValidator;
+
+import org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.*;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Validator</b> for the model.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage
+ * @generated
+ */
+public class OxmValidator extends EObjectValidator
+{
+ /**
+ * The cached model package
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final OxmValidator INSTANCE = new OxmValidator();
+
+ /**
+ * A constant for the {@link org.eclipse.emf.common.util.Diagnostic#getSource() source} of diagnostic {@link org.eclipse.emf.common.util.Diagnostic#getCode() codes} from this package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.common.util.Diagnostic#getSource()
+ * @see org.eclipse.emf.common.util.Diagnostic#getCode()
+ * @generated
+ */
+ public static final String DIAGNOSTIC_SOURCE = "org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm";
+
+ /**
+ * A constant with a fixed name that can be used as the base value for additional hand written constants.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final int GENERATED_DIAGNOSTIC_CODE_COUNT = 0;
+
+ /**
+ * A constant with a fixed name that can be used as the base value for additional hand written constants in a derived class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static final int DIAGNOSTIC_CODE_COUNT = GENERATED_DIAGNOSTIC_CODE_COUNT;
+
+ /**
+ * The cached base package validator.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected XMLTypeValidator xmlTypeValidator;
+
+ /**
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public OxmValidator()
+ {
+ super();
+ xmlTypeValidator = XMLTypeValidator.INSTANCE;
+ }
+
+ /**
+ * Returns the package of this validator switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EPackage getEPackage()
+ {
+ return OxmPackage.eINSTANCE;
+ }
+
+ /**
+ * Calls <code>validateXXX</code> for the corresponding classifier of the model.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean validate(int classifierID, Object value, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ switch (classifierID)
+ {
+ case OxmPackage.EABSTRACT_XML_NULL_POLICY:
+ return validateEAbstractXmlNullPolicy((EAbstractXmlNullPolicy)value, diagnostics, context);
+ case OxmPackage.EABSTRACT_XML_TRANSFORMER:
+ return validateEAbstractXmlTransformer((EAbstractXmlTransformer)value, diagnostics, context);
+ case OxmPackage.EACCESSIBLE_JAVA_ATTRIBUTE:
+ return validateEAccessibleJavaAttribute((EAccessibleJavaAttribute)value, diagnostics, context);
+ case OxmPackage.EADAPTABLE_JAVA_ATTRIBUTE:
+ return validateEAdaptableJavaAttribute((EAdaptableJavaAttribute)value, diagnostics, context);
+ case OxmPackage.ECONTAINER_JAVA_ATTRIBUTE:
+ return validateEContainerJavaAttribute((EContainerJavaAttribute)value, diagnostics, context);
+ case OxmPackage.EJAVA_ATTRIBUTE:
+ return validateEJavaAttribute((EJavaAttribute)value, diagnostics, context);
+ case OxmPackage.EJAVA_TYPE:
+ return validateEJavaType((EJavaType)value, diagnostics, context);
+ case OxmPackage.EPROPERTY_HOLDER:
+ return validateEPropertyHolder((EPropertyHolder)value, diagnostics, context);
+ case OxmPackage.EREAD_WRITE_JAVA_ATTRIBUTE:
+ return validateEReadWriteJavaAttribute((EReadWriteJavaAttribute)value, diagnostics, context);
+ case OxmPackage.ETYPED_JAVA_ATTRIBUTE:
+ return validateETypedJavaAttribute((ETypedJavaAttribute)value, diagnostics, context);
+ case OxmPackage.EXML_ACCESS_METHODS:
+ return validateEXmlAccessMethods((EXmlAccessMethods)value, diagnostics, context);
+ case OxmPackage.EXML_ANY_ATTRIBUTE:
+ return validateEXmlAnyAttribute((EXmlAnyAttribute)value, diagnostics, context);
+ case OxmPackage.EXML_ANY_ELEMENT:
+ return validateEXmlAnyElement((EXmlAnyElement)value, diagnostics, context);
+ case OxmPackage.EXML_ATTRIBUTE:
+ return validateEXmlAttribute((EXmlAttribute)value, diagnostics, context);
+ case OxmPackage.EXML_BINDINGS:
+ return validateEXmlBindings((EXmlBindings)value, diagnostics, context);
+ case OxmPackage.EXML_CLASS_EXTRACTOR:
+ return validateEXmlClassExtractor((EXmlClassExtractor)value, diagnostics, context);
+ case OxmPackage.EXML_ELEMENT:
+ return validateEXmlElement((EXmlElement)value, diagnostics, context);
+ case OxmPackage.EXML_ELEMENT_DECL:
+ return validateEXmlElementDecl((EXmlElementDecl)value, diagnostics, context);
+ case OxmPackage.EXML_ELEMENT_REF:
+ return validateEXmlElementRef((EXmlElementRef)value, diagnostics, context);
+ case OxmPackage.EXML_ELEMENT_REFS:
+ return validateEXmlElementRefs((EXmlElementRefs)value, diagnostics, context);
+ case OxmPackage.EXML_ELEMENTS:
+ return validateEXmlElements((EXmlElements)value, diagnostics, context);
+ case OxmPackage.EXML_ELEMENT_WRAPPER:
+ return validateEXmlElementWrapper((EXmlElementWrapper)value, diagnostics, context);
+ case OxmPackage.EXML_ENUM:
+ return validateEXmlEnum((EXmlEnum)value, diagnostics, context);
+ case OxmPackage.EXML_ENUM_VALUE:
+ return validateEXmlEnumValue((EXmlEnumValue)value, diagnostics, context);
+ case OxmPackage.EXML_INVERSE_REFERENCE:
+ return validateEXmlInverseReference((EXmlInverseReference)value, diagnostics, context);
+ case OxmPackage.EXML_IS_SET_NULL_POLICY:
+ return validateEXmlIsSetNullPolicy((EXmlIsSetNullPolicy)value, diagnostics, context);
+ case OxmPackage.EXML_IS_SET_PARAMETER:
+ return validateEXmlIsSetParameter((EXmlIsSetParameter)value, diagnostics, context);
+ case OxmPackage.EXML_JAVA_TYPE_ADAPTER:
+ return validateEXmlJavaTypeAdapter((EXmlJavaTypeAdapter)value, diagnostics, context);
+ case OxmPackage.EXML_JOIN_NODE:
+ return validateEXmlJoinNode((EXmlJoinNode)value, diagnostics, context);
+ case OxmPackage.EXML_JOIN_NODES:
+ return validateEXmlJoinNodes((EXmlJoinNodes)value, diagnostics, context);
+ case OxmPackage.EXML_MAP:
+ return validateEXmlMap((EXmlMap)value, diagnostics, context);
+ case OxmPackage.EXML_NULL_POLICY:
+ return validateEXmlNullPolicy((EXmlNullPolicy)value, diagnostics, context);
+ case OxmPackage.EXML_NS:
+ return validateEXmlNs((EXmlNs)value, diagnostics, context);
+ case OxmPackage.EXML_PROPERTY:
+ return validateEXmlProperty((EXmlProperty)value, diagnostics, context);
+ case OxmPackage.EXML_READ_TRANSFORMER:
+ return validateEXmlReadTransformer((EXmlReadTransformer)value, diagnostics, context);
+ case OxmPackage.EXML_REGISTRY:
+ return validateEXmlRegistry((EXmlRegistry)value, diagnostics, context);
+ case OxmPackage.EXML_ROOT_ELEMENT:
+ return validateEXmlRootElement((EXmlRootElement)value, diagnostics, context);
+ case OxmPackage.EXML_SCHEMA:
+ return validateEXmlSchema((EXmlSchema)value, diagnostics, context);
+ case OxmPackage.EXML_SCHEMA_TYPE:
+ return validateEXmlSchemaType((EXmlSchemaType)value, diagnostics, context);
+ case OxmPackage.EXML_TRANSFORMATION:
+ return validateEXmlTransformation((EXmlTransformation)value, diagnostics, context);
+ case OxmPackage.EXML_TRANSIENT:
+ return validateEXmlTransient((EXmlTransient)value, diagnostics, context);
+ case OxmPackage.EXML_TYPE:
+ return validateEXmlType((EXmlType)value, diagnostics, context);
+ case OxmPackage.EXML_VALUE:
+ return validateEXmlValue((EXmlValue)value, diagnostics, context);
+ case OxmPackage.EXML_VIRTUAL_ACCESS_METHODS:
+ return validateEXmlVirtualAccessMethods((EXmlVirtualAccessMethods)value, diagnostics, context);
+ case OxmPackage.EXML_WRITE_TRANSFORMER:
+ return validateEXmlWriteTransformer((EXmlWriteTransformer)value, diagnostics, context);
+ case OxmPackage.EXML_ACCESS_ORDER:
+ return validateEXmlAccessOrder((EXmlAccessOrder)value, diagnostics, context);
+ case OxmPackage.EXML_ACCESS_TYPE:
+ return validateEXmlAccessType((EXmlAccessType)value, diagnostics, context);
+ case OxmPackage.EXML_MARSHAL_NULL_REPRESENTATION:
+ return validateEXmlMarshalNullRepresentation((EXmlMarshalNullRepresentation)value, diagnostics, context);
+ case OxmPackage.EXML_NS_FORM:
+ return validateEXmlNsForm((EXmlNsForm)value, diagnostics, context);
+ case OxmPackage.EXML_VIRTUAL_ACCESS_METHODS_SCHEMA:
+ return validateEXmlVirtualAccessMethodsSchema((EXmlVirtualAccessMethodsSchema)value, diagnostics, context);
+ case OxmPackage.EPROP_ORDER:
+ return validateEPropOrder((List<?>)value, diagnostics, context);
+ case OxmPackage.EXML_SEE_ALSO:
+ return validateEXmlSeeAlso((List<?>)value, diagnostics, context);
+ default:
+ return true;
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEAbstractXmlNullPolicy(EAbstractXmlNullPolicy eAbstractXmlNullPolicy, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return validate_EveryDefaultConstraint((EObject)eAbstractXmlNullPolicy, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEAbstractXmlTransformer(EAbstractXmlTransformer eAbstractXmlTransformer, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return validate_EveryDefaultConstraint((EObject)eAbstractXmlTransformer, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEAccessibleJavaAttribute(EAccessibleJavaAttribute eAccessibleJavaAttribute, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return validate_EveryDefaultConstraint((EObject)eAccessibleJavaAttribute, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEAdaptableJavaAttribute(EAdaptableJavaAttribute eAdaptableJavaAttribute, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return validate_EveryDefaultConstraint((EObject)eAdaptableJavaAttribute, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEContainerJavaAttribute(EContainerJavaAttribute eContainerJavaAttribute, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return validate_EveryDefaultConstraint((EObject)eContainerJavaAttribute, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEJavaAttribute(EJavaAttribute eJavaAttribute, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return validate_EveryDefaultConstraint((EObject)eJavaAttribute, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEJavaType(EJavaType eJavaType, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return validate_EveryDefaultConstraint((EObject)eJavaType, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEPropertyHolder(EPropertyHolder ePropertyHolder, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return validate_EveryDefaultConstraint((EObject)ePropertyHolder, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEReadWriteJavaAttribute(EReadWriteJavaAttribute eReadWriteJavaAttribute, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return validate_EveryDefaultConstraint((EObject)eReadWriteJavaAttribute, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateETypedJavaAttribute(ETypedJavaAttribute eTypedJavaAttribute, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return validate_EveryDefaultConstraint((EObject)eTypedJavaAttribute, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEXmlAccessMethods(EXmlAccessMethods eXmlAccessMethods, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return validate_EveryDefaultConstraint((EObject)eXmlAccessMethods, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEXmlAnyAttribute(EXmlAnyAttribute eXmlAnyAttribute, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return validate_EveryDefaultConstraint((EObject)eXmlAnyAttribute, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEXmlAnyElement(EXmlAnyElement eXmlAnyElement, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return validate_EveryDefaultConstraint((EObject)eXmlAnyElement, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEXmlAttribute(EXmlAttribute eXmlAttribute, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return validate_EveryDefaultConstraint((EObject)eXmlAttribute, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEXmlBindings(EXmlBindings eXmlBindings, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return validate_EveryDefaultConstraint((EObject)eXmlBindings, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEXmlClassExtractor(EXmlClassExtractor eXmlClassExtractor, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return validate_EveryDefaultConstraint((EObject)eXmlClassExtractor, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEXmlElement(EXmlElement eXmlElement, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return validate_EveryDefaultConstraint((EObject)eXmlElement, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEXmlElementDecl(EXmlElementDecl eXmlElementDecl, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return validate_EveryDefaultConstraint((EObject)eXmlElementDecl, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEXmlElementRef(EXmlElementRef eXmlElementRef, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return validate_EveryDefaultConstraint((EObject)eXmlElementRef, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEXmlElementRefs(EXmlElementRefs eXmlElementRefs, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return validate_EveryDefaultConstraint((EObject)eXmlElementRefs, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEXmlElements(EXmlElements eXmlElements, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return validate_EveryDefaultConstraint((EObject)eXmlElements, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEXmlElementWrapper(EXmlElementWrapper eXmlElementWrapper, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return validate_EveryDefaultConstraint((EObject)eXmlElementWrapper, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEXmlEnum(EXmlEnum eXmlEnum, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return validate_EveryDefaultConstraint((EObject)eXmlEnum, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEXmlEnumValue(EXmlEnumValue eXmlEnumValue, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return validate_EveryDefaultConstraint((EObject)eXmlEnumValue, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEXmlInverseReference(EXmlInverseReference eXmlInverseReference, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return validate_EveryDefaultConstraint((EObject)eXmlInverseReference, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEXmlIsSetNullPolicy(EXmlIsSetNullPolicy eXmlIsSetNullPolicy, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return validate_EveryDefaultConstraint((EObject)eXmlIsSetNullPolicy, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEXmlIsSetParameter(EXmlIsSetParameter eXmlIsSetParameter, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return validate_EveryDefaultConstraint((EObject)eXmlIsSetParameter, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEXmlJavaTypeAdapter(EXmlJavaTypeAdapter eXmlJavaTypeAdapter, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return validate_EveryDefaultConstraint((EObject)eXmlJavaTypeAdapter, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEXmlJoinNode(EXmlJoinNode eXmlJoinNode, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return validate_EveryDefaultConstraint((EObject)eXmlJoinNode, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEXmlJoinNodes(EXmlJoinNodes eXmlJoinNodes, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return validate_EveryDefaultConstraint((EObject)eXmlJoinNodes, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEXmlMap(EXmlMap eXmlMap, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return validate_EveryDefaultConstraint((EObject)eXmlMap, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEXmlNullPolicy(EXmlNullPolicy eXmlNullPolicy, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return validate_EveryDefaultConstraint((EObject)eXmlNullPolicy, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEXmlNs(EXmlNs eXmlNs, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return validate_EveryDefaultConstraint((EObject)eXmlNs, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEXmlProperty(EXmlProperty eXmlProperty, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return validate_EveryDefaultConstraint((EObject)eXmlProperty, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEXmlReadTransformer(EXmlReadTransformer eXmlReadTransformer, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return validate_EveryDefaultConstraint((EObject)eXmlReadTransformer, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEXmlRegistry(EXmlRegistry eXmlRegistry, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return validate_EveryDefaultConstraint((EObject)eXmlRegistry, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEXmlRootElement(EXmlRootElement eXmlRootElement, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return validate_EveryDefaultConstraint((EObject)eXmlRootElement, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEXmlSchema(EXmlSchema eXmlSchema, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return validate_EveryDefaultConstraint((EObject)eXmlSchema, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEXmlSchemaType(EXmlSchemaType eXmlSchemaType, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return validate_EveryDefaultConstraint((EObject)eXmlSchemaType, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEXmlTransformation(EXmlTransformation eXmlTransformation, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return validate_EveryDefaultConstraint((EObject)eXmlTransformation, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEXmlTransient(EXmlTransient eXmlTransient, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return validate_EveryDefaultConstraint((EObject)eXmlTransient, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEXmlType(EXmlType eXmlType, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return validate_EveryDefaultConstraint((EObject)eXmlType, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEXmlValue(EXmlValue eXmlValue, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return validate_EveryDefaultConstraint((EObject)eXmlValue, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEXmlVirtualAccessMethods(EXmlVirtualAccessMethods eXmlVirtualAccessMethods, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return validate_EveryDefaultConstraint((EObject)eXmlVirtualAccessMethods, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEXmlWriteTransformer(EXmlWriteTransformer eXmlWriteTransformer, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return validate_EveryDefaultConstraint((EObject)eXmlWriteTransformer, diagnostics, context);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEXmlAccessOrder(EXmlAccessOrder eXmlAccessOrder, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return true;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEXmlAccessType(EXmlAccessType eXmlAccessType, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return true;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEXmlMarshalNullRepresentation(EXmlMarshalNullRepresentation eXmlMarshalNullRepresentation, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return true;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEXmlNsForm(EXmlNsForm eXmlNsForm, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return true;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEXmlVirtualAccessMethodsSchema(EXmlVirtualAccessMethodsSchema eXmlVirtualAccessMethodsSchema, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ return true;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEPropOrder(List<?> ePropOrder, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ boolean result = validateEPropOrder_ItemType(ePropOrder, diagnostics, context);
+ return result;
+ }
+
+ /**
+ * Validates the ItemType constraint of '<em>EProp Order</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEPropOrder_ItemType(List<?> ePropOrder, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ boolean result = true;
+ for (Iterator<?> i = ePropOrder.iterator(); i.hasNext() && (result || diagnostics != null); )
+ {
+ Object item = i.next();
+ if (XMLTypePackage.Literals.STRING.isInstance(item))
+ {
+ result &= xmlTypeValidator.validateString((String)item, diagnostics, context);
+ }
+ else
+ {
+ result = false;
+ reportDataValueTypeViolation(XMLTypePackage.Literals.STRING, item, diagnostics, context);
+ }
+ }
+ return result;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEXmlSeeAlso(List<?> eXmlSeeAlso, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ boolean result = validateEXmlSeeAlso_ItemType(eXmlSeeAlso, diagnostics, context);
+ return result;
+ }
+
+ /**
+ * Validates the ItemType constraint of '<em>EXml See Also</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateEXmlSeeAlso_ItemType(List<?> eXmlSeeAlso, DiagnosticChain diagnostics, Map<Object, Object> context)
+ {
+ boolean result = true;
+ for (Iterator<?> i = eXmlSeeAlso.iterator(); i.hasNext() && (result || diagnostics != null); )
+ {
+ Object item = i.next();
+ if (XMLTypePackage.Literals.STRING.isInstance(item))
+ {
+ result &= xmlTypeValidator.validateString((String)item, diagnostics, context);
+ }
+ else
+ {
+ result = false;
+ reportDataValueTypeViolation(XMLTypePackage.Literals.STRING, item, diagnostics, context);
+ }
+ }
+ return result;
+ }
+
+ /**
+ * Returns the resource locator that will be used to fetch messages for this validator's diagnostics.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public ResourceLocator getResourceLocator()
+ {
+ // TODO
+ // Specialize this to return a resource locator for messages specific to this validator.
+ // Ensure that you remove @generated or mark it @generated NOT
+ return super.getResourceLocator();
+ }
+
+} //OxmValidator

Back to the top