Skip to main content
summaryrefslogtreecommitdiffstats
path: root/jaxb
diff options
context:
space:
mode:
authorNeil Hauge2015-01-15 14:21:37 -0500
committerNeil Hauge2015-01-15 15:41:07 -0500
commit8072ba2ccdc0e5c4ef76803a9ebc7cb974d73a0a (patch)
treea5c77806b56b913619eae5af5fff65fdb6b89667 /jaxb
parente183add16e19f282015ff88126c6364ea08630d0 (diff)
downloadwebtools.dali-8072ba2ccdc0e5c4ef76803a9ebc7cb974d73a0a.tar.gz
webtools.dali-8072ba2ccdc0e5c4ef76803a9ebc7cb974d73a0a.tar.xz
webtools.dali-8072ba2ccdc0e5c4ef76803a9ebc7cb974d73a0a.zip
Change line endings.
Diffstat (limited to 'jaxb')
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/model/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlVirtualAccessMethodsSchema.java446
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/internal/context/oxm/OxmXmlElementRefsImpl.java64
2 files changed, 255 insertions, 255 deletions
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/model/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlVirtualAccessMethodsSchema.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/model/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlVirtualAccessMethodsSchema.java
index a6697b2cba..ef5c33753c 100644
--- a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/model/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlVirtualAccessMethodsSchema.java
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/model/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/oxm/EXmlVirtualAccessMethodsSchema.java
@@ -1,223 +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
+/**
+ */
+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/internal/context/oxm/OxmXmlElementRefsImpl.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/internal/context/oxm/OxmXmlElementRefsImpl.java
index ffa833ac71..6aa031df1d 100644
--- a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/internal/context/oxm/OxmXmlElementRefsImpl.java
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/internal/context/oxm/OxmXmlElementRefsImpl.java
@@ -1,34 +1,34 @@
-/*******************************************************************************
- * Copyright (c) 2013 Oracle. All rights reserved.
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0, which accompanies this distribution
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Oracle - initial API and implementation
- *******************************************************************************/
+/*******************************************************************************
+ * Copyright (c) 2013 Oracle. All rights reserved.
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0, which accompanies 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.context.oxm;
-
-import org.eclipse.jpt.jaxb.eclipselink.core.ELJaxbMappingKeys;
-import org.eclipse.jpt.jaxb.eclipselink.core.context.oxm.OxmJavaAttribute;
-import org.eclipse.jpt.jaxb.eclipselink.core.context.oxm.OxmXmlElementRefs;
-import org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRefs;
-public class OxmXmlElementRefsImpl
- extends AbstractOxmAttributeMapping<EXmlElementRefs>
- implements OxmXmlElementRefs {
-
- public OxmXmlElementRefsImpl(OxmJavaAttribute parent, EXmlElementRefs eJavaAttribute) {
- super(parent, eJavaAttribute);
- }
-
-
- public String getKey() {
- return ELJaxbMappingKeys.XML_ELEMENT_REFS_ATTRIBUTE_MAPPING_KEY;
- }
-
- @Override
- public boolean isParticleMapping() {
- return true;
- }
-}
+import org.eclipse.jpt.jaxb.eclipselink.core.ELJaxbMappingKeys;
+import org.eclipse.jpt.jaxb.eclipselink.core.context.oxm.OxmJavaAttribute;
+import org.eclipse.jpt.jaxb.eclipselink.core.context.oxm.OxmXmlElementRefs;
+import org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlElementRefs;
+
+public class OxmXmlElementRefsImpl
+ extends AbstractOxmAttributeMapping<EXmlElementRefs>
+ implements OxmXmlElementRefs {
+
+ public OxmXmlElementRefsImpl(OxmJavaAttribute parent, EXmlElementRefs eJavaAttribute) {
+ super(parent, eJavaAttribute);
+ }
+
+
+ public String getKey() {
+ return ELJaxbMappingKeys.XML_ELEMENT_REFS_ATTRIBUTE_MAPPING_KEY;
+ }
+
+ @Override
+ public boolean isParticleMapping() {
+ return true;
+ }
+}

Back to the top