tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andygumbre...@apache.org
Subject [09/39] tomee git commit: EOL
Date Fri, 04 Dec 2015 16:15:13 GMT
http://git-wip-us.apache.org/repos/asf/tomee/blob/52567075/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejbbnd/EnterpriseBeanBinding.java
----------------------------------------------------------------------
diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejbbnd/EnterpriseBeanBinding.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejbbnd/EnterpriseBeanBinding.java
index 05e04a8..dfe61cd 100644
--- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejbbnd/EnterpriseBeanBinding.java
+++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejbbnd/EnterpriseBeanBinding.java
@@ -1,571 +1,571 @@
-/**
- * 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.ejbbnd;
-
-import org.apache.openejb.jee.was.v6.commonbnd.EjbRefBinding;
-import org.apache.openejb.jee.was.v6.commonbnd.MessageDestinationRefBinding;
-import org.apache.openejb.jee.was.v6.commonbnd.ResourceEnvRefBinding;
-import org.apache.openejb.jee.was.v6.commonbnd.ResourceRefBinding;
-import org.apache.openejb.jee.was.v6.ejb.EnterpriseBean;
-import org.apache.openejb.jee.was.v6.webservice.clientbnd.ServiceRefBinding;
-import org.apache.openejb.jee.was.v6.xmi.Extension;
-
-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.XmlID;
-import javax.xml.bind.annotation.XmlIDREF;
-import javax.xml.bind.annotation.XmlType;
-import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
-import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
-import javax.xml.namespace.QName;
-import java.util.ArrayList;
-import java.util.List;
-
-/**
- * <p/>
- * Java class for EnterpriseBeanBinding complex type.
- * <p/>
- * <p/>
- * The following schema fragment specifies the expected content contained within
- * this class.
- * <p/>
- * <pre>
- * &lt;complexType name="EnterpriseBeanBinding">
- *   &lt;complexContent>
- *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       &lt;choice>
- *         &lt;choice maxOccurs="unbounded" minOccurs="0">
- *           &lt;element name="enterpriseBean" type="{ejb.xmi}EnterpriseBean"/>
- *         &lt;/choice>
- *         &lt;choice maxOccurs="unbounded" minOccurs="0">
- *           &lt;element name="datasource" type="{commonbnd.xmi}ResourceRefBinding"/>
- *         &lt;/choice>
- *         &lt;choice maxOccurs="unbounded" minOccurs="0">
- *           &lt;element name="resRefBindings" type="{commonbnd.xmi}ResourceRefBinding"/>
- *         &lt;/choice>
- *         &lt;choice maxOccurs="unbounded" minOccurs="0">
- *           &lt;element name="ejbRefBindings" type="{commonbnd.xmi}EjbRefBinding"/>
- *         &lt;/choice>
- *         &lt;choice maxOccurs="unbounded" minOccurs="0">
- *           &lt;element name="resourceEnvRefBindings" type="{commonbnd.xmi}ResourceEnvRefBinding"/>
- *         &lt;/choice>
- *         &lt;choice maxOccurs="unbounded" minOccurs="0">
- *           &lt;element name="cmpConnectionFactory" type="{ejbbnd.xmi}CMPConnectionFactoryBinding"/>
- *         &lt;/choice>
- *         &lt;choice maxOccurs="unbounded" minOccurs="0">
- *           &lt;element name="serviceRefBindings" type="{webservice_clientbnd.xmi}ServiceRefBinding"/>
- *         &lt;/choice>
- *         &lt;choice maxOccurs="unbounded" minOccurs="0">
- *           &lt;element name="messageDestinationRefBindings" type="{commonbnd.xmi}MessageDestinationRefBinding"/>
- *         &lt;/choice>
- *         &lt;choice maxOccurs="unbounded" minOccurs="0">
- *           &lt;element ref="{http://www.omg.org/XMI}Extension"/>
- *         &lt;/choice>
- *       &lt;/choice>
- *       &lt;attGroup ref="{http://www.omg.org/XMI}ObjectAttribs"/>
- *       &lt;attribute name="ejbName" type="{http://www.w3.org/2001/XMLSchema}string" />
- *       &lt;attribute name="enterpriseBean" type="{http://www.w3.org/2001/XMLSchema}string" />
- *       &lt;attribute name="jndiName" type="{http://www.w3.org/2001/XMLSchema}string" />
- *       &lt;attribute ref="{http://www.omg.org/XMI}id"/>
- *     &lt;/restriction>
- *   &lt;/complexContent>
- * &lt;/complexType>
- * </pre>
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "EnterpriseBeanBinding", propOrder = {"enterpriseBeans",
-    "datasources", "resRefBindings", "ejbRefBindings",
-    "resourceEnvRefBindings", "cmpConnectionFactories",
-    "serviceRefBindings", "messageDestinationRefBindings", "extensions"})
-public class EnterpriseBeanBinding {
-
-    @XmlElement(name = "enterpriseBean")
-    protected List<EnterpriseBean> enterpriseBeans;
-    @XmlElement(name = "datasource")
-    protected List<ResourceRefBinding> datasources;
-    protected List<ResourceRefBinding> resRefBindings;
-    protected List<EjbRefBinding> ejbRefBindings;
-    protected List<ResourceEnvRefBinding> resourceEnvRefBindings;
-    @XmlElement(name = "cmpConnectionFactory")
-    protected List<CMPConnectionFactoryBinding> cmpConnectionFactories;
-    protected List<ServiceRefBinding> serviceRefBindings;
-    protected List<MessageDestinationRefBinding> messageDestinationRefBindings;
-    @XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI")
-    protected List<Extension> extensions;
-    @XmlAttribute
-    protected String ejbName;
-    @XmlAttribute
-    protected String enterpriseBean;
-    @XmlAttribute
-    protected String jndiName;
-    @XmlAttribute(namespace = "http://www.omg.org/XMI")
-    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
-    @XmlID
-    protected String id;
-    @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 enterpriseBeans 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 enterpriseBeans property.
-     * <p/>
-     * <p/>
-     * For example, to add a new item, do as follows:
-     * <p/>
-     * <pre>
-     * getEnterpriseBeans().add(newItem);
-     * </pre>
-     * <p/>
-     * <p/>
-     * <p/>
-     * Objects of the following type(s) are allowed in the list
-     * {@link EnterpriseBean }
-     */
-    public List<EnterpriseBean> getEnterpriseBeans() {
-        if (enterpriseBeans == null) {
-            enterpriseBeans = new ArrayList<EnterpriseBean>();
-        }
-        return this.enterpriseBeans;
-    }
-
-    /**
-     * Gets the value of the datasources 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 datasources property.
-     * <p/>
-     * <p/>
-     * For example, to add a new item, do as follows:
-     * <p/>
-     * <pre>
-     * getDatasources().add(newItem);
-     * </pre>
-     * <p/>
-     * <p/>
-     * <p/>
-     * Objects of the following type(s) are allowed in the list
-     * {@link ResourceRefBinding }
-     */
-    public List<ResourceRefBinding> getDatasources() {
-        if (datasources == null) {
-            datasources = new ArrayList<ResourceRefBinding>();
-        }
-        return this.datasources;
-    }
-
-    /**
-     * Gets the value of the resRefBindings 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 resRefBindings property.
-     * <p/>
-     * <p/>
-     * For example, to add a new item, do as follows:
-     * <p/>
-     * <pre>
-     * getResRefBindings().add(newItem);
-     * </pre>
-     * <p/>
-     * <p/>
-     * <p/>
-     * Objects of the following type(s) are allowed in the list
-     * {@link ResourceRefBinding }
-     */
-    public List<ResourceRefBinding> getResRefBindings() {
-        if (resRefBindings == null) {
-            resRefBindings = new ArrayList<ResourceRefBinding>();
-        }
-        return this.resRefBindings;
-    }
-
-    /**
-     * Gets the value of the ejbRefBindings 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 ejbRefBindings property.
-     * <p/>
-     * <p/>
-     * For example, to add a new item, do as follows:
-     * <p/>
-     * <pre>
-     * getEjbRefBindings().add(newItem);
-     * </pre>
-     * <p/>
-     * <p/>
-     * <p/>
-     * Objects of the following type(s) are allowed in the list
-     * {@link EjbRefBinding }
-     */
-    public List<EjbRefBinding> getEjbRefBindings() {
-        if (ejbRefBindings == null) {
-            ejbRefBindings = new ArrayList<EjbRefBinding>();
-        }
-        return this.ejbRefBindings;
-    }
-
-    /**
-     * Gets the value of the resourceEnvRefBindings 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 resourceEnvRefBindings property.
-     * <p/>
-     * <p/>
-     * For example, to add a new item, do as follows:
-     * <p/>
-     * <pre>
-     * getResourceEnvRefBindings().add(newItem);
-     * </pre>
-     * <p/>
-     * <p/>
-     * <p/>
-     * Objects of the following type(s) are allowed in the list
-     * {@link ResourceEnvRefBinding }
-     */
-    public List<ResourceEnvRefBinding> getResourceEnvRefBindings() {
-        if (resourceEnvRefBindings == null) {
-            resourceEnvRefBindings = new ArrayList<ResourceEnvRefBinding>();
-        }
-        return this.resourceEnvRefBindings;
-    }
-
-    /**
-     * Gets the value of the cmpConnectionFactories 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 cmpConnectionFactories property.
-     * <p/>
-     * <p/>
-     * For example, to add a new item, do as follows:
-     * <p/>
-     * <pre>
-     * getCmpConnectionFactories().add(newItem);
-     * </pre>
-     * <p/>
-     * <p/>
-     * <p/>
-     * Objects of the following type(s) are allowed in the list
-     * {@link CMPConnectionFactoryBinding }
-     */
-    public List<CMPConnectionFactoryBinding> getCmpConnectionFactories() {
-        if (cmpConnectionFactories == null) {
-            cmpConnectionFactories = new ArrayList<CMPConnectionFactoryBinding>();
-        }
-        return this.cmpConnectionFactories;
-    }
-
-    /**
-     * Gets the value of the serviceRefBindings 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 serviceRefBindings property.
-     * <p/>
-     * <p/>
-     * For example, to add a new item, do as follows:
-     * <p/>
-     * <pre>
-     * getServiceRefBindings().add(newItem);
-     * </pre>
-     * <p/>
-     * <p/>
-     * <p/>
-     * Objects of the following type(s) are allowed in the list
-     * {@link ServiceRefBinding }
-     */
-    public List<ServiceRefBinding> getServiceRefBindings() {
-        if (serviceRefBindings == null) {
-            serviceRefBindings = new ArrayList<ServiceRefBinding>();
-        }
-        return this.serviceRefBindings;
-    }
-
-    /**
-     * Gets the value of the messageDestinationRefBindings 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 messageDestinationRefBindings property.
-     * <p/>
-     * <p/>
-     * For example, to add a new item, do as follows:
-     * <p/>
-     * <pre>
-     * getMessageDestinationRefBindings().add(newItem);
-     * </pre>
-     * <p/>
-     * <p/>
-     * <p/>
-     * Objects of the following type(s) are allowed in the list
-     * {@link MessageDestinationRefBinding }
-     */
-    public List<MessageDestinationRefBinding> getMessageDestinationRefBindings() {
-        if (messageDestinationRefBindings == null) {
-            messageDestinationRefBindings = new ArrayList<MessageDestinationRefBinding>();
-        }
-        return this.messageDestinationRefBindings;
-    }
-
-    /**
-     * Gets the value of the extensions 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 extensions property.
-     * <p/>
-     * <p/>
-     * For example, to add a new item, do as follows:
-     * <p/>
-     * <pre>
-     * getExtensions().add(newItem);
-     * </pre>
-     * <p/>
-     * <p/>
-     * <p/>
-     * Objects of the following type(s) are allowed in the list
-     * {@link Extension }
-     */
-    public List<Extension> getExtensions() {
-        if (extensions == null) {
-            extensions = new ArrayList<Extension>();
-        }
-        return this.extensions;
-    }
-
-    /**
-     * Gets the value of the ejbName property.
-     *
-     * @return possible object is {@link String }
-     */
-    public String getEjbName() {
-        return ejbName;
-    }
-
-    /**
-     * Sets the value of the ejbName property.
-     *
-     * @param value allowed object is {@link String }
-     */
-    public void setEjbName(final String value) {
-        this.ejbName = value;
-    }
-
-    /**
-     * Gets the value of the enterpriseBean property.
-     *
-     * @return possible object is {@link String }
-     */
-    public String getEnterpriseBean() {
-        return enterpriseBean;
-    }
-
-    /**
-     * Sets the value of the enterpriseBean property.
-     *
-     * @param value allowed object is {@link String }
-     */
-    public void setEnterpriseBean(final String value) {
-        this.enterpriseBean = value;
-    }
-
-    /**
-     * Gets the value of the jndiName property.
-     *
-     * @return possible object is {@link String }
-     */
-    public String getJndiName() {
-        return jndiName;
-    }
-
-    /**
-     * Sets the value of the jndiName property.
-     *
-     * @param value allowed object is {@link String }
-     */
-    public void setJndiName(final String value) {
-        this.jndiName = value;
-    }
-
-    /**
-     * Gets the value of the id property.
-     *
-     * @return possible object is {@link String }
-     */
-    public String getId() {
-        return id;
-    }
-
-    /**
-     * Sets the value of the id property.
-     *
-     * @param value allowed object is {@link String }
-     */
-    public void setId(final String value) {
-        this.id = 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.ejbbnd;
+
+import org.apache.openejb.jee.was.v6.commonbnd.EjbRefBinding;
+import org.apache.openejb.jee.was.v6.commonbnd.MessageDestinationRefBinding;
+import org.apache.openejb.jee.was.v6.commonbnd.ResourceEnvRefBinding;
+import org.apache.openejb.jee.was.v6.commonbnd.ResourceRefBinding;
+import org.apache.openejb.jee.was.v6.ejb.EnterpriseBean;
+import org.apache.openejb.jee.was.v6.webservice.clientbnd.ServiceRefBinding;
+import org.apache.openejb.jee.was.v6.xmi.Extension;
+
+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.XmlID;
+import javax.xml.bind.annotation.XmlIDREF;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * <p/>
+ * Java class for EnterpriseBeanBinding complex type.
+ * <p/>
+ * <p/>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ * <p/>
+ * <pre>
+ * &lt;complexType name="EnterpriseBeanBinding">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;choice>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element name="enterpriseBean" type="{ejb.xmi}EnterpriseBean"/>
+ *         &lt;/choice>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element name="datasource" type="{commonbnd.xmi}ResourceRefBinding"/>
+ *         &lt;/choice>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element name="resRefBindings" type="{commonbnd.xmi}ResourceRefBinding"/>
+ *         &lt;/choice>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element name="ejbRefBindings" type="{commonbnd.xmi}EjbRefBinding"/>
+ *         &lt;/choice>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element name="resourceEnvRefBindings" type="{commonbnd.xmi}ResourceEnvRefBinding"/>
+ *         &lt;/choice>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element name="cmpConnectionFactory" type="{ejbbnd.xmi}CMPConnectionFactoryBinding"/>
+ *         &lt;/choice>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element name="serviceRefBindings" type="{webservice_clientbnd.xmi}ServiceRefBinding"/>
+ *         &lt;/choice>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element name="messageDestinationRefBindings" type="{commonbnd.xmi}MessageDestinationRefBinding"/>
+ *         &lt;/choice>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element ref="{http://www.omg.org/XMI}Extension"/>
+ *         &lt;/choice>
+ *       &lt;/choice>
+ *       &lt;attGroup ref="{http://www.omg.org/XMI}ObjectAttribs"/>
+ *       &lt;attribute name="ejbName" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       &lt;attribute name="enterpriseBean" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       &lt;attribute name="jndiName" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       &lt;attribute ref="{http://www.omg.org/XMI}id"/>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "EnterpriseBeanBinding", propOrder = {"enterpriseBeans",
+    "datasources", "resRefBindings", "ejbRefBindings",
+    "resourceEnvRefBindings", "cmpConnectionFactories",
+    "serviceRefBindings", "messageDestinationRefBindings", "extensions"})
+public class EnterpriseBeanBinding {
+
+    @XmlElement(name = "enterpriseBean")
+    protected List<EnterpriseBean> enterpriseBeans;
+    @XmlElement(name = "datasource")
+    protected List<ResourceRefBinding> datasources;
+    protected List<ResourceRefBinding> resRefBindings;
+    protected List<EjbRefBinding> ejbRefBindings;
+    protected List<ResourceEnvRefBinding> resourceEnvRefBindings;
+    @XmlElement(name = "cmpConnectionFactory")
+    protected List<CMPConnectionFactoryBinding> cmpConnectionFactories;
+    protected List<ServiceRefBinding> serviceRefBindings;
+    protected List<MessageDestinationRefBinding> messageDestinationRefBindings;
+    @XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI")
+    protected List<Extension> extensions;
+    @XmlAttribute
+    protected String ejbName;
+    @XmlAttribute
+    protected String enterpriseBean;
+    @XmlAttribute
+    protected String jndiName;
+    @XmlAttribute(namespace = "http://www.omg.org/XMI")
+    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+    @XmlID
+    protected String id;
+    @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 enterpriseBeans 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 enterpriseBeans property.
+     * <p/>
+     * <p/>
+     * For example, to add a new item, do as follows:
+     * <p/>
+     * <pre>
+     * getEnterpriseBeans().add(newItem);
+     * </pre>
+     * <p/>
+     * <p/>
+     * <p/>
+     * Objects of the following type(s) are allowed in the list
+     * {@link EnterpriseBean }
+     */
+    public List<EnterpriseBean> getEnterpriseBeans() {
+        if (enterpriseBeans == null) {
+            enterpriseBeans = new ArrayList<EnterpriseBean>();
+        }
+        return this.enterpriseBeans;
+    }
+
+    /**
+     * Gets the value of the datasources 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 datasources property.
+     * <p/>
+     * <p/>
+     * For example, to add a new item, do as follows:
+     * <p/>
+     * <pre>
+     * getDatasources().add(newItem);
+     * </pre>
+     * <p/>
+     * <p/>
+     * <p/>
+     * Objects of the following type(s) are allowed in the list
+     * {@link ResourceRefBinding }
+     */
+    public List<ResourceRefBinding> getDatasources() {
+        if (datasources == null) {
+            datasources = new ArrayList<ResourceRefBinding>();
+        }
+        return this.datasources;
+    }
+
+    /**
+     * Gets the value of the resRefBindings 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 resRefBindings property.
+     * <p/>
+     * <p/>
+     * For example, to add a new item, do as follows:
+     * <p/>
+     * <pre>
+     * getResRefBindings().add(newItem);
+     * </pre>
+     * <p/>
+     * <p/>
+     * <p/>
+     * Objects of the following type(s) are allowed in the list
+     * {@link ResourceRefBinding }
+     */
+    public List<ResourceRefBinding> getResRefBindings() {
+        if (resRefBindings == null) {
+            resRefBindings = new ArrayList<ResourceRefBinding>();
+        }
+        return this.resRefBindings;
+    }
+
+    /**
+     * Gets the value of the ejbRefBindings 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 ejbRefBindings property.
+     * <p/>
+     * <p/>
+     * For example, to add a new item, do as follows:
+     * <p/>
+     * <pre>
+     * getEjbRefBindings().add(newItem);
+     * </pre>
+     * <p/>
+     * <p/>
+     * <p/>
+     * Objects of the following type(s) are allowed in the list
+     * {@link EjbRefBinding }
+     */
+    public List<EjbRefBinding> getEjbRefBindings() {
+        if (ejbRefBindings == null) {
+            ejbRefBindings = new ArrayList<EjbRefBinding>();
+        }
+        return this.ejbRefBindings;
+    }
+
+    /**
+     * Gets the value of the resourceEnvRefBindings 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 resourceEnvRefBindings property.
+     * <p/>
+     * <p/>
+     * For example, to add a new item, do as follows:
+     * <p/>
+     * <pre>
+     * getResourceEnvRefBindings().add(newItem);
+     * </pre>
+     * <p/>
+     * <p/>
+     * <p/>
+     * Objects of the following type(s) are allowed in the list
+     * {@link ResourceEnvRefBinding }
+     */
+    public List<ResourceEnvRefBinding> getResourceEnvRefBindings() {
+        if (resourceEnvRefBindings == null) {
+            resourceEnvRefBindings = new ArrayList<ResourceEnvRefBinding>();
+        }
+        return this.resourceEnvRefBindings;
+    }
+
+    /**
+     * Gets the value of the cmpConnectionFactories 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 cmpConnectionFactories property.
+     * <p/>
+     * <p/>
+     * For example, to add a new item, do as follows:
+     * <p/>
+     * <pre>
+     * getCmpConnectionFactories().add(newItem);
+     * </pre>
+     * <p/>
+     * <p/>
+     * <p/>
+     * Objects of the following type(s) are allowed in the list
+     * {@link CMPConnectionFactoryBinding }
+     */
+    public List<CMPConnectionFactoryBinding> getCmpConnectionFactories() {
+        if (cmpConnectionFactories == null) {
+            cmpConnectionFactories = new ArrayList<CMPConnectionFactoryBinding>();
+        }
+        return this.cmpConnectionFactories;
+    }
+
+    /**
+     * Gets the value of the serviceRefBindings 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 serviceRefBindings property.
+     * <p/>
+     * <p/>
+     * For example, to add a new item, do as follows:
+     * <p/>
+     * <pre>
+     * getServiceRefBindings().add(newItem);
+     * </pre>
+     * <p/>
+     * <p/>
+     * <p/>
+     * Objects of the following type(s) are allowed in the list
+     * {@link ServiceRefBinding }
+     */
+    public List<ServiceRefBinding> getServiceRefBindings() {
+        if (serviceRefBindings == null) {
+            serviceRefBindings = new ArrayList<ServiceRefBinding>();
+        }
+        return this.serviceRefBindings;
+    }
+
+    /**
+     * Gets the value of the messageDestinationRefBindings 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 messageDestinationRefBindings property.
+     * <p/>
+     * <p/>
+     * For example, to add a new item, do as follows:
+     * <p/>
+     * <pre>
+     * getMessageDestinationRefBindings().add(newItem);
+     * </pre>
+     * <p/>
+     * <p/>
+     * <p/>
+     * Objects of the following type(s) are allowed in the list
+     * {@link MessageDestinationRefBinding }
+     */
+    public List<MessageDestinationRefBinding> getMessageDestinationRefBindings() {
+        if (messageDestinationRefBindings == null) {
+            messageDestinationRefBindings = new ArrayList<MessageDestinationRefBinding>();
+        }
+        return this.messageDestinationRefBindings;
+    }
+
+    /**
+     * Gets the value of the extensions 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 extensions property.
+     * <p/>
+     * <p/>
+     * For example, to add a new item, do as follows:
+     * <p/>
+     * <pre>
+     * getExtensions().add(newItem);
+     * </pre>
+     * <p/>
+     * <p/>
+     * <p/>
+     * Objects of the following type(s) are allowed in the list
+     * {@link Extension }
+     */
+    public List<Extension> getExtensions() {
+        if (extensions == null) {
+            extensions = new ArrayList<Extension>();
+        }
+        return this.extensions;
+    }
+
+    /**
+     * Gets the value of the ejbName property.
+     *
+     * @return possible object is {@link String }
+     */
+    public String getEjbName() {
+        return ejbName;
+    }
+
+    /**
+     * Sets the value of the ejbName property.
+     *
+     * @param value allowed object is {@link String }
+     */
+    public void setEjbName(final String value) {
+        this.ejbName = value;
+    }
+
+    /**
+     * Gets the value of the enterpriseBean property.
+     *
+     * @return possible object is {@link String }
+     */
+    public String getEnterpriseBean() {
+        return enterpriseBean;
+    }
+
+    /**
+     * Sets the value of the enterpriseBean property.
+     *
+     * @param value allowed object is {@link String }
+     */
+    public void setEnterpriseBean(final String value) {
+        this.enterpriseBean = value;
+    }
+
+    /**
+     * Gets the value of the jndiName property.
+     *
+     * @return possible object is {@link String }
+     */
+    public String getJndiName() {
+        return jndiName;
+    }
+
+    /**
+     * Sets the value of the jndiName property.
+     *
+     * @param value allowed object is {@link String }
+     */
+    public void setJndiName(final String value) {
+        this.jndiName = value;
+    }
+
+    /**
+     * Gets the value of the id property.
+     *
+     * @return possible object is {@link String }
+     */
+    public String getId() {
+        return id;
+    }
+
+    /**
+     * Sets the value of the id property.
+     *
+     * @param value allowed object is {@link String }
+     */
+    public void setId(final String value) {
+        this.id = 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/ejbbnd/MessageDrivenBeanBinding.java
----------------------------------------------------------------------
diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejbbnd/MessageDrivenBeanBinding.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejbbnd/MessageDrivenBeanBinding.java
index ce8d5ee..25ecbe5 100644
--- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejbbnd/MessageDrivenBeanBinding.java
+++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejbbnd/MessageDrivenBeanBinding.java
@@ -1,133 +1,133 @@
-/**
- * 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.ejbbnd;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlType;
-
-/**
- * Binding information for MessageDrivenBeans.
- * <p/>
- * <p/>
- * <p/>
- * Java class for MessageDrivenBeanBinding complex type.
- * <p/>
- * <p/>
- * The following schema fragment specifies the expected content contained within
- * this class.
- * <p/>
- * <pre>
- * &lt;complexType name="MessageDrivenBeanBinding">
- *   &lt;complexContent>
- *     &lt;extension base="{ejbbnd.xmi}EnterpriseBeanBinding">
- *       &lt;attribute name="activationSpecAuthAlias" type="{http://www.w3.org/2001/XMLSchema}string" />
- *       &lt;attribute name="activationSpecJndiName" type="{http://www.w3.org/2001/XMLSchema}string" />
- *       &lt;attribute name="destinationJndiName" type="{http://www.w3.org/2001/XMLSchema}string" />
- *       &lt;attribute name="listenerInputPortName" type="{http://www.w3.org/2001/XMLSchema}string" />
- *     &lt;/extension>
- *   &lt;/complexContent>
- * &lt;/complexType>
- * </pre>
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "MessageDrivenBeanBinding")
-public class MessageDrivenBeanBinding extends EnterpriseBeanBinding {
-
-    @XmlAttribute
-    protected String activationSpecAuthAlias;
-    @XmlAttribute
-    protected String activationSpecJndiName;
-    @XmlAttribute
-    protected String destinationJndiName;
-    @XmlAttribute
-    protected String listenerInputPortName;
-
-    /**
-     * Gets the value of the activationSpecAuthAlias property.
-     *
-     * @return possible object is {@link String }
-     */
-    public String getActivationSpecAuthAlias() {
-        return activationSpecAuthAlias;
-    }
-
-    /**
-     * Sets the value of the activationSpecAuthAlias property.
-     *
-     * @param value allowed object is {@link String }
-     */
-    public void setActivationSpecAuthAlias(final String value) {
-        this.activationSpecAuthAlias = value;
-    }
-
-    /**
-     * Gets the value of the activationSpecJndiName property.
-     *
-     * @return possible object is {@link String }
-     */
-    public String getActivationSpecJndiName() {
-        return activationSpecJndiName;
-    }
-
-    /**
-     * Sets the value of the activationSpecJndiName property.
-     *
-     * @param value allowed object is {@link String }
-     */
-    public void setActivationSpecJndiName(final String value) {
-        this.activationSpecJndiName = value;
-    }
-
-    /**
-     * Gets the value of the destinationJndiName property.
-     *
-     * @return possible object is {@link String }
-     */
-    public String getDestinationJndiName() {
-        return destinationJndiName;
-    }
-
-    /**
-     * Sets the value of the destinationJndiName property.
-     *
-     * @param value allowed object is {@link String }
-     */
-    public void setDestinationJndiName(final String value) {
-        this.destinationJndiName = value;
-    }
-
-    /**
-     * Gets the value of the listenerInputPortName property.
-     *
-     * @return possible object is {@link String }
-     */
-    public String getListenerInputPortName() {
-        return listenerInputPortName;
-    }
-
-    /**
-     * Sets the value of the listenerInputPortName property.
-     *
-     * @param value allowed object is {@link String }
-     */
-    public void setListenerInputPortName(final String value) {
-        this.listenerInputPortName = 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.ejbbnd;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * Binding information for MessageDrivenBeans.
+ * <p/>
+ * <p/>
+ * <p/>
+ * Java class for MessageDrivenBeanBinding complex type.
+ * <p/>
+ * <p/>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ * <p/>
+ * <pre>
+ * &lt;complexType name="MessageDrivenBeanBinding">
+ *   &lt;complexContent>
+ *     &lt;extension base="{ejbbnd.xmi}EnterpriseBeanBinding">
+ *       &lt;attribute name="activationSpecAuthAlias" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       &lt;attribute name="activationSpecJndiName" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       &lt;attribute name="destinationJndiName" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       &lt;attribute name="listenerInputPortName" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *     &lt;/extension>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "MessageDrivenBeanBinding")
+public class MessageDrivenBeanBinding extends EnterpriseBeanBinding {
+
+    @XmlAttribute
+    protected String activationSpecAuthAlias;
+    @XmlAttribute
+    protected String activationSpecJndiName;
+    @XmlAttribute
+    protected String destinationJndiName;
+    @XmlAttribute
+    protected String listenerInputPortName;
+
+    /**
+     * Gets the value of the activationSpecAuthAlias property.
+     *
+     * @return possible object is {@link String }
+     */
+    public String getActivationSpecAuthAlias() {
+        return activationSpecAuthAlias;
+    }
+
+    /**
+     * Sets the value of the activationSpecAuthAlias property.
+     *
+     * @param value allowed object is {@link String }
+     */
+    public void setActivationSpecAuthAlias(final String value) {
+        this.activationSpecAuthAlias = value;
+    }
+
+    /**
+     * Gets the value of the activationSpecJndiName property.
+     *
+     * @return possible object is {@link String }
+     */
+    public String getActivationSpecJndiName() {
+        return activationSpecJndiName;
+    }
+
+    /**
+     * Sets the value of the activationSpecJndiName property.
+     *
+     * @param value allowed object is {@link String }
+     */
+    public void setActivationSpecJndiName(final String value) {
+        this.activationSpecJndiName = value;
+    }
+
+    /**
+     * Gets the value of the destinationJndiName property.
+     *
+     * @return possible object is {@link String }
+     */
+    public String getDestinationJndiName() {
+        return destinationJndiName;
+    }
+
+    /**
+     * Sets the value of the destinationJndiName property.
+     *
+     * @param value allowed object is {@link String }
+     */
+    public void setDestinationJndiName(final String value) {
+        this.destinationJndiName = value;
+    }
+
+    /**
+     * Gets the value of the listenerInputPortName property.
+     *
+     * @return possible object is {@link String }
+     */
+    public String getListenerInputPortName() {
+        return listenerInputPortName;
+    }
+
+    /**
+     * Sets the value of the listenerInputPortName property.
+     *
+     * @param value allowed object is {@link String }
+     */
+    public void setListenerInputPortName(final String value) {
+        this.listenerInputPortName = value;
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/tomee/blob/52567075/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejbbnd/ObjectFactory.java
----------------------------------------------------------------------
diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejbbnd/ObjectFactory.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejbbnd/ObjectFactory.java
index c2d173f..d58e905 100644
--- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejbbnd/ObjectFactory.java
+++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejbbnd/ObjectFactory.java
@@ -1,128 +1,128 @@
-/**
- * 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.ejbbnd;
-
-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.ejbbnd
- * 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 _EJBJarBinding_QNAME = new QName("ejbbnd.xmi",
-        "EJBJarBinding");
-    private final static QName _MessageDrivenBeanBinding_QNAME = new QName(
-        "ejbbnd.xmi", "MessageDrivenBeanBinding");
-    private final static QName _CMPConnectionFactoryBinding_QNAME = new QName(
-        "ejbbnd.xmi", "CMPConnectionFactoryBinding");
-    private final static QName _EnterpriseBeanBinding_QNAME = new QName(
-        "ejbbnd.xmi", "EnterpriseBeanBinding");
-
-    /**
-     * Create a new ObjectFactory that can be used to create new instances of
-     * schema derived classes for package: org.apache.openejb.jee.was.v6.ejbbnd
-     */
-    public ObjectFactory() {
-    }
-
-    /**
-     * Create an instance of {@link EnterpriseBeanBinding }
-     */
-    public EnterpriseBeanBinding createEnterpriseBeanBinding() {
-        return new EnterpriseBeanBinding();
-    }
-
-    /**
-     * Create an instance of {@link CMPConnectionFactoryBinding }
-     */
-    public CMPConnectionFactoryBinding createCMPConnectionFactoryBinding() {
-        return new CMPConnectionFactoryBinding();
-    }
-
-    /**
-     * Create an instance of {@link EJBJarBinding }
-     */
-    public EJBJarBinding createEJBJarBinding() {
-        return new EJBJarBinding();
-    }
-
-    /**
-     * Create an instance of {@link MessageDrivenBeanBinding }
-     */
-    public MessageDrivenBeanBinding createMessageDrivenBeanBinding() {
-        return new MessageDrivenBeanBinding();
-    }
-
-    /**
-     * Create an instance of {@link JAXBElement }{@code <}{@link EJBJarBinding }
-     * {@code >}
-     */
-    @XmlElementDecl(namespace = "ejbbnd.xmi", name = "EJBJarBinding")
-    public JAXBElement<EJBJarBinding> createEJBJarBinding(final EJBJarBinding value) {
-        return new JAXBElement<EJBJarBinding>(_EJBJarBinding_QNAME,
-            EJBJarBinding.class, null, value);
-    }
-
-    /**
-     * Create an instance of {@link JAXBElement }{@code <}
-     * {@link MessageDrivenBeanBinding }{@code >}
-     */
-    @XmlElementDecl(namespace = "ejbbnd.xmi", name = "MessageDrivenBeanBinding")
-    public JAXBElement<MessageDrivenBeanBinding> createMessageDrivenBeanBinding(
-        final MessageDrivenBeanBinding value) {
-        return new JAXBElement<MessageDrivenBeanBinding>(
-            _MessageDrivenBeanBinding_QNAME,
-            MessageDrivenBeanBinding.class, null, value);
-    }
-
-    /**
-     * Create an instance of {@link JAXBElement }{@code <}
-     * {@link CMPConnectionFactoryBinding }{@code >}
-     */
-    @XmlElementDecl(namespace = "ejbbnd.xmi", name = "CMPConnectionFactoryBinding")
-    public JAXBElement<CMPConnectionFactoryBinding> createCMPConnectionFactoryBinding(
-        final CMPConnectionFactoryBinding value) {
-        return new JAXBElement<CMPConnectionFactoryBinding>(
-            _CMPConnectionFactoryBinding_QNAME,
-            CMPConnectionFactoryBinding.class, null, value);
-    }
-
-    /**
-     * Create an instance of {@link JAXBElement }{@code <}
-     * {@link EnterpriseBeanBinding }{@code >}
-     */
-    @XmlElementDecl(namespace = "ejbbnd.xmi", name = "EnterpriseBeanBinding")
-    public JAXBElement<EnterpriseBeanBinding> createEnterpriseBeanBinding(
-        final EnterpriseBeanBinding value) {
-        return new JAXBElement<EnterpriseBeanBinding>(
-            _EnterpriseBeanBinding_QNAME, EnterpriseBeanBinding.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.ejbbnd;
+
+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.ejbbnd
+ * 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 _EJBJarBinding_QNAME = new QName("ejbbnd.xmi",
+        "EJBJarBinding");
+    private final static QName _MessageDrivenBeanBinding_QNAME = new QName(
+        "ejbbnd.xmi", "MessageDrivenBeanBinding");
+    private final static QName _CMPConnectionFactoryBinding_QNAME = new QName(
+        "ejbbnd.xmi", "CMPConnectionFactoryBinding");
+    private final static QName _EnterpriseBeanBinding_QNAME = new QName(
+        "ejbbnd.xmi", "EnterpriseBeanBinding");
+
+    /**
+     * Create a new ObjectFactory that can be used to create new instances of
+     * schema derived classes for package: org.apache.openejb.jee.was.v6.ejbbnd
+     */
+    public ObjectFactory() {
+    }
+
+    /**
+     * Create an instance of {@link EnterpriseBeanBinding }
+     */
+    public EnterpriseBeanBinding createEnterpriseBeanBinding() {
+        return new EnterpriseBeanBinding();
+    }
+
+    /**
+     * Create an instance of {@link CMPConnectionFactoryBinding }
+     */
+    public CMPConnectionFactoryBinding createCMPConnectionFactoryBinding() {
+        return new CMPConnectionFactoryBinding();
+    }
+
+    /**
+     * Create an instance of {@link EJBJarBinding }
+     */
+    public EJBJarBinding createEJBJarBinding() {
+        return new EJBJarBinding();
+    }
+
+    /**
+     * Create an instance of {@link MessageDrivenBeanBinding }
+     */
+    public MessageDrivenBeanBinding createMessageDrivenBeanBinding() {
+        return new MessageDrivenBeanBinding();
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link EJBJarBinding }
+     * {@code >}
+     */
+    @XmlElementDecl(namespace = "ejbbnd.xmi", name = "EJBJarBinding")
+    public JAXBElement<EJBJarBinding> createEJBJarBinding(final EJBJarBinding value) {
+        return new JAXBElement<EJBJarBinding>(_EJBJarBinding_QNAME,
+            EJBJarBinding.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}
+     * {@link MessageDrivenBeanBinding }{@code >}
+     */
+    @XmlElementDecl(namespace = "ejbbnd.xmi", name = "MessageDrivenBeanBinding")
+    public JAXBElement<MessageDrivenBeanBinding> createMessageDrivenBeanBinding(
+        final MessageDrivenBeanBinding value) {
+        return new JAXBElement<MessageDrivenBeanBinding>(
+            _MessageDrivenBeanBinding_QNAME,
+            MessageDrivenBeanBinding.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}
+     * {@link CMPConnectionFactoryBinding }{@code >}
+     */
+    @XmlElementDecl(namespace = "ejbbnd.xmi", name = "CMPConnectionFactoryBinding")
+    public JAXBElement<CMPConnectionFactoryBinding> createCMPConnectionFactoryBinding(
+        final CMPConnectionFactoryBinding value) {
+        return new JAXBElement<CMPConnectionFactoryBinding>(
+            _CMPConnectionFactoryBinding_QNAME,
+            CMPConnectionFactoryBinding.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}
+     * {@link EnterpriseBeanBinding }{@code >}
+     */
+    @XmlElementDecl(namespace = "ejbbnd.xmi", name = "EnterpriseBeanBinding")
+    public JAXBElement<EnterpriseBeanBinding> createEnterpriseBeanBinding(
+        final EnterpriseBeanBinding value) {
+        return new JAXBElement<EnterpriseBeanBinding>(
+            _EnterpriseBeanBinding_QNAME, EnterpriseBeanBinding.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/ejbbnd/package-info.java
----------------------------------------------------------------------
diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejbbnd/package-info.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejbbnd/package-info.java
index 38202e2..25adc4b 100644
--- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejbbnd/package-info.java
+++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejbbnd/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 = "ejbbnd.xmi") package org.apache.openejb.jee.was.v6.ejbbnd;
-
+/**
+ * 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 = "ejbbnd.xmi") package org.apache.openejb.jee.was.v6.ejbbnd;
+

http://git-wip-us.apache.org/repos/asf/tomee/blob/52567075/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/ArrayType.java
----------------------------------------------------------------------
diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/ArrayType.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/ArrayType.java
index 23f523e..53f8665 100644
--- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/ArrayType.java
+++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/java/ArrayType.java
@@ -1,138 +1,138 @@
-/**
- * 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.java;
-
-import org.apache.openejb.jee.was.v6.ecore.EClassifier;
-
-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.XmlType;
-import java.util.ArrayList;
-import java.util.List;
-
-/**
- * Describes a Java Array type For multi-dimensional arrays, it is unlikely that
- * the component type will be specified directly. This would require
- * instantiating a chain of component types such as
- * String[][][][]->String[][][]->String[][]->String[]->String.
- * <p/>
- * The component type relationship will be computed if the finalComponentType
- * and array dimensions is specified.
- * <p/>
- * For this reason, the preferred way to create is through the JavaRefFactory
- * factory method: createArrayType(JavaClass finalComponentType, int dimensions)
- * <p/>
- * <p/>
- * <p/>
- * Java class for ArrayType complex type.
- * <p/>
- * <p/>
- * The following schema fragment specifies the expected content contained within
- * this class.
- * <p/>
- * <pre>
- * &lt;complexType name="ArrayType">
- *   &lt;complexContent>
- *     &lt;extension base="{java.xmi}JavaClass">
- *       &lt;choice maxOccurs="unbounded" minOccurs="0">
- *         &lt;element name="componentType" type="{http://www.eclipse.org/emf/2002/Ecore}EClassifier"/>
- *       &lt;/choice>
- *       &lt;attribute name="arrayDimensions" type="{http://www.w3.org/2001/XMLSchema}int" />
- *       &lt;attribute name="componentType" type="{http://www.w3.org/2001/XMLSchema}string" />
- *     &lt;/extension>
- *   &lt;/complexContent>
- * &lt;/complexType>
- * </pre>
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "ArrayType", propOrder = {"componentTypes"})
-public class ArrayType extends JavaClass {
-
-    @XmlElement(name = "componentType")
-    protected List<EClassifier> componentTypes;
-    @XmlAttribute
-    protected Integer arrayDimensions;
-    @XmlAttribute
-    protected String componentType;
-
-    /**
-     * Gets the value of the componentTypes 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 componentTypes property.
-     * <p/>
-     * <p/>
-     * For example, to add a new item, do as follows:
-     * <p/>
-     * <pre>
-     * getComponentTypes().add(newItem);
-     * </pre>
-     * <p/>
-     * <p/>
-     * <p/>
-     * Objects of the following type(s) are allowed in the list
-     * {@link EClassifier }
-     */
-    public List<EClassifier> getComponentTypes() {
-        if (componentTypes == null) {
-            componentTypes = new ArrayList<EClassifier>();
-        }
-        return this.componentTypes;
-    }
-
-    /**
-     * Gets the value of the arrayDimensions property.
-     *
-     * @return possible object is {@link Integer }
-     */
-    public Integer getArrayDimensions() {
-        return arrayDimensions;
-    }
-
-    /**
-     * Sets the value of the arrayDimensions property.
-     *
-     * @param value allowed object is {@link Integer }
-     */
-    public void setArrayDimensions(final Integer value) {
-        this.arrayDimensions = value;
-    }
-
-    /**
-     * Gets the value of the componentType property.
-     *
-     * @return possible object is {@link String }
-     */
-    public String getComponentType() {
-        return componentType;
-    }
-
-    /**
-     * Sets the value of the componentType property.
-     *
-     * @param value allowed object is {@link String }
-     */
-    public void setComponentType(final String value) {
-        this.componentType = 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.java;
+
+import org.apache.openejb.jee.was.v6.ecore.EClassifier;
+
+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.XmlType;
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * Describes a Java Array type For multi-dimensional arrays, it is unlikely that
+ * the component type will be specified directly. This would require
+ * instantiating a chain of component types such as
+ * String[][][][]->String[][][]->String[][]->String[]->String.
+ * <p/>
+ * The component type relationship will be computed if the finalComponentType
+ * and array dimensions is specified.
+ * <p/>
+ * For this reason, the preferred way to create is through the JavaRefFactory
+ * factory method: createArrayType(JavaClass finalComponentType, int dimensions)
+ * <p/>
+ * <p/>
+ * <p/>
+ * Java class for ArrayType complex type.
+ * <p/>
+ * <p/>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ * <p/>
+ * <pre>
+ * &lt;complexType name="ArrayType">
+ *   &lt;complexContent>
+ *     &lt;extension base="{java.xmi}JavaClass">
+ *       &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *         &lt;element name="componentType" type="{http://www.eclipse.org/emf/2002/Ecore}EClassifier"/>
+ *       &lt;/choice>
+ *       &lt;attribute name="arrayDimensions" type="{http://www.w3.org/2001/XMLSchema}int" />
+ *       &lt;attribute name="componentType" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *     &lt;/extension>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ArrayType", propOrder = {"componentTypes"})
+public class ArrayType extends JavaClass {
+
+    @XmlElement(name = "componentType")
+    protected List<EClassifier> componentTypes;
+    @XmlAttribute
+    protected Integer arrayDimensions;
+    @XmlAttribute
+    protected String componentType;
+
+    /**
+     * Gets the value of the componentTypes 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 componentTypes property.
+     * <p/>
+     * <p/>
+     * For example, to add a new item, do as follows:
+     * <p/>
+     * <pre>
+     * getComponentTypes().add(newItem);
+     * </pre>
+     * <p/>
+     * <p/>
+     * <p/>
+     * Objects of the following type(s) are allowed in the list
+     * {@link EClassifier }
+     */
+    public List<EClassifier> getComponentTypes() {
+        if (componentTypes == null) {
+            componentTypes = new ArrayList<EClassifier>();
+        }
+        return this.componentTypes;
+    }
+
+    /**
+     * Gets the value of the arrayDimensions property.
+     *
+     * @return possible object is {@link Integer }
+     */
+    public Integer getArrayDimensions() {
+        return arrayDimensions;
+    }
+
+    /**
+     * Sets the value of the arrayDimensions property.
+     *
+     * @param value allowed object is {@link Integer }
+     */
+    public void setArrayDimensions(final Integer value) {
+        this.arrayDimensions = value;
+    }
+
+    /**
+     * Gets the value of the componentType property.
+     *
+     * @return possible object is {@link String }
+     */
+    public String getComponentType() {
+        return componentType;
+    }
+
+    /**
+     * Sets the value of the componentType property.
+     *
+     * @param value allowed object is {@link String }
+     */
+    public void setComponentType(final String value) {
+        this.componentType = value;
+    }
+
+}


Mime
View raw message