You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by an...@apache.org on 2015/12/04 17:15:07 UTC
[03/39] tomee git commit: EOL
http://git-wip-us.apache.org/repos/asf/tomee/blob/52567075/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/ObjectFactory.java
----------------------------------------------------------------------
diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/ObjectFactory.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/ObjectFactory.java
index a791fe3..18c114f 100644
--- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/ObjectFactory.java
+++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/ObjectFactory.java
@@ -1,259 +1,259 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.openejb.jee.was.v6.xmi;
-
-import javax.xml.bind.JAXBElement;
-import javax.xml.bind.annotation.XmlElementDecl;
-import javax.xml.bind.annotation.XmlRegistry;
-import javax.xml.namespace.QName;
-
-/**
- * This object contains factory methods for each Java content interface and Java
- * element interface generated in the org.apache.openejb.jee.was.v6.xmi package.
- * <p/>
- * An ObjectFactory allows you to programatically construct new instances of the
- * Java representation for XML content. The Java representation of XML content
- * can consist of schema derived interfaces and classes representing the binding
- * of schema type definitions, element declarations and model groups. Factory
- * methods for each of these are provided in this class.
- */
-@XmlRegistry
-public class ObjectFactory {
-
- private final static QName _Model_QNAME = new QName(
- "http://www.omg.org/XMI", "Model");
- private final static QName _PackageReference_QNAME = new QName(
- "http://www.omg.org/XMI", "PackageReference");
- private final static QName _Difference_QNAME = new QName(
- "http://www.omg.org/XMI", "Difference");
- private final static QName _XMI_QNAME = new QName("http://www.omg.org/XMI",
- "XMI");
- private final static QName _MetaModel_QNAME = new QName(
- "http://www.omg.org/XMI", "MetaModel");
- private final static QName _Extension_QNAME = new QName(
- "http://www.omg.org/XMI", "Extension");
- private final static QName _Delete_QNAME = new QName(
- "http://www.omg.org/XMI", "Delete");
- private final static QName _Add_QNAME = new QName("http://www.omg.org/XMI",
- "Add");
- private final static QName _Import_QNAME = new QName(
- "http://www.omg.org/XMI", "Import");
- private final static QName _Documentation_QNAME = new QName(
- "http://www.omg.org/XMI", "Documentation");
- private final static QName _Replace_QNAME = new QName(
- "http://www.omg.org/XMI", "Replace");
-
- /**
- * Create a new ObjectFactory that can be used to create new instances of
- * schema derived classes for package: org.apache.openejb.jee.was.v6.xmi
- */
- public ObjectFactory() {
- }
-
- /**
- * Create an instance of {@link Difference.Target }
- */
- public Difference.Target createDifferenceTarget() {
- return new Difference.Target();
- }
-
- /**
- * Create an instance of {@link Delete }
- */
- public Delete createDelete() {
- return new Delete();
- }
-
- /**
- * Create an instance of {@link Add }
- */
- public Add createAdd() {
- return new Add();
- }
-
- /**
- * Create an instance of {@link Model }
- */
- public Model createModel() {
- return new Model();
- }
-
- /**
- * Create an instance of {@link MetaModel }
- */
- public MetaModel createMetaModel() {
- return new MetaModel();
- }
-
- /**
- * Create an instance of {@link XMI }
- */
- public XMI createXMI() {
- return new XMI();
- }
-
- /**
- * Create an instance of {@link PackageReference }
- */
- public PackageReference createPackageReference() {
- return new PackageReference();
- }
-
- /**
- * Create an instance of {@link Replace }
- */
- public Replace createReplace() {
- return new Replace();
- }
-
- /**
- * Create an instance of {@link Extension }
- */
- public Extension createExtension() {
- return new Extension();
- }
-
- /**
- * Create an instance of {@link Documentation }
- */
- public Documentation createDocumentation() {
- return new Documentation();
- }
-
- /**
- * Create an instance of {@link Import }
- */
- public Import createImport() {
- return new Import();
- }
-
- /**
- * Create an instance of {@link Difference }
- */
- public Difference createDifference() {
- return new Difference();
- }
-
- /**
- * Create an instance of {@link Any }
- */
- public Any createAny() {
- return new Any();
- }
-
- /**
- * Create an instance of {@link JAXBElement }{@code <}{@link Model }{@code >}
- */
- @XmlElementDecl(namespace = "http://www.omg.org/XMI", name = "Model")
- public JAXBElement<Model> createModel(final Model value) {
- return new JAXBElement<Model>(_Model_QNAME, Model.class, null, value);
- }
-
- /**
- * Create an instance of {@link JAXBElement }{@code <}
- * {@link PackageReference }{@code >}
- */
- @XmlElementDecl(namespace = "http://www.omg.org/XMI", name = "PackageReference")
- public JAXBElement<PackageReference> createPackageReference(
- final PackageReference value) {
- return new JAXBElement<PackageReference>(_PackageReference_QNAME,
- PackageReference.class, null, value);
- }
-
- /**
- * Create an instance of {@link JAXBElement }{@code <}{@link Difference }
- * {@code >}
- */
- @XmlElementDecl(namespace = "http://www.omg.org/XMI", name = "Difference")
- public JAXBElement<Difference> createDifference(final Difference value) {
- return new JAXBElement<Difference>(_Difference_QNAME, Difference.class,
- null, value);
- }
-
- /**
- * Create an instance of {@link JAXBElement }{@code <}{@link XMI }{@code >}
- */
- @XmlElementDecl(namespace = "http://www.omg.org/XMI", name = "XMI")
- public JAXBElement<XMI> createXMI(final XMI value) {
- return new JAXBElement<XMI>(_XMI_QNAME, XMI.class, null, value);
- }
-
- /**
- * Create an instance of {@link JAXBElement }{@code <}{@link MetaModel }
- * {@code >}
- */
- @XmlElementDecl(namespace = "http://www.omg.org/XMI", name = "MetaModel")
- public JAXBElement<MetaModel> createMetaModel(final MetaModel value) {
- return new JAXBElement<MetaModel>(_MetaModel_QNAME, MetaModel.class,
- null, value);
- }
-
- /**
- * Create an instance of {@link JAXBElement }{@code <}{@link Extension }
- * {@code >}
- */
- @XmlElementDecl(namespace = "http://www.omg.org/XMI", name = "Extension")
- public JAXBElement<Extension> createExtension(final Extension value) {
- return new JAXBElement<Extension>(_Extension_QNAME, Extension.class,
- null, value);
- }
-
- /**
- * Create an instance of {@link JAXBElement }{@code <}{@link Delete }{@code >}
- */
- @XmlElementDecl(namespace = "http://www.omg.org/XMI", name = "Delete")
- public JAXBElement<Delete> createDelete(final Delete value) {
- return new JAXBElement<Delete>(_Delete_QNAME, Delete.class, null, value);
- }
-
- /**
- * Create an instance of {@link JAXBElement }{@code <}{@link Add }{@code >}
- */
- @XmlElementDecl(namespace = "http://www.omg.org/XMI", name = "Add")
- public JAXBElement<Add> createAdd(final Add value) {
- return new JAXBElement<Add>(_Add_QNAME, Add.class, null, value);
- }
-
- /**
- * Create an instance of {@link JAXBElement }{@code <}{@link Import }{@code >}
- */
- @XmlElementDecl(namespace = "http://www.omg.org/XMI", name = "Import")
- public JAXBElement<Import> createImport(final Import value) {
- return new JAXBElement<Import>(_Import_QNAME, Import.class, null, value);
- }
-
- /**
- * Create an instance of {@link JAXBElement }{@code <}{@link Documentation }
- * {@code >}
- */
- @XmlElementDecl(namespace = "http://www.omg.org/XMI", name = "Documentation")
- public JAXBElement<Documentation> createDocumentation(final Documentation value) {
- return new JAXBElement<Documentation>(_Documentation_QNAME,
- Documentation.class, null, value);
- }
-
- /**
- * Create an instance of {@link JAXBElement }{@code <}{@link Replace }{@code
- * >}
- */
- @XmlElementDecl(namespace = "http://www.omg.org/XMI", name = "Replace")
- public JAXBElement<Replace> createReplace(final Replace value) {
- return new JAXBElement<Replace>(_Replace_QNAME, Replace.class, null,
- value);
- }
-
-}
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.jee.was.v6.xmi;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.namespace.QName;
+
+/**
+ * This object contains factory methods for each Java content interface and Java
+ * element interface generated in the org.apache.openejb.jee.was.v6.xmi package.
+ * <p/>
+ * An ObjectFactory allows you to programatically construct new instances of the
+ * Java representation for XML content. The Java representation of XML content
+ * can consist of schema derived interfaces and classes representing the binding
+ * of schema type definitions, element declarations and model groups. Factory
+ * methods for each of these are provided in this class.
+ */
+@XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _Model_QNAME = new QName(
+ "http://www.omg.org/XMI", "Model");
+ private final static QName _PackageReference_QNAME = new QName(
+ "http://www.omg.org/XMI", "PackageReference");
+ private final static QName _Difference_QNAME = new QName(
+ "http://www.omg.org/XMI", "Difference");
+ private final static QName _XMI_QNAME = new QName("http://www.omg.org/XMI",
+ "XMI");
+ private final static QName _MetaModel_QNAME = new QName(
+ "http://www.omg.org/XMI", "MetaModel");
+ private final static QName _Extension_QNAME = new QName(
+ "http://www.omg.org/XMI", "Extension");
+ private final static QName _Delete_QNAME = new QName(
+ "http://www.omg.org/XMI", "Delete");
+ private final static QName _Add_QNAME = new QName("http://www.omg.org/XMI",
+ "Add");
+ private final static QName _Import_QNAME = new QName(
+ "http://www.omg.org/XMI", "Import");
+ private final static QName _Documentation_QNAME = new QName(
+ "http://www.omg.org/XMI", "Documentation");
+ private final static QName _Replace_QNAME = new QName(
+ "http://www.omg.org/XMI", "Replace");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of
+ * schema derived classes for package: org.apache.openejb.jee.was.v6.xmi
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link Difference.Target }
+ */
+ public Difference.Target createDifferenceTarget() {
+ return new Difference.Target();
+ }
+
+ /**
+ * Create an instance of {@link Delete }
+ */
+ public Delete createDelete() {
+ return new Delete();
+ }
+
+ /**
+ * Create an instance of {@link Add }
+ */
+ public Add createAdd() {
+ return new Add();
+ }
+
+ /**
+ * Create an instance of {@link Model }
+ */
+ public Model createModel() {
+ return new Model();
+ }
+
+ /**
+ * Create an instance of {@link MetaModel }
+ */
+ public MetaModel createMetaModel() {
+ return new MetaModel();
+ }
+
+ /**
+ * Create an instance of {@link XMI }
+ */
+ public XMI createXMI() {
+ return new XMI();
+ }
+
+ /**
+ * Create an instance of {@link PackageReference }
+ */
+ public PackageReference createPackageReference() {
+ return new PackageReference();
+ }
+
+ /**
+ * Create an instance of {@link Replace }
+ */
+ public Replace createReplace() {
+ return new Replace();
+ }
+
+ /**
+ * Create an instance of {@link Extension }
+ */
+ public Extension createExtension() {
+ return new Extension();
+ }
+
+ /**
+ * Create an instance of {@link Documentation }
+ */
+ public Documentation createDocumentation() {
+ return new Documentation();
+ }
+
+ /**
+ * Create an instance of {@link Import }
+ */
+ public Import createImport() {
+ return new Import();
+ }
+
+ /**
+ * Create an instance of {@link Difference }
+ */
+ public Difference createDifference() {
+ return new Difference();
+ }
+
+ /**
+ * Create an instance of {@link Any }
+ */
+ public Any createAny() {
+ return new Any();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Model }{@code >}
+ */
+ @XmlElementDecl(namespace = "http://www.omg.org/XMI", name = "Model")
+ public JAXBElement<Model> createModel(final Model value) {
+ return new JAXBElement<Model>(_Model_QNAME, Model.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}
+ * {@link PackageReference }{@code >}
+ */
+ @XmlElementDecl(namespace = "http://www.omg.org/XMI", name = "PackageReference")
+ public JAXBElement<PackageReference> createPackageReference(
+ final PackageReference value) {
+ return new JAXBElement<PackageReference>(_PackageReference_QNAME,
+ PackageReference.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Difference }
+ * {@code >}
+ */
+ @XmlElementDecl(namespace = "http://www.omg.org/XMI", name = "Difference")
+ public JAXBElement<Difference> createDifference(final Difference value) {
+ return new JAXBElement<Difference>(_Difference_QNAME, Difference.class,
+ null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link XMI }{@code >}
+ */
+ @XmlElementDecl(namespace = "http://www.omg.org/XMI", name = "XMI")
+ public JAXBElement<XMI> createXMI(final XMI value) {
+ return new JAXBElement<XMI>(_XMI_QNAME, XMI.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link MetaModel }
+ * {@code >}
+ */
+ @XmlElementDecl(namespace = "http://www.omg.org/XMI", name = "MetaModel")
+ public JAXBElement<MetaModel> createMetaModel(final MetaModel value) {
+ return new JAXBElement<MetaModel>(_MetaModel_QNAME, MetaModel.class,
+ null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Extension }
+ * {@code >}
+ */
+ @XmlElementDecl(namespace = "http://www.omg.org/XMI", name = "Extension")
+ public JAXBElement<Extension> createExtension(final Extension value) {
+ return new JAXBElement<Extension>(_Extension_QNAME, Extension.class,
+ null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Delete }{@code >}
+ */
+ @XmlElementDecl(namespace = "http://www.omg.org/XMI", name = "Delete")
+ public JAXBElement<Delete> createDelete(final Delete value) {
+ return new JAXBElement<Delete>(_Delete_QNAME, Delete.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Add }{@code >}
+ */
+ @XmlElementDecl(namespace = "http://www.omg.org/XMI", name = "Add")
+ public JAXBElement<Add> createAdd(final Add value) {
+ return new JAXBElement<Add>(_Add_QNAME, Add.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Import }{@code >}
+ */
+ @XmlElementDecl(namespace = "http://www.omg.org/XMI", name = "Import")
+ public JAXBElement<Import> createImport(final Import value) {
+ return new JAXBElement<Import>(_Import_QNAME, Import.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Documentation }
+ * {@code >}
+ */
+ @XmlElementDecl(namespace = "http://www.omg.org/XMI", name = "Documentation")
+ public JAXBElement<Documentation> createDocumentation(final Documentation value) {
+ return new JAXBElement<Documentation>(_Documentation_QNAME,
+ Documentation.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Replace }{@code
+ * >}
+ */
+ @XmlElementDecl(namespace = "http://www.omg.org/XMI", name = "Replace")
+ public JAXBElement<Replace> createReplace(final Replace value) {
+ return new JAXBElement<Replace>(_Replace_QNAME, Replace.class, null,
+ value);
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/tomee/blob/52567075/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/PackageReference.java
----------------------------------------------------------------------
diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/PackageReference.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/PackageReference.java
index 6c76225..9ff3490 100644
--- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/PackageReference.java
+++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/PackageReference.java
@@ -1,264 +1,264 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.openejb.jee.was.v6.xmi;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlIDREF;
-import javax.xml.bind.annotation.XmlType;
-import javax.xml.namespace.QName;
-import java.util.ArrayList;
-import java.util.List;
-
-/**
- * <p/>
- * Java class for PackageReference complex type.
- * <p/>
- * <p/>
- * The following schema fragment specifies the expected content contained within
- * this class.
- * <p/>
- * <pre>
- * <complexType name="PackageReference">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <choice>
- * <choice maxOccurs="unbounded" minOccurs="0">
- * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
- * </choice>
- * <choice maxOccurs="unbounded" minOccurs="0">
- * <element name="version" type="{http://www.w3.org/2001/XMLSchema}string"/>
- * </choice>
- * </choice>
- * <attGroup ref="{http://www.omg.org/XMI}ObjectAttribs"/>
- * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </pre>
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "PackageReference", propOrder = {"names", "versions"})
-public class PackageReference {
-
- @XmlElement(name = "name")
- protected List<String> names;
- @XmlElement(name = "version")
- protected List<String> versions;
- @XmlAttribute
- protected String name;
- @XmlAttribute(namespace = "http://www.omg.org/XMI")
- protected QName type;
- @XmlAttribute(namespace = "http://www.omg.org/XMI")
- protected String version;
- @XmlAttribute
- protected String href;
- @XmlAttribute(namespace = "http://www.omg.org/XMI")
- @XmlIDREF
- protected Object idref;
- @XmlAttribute(namespace = "http://www.omg.org/XMI")
- protected String label;
- @XmlAttribute(namespace = "http://www.omg.org/XMI")
- protected String uuid;
-
- /**
- * Gets the value of the names property.
- * <p/>
- * <p/>
- * This accessor method returns a reference to the live list, not a
- * snapshot. Therefore any modification you make to the returned list will
- * be present inside the JAXB object. This is why there is not a
- * <CODE>set</CODE> method for the names property.
- * <p/>
- * <p/>
- * For example, to add a new item, do as follows:
- * <p/>
- * <pre>
- * getNames().add(newItem);
- * </pre>
- * <p/>
- * <p/>
- * <p/>
- * Objects of the following type(s) are allowed in the list {@link String }
- */
- public List<String> getNames() {
- if (names == null) {
- names = new ArrayList<String>();
- }
- return this.names;
- }
-
- /**
- * Gets the value of the versions property.
- * <p/>
- * <p/>
- * This accessor method returns a reference to the live list, not a
- * snapshot. Therefore any modification you make to the returned list will
- * be present inside the JAXB object. This is why there is not a
- * <CODE>set</CODE> method for the versions property.
- * <p/>
- * <p/>
- * For example, to add a new item, do as follows:
- * <p/>
- * <pre>
- * getVersions().add(newItem);
- * </pre>
- * <p/>
- * <p/>
- * <p/>
- * Objects of the following type(s) are allowed in the list {@link String }
- */
- public List<String> getVersions() {
- if (versions == null) {
- versions = new ArrayList<String>();
- }
- return this.versions;
- }
-
- /**
- * Gets the value of the name property.
- *
- * @return possible object is {@link String }
- */
- public String getName() {
- return name;
- }
-
- /**
- * Sets the value of the name property.
- *
- * @param value allowed object is {@link String }
- */
- public void setName(final String value) {
- this.name = value;
- }
-
- /**
- * Gets the value of the type property.
- *
- * @return possible object is {@link QName }
- */
- public QName getType() {
- return type;
- }
-
- /**
- * Sets the value of the type property.
- *
- * @param value allowed object is {@link QName }
- */
- public void setType(final QName value) {
- this.type = value;
- }
-
- /**
- * Gets the value of the version property.
- *
- * @return possible object is {@link String }
- */
- public String getVersion() {
- if (version == null) {
- return "2.0";
- } else {
- return version;
- }
- }
-
- /**
- * Sets the value of the version property.
- *
- * @param value allowed object is {@link String }
- */
- public void setVersion(final String value) {
- this.version = value;
- }
-
- /**
- * Gets the value of the href property.
- *
- * @return possible object is {@link String }
- */
- public String getHref() {
- return href;
- }
-
- /**
- * Sets the value of the href property.
- *
- * @param value allowed object is {@link String }
- */
- public void setHref(final String value) {
- this.href = value;
- }
-
- /**
- * Gets the value of the idref property.
- *
- * @return possible object is {@link Object }
- */
- public Object getIdref() {
- return idref;
- }
-
- /**
- * Sets the value of the idref property.
- *
- * @param value allowed object is {@link Object }
- */
- public void setIdref(final Object value) {
- this.idref = value;
- }
-
- /**
- * Gets the value of the label property.
- *
- * @return possible object is {@link String }
- */
- public String getLabel() {
- return label;
- }
-
- /**
- * Sets the value of the label property.
- *
- * @param value allowed object is {@link String }
- */
- public void setLabel(final String value) {
- this.label = value;
- }
-
- /**
- * Gets the value of the uuid property.
- *
- * @return possible object is {@link String }
- */
- public String getUuid() {
- return uuid;
- }
-
- /**
- * Sets the value of the uuid property.
- *
- * @param value allowed object is {@link String }
- */
- public void setUuid(final String value) {
- this.uuid = value;
- }
-
-}
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.jee.was.v6.xmi;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlIDREF;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * <p/>
+ * Java class for PackageReference complex type.
+ * <p/>
+ * <p/>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ * <p/>
+ * <pre>
+ * <complexType name="PackageReference">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice>
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </choice>
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="version" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </choice>
+ * </choice>
+ * <attGroup ref="{http://www.omg.org/XMI}ObjectAttribs"/>
+ * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "PackageReference", propOrder = {"names", "versions"})
+public class PackageReference {
+
+ @XmlElement(name = "name")
+ protected List<String> names;
+ @XmlElement(name = "version")
+ protected List<String> versions;
+ @XmlAttribute
+ protected String name;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected QName type;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String version;
+ @XmlAttribute
+ protected String href;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ @XmlIDREF
+ protected Object idref;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String label;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String uuid;
+
+ /**
+ * Gets the value of the names property.
+ * <p/>
+ * <p/>
+ * This accessor method returns a reference to the live list, not a
+ * snapshot. Therefore any modification you make to the returned list will
+ * be present inside the JAXB object. This is why there is not a
+ * <CODE>set</CODE> method for the names property.
+ * <p/>
+ * <p/>
+ * For example, to add a new item, do as follows:
+ * <p/>
+ * <pre>
+ * getNames().add(newItem);
+ * </pre>
+ * <p/>
+ * <p/>
+ * <p/>
+ * Objects of the following type(s) are allowed in the list {@link String }
+ */
+ public List<String> getNames() {
+ if (names == null) {
+ names = new ArrayList<String>();
+ }
+ return this.names;
+ }
+
+ /**
+ * Gets the value of the versions property.
+ * <p/>
+ * <p/>
+ * This accessor method returns a reference to the live list, not a
+ * snapshot. Therefore any modification you make to the returned list will
+ * be present inside the JAXB object. This is why there is not a
+ * <CODE>set</CODE> method for the versions property.
+ * <p/>
+ * <p/>
+ * For example, to add a new item, do as follows:
+ * <p/>
+ * <pre>
+ * getVersions().add(newItem);
+ * </pre>
+ * <p/>
+ * <p/>
+ * <p/>
+ * Objects of the following type(s) are allowed in the list {@link String }
+ */
+ public List<String> getVersions() {
+ if (versions == null) {
+ versions = new ArrayList<String>();
+ }
+ return this.versions;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return possible object is {@link String }
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value allowed object is {@link String }
+ */
+ public void setName(final String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return possible object is {@link QName }
+ */
+ public QName getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value allowed object is {@link QName }
+ */
+ public void setType(final QName value) {
+ this.type = value;
+ }
+
+ /**
+ * Gets the value of the version property.
+ *
+ * @return possible object is {@link String }
+ */
+ public String getVersion() {
+ if (version == null) {
+ return "2.0";
+ } else {
+ return version;
+ }
+ }
+
+ /**
+ * Sets the value of the version property.
+ *
+ * @param value allowed object is {@link String }
+ */
+ public void setVersion(final String value) {
+ this.version = value;
+ }
+
+ /**
+ * Gets the value of the href property.
+ *
+ * @return possible object is {@link String }
+ */
+ public String getHref() {
+ return href;
+ }
+
+ /**
+ * Sets the value of the href property.
+ *
+ * @param value allowed object is {@link String }
+ */
+ public void setHref(final String value) {
+ this.href = value;
+ }
+
+ /**
+ * Gets the value of the idref property.
+ *
+ * @return possible object is {@link Object }
+ */
+ public Object getIdref() {
+ return idref;
+ }
+
+ /**
+ * Sets the value of the idref property.
+ *
+ * @param value allowed object is {@link Object }
+ */
+ public void setIdref(final Object value) {
+ this.idref = value;
+ }
+
+ /**
+ * Gets the value of the label property.
+ *
+ * @return possible object is {@link String }
+ */
+ public String getLabel() {
+ return label;
+ }
+
+ /**
+ * Sets the value of the label property.
+ *
+ * @param value allowed object is {@link String }
+ */
+ public void setLabel(final String value) {
+ this.label = value;
+ }
+
+ /**
+ * Gets the value of the uuid property.
+ *
+ * @return possible object is {@link String }
+ */
+ public String getUuid() {
+ return uuid;
+ }
+
+ /**
+ * Sets the value of the uuid property.
+ *
+ * @param value allowed object is {@link String }
+ */
+ public void setUuid(final String value) {
+ this.uuid = value;
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/tomee/blob/52567075/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/Replace.java
----------------------------------------------------------------------
diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/Replace.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/Replace.java
index 32d5923..e555f90 100644
--- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/Replace.java
+++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/Replace.java
@@ -1,101 +1,101 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.openejb.jee.was.v6.xmi;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlIDREF;
-import javax.xml.bind.annotation.XmlType;
-import java.util.ArrayList;
-import java.util.List;
-
-/**
- * <p/>
- * Java class for Replace complex type.
- * <p/>
- * <p/>
- * The following schema fragment specifies the expected content contained within
- * this class.
- * <p/>
- * <pre>
- * <complexType name="Replace">
- * <complexContent>
- * <extension base="{http://www.omg.org/XMI}Difference">
- * <attribute name="position" type="{http://www.w3.org/2001/XMLSchema}string" />
- * <attribute name="replacement" type="{http://www.w3.org/2001/XMLSchema}IDREFS" />
- * </extension>
- * </complexContent>
- * </complexType>
- * </pre>
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "Replace")
-public class Replace extends Difference {
-
- @XmlAttribute
- protected String position;
- @XmlAttribute(name = "replacement")
- @XmlIDREF
- protected List<Object> replacements;
-
- /**
- * Gets the value of the position property.
- *
- * @return possible object is {@link String }
- */
- public String getPosition() {
- return position;
- }
-
- /**
- * Sets the value of the position property.
- *
- * @param value allowed object is {@link String }
- */
- public void setPosition(final String value) {
- this.position = value;
- }
-
- /**
- * Gets the value of the replacements property.
- * <p/>
- * <p/>
- * This accessor method returns a reference to the live list, not a
- * snapshot. Therefore any modification you make to the returned list will
- * be present inside the JAXB object. This is why there is not a
- * <CODE>set</CODE> method for the replacements property.
- * <p/>
- * <p/>
- * For example, to add a new item, do as follows:
- * <p/>
- * <pre>
- * getReplacements().add(newItem);
- * </pre>
- * <p/>
- * <p/>
- * <p/>
- * Objects of the following type(s) are allowed in the list {@link Object }
- */
- public List<Object> getReplacements() {
- if (replacements == null) {
- replacements = new ArrayList<Object>();
- }
- return this.replacements;
- }
-
-}
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.jee.was.v6.xmi;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlIDREF;
+import javax.xml.bind.annotation.XmlType;
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * <p/>
+ * Java class for Replace complex type.
+ * <p/>
+ * <p/>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ * <p/>
+ * <pre>
+ * <complexType name="Replace">
+ * <complexContent>
+ * <extension base="{http://www.omg.org/XMI}Difference">
+ * <attribute name="position" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="replacement" type="{http://www.w3.org/2001/XMLSchema}IDREFS" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Replace")
+public class Replace extends Difference {
+
+ @XmlAttribute
+ protected String position;
+ @XmlAttribute(name = "replacement")
+ @XmlIDREF
+ protected List<Object> replacements;
+
+ /**
+ * Gets the value of the position property.
+ *
+ * @return possible object is {@link String }
+ */
+ public String getPosition() {
+ return position;
+ }
+
+ /**
+ * Sets the value of the position property.
+ *
+ * @param value allowed object is {@link String }
+ */
+ public void setPosition(final String value) {
+ this.position = value;
+ }
+
+ /**
+ * Gets the value of the replacements property.
+ * <p/>
+ * <p/>
+ * This accessor method returns a reference to the live list, not a
+ * snapshot. Therefore any modification you make to the returned list will
+ * be present inside the JAXB object. This is why there is not a
+ * <CODE>set</CODE> method for the replacements property.
+ * <p/>
+ * <p/>
+ * For example, to add a new item, do as follows:
+ * <p/>
+ * <pre>
+ * getReplacements().add(newItem);
+ * </pre>
+ * <p/>
+ * <p/>
+ * <p/>
+ * Objects of the following type(s) are allowed in the list {@link Object }
+ */
+ public List<Object> getReplacements() {
+ if (replacements == null) {
+ replacements = new ArrayList<Object>();
+ }
+ return this.replacements;
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/tomee/blob/52567075/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/XMI.java
----------------------------------------------------------------------
diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/XMI.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/XMI.java
index 62385eb..38881aa 100644
--- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/XMI.java
+++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/XMI.java
@@ -1,212 +1,212 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.openejb.jee.was.v6.xmi;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAnyElement;
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlIDREF;
-import javax.xml.bind.annotation.XmlType;
-import javax.xml.namespace.QName;
-import java.util.ArrayList;
-import java.util.List;
-
-/**
- * <p/>
- * Java class for XMI complex type.
- * <p/>
- * <p/>
- * The following schema fragment specifies the expected content contained within
- * this class.
- * <p/>
- * <pre>
- * <complexType name="XMI">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <choice maxOccurs="unbounded" minOccurs="0">
- * <any/>
- * </choice>
- * <attGroup ref="{http://www.omg.org/XMI}LinkAttribs"/>
- * <attGroup ref="{http://www.omg.org/XMI}IdentityAttribs"/>
- * <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}QName" />
- * <attribute name="version" use="required" type="{http://www.w3.org/2001/XMLSchema}string" fixed="2.0" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </pre>
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "XMI", propOrder = {"elements"})
-public class XMI {
-
- @XmlAnyElement(lax = true)
- protected List<Object> elements;
- @XmlAttribute(namespace = "http://www.omg.org/XMI")
- protected QName type;
- @XmlAttribute(namespace = "http://www.omg.org/XMI", required = true)
- protected String version;
- @XmlAttribute
- protected String href;
- @XmlAttribute(namespace = "http://www.omg.org/XMI")
- @XmlIDREF
- protected Object idref;
- @XmlAttribute(namespace = "http://www.omg.org/XMI")
- protected String label;
- @XmlAttribute(namespace = "http://www.omg.org/XMI")
- protected String uuid;
-
- /**
- * Gets the value of the elements property.
- * <p/>
- * <p/>
- * This accessor method returns a reference to the live list, not a
- * snapshot. Therefore any modification you make to the returned list will
- * be present inside the JAXB object. This is why there is not a
- * <CODE>set</CODE> method for the elements property.
- * <p/>
- * <p/>
- * For example, to add a new item, do as follows:
- * <p/>
- * <pre>
- * getElements().add(newItem);
- * </pre>
- * <p/>
- * <p/>
- * <p/>
- * Objects of the following type(s) are allowed in the list {@link Object }
- */
- public List<Object> getElements() {
- if (elements == null) {
- elements = new ArrayList<Object>();
- }
- return this.elements;
- }
-
- /**
- * Gets the value of the type property.
- *
- * @return possible object is {@link QName }
- */
- public QName getType() {
- return type;
- }
-
- /**
- * Sets the value of the type property.
- *
- * @param value allowed object is {@link QName }
- */
- public void setType(final QName value) {
- this.type = value;
- }
-
- /**
- * Gets the value of the version property.
- *
- * @return possible object is {@link String }
- */
- public String getVersion() {
- if (version == null) {
- return "2.0";
- } else {
- return version;
- }
- }
-
- /**
- * Sets the value of the version property.
- *
- * @param value allowed object is {@link String }
- */
- public void setVersion(final String value) {
- this.version = value;
- }
-
- /**
- * Gets the value of the href property.
- *
- * @return possible object is {@link String }
- */
- public String getHref() {
- return href;
- }
-
- /**
- * Sets the value of the href property.
- *
- * @param value allowed object is {@link String }
- */
- public void setHref(final String value) {
- this.href = value;
- }
-
- /**
- * Gets the value of the idref property.
- *
- * @return possible object is {@link Object }
- */
- public Object getIdref() {
- return idref;
- }
-
- /**
- * Sets the value of the idref property.
- *
- * @param value allowed object is {@link Object }
- */
- public void setIdref(final Object value) {
- this.idref = value;
- }
-
- /**
- * Gets the value of the label property.
- *
- * @return possible object is {@link String }
- */
- public String getLabel() {
- return label;
- }
-
- /**
- * Sets the value of the label property.
- *
- * @param value allowed object is {@link String }
- */
- public void setLabel(final String value) {
- this.label = value;
- }
-
- /**
- * Gets the value of the uuid property.
- *
- * @return possible object is {@link String }
- */
- public String getUuid() {
- return uuid;
- }
-
- /**
- * Sets the value of the uuid property.
- *
- * @param value allowed object is {@link String }
- */
- public void setUuid(final String value) {
- this.uuid = value;
- }
-
-}
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.jee.was.v6.xmi;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlIDREF;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * <p/>
+ * Java class for XMI complex type.
+ * <p/>
+ * <p/>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ * <p/>
+ * <pre>
+ * <complexType name="XMI">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <any/>
+ * </choice>
+ * <attGroup ref="{http://www.omg.org/XMI}LinkAttribs"/>
+ * <attGroup ref="{http://www.omg.org/XMI}IdentityAttribs"/>
+ * <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}QName" />
+ * <attribute name="version" use="required" type="{http://www.w3.org/2001/XMLSchema}string" fixed="2.0" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "XMI", propOrder = {"elements"})
+public class XMI {
+
+ @XmlAnyElement(lax = true)
+ protected List<Object> elements;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected QName type;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI", required = true)
+ protected String version;
+ @XmlAttribute
+ protected String href;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ @XmlIDREF
+ protected Object idref;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String label;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String uuid;
+
+ /**
+ * Gets the value of the elements property.
+ * <p/>
+ * <p/>
+ * This accessor method returns a reference to the live list, not a
+ * snapshot. Therefore any modification you make to the returned list will
+ * be present inside the JAXB object. This is why there is not a
+ * <CODE>set</CODE> method for the elements property.
+ * <p/>
+ * <p/>
+ * For example, to add a new item, do as follows:
+ * <p/>
+ * <pre>
+ * getElements().add(newItem);
+ * </pre>
+ * <p/>
+ * <p/>
+ * <p/>
+ * Objects of the following type(s) are allowed in the list {@link Object }
+ */
+ public List<Object> getElements() {
+ if (elements == null) {
+ elements = new ArrayList<Object>();
+ }
+ return this.elements;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return possible object is {@link QName }
+ */
+ public QName getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value allowed object is {@link QName }
+ */
+ public void setType(final QName value) {
+ this.type = value;
+ }
+
+ /**
+ * Gets the value of the version property.
+ *
+ * @return possible object is {@link String }
+ */
+ public String getVersion() {
+ if (version == null) {
+ return "2.0";
+ } else {
+ return version;
+ }
+ }
+
+ /**
+ * Sets the value of the version property.
+ *
+ * @param value allowed object is {@link String }
+ */
+ public void setVersion(final String value) {
+ this.version = value;
+ }
+
+ /**
+ * Gets the value of the href property.
+ *
+ * @return possible object is {@link String }
+ */
+ public String getHref() {
+ return href;
+ }
+
+ /**
+ * Sets the value of the href property.
+ *
+ * @param value allowed object is {@link String }
+ */
+ public void setHref(final String value) {
+ this.href = value;
+ }
+
+ /**
+ * Gets the value of the idref property.
+ *
+ * @return possible object is {@link Object }
+ */
+ public Object getIdref() {
+ return idref;
+ }
+
+ /**
+ * Sets the value of the idref property.
+ *
+ * @param value allowed object is {@link Object }
+ */
+ public void setIdref(final Object value) {
+ this.idref = value;
+ }
+
+ /**
+ * Gets the value of the label property.
+ *
+ * @return possible object is {@link String }
+ */
+ public String getLabel() {
+ return label;
+ }
+
+ /**
+ * Sets the value of the label property.
+ *
+ * @param value allowed object is {@link String }
+ */
+ public void setLabel(final String value) {
+ this.label = value;
+ }
+
+ /**
+ * Gets the value of the uuid property.
+ *
+ * @return possible object is {@link String }
+ */
+ public String getUuid() {
+ return uuid;
+ }
+
+ /**
+ * Sets the value of the uuid property.
+ *
+ * @param value allowed object is {@link String }
+ */
+ public void setUuid(final String value) {
+ this.uuid = value;
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/tomee/blob/52567075/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/package-info.java
----------------------------------------------------------------------
diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/package-info.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/package-info.java
index 1f4ddd2..42086a7 100644
--- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/package-info.java
+++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/xmi/package-info.java
@@ -1,18 +1,18 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.omg.org/XMI") package org.apache.openejb.jee.was.v6.xmi;
-
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.omg.org/XMI") package org.apache.openejb.jee.was.v6.xmi;
+
http://git-wip-us.apache.org/repos/asf/tomee/blob/52567075/container/openejb-jee/src/test/resources/daytrader-original.xml
----------------------------------------------------------------------
diff --git a/container/openejb-jee/src/test/resources/daytrader-original.xml b/container/openejb-jee/src/test/resources/daytrader-original.xml
index cf2c386..51f3657 100644
--- a/container/openejb-jee/src/test/resources/daytrader-original.xml
+++ b/container/openejb-jee/src/test/resources/daytrader-original.xml
@@ -1,24 +1,24 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-
-<!-- $Rev$ $Date$ -->
-
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- $Rev$ $Date$ -->
+
<openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar-2.1">
<cmp-connection-factory>
<resource-link>jdbc/TradeDataSource</resource-link>
http://git-wip-us.apache.org/repos/asf/tomee/blob/52567075/container/openejb-jpa-integration/src/main/java/org/apache/openejb/jpa/integration/eclipselink/OpenEJBServerPlatform.java
----------------------------------------------------------------------
diff --git a/container/openejb-jpa-integration/src/main/java/org/apache/openejb/jpa/integration/eclipselink/OpenEJBServerPlatform.java b/container/openejb-jpa-integration/src/main/java/org/apache/openejb/jpa/integration/eclipselink/OpenEJBServerPlatform.java
index 8d091b6..eabbae2 100644
--- a/container/openejb-jpa-integration/src/main/java/org/apache/openejb/jpa/integration/eclipselink/OpenEJBServerPlatform.java
+++ b/container/openejb-jpa-integration/src/main/java/org/apache/openejb/jpa/integration/eclipselink/OpenEJBServerPlatform.java
@@ -1,56 +1,56 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.openejb.jpa.integration.eclipselink;
-
-import org.eclipse.persistence.platform.server.JMXServerPlatformBase;
-import org.eclipse.persistence.sessions.DatabaseSession;
-import org.eclipse.persistence.transaction.JTATransactionController;
-
-import javax.management.MBeanServer;
-import javax.transaction.TransactionManager;
-
-public class OpenEJBServerPlatform extends JMXServerPlatformBase {
- public OpenEJBServerPlatform(final DatabaseSession newDatabaseSession) {
- super(newDatabaseSession);
- try {
- mBeanServer = MBeanServer.class.cast(
- OpenEJBServerPlatform.class.getClassLoader().loadClass("org.apache.openejb.monitoring.LocalMBeanServer")
- .getMethod("get").invoke(null));
- } catch (final Exception e) {
- // no-op
- }
- }
-
- @Override
- public boolean isRuntimeServicesEnabledDefault() {
- return "true".equalsIgnoreCase(System.getProperty("openejb.eclipselink.jmx", "true"));
- }
-
- @Override
- public Class getExternalTransactionControllerClass() {
- return OpenEJBJTATransactionController.class;
- }
-
- public static class OpenEJBJTATransactionController extends JTATransactionController {
- @Override
- protected TransactionManager acquireTransactionManager() throws Exception {
- return TransactionManager.class.cast(
- OpenEJBJTATransactionController.class.getClassLoader().loadClass("org.apache.openejb.OpenEJB")
- .getDeclaredMethod("getTransactionManager").invoke(null));
- }
- }
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.jpa.integration.eclipselink;
+
+import org.eclipse.persistence.platform.server.JMXServerPlatformBase;
+import org.eclipse.persistence.sessions.DatabaseSession;
+import org.eclipse.persistence.transaction.JTATransactionController;
+
+import javax.management.MBeanServer;
+import javax.transaction.TransactionManager;
+
+public class OpenEJBServerPlatform extends JMXServerPlatformBase {
+ public OpenEJBServerPlatform(final DatabaseSession newDatabaseSession) {
+ super(newDatabaseSession);
+ try {
+ mBeanServer = MBeanServer.class.cast(
+ OpenEJBServerPlatform.class.getClassLoader().loadClass("org.apache.openejb.monitoring.LocalMBeanServer")
+ .getMethod("get").invoke(null));
+ } catch (final Exception e) {
+ // no-op
+ }
+ }
+
+ @Override
+ public boolean isRuntimeServicesEnabledDefault() {
+ return "true".equalsIgnoreCase(System.getProperty("openejb.eclipselink.jmx", "true"));
+ }
+
+ @Override
+ public Class getExternalTransactionControllerClass() {
+ return OpenEJBJTATransactionController.class;
+ }
+
+ public static class OpenEJBJTATransactionController extends JTATransactionController {
+ @Override
+ protected TransactionManager acquireTransactionManager() throws Exception {
+ return TransactionManager.class.cast(
+ OpenEJBJTATransactionController.class.getClassLoader().loadClass("org.apache.openejb.OpenEJB")
+ .getDeclaredMethod("getTransactionManager").invoke(null));
+ }
+ }
+}
http://git-wip-us.apache.org/repos/asf/tomee/blob/52567075/doap_tomee.rdf
----------------------------------------------------------------------
diff --git a/doap_tomee.rdf b/doap_tomee.rdf
index 556544d..0c84c5d 100644
--- a/doap_tomee.rdf
+++ b/doap_tomee.rdf
@@ -1,154 +1,154 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ====================================================================== -->
-<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== -->
-<!-- ====================================================================== -->
-<!-- -->
-<!-- Any modifications will be overwritten. -->
-<!-- -->
-<!-- Generated by Maven Doap Plugin 1.1 on 6/5/14 1:17 PM -->
-<!-- See: http://maven.apache.org/plugins/maven-doap-plugin/ -->
-<!-- -->
-<!-- ====================================================================== -->
-
-<rdf:RDF xml:lang="en" xmlns="http://usefulinc.com/ns/doap#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:asfext="http://projects.apache.org/ns/asfext#">
- <Project rdf:about="http://tomee.apache.org/tomee">
-
- <!-- ====================================================================== -->
- <!-- A name of something. -->
- <!-- ====================================================================== -->
-
- <name>Apache TomEE</name>
-
- <!-- ====================================================================== -->
- <!-- Plain text description of a project, of 2-4 sentences in length. -->
- <!-- ====================================================================== -->
-
- <description xml:lang="en">Apache TomEE Web Profile delivers Servlets, JSP, JSF, JTA, JPA, CDI, Bean Validation and EJB
- Lite. Apache TomEE Plus has all the features of TomEE with the addition of JAX-RS (RESTfull Services),
- JAX-WS (Web Services), JMS (Java Message Service) and JCA (the Java Connector Architecture). The
- additional functionality is delivered via Apache CXF, Apache ActiveMQ and the Geronimo Connector library</description>
- <shortdesc xml:lang="en">Apache TomEE is an all-Apache Java EE 6 Web Profile stack for Apache Tomcat</shortdesc>
-
- <!-- ====================================================================== -->
- <!-- Vendor. -->
- <!-- ====================================================================== -->
-
- <vendor>The Apache Software Foundation</vendor>
-
- <!-- ====================================================================== -->
- <!-- Date when something was created, in YYYY-MM-DD form. e.g. 2004-04-05 -->
- <!-- ====================================================================== -->
-
- <created>1999-01-01</created>
-
- <!-- ====================================================================== -->
- <!-- URL of a project's homepage, associated with exactly one project. -->
- <!-- ====================================================================== -->
-
- <homepage rdf:resource="http://tomee.apache.org"/>
-
- <!-- ====================================================================== -->
- <!-- The URI of the license the software is distributed under. -->
- <!-- ====================================================================== -->
-
- <license rdf:resource="https://svn.apache.org/repos/asf/tomee/tomee/trunk/LICENSE"/>
-
- <!-- ====================================================================== -->
- <!-- Programming language. -->
- <!-- ====================================================================== -->
-
- <programming-language>Java</programming-language>
-
- <!-- ====================================================================== -->
- <!-- A category of project. -->
- <!-- ====================================================================== -->
-
- <category rdf:resource="http://projects.apache.org/category/network-server"/>
-
- <!-- ====================================================================== -->
- <!-- Platform. -->
- <!-- ====================================================================== -->
-
- <platform>Java</platform>
-
- <!-- ====================================================================== -->
- <!-- Anonymous Source Repository. -->
- <!-- ====================================================================== -->
-
- <repository>
- <Repository>
- <location rdf:resource="https://git1-us-west.apache.org/repos/asf?p=tomee.git"/>
- </Repository>
- </repository>
-
- <!-- ====================================================================== -->
- <!-- Developer Source Repository. -->
- <!-- ====================================================================== -->
-
- <repository>
- <Repository>
- <location rdf:resource="https://git-wip-us.apache.org/repos/asf/tomee.git"/>
- </Repository>
- </repository>
-
- <!-- ====================================================================== -->
- <!-- Bug database. -->
- <!-- ====================================================================== -->
-
- <bug-database rdf:resource="http://issues.apache.org/jira/browse/TOMEE"/>
-
- <!-- ====================================================================== -->
- <!-- Mailing lists. -->
- <!-- ====================================================================== -->
-
- <mailing-list rdf:resource="http://tomee.apache.org/support.html"/>
-
- <!-- ====================================================================== -->
- <!-- Download page. -->
- <!-- ====================================================================== -->
-
- <download-page rdf:resource="http://tomee.apache.org/downloads.html"/>
-
- <!-- ====================================================================== -->
- <!-- Project releases. -->
- <!-- ====================================================================== -->
-
- <release>
- <Version>
- <name>Apache TomEE</name>
- <revision>1.7.2</revision>
- <file-release>http://repo.maven.apache.org/maven2/org/apache/openejb/tomee/1.7.2/tomee-1.7.2.pom</file-release>
- </Version>
- </release>
- <release>
- <Version>
- <name>Apache OpenEJB</name>
- <revision>4.7.2</revision>
- <file-release>http://central.maven.org/maven2/org/apache/openejb/openejb/4.7.2/openejb-4.7.2.pom</file-release>
- </Version>
- </release>
-
- <!-- ====================================================================== -->
- <!-- ASF extension. -->
- <!-- ====================================================================== -->
-
- <asfext:pmc rdf:resource="http://tomee.apache.org"/>
- <asfext:name>Apache TomEE</asfext:name>
- <foaf:homepage rdf:resource="http://tomee.apache.org"/>
- <asfext:charter>Apache TomEE provides an all-Apache Java EE 6 Web Profile stack for Apache Tomcat</asfext:charter>
- <asfext:chair>
- <foaf:Person>
- <foaf:name>David Blevins</foaf:name>
- </foaf:Person>
- </asfext:chair>
- <asfext:implements>
- <asfext:Standard>
- <asfext:title>Java EE 6 Web Profile</asfext:title>
- <asfext:body>Java Community Process</asfext:body>
- <asfext:id>JSR 316</asfext:id>
- <asfext:url>https://jcp.org/en/jsr/detail?id=316</asfext:url>
- </asfext:Standard>
- </asfext:implements>
- </Project>
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ====================================================================== -->
+<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== -->
+<!-- ====================================================================== -->
+<!-- -->
+<!-- Any modifications will be overwritten. -->
+<!-- -->
+<!-- Generated by Maven Doap Plugin 1.1 on 6/5/14 1:17 PM -->
+<!-- See: http://maven.apache.org/plugins/maven-doap-plugin/ -->
+<!-- -->
+<!-- ====================================================================== -->
+
+<rdf:RDF xml:lang="en" xmlns="http://usefulinc.com/ns/doap#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:asfext="http://projects.apache.org/ns/asfext#">
+ <Project rdf:about="http://tomee.apache.org/tomee">
+
+ <!-- ====================================================================== -->
+ <!-- A name of something. -->
+ <!-- ====================================================================== -->
+
+ <name>Apache TomEE</name>
+
+ <!-- ====================================================================== -->
+ <!-- Plain text description of a project, of 2-4 sentences in length. -->
+ <!-- ====================================================================== -->
+
+ <description xml:lang="en">Apache TomEE Web Profile delivers Servlets, JSP, JSF, JTA, JPA, CDI, Bean Validation and EJB
+ Lite. Apache TomEE Plus has all the features of TomEE with the addition of JAX-RS (RESTfull Services),
+ JAX-WS (Web Services), JMS (Java Message Service) and JCA (the Java Connector Architecture). The
+ additional functionality is delivered via Apache CXF, Apache ActiveMQ and the Geronimo Connector library</description>
+ <shortdesc xml:lang="en">Apache TomEE is an all-Apache Java EE 6 Web Profile stack for Apache Tomcat</shortdesc>
+
+ <!-- ====================================================================== -->
+ <!-- Vendor. -->
+ <!-- ====================================================================== -->
+
+ <vendor>The Apache Software Foundation</vendor>
+
+ <!-- ====================================================================== -->
+ <!-- Date when something was created, in YYYY-MM-DD form. e.g. 2004-04-05 -->
+ <!-- ====================================================================== -->
+
+ <created>1999-01-01</created>
+
+ <!-- ====================================================================== -->
+ <!-- URL of a project's homepage, associated with exactly one project. -->
+ <!-- ====================================================================== -->
+
+ <homepage rdf:resource="http://tomee.apache.org"/>
+
+ <!-- ====================================================================== -->
+ <!-- The URI of the license the software is distributed under. -->
+ <!-- ====================================================================== -->
+
+ <license rdf:resource="https://svn.apache.org/repos/asf/tomee/tomee/trunk/LICENSE"/>
+
+ <!-- ====================================================================== -->
+ <!-- Programming language. -->
+ <!-- ====================================================================== -->
+
+ <programming-language>Java</programming-language>
+
+ <!-- ====================================================================== -->
+ <!-- A category of project. -->
+ <!-- ====================================================================== -->
+
+ <category rdf:resource="http://projects.apache.org/category/network-server"/>
+
+ <!-- ====================================================================== -->
+ <!-- Platform. -->
+ <!-- ====================================================================== -->
+
+ <platform>Java</platform>
+
+ <!-- ====================================================================== -->
+ <!-- Anonymous Source Repository. -->
+ <!-- ====================================================================== -->
+
+ <repository>
+ <Repository>
+ <location rdf:resource="https://git1-us-west.apache.org/repos/asf?p=tomee.git"/>
+ </Repository>
+ </repository>
+
+ <!-- ====================================================================== -->
+ <!-- Developer Source Repository. -->
+ <!-- ====================================================================== -->
+
+ <repository>
+ <Repository>
+ <location rdf:resource="https://git-wip-us.apache.org/repos/asf/tomee.git"/>
+ </Repository>
+ </repository>
+
+ <!-- ====================================================================== -->
+ <!-- Bug database. -->
+ <!-- ====================================================================== -->
+
+ <bug-database rdf:resource="http://issues.apache.org/jira/browse/TOMEE"/>
+
+ <!-- ====================================================================== -->
+ <!-- Mailing lists. -->
+ <!-- ====================================================================== -->
+
+ <mailing-list rdf:resource="http://tomee.apache.org/support.html"/>
+
+ <!-- ====================================================================== -->
+ <!-- Download page. -->
+ <!-- ====================================================================== -->
+
+ <download-page rdf:resource="http://tomee.apache.org/downloads.html"/>
+
+ <!-- ====================================================================== -->
+ <!-- Project releases. -->
+ <!-- ====================================================================== -->
+
+ <release>
+ <Version>
+ <name>Apache TomEE</name>
+ <revision>1.7.2</revision>
+ <file-release>http://repo.maven.apache.org/maven2/org/apache/openejb/tomee/1.7.2/tomee-1.7.2.pom</file-release>
+ </Version>
+ </release>
+ <release>
+ <Version>
+ <name>Apache OpenEJB</name>
+ <revision>4.7.2</revision>
+ <file-release>http://central.maven.org/maven2/org/apache/openejb/openejb/4.7.2/openejb-4.7.2.pom</file-release>
+ </Version>
+ </release>
+
+ <!-- ====================================================================== -->
+ <!-- ASF extension. -->
+ <!-- ====================================================================== -->
+
+ <asfext:pmc rdf:resource="http://tomee.apache.org"/>
+ <asfext:name>Apache TomEE</asfext:name>
+ <foaf:homepage rdf:resource="http://tomee.apache.org"/>
+ <asfext:charter>Apache TomEE provides an all-Apache Java EE 6 Web Profile stack for Apache Tomcat</asfext:charter>
+ <asfext:chair>
+ <foaf:Person>
+ <foaf:name>David Blevins</foaf:name>
+ </foaf:Person>
+ </asfext:chair>
+ <asfext:implements>
+ <asfext:Standard>
+ <asfext:title>Java EE 6 Web Profile</asfext:title>
+ <asfext:body>Java Community Process</asfext:body>
+ <asfext:id>JSR 316</asfext:id>
+ <asfext:url>https://jcp.org/en/jsr/detail?id=316</asfext:url>
+ </asfext:Standard>
+ </asfext:implements>
+ </Project>
</rdf:RDF>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/tomee/blob/52567075/examples/cdi-produces-field/src/main/java/org/superbiz/cdi/produces/field/ConsoleHandler.java
----------------------------------------------------------------------
diff --git a/examples/cdi-produces-field/src/main/java/org/superbiz/cdi/produces/field/ConsoleHandler.java b/examples/cdi-produces-field/src/main/java/org/superbiz/cdi/produces/field/ConsoleHandler.java
index ad4bfc0..ba1317a 100644
--- a/examples/cdi-produces-field/src/main/java/org/superbiz/cdi/produces/field/ConsoleHandler.java
+++ b/examples/cdi-produces-field/src/main/java/org/superbiz/cdi/produces/field/ConsoleHandler.java
@@ -1,37 +1,37 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.superbiz.cdi.produces.field;
-
-public class ConsoleHandler implements LogHandler {
-
- private String name;
-
- public ConsoleHandler(String name) {
- this.name = name;
- }
-
- @Override
- public String getName() {
- return name;
- }
-
- @Override
- public void writeLog(String s) {
- System.out.printf("##### Handler: %s, Writing to the console!\n", getName());
- }
-
-}
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.superbiz.cdi.produces.field;
+
+public class ConsoleHandler implements LogHandler {
+
+ private String name;
+
+ public ConsoleHandler(String name) {
+ this.name = name;
+ }
+
+ @Override
+ public String getName() {
+ return name;
+ }
+
+ @Override
+ public void writeLog(String s) {
+ System.out.printf("##### Handler: %s, Writing to the console!\n", getName());
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/tomee/blob/52567075/examples/cdi-produces-field/src/main/java/org/superbiz/cdi/produces/field/DatabaseHandler.java
----------------------------------------------------------------------
diff --git a/examples/cdi-produces-field/src/main/java/org/superbiz/cdi/produces/field/DatabaseHandler.java b/examples/cdi-produces-field/src/main/java/org/superbiz/cdi/produces/field/DatabaseHandler.java
index e5ecd81..edb39fa 100644
--- a/examples/cdi-produces-field/src/main/java/org/superbiz/cdi/produces/field/DatabaseHandler.java
+++ b/examples/cdi-produces-field/src/main/java/org/superbiz/cdi/produces/field/DatabaseHandler.java
@@ -1,38 +1,38 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.superbiz.cdi.produces.field;
-
-public class DatabaseHandler implements LogHandler {
-
- private String name;
-
- public DatabaseHandler(String name) {
- this.name = name;
- }
-
- @Override
- public String getName() {
- return name;
- }
-
- @Override
- public void writeLog(String s) {
- System.out.printf("##### Handler: %s, Writing to the database!\n", getName());
- // Use connection to write log to database
- }
-
-}
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.superbiz.cdi.produces.field;
+
+public class DatabaseHandler implements LogHandler {
+
+ private String name;
+
+ public DatabaseHandler(String name) {
+ this.name = name;
+ }
+
+ @Override
+ public String getName() {
+ return name;
+ }
+
+ @Override
+ public void writeLog(String s) {
+ System.out.printf("##### Handler: %s, Writing to the database!\n", getName());
+ // Use connection to write log to database
+ }
+
+}