You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by db...@apache.org on 2006/12/20 01:13:44 UTC

svn commit: r488864 [16/23] - in /incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee: ./ jba/ jba/cmp/ jpa/ oej2/ sun/

Added: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/EjbLocalRefType.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/EjbLocalRefType.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/EjbLocalRefType.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/EjbLocalRefType.java Tue Dec 19 16:13:33 2006
@@ -0,0 +1,135 @@
+/**
+ * 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.oej2;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ejb-local-refType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="ejb-local-refType">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;element name="ref-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         &lt;choice>
+ *           &lt;element name="pattern" type="{http://geronimo.apache.org/xml/ns/naming-1.2}patternType"/>
+ *           &lt;element name="ejb-link" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         &lt;/choice>
+ *       &lt;/sequence>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ejb-local-refType", propOrder = {
+    "refName",
+    "pattern",
+    "ejbLink"
+})
+public class EjbLocalRefType {
+
+    @XmlElement(name = "ref-name", required = true)
+    protected java.lang.String refName;
+    protected PatternType pattern;
+    @XmlElement(name = "ejb-link")
+    protected java.lang.String ejbLink;
+
+    /**
+     * Gets the value of the refName property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link java.lang.String }
+     *     
+     */
+    public java.lang.String getRefName() {
+        return refName;
+    }
+
+    /**
+     * Sets the value of the refName property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link java.lang.String }
+     *     
+     */
+    public void setRefName(java.lang.String value) {
+        this.refName = value;
+    }
+
+    /**
+     * Gets the value of the pattern property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link PatternType }
+     *     
+     */
+    public PatternType getPattern() {
+        return pattern;
+    }
+
+    /**
+     * Sets the value of the pattern property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link PatternType }
+     *     
+     */
+    public void setPattern(PatternType value) {
+        this.pattern = value;
+    }
+
+    /**
+     * Gets the value of the ejbLink property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link java.lang.String }
+     *     
+     */
+    public java.lang.String getEjbLink() {
+        return ejbLink;
+    }
+
+    /**
+     * Sets the value of the ejbLink property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link java.lang.String }
+     *     
+     */
+    public void setEjbLink(java.lang.String value) {
+        this.ejbLink = value;
+    }
+
+}

Added: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/EjbRefType.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/EjbRefType.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/EjbRefType.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/EjbRefType.java Tue Dec 19 16:13:33 2006
@@ -0,0 +1,242 @@
+/**
+ * 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.oej2;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ejb-refType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="ejb-refType">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;element name="ref-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         &lt;choice>
+ *           &lt;element name="pattern" type="{http://geronimo.apache.org/xml/ns/naming-1.2}patternType"/>
+ *           &lt;group ref="{http://geronimo.apache.org/xml/ns/naming-1.2}corbaNameGroup"/>
+ *           &lt;element name="ejb-link" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         &lt;/choice>
+ *       &lt;/sequence>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ejb-refType", propOrder = {
+    "refName",
+    "pattern",
+    "nsCorbaloc",
+    "name",
+    "css",
+    "cssLink",
+    "ejbLink"
+})
+public class EjbRefType {
+
+    @XmlElement(name = "ref-name", required = true)
+    protected java.lang.String refName;
+    protected PatternType pattern;
+    @XmlElement(name = "ns-corbaloc")
+    protected java.lang.String nsCorbaloc;
+    protected java.lang.String name;
+    protected PatternType css;
+    @XmlElement(name = "css-link")
+    protected java.lang.String cssLink;
+    @XmlElement(name = "ejb-link")
+    protected java.lang.String ejbLink;
+
+    /**
+     * Gets the value of the refName property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link java.lang.String }
+     *     
+     */
+    public java.lang.String getRefName() {
+        return refName;
+    }
+
+    /**
+     * Sets the value of the refName property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link java.lang.String }
+     *     
+     */
+    public void setRefName(java.lang.String value) {
+        this.refName = value;
+    }
+
+    /**
+     * Gets the value of the pattern property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link PatternType }
+     *     
+     */
+    public PatternType getPattern() {
+        return pattern;
+    }
+
+    /**
+     * Sets the value of the pattern property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link PatternType }
+     *     
+     */
+    public void setPattern(PatternType value) {
+        this.pattern = value;
+    }
+
+    /**
+     * Gets the value of the nsCorbaloc property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link java.lang.String }
+     *     
+     */
+    public java.lang.String getNsCorbaloc() {
+        return nsCorbaloc;
+    }
+
+    /**
+     * Sets the value of the nsCorbaloc property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link java.lang.String }
+     *     
+     */
+    public void setNsCorbaloc(java.lang.String value) {
+        this.nsCorbaloc = value;
+    }
+
+    /**
+     * Gets the value of the name property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link java.lang.String }
+     *     
+     */
+    public java.lang.String getName() {
+        return name;
+    }
+
+    /**
+     * Sets the value of the name property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link java.lang.String }
+     *     
+     */
+    public void setName(java.lang.String value) {
+        this.name = value;
+    }
+
+    /**
+     * Gets the value of the css property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link PatternType }
+     *     
+     */
+    public PatternType getCss() {
+        return css;
+    }
+
+    /**
+     * Sets the value of the css property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link PatternType }
+     *     
+     */
+    public void setCss(PatternType value) {
+        this.css = value;
+    }
+
+    /**
+     * Gets the value of the cssLink property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link java.lang.String }
+     *     
+     */
+    public java.lang.String getCssLink() {
+        return cssLink;
+    }
+
+    /**
+     * Sets the value of the cssLink property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link java.lang.String }
+     *     
+     */
+    public void setCssLink(java.lang.String value) {
+        this.cssLink = value;
+    }
+
+    /**
+     * Gets the value of the ejbLink property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link java.lang.String }
+     *     
+     */
+    public java.lang.String getEjbLink() {
+        return ejbLink;
+    }
+
+    /**
+     * Sets the value of the ejbLink property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link java.lang.String }
+     *     
+     */
+    public void setEjbLink(java.lang.String value) {
+        this.ejbLink = value;
+    }
+
+}

Added: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/EjbRelationType.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/EjbRelationType.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/EjbRelationType.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/EjbRelationType.java Tue Dec 19 16:13:33 2006
@@ -0,0 +1,141 @@
+/**
+ * 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.oej2;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ejb-relationType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="ejb-relationType">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;element name="ejb-relation-name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         &lt;element name="many-to-many-table-name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         &lt;element name="ejb-relationship-role" type="{http://openejb.apache.org/xml/ns/openejb-jar-2.2}ejb-relationship-roleType" maxOccurs="2"/>
+ *       &lt;/sequence>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ejb-relationType", namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2", propOrder = {
+    "ejbRelationName",
+    "manyToManyTableName",
+    "ejbRelationshipRole"
+})
+public class EjbRelationType {
+
+    @XmlElement(name = "ejb-relation-name", namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2")
+    protected java.lang.String ejbRelationName;
+    @XmlElement(name = "many-to-many-table-name", namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2")
+    protected java.lang.String manyToManyTableName;
+    @XmlElement(name = "ejb-relationship-role", namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2", required = true)
+    protected List<EjbRelationshipRoleType> ejbRelationshipRole;
+
+    /**
+     * Gets the value of the ejbRelationName property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link java.lang.String }
+     *     
+     */
+    public java.lang.String getEjbRelationName() {
+        return ejbRelationName;
+    }
+
+    /**
+     * Sets the value of the ejbRelationName property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link java.lang.String }
+     *     
+     */
+    public void setEjbRelationName(java.lang.String value) {
+        this.ejbRelationName = value;
+    }
+
+    /**
+     * Gets the value of the manyToManyTableName property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link java.lang.String }
+     *     
+     */
+    public java.lang.String getManyToManyTableName() {
+        return manyToManyTableName;
+    }
+
+    /**
+     * Sets the value of the manyToManyTableName property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link java.lang.String }
+     *     
+     */
+    public void setManyToManyTableName(java.lang.String value) {
+        this.manyToManyTableName = value;
+    }
+
+    /**
+     * Gets the value of the ejbRelationshipRole property.
+     * 
+     * <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 ejbRelationshipRole property.
+     * 
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getEjbRelationshipRole().add(newItem);
+     * </pre>
+     * 
+     * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link EjbRelationshipRoleType }
+     * 
+     * 
+     */
+    public List<EjbRelationshipRoleType> getEjbRelationshipRole() {
+        if (ejbRelationshipRole == null) {
+            ejbRelationshipRole = new ArrayList<EjbRelationshipRoleType>();
+        }
+        return this.ejbRelationshipRole;
+    }
+
+}

Added: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/EjbRelationshipRoleType.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/EjbRelationshipRoleType.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/EjbRelationshipRoleType.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/EjbRelationshipRoleType.java Tue Dec 19 16:13:33 2006
@@ -0,0 +1,497 @@
+/**
+ * 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.oej2;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ejb-relationship-roleType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="ejb-relationship-roleType">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;element name="ejb-relationship-role-name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         &lt;element name="relationship-role-source">
+ *           &lt;complexType>
+ *             &lt;complexContent>
+ *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 &lt;sequence>
+ *                   &lt;element name="ejb-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *                 &lt;/sequence>
+ *               &lt;/restriction>
+ *             &lt;/complexContent>
+ *           &lt;/complexType>
+ *         &lt;/element>
+ *         &lt;element name="cmr-field" minOccurs="0">
+ *           &lt;complexType>
+ *             &lt;complexContent>
+ *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 &lt;sequence>
+ *                   &lt;element name="cmr-field-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *                 &lt;/sequence>
+ *               &lt;/restriction>
+ *             &lt;/complexContent>
+ *           &lt;/complexType>
+ *         &lt;/element>
+ *         &lt;element name="foreign-key-column-on-source" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
+ *         &lt;element name="role-mapping">
+ *           &lt;complexType>
+ *             &lt;complexContent>
+ *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 &lt;sequence>
+ *                   &lt;element name="cmr-field-mapping" maxOccurs="unbounded">
+ *                     &lt;complexType>
+ *                       &lt;complexContent>
+ *                         &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           &lt;sequence>
+ *                             &lt;element name="key-column" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *                             &lt;element name="foreign-key-column" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *                           &lt;/sequence>
+ *                         &lt;/restriction>
+ *                       &lt;/complexContent>
+ *                     &lt;/complexType>
+ *                   &lt;/element>
+ *                 &lt;/sequence>
+ *               &lt;/restriction>
+ *             &lt;/complexContent>
+ *           &lt;/complexType>
+ *         &lt;/element>
+ *       &lt;/sequence>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ejb-relationship-roleType", namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2", propOrder = {
+    "ejbRelationshipRoleName",
+    "relationshipRoleSource",
+    "cmrField",
+    "foreignKeyColumnOnSource",
+    "roleMapping"
+})
+public class EjbRelationshipRoleType {
+
+    @XmlElement(name = "ejb-relationship-role-name", namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2")
+    protected java.lang.String ejbRelationshipRoleName;
+    @XmlElement(name = "relationship-role-source", namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2", required = true)
+    protected EjbRelationshipRoleType.RelationshipRoleSource relationshipRoleSource;
+    @XmlElement(name = "cmr-field", namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2")
+    protected EjbRelationshipRoleType.CmrField cmrField;
+    @XmlElement(name = "foreign-key-column-on-source", namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2")
+    protected Object foreignKeyColumnOnSource;
+    @XmlElement(name = "role-mapping", namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2", required = true)
+    protected EjbRelationshipRoleType.RoleMapping roleMapping;
+
+    /**
+     * Gets the value of the ejbRelationshipRoleName property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link java.lang.String }
+     *     
+     */
+    public java.lang.String getEjbRelationshipRoleName() {
+        return ejbRelationshipRoleName;
+    }
+
+    /**
+     * Sets the value of the ejbRelationshipRoleName property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link java.lang.String }
+     *     
+     */
+    public void setEjbRelationshipRoleName(java.lang.String value) {
+        this.ejbRelationshipRoleName = value;
+    }
+
+    /**
+     * Gets the value of the relationshipRoleSource property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link EjbRelationshipRoleType.RelationshipRoleSource }
+     *     
+     */
+    public EjbRelationshipRoleType.RelationshipRoleSource getRelationshipRoleSource() {
+        return relationshipRoleSource;
+    }
+
+    /**
+     * Sets the value of the relationshipRoleSource property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link EjbRelationshipRoleType.RelationshipRoleSource }
+     *     
+     */
+    public void setRelationshipRoleSource(EjbRelationshipRoleType.RelationshipRoleSource value) {
+        this.relationshipRoleSource = value;
+    }
+
+    /**
+     * Gets the value of the cmrField property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link EjbRelationshipRoleType.CmrField }
+     *     
+     */
+    public EjbRelationshipRoleType.CmrField getCmrField() {
+        return cmrField;
+    }
+
+    /**
+     * Sets the value of the cmrField property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link EjbRelationshipRoleType.CmrField }
+     *     
+     */
+    public void setCmrField(EjbRelationshipRoleType.CmrField value) {
+        this.cmrField = value;
+    }
+
+    /**
+     * Gets the value of the foreignKeyColumnOnSource property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link Object }
+     *     
+     */
+    public Object getForeignKeyColumnOnSource() {
+        return foreignKeyColumnOnSource;
+    }
+
+    /**
+     * Sets the value of the foreignKeyColumnOnSource property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link Object }
+     *     
+     */
+    public void setForeignKeyColumnOnSource(Object value) {
+        this.foreignKeyColumnOnSource = value;
+    }
+
+    /**
+     * Gets the value of the roleMapping property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link EjbRelationshipRoleType.RoleMapping }
+     *     
+     */
+    public EjbRelationshipRoleType.RoleMapping getRoleMapping() {
+        return roleMapping;
+    }
+
+    /**
+     * Sets the value of the roleMapping property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link EjbRelationshipRoleType.RoleMapping }
+     *     
+     */
+    public void setRoleMapping(EjbRelationshipRoleType.RoleMapping value) {
+        this.roleMapping = value;
+    }
+
+
+    /**
+     * <p>Java class for anonymous complex type.
+     * 
+     * <p>The following schema fragment specifies the expected content contained within this class.
+     * 
+     * <pre>
+     * &lt;complexType>
+     *   &lt;complexContent>
+     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       &lt;sequence>
+     *         &lt;element name="cmr-field-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+     *       &lt;/sequence>
+     *     &lt;/restriction>
+     *   &lt;/complexContent>
+     * &lt;/complexType>
+     * </pre>
+     * 
+     * 
+     */
+    @XmlAccessorType(XmlAccessType.FIELD)
+    @XmlType(name = "", propOrder = {
+        "cmrFieldName"
+    })
+    public static class CmrField {
+
+        @XmlElement(name = "cmr-field-name", namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2", required = true)
+        protected java.lang.String cmrFieldName;
+
+        /**
+         * Gets the value of the cmrFieldName property.
+         * 
+         * @return
+         *     possible object is
+         *     {@link java.lang.String }
+         *     
+         */
+        public java.lang.String getCmrFieldName() {
+            return cmrFieldName;
+        }
+
+        /**
+         * Sets the value of the cmrFieldName property.
+         * 
+         * @param value
+         *     allowed object is
+         *     {@link java.lang.String }
+         *     
+         */
+        public void setCmrFieldName(java.lang.String value) {
+            this.cmrFieldName = value;
+        }
+
+    }
+
+
+    /**
+     * <p>Java class for anonymous complex type.
+     * 
+     * <p>The following schema fragment specifies the expected content contained within this class.
+     * 
+     * <pre>
+     * &lt;complexType>
+     *   &lt;complexContent>
+     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       &lt;sequence>
+     *         &lt;element name="ejb-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+     *       &lt;/sequence>
+     *     &lt;/restriction>
+     *   &lt;/complexContent>
+     * &lt;/complexType>
+     * </pre>
+     * 
+     * 
+     */
+    @XmlAccessorType(XmlAccessType.FIELD)
+    @XmlType(name = "", propOrder = {
+        "ejbName"
+    })
+    public static class RelationshipRoleSource {
+
+        @XmlElement(name = "ejb-name", namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2", required = true)
+        protected java.lang.String ejbName;
+
+        /**
+         * Gets the value of the ejbName property.
+         * 
+         * @return
+         *     possible object is
+         *     {@link java.lang.String }
+         *     
+         */
+        public java.lang.String getEjbName() {
+            return ejbName;
+        }
+
+        /**
+         * Sets the value of the ejbName property.
+         * 
+         * @param value
+         *     allowed object is
+         *     {@link java.lang.String }
+         *     
+         */
+        public void setEjbName(java.lang.String value) {
+            this.ejbName = value;
+        }
+
+    }
+
+
+    /**
+     * <p>Java class for anonymous complex type.
+     * 
+     * <p>The following schema fragment specifies the expected content contained within this class.
+     * 
+     * <pre>
+     * &lt;complexType>
+     *   &lt;complexContent>
+     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       &lt;sequence>
+     *         &lt;element name="cmr-field-mapping" maxOccurs="unbounded">
+     *           &lt;complexType>
+     *             &lt;complexContent>
+     *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 &lt;sequence>
+     *                   &lt;element name="key-column" type="{http://www.w3.org/2001/XMLSchema}string"/>
+     *                   &lt;element name="foreign-key-column" type="{http://www.w3.org/2001/XMLSchema}string"/>
+     *                 &lt;/sequence>
+     *               &lt;/restriction>
+     *             &lt;/complexContent>
+     *           &lt;/complexType>
+     *         &lt;/element>
+     *       &lt;/sequence>
+     *     &lt;/restriction>
+     *   &lt;/complexContent>
+     * &lt;/complexType>
+     * </pre>
+     * 
+     * 
+     */
+    @XmlAccessorType(XmlAccessType.FIELD)
+    @XmlType(name = "", propOrder = {
+        "cmrFieldMapping"
+    })
+    public static class RoleMapping {
+
+        @XmlElement(name = "cmr-field-mapping", namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2", required = true)
+        protected List<EjbRelationshipRoleType.RoleMapping.CmrFieldMapping> cmrFieldMapping;
+
+        /**
+         * Gets the value of the cmrFieldMapping property.
+         * 
+         * <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 cmrFieldMapping property.
+         * 
+         * <p>
+         * For example, to add a new item, do as follows:
+         * <pre>
+         *    getCmrFieldMapping().add(newItem);
+         * </pre>
+         * 
+         * 
+         * <p>
+         * Objects of the following type(s) are allowed in the list
+         * {@link EjbRelationshipRoleType.RoleMapping.CmrFieldMapping }
+         * 
+         * 
+         */
+        public List<EjbRelationshipRoleType.RoleMapping.CmrFieldMapping> getCmrFieldMapping() {
+            if (cmrFieldMapping == null) {
+                cmrFieldMapping = new ArrayList<EjbRelationshipRoleType.RoleMapping.CmrFieldMapping>();
+            }
+            return this.cmrFieldMapping;
+        }
+
+
+        /**
+         * <p>Java class for anonymous complex type.
+         * 
+         * <p>The following schema fragment specifies the expected content contained within this class.
+         * 
+         * <pre>
+         * &lt;complexType>
+         *   &lt;complexContent>
+         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       &lt;sequence>
+         *         &lt;element name="key-column" type="{http://www.w3.org/2001/XMLSchema}string"/>
+         *         &lt;element name="foreign-key-column" type="{http://www.w3.org/2001/XMLSchema}string"/>
+         *       &lt;/sequence>
+         *     &lt;/restriction>
+         *   &lt;/complexContent>
+         * &lt;/complexType>
+         * </pre>
+         * 
+         * 
+         */
+        @XmlAccessorType(XmlAccessType.FIELD)
+        @XmlType(name = "", propOrder = {
+            "keyColumn",
+            "foreignKeyColumn"
+        })
+        public static class CmrFieldMapping {
+
+            @XmlElement(name = "key-column", namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2", required = true)
+            protected java.lang.String keyColumn;
+            @XmlElement(name = "foreign-key-column", namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2", required = true)
+            protected java.lang.String foreignKeyColumn;
+
+            /**
+             * Gets the value of the keyColumn property.
+             * 
+             * @return
+             *     possible object is
+             *     {@link java.lang.String }
+             *     
+             */
+            public java.lang.String getKeyColumn() {
+                return keyColumn;
+            }
+
+            /**
+             * Sets the value of the keyColumn property.
+             * 
+             * @param value
+             *     allowed object is
+             *     {@link java.lang.String }
+             *     
+             */
+            public void setKeyColumn(java.lang.String value) {
+                this.keyColumn = value;
+            }
+
+            /**
+             * Gets the value of the foreignKeyColumn property.
+             * 
+             * @return
+             *     possible object is
+             *     {@link java.lang.String }
+             *     
+             */
+            public java.lang.String getForeignKeyColumn() {
+                return foreignKeyColumn;
+            }
+
+            /**
+             * Sets the value of the foreignKeyColumn property.
+             * 
+             * @param value
+             *     allowed object is
+             *     {@link java.lang.String }
+             *     
+             */
+            public void setForeignKeyColumn(java.lang.String value) {
+                this.foreignKeyColumn = value;
+            }
+
+        }
+
+    }
+
+}

Added: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/EmptyType.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/EmptyType.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/EmptyType.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/EmptyType.java Tue Dec 19 16:13:33 2006
@@ -0,0 +1,46 @@
+/**
+ * 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.oej2;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for emptyType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="emptyType">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "emptyType", namespace = "http://geronimo.apache.org/xml/ns/deployment-1.2")
+public class EmptyType {
+
+
+}

Added: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/EntityBeanType.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/EntityBeanType.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/EntityBeanType.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/EntityBeanType.java Tue Dec 19 16:13:33 2006
@@ -0,0 +1,1146 @@
+/**
+ * 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.oej2;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.JAXBElement;
+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.XmlElementRef;
+import javax.xml.bind.annotation.XmlID;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+
+/**
+ * <p>Java class for entity-beanType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="entity-beanType">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;element name="ejb-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         &lt;element name="jndi-name" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+ *         &lt;element name="local-jndi-name" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+ *         &lt;group ref="{http://openejb.apache.org/xml/ns/openejb-jar-2.2}tssGroup" minOccurs="0"/>
+ *         &lt;sequence minOccurs="0">
+ *           &lt;element name="table-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *           &lt;element name="static-sql" type="{http://geronimo.apache.org/xml/ns/deployment-1.2}emptyType" minOccurs="0"/>
+ *           &lt;element name="cmp-field-mapping" maxOccurs="unbounded">
+ *             &lt;complexType>
+ *               &lt;complexContent>
+ *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                   &lt;sequence>
+ *                     &lt;element name="cmp-field-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *                     &lt;element name="cmp-field-class" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *                     &lt;element name="table-column" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *                     &lt;element name="sql-type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *                     &lt;element name="type-converter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *                   &lt;/sequence>
+ *                 &lt;/restriction>
+ *               &lt;/complexContent>
+ *             &lt;/complexType>
+ *           &lt;/element>
+ *           &lt;element name="primkey-field" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *           &lt;element ref="{http://openejb.apache.org/xml/ns/pkgen-2.1}key-generator" minOccurs="0"/>
+ *           &lt;element name="prefetch-group" minOccurs="0">
+ *             &lt;complexType>
+ *               &lt;complexContent>
+ *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                   &lt;sequence>
+ *                     &lt;element name="group" type="{http://openejb.apache.org/xml/ns/openejb-jar-2.2}groupType" maxOccurs="unbounded" minOccurs="0"/>
+ *                     &lt;element name="entity-group-mapping" type="{http://openejb.apache.org/xml/ns/openejb-jar-2.2}entity-group-mappingType" minOccurs="0"/>
+ *                     &lt;element name="cmp-field-group-mapping" type="{http://openejb.apache.org/xml/ns/openejb-jar-2.2}cmp-field-group-mappingType" maxOccurs="unbounded" minOccurs="0"/>
+ *                     &lt;element name="cmr-field-group-mapping" type="{http://openejb.apache.org/xml/ns/openejb-jar-2.2}cmr-field-group-mappingType" maxOccurs="unbounded" minOccurs="0"/>
+ *                   &lt;/sequence>
+ *                 &lt;/restriction>
+ *               &lt;/complexContent>
+ *             &lt;/complexType>
+ *           &lt;/element>
+ *           &lt;element name="select-for-update" type="{http://geronimo.apache.org/xml/ns/deployment-1.2}emptyType" minOccurs="0"/>
+ *         &lt;/sequence>
+ *         &lt;element name="cache" minOccurs="0">
+ *           &lt;complexType>
+ *             &lt;complexContent>
+ *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 &lt;sequence>
+ *                   &lt;element name="isolation-level">
+ *                     &lt;simpleType>
+ *                       &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         &lt;enumeration value="read-uncommitted"/>
+ *                         &lt;enumeration value="read-committed"/>
+ *                         &lt;enumeration value="repeatable-read"/>
+ *                       &lt;/restriction>
+ *                     &lt;/simpleType>
+ *                   &lt;/element>
+ *                   &lt;element name="size" type="{http://www.w3.org/2001/XMLSchema}int"/>
+ *                 &lt;/sequence>
+ *               &lt;/restriction>
+ *             &lt;/complexContent>
+ *           &lt;/complexType>
+ *         &lt;/element>
+ *         &lt;group ref="{http://geronimo.apache.org/xml/ns/naming-1.2}jndiEnvironmentRefsGroup"/>
+ *         &lt;element name="query" type="{http://openejb.apache.org/xml/ns/openejb-jar-2.2}queryType" maxOccurs="unbounded" minOccurs="0"/>
+ *       &lt;/sequence>
+ *       &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "entity-beanType", namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2", propOrder = {
+    "ejbName",
+    "jndiName",
+    "localJndiName",
+    "tssLink",
+    "tss",
+    "tableName",
+    "staticSql",
+    "cmpFieldMapping",
+    "primkeyField",
+    "keyGenerator",
+    "prefetchGroup",
+    "selectForUpdate",
+    "cache",
+    "abstractNamingEntry",
+    "ejbRef",
+    "ejbLocalRef",
+    "serviceRef",
+    "resourceRef",
+    "resourceEnvRef",
+    "query"
+})
+public class EntityBeanType {
+
+    @XmlElement(name = "ejb-name", namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2", required = true)
+    protected java.lang.String ejbName;
+    @XmlElement(name = "jndi-name", namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2")
+    protected List<java.lang.String> jndiName;
+    @XmlElement(name = "local-jndi-name", namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2")
+    protected List<java.lang.String> localJndiName;
+    @XmlElement(name = "tss-link", namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2")
+    protected java.lang.String tssLink;
+    @XmlElement(namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2")
+    protected PatternType tss;
+    @XmlElement(name = "table-name", namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2")
+    protected java.lang.String tableName;
+    @XmlElement(name = "static-sql", namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2")
+    protected EmptyType staticSql;
+    @XmlElement(name = "cmp-field-mapping", namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2")
+    protected List<EntityBeanType.CmpFieldMapping> cmpFieldMapping;
+    @XmlElement(name = "primkey-field", namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2")
+    protected java.lang.String primkeyField;
+    @XmlElement(name = "key-generator", namespace = "http://openejb.apache.org/xml/ns/pkgen-2.1")
+    protected KeyGeneratorType keyGenerator;
+    @XmlElement(name = "prefetch-group", namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2")
+    protected EntityBeanType.PrefetchGroup prefetchGroup;
+    @XmlElement(name = "select-for-update", namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2")
+    protected EmptyType selectForUpdate;
+    @XmlElement(namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2")
+    protected EntityBeanType.Cache cache;
+    @XmlElementRef(name = "abstract-naming-entry", namespace = "http://geronimo.apache.org/xml/ns/naming-1.2", type = JAXBElement.class)
+    protected List<JAXBElement<? extends AbstractNamingEntryType>> abstractNamingEntry;
+    @XmlElement(name = "ejb-ref")
+    protected List<EjbRefType> ejbRef;
+    @XmlElement(name = "ejb-local-ref")
+    protected List<EjbLocalRefType> ejbLocalRef;
+    @XmlElement(name = "service-ref")
+    protected List<ServiceRefType> serviceRef;
+    @XmlElement(name = "resource-ref")
+    protected List<ResourceRefType> resourceRef;
+    @XmlElement(name = "resource-env-ref")
+    protected List<ResourceEnvRefType> resourceEnvRef;
+    @XmlElement(namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2")
+    protected List<QueryType> query;
+    @XmlAttribute
+    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+    @XmlID
+    protected java.lang.String id;
+
+    /**
+     * Gets the value of the ejbName property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link java.lang.String }
+     *     
+     */
+    public java.lang.String getEjbName() {
+        return ejbName;
+    }
+
+    /**
+     * Sets the value of the ejbName property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link java.lang.String }
+     *     
+     */
+    public void setEjbName(java.lang.String value) {
+        this.ejbName = value;
+    }
+
+    /**
+     * Gets the value of the jndiName property.
+     * 
+     * <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 jndiName property.
+     * 
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getJndiName().add(newItem);
+     * </pre>
+     * 
+     * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link java.lang.String }
+     * 
+     * 
+     */
+    public List<java.lang.String> getJndiName() {
+        if (jndiName == null) {
+            jndiName = new ArrayList<java.lang.String>();
+        }
+        return this.jndiName;
+    }
+
+    /**
+     * Gets the value of the localJndiName property.
+     * 
+     * <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 localJndiName property.
+     * 
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getLocalJndiName().add(newItem);
+     * </pre>
+     * 
+     * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link java.lang.String }
+     * 
+     * 
+     */
+    public List<java.lang.String> getLocalJndiName() {
+        if (localJndiName == null) {
+            localJndiName = new ArrayList<java.lang.String>();
+        }
+        return this.localJndiName;
+    }
+
+    /**
+     * Gets the value of the tssLink property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link java.lang.String }
+     *     
+     */
+    public java.lang.String getTssLink() {
+        return tssLink;
+    }
+
+    /**
+     * Sets the value of the tssLink property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link java.lang.String }
+     *     
+     */
+    public void setTssLink(java.lang.String value) {
+        this.tssLink = value;
+    }
+
+    /**
+     * Gets the value of the tss property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link PatternType }
+     *     
+     */
+    public PatternType getTss() {
+        return tss;
+    }
+
+    /**
+     * Sets the value of the tss property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link PatternType }
+     *     
+     */
+    public void setTss(PatternType value) {
+        this.tss = value;
+    }
+
+    /**
+     * Gets the value of the tableName property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link java.lang.String }
+     *     
+     */
+    public java.lang.String getTableName() {
+        return tableName;
+    }
+
+    /**
+     * Sets the value of the tableName property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link java.lang.String }
+     *     
+     */
+    public void setTableName(java.lang.String value) {
+        this.tableName = value;
+    }
+
+    /**
+     * Gets the value of the staticSql property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link EmptyType }
+     *     
+     */
+    public EmptyType getStaticSql() {
+        return staticSql;
+    }
+
+    /**
+     * Sets the value of the staticSql property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link EmptyType }
+     *     
+     */
+    public void setStaticSql(EmptyType value) {
+        this.staticSql = value;
+    }
+
+    /**
+     * Gets the value of the cmpFieldMapping property.
+     * 
+     * <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 cmpFieldMapping property.
+     * 
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getCmpFieldMapping().add(newItem);
+     * </pre>
+     * 
+     * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link EntityBeanType.CmpFieldMapping }
+     * 
+     * 
+     */
+    public List<EntityBeanType.CmpFieldMapping> getCmpFieldMapping() {
+        if (cmpFieldMapping == null) {
+            cmpFieldMapping = new ArrayList<EntityBeanType.CmpFieldMapping>();
+        }
+        return this.cmpFieldMapping;
+    }
+
+    /**
+     * Gets the value of the primkeyField property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link java.lang.String }
+     *     
+     */
+    public java.lang.String getPrimkeyField() {
+        return primkeyField;
+    }
+
+    /**
+     * Sets the value of the primkeyField property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link java.lang.String }
+     *     
+     */
+    public void setPrimkeyField(java.lang.String value) {
+        this.primkeyField = value;
+    }
+
+    /**
+     * Gets the value of the keyGenerator property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link KeyGeneratorType }
+     *     
+     */
+    public KeyGeneratorType getKeyGenerator() {
+        return keyGenerator;
+    }
+
+    /**
+     * Sets the value of the keyGenerator property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link KeyGeneratorType }
+     *     
+     */
+    public void setKeyGenerator(KeyGeneratorType value) {
+        this.keyGenerator = value;
+    }
+
+    /**
+     * Gets the value of the prefetchGroup property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link EntityBeanType.PrefetchGroup }
+     *     
+     */
+    public EntityBeanType.PrefetchGroup getPrefetchGroup() {
+        return prefetchGroup;
+    }
+
+    /**
+     * Sets the value of the prefetchGroup property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link EntityBeanType.PrefetchGroup }
+     *     
+     */
+    public void setPrefetchGroup(EntityBeanType.PrefetchGroup value) {
+        this.prefetchGroup = value;
+    }
+
+    /**
+     * Gets the value of the selectForUpdate property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link EmptyType }
+     *     
+     */
+    public EmptyType getSelectForUpdate() {
+        return selectForUpdate;
+    }
+
+    /**
+     * Sets the value of the selectForUpdate property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link EmptyType }
+     *     
+     */
+    public void setSelectForUpdate(EmptyType value) {
+        this.selectForUpdate = value;
+    }
+
+    /**
+     * Gets the value of the cache property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link EntityBeanType.Cache }
+     *     
+     */
+    public EntityBeanType.Cache getCache() {
+        return cache;
+    }
+
+    /**
+     * Sets the value of the cache property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link EntityBeanType.Cache }
+     *     
+     */
+    public void setCache(EntityBeanType.Cache value) {
+        this.cache = value;
+    }
+
+    /**
+     * Gets the value of the abstractNamingEntry property.
+     * 
+     * <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 abstractNamingEntry property.
+     * 
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getAbstractNamingEntry().add(newItem);
+     * </pre>
+     * 
+     * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link JAXBElement }{@code <}{@link AbstractNamingEntryType }{@code >}
+     * {@link JAXBElement }{@code <}{@link PersistenceContextRefType }{@code >}
+     * {@link JAXBElement }{@code <}{@link EntityManagerFactoryRefType }{@code >}
+     * {@link JAXBElement }{@code <}{@link GbeanRefType }{@code >}
+     * 
+     * 
+     */
+    public List<JAXBElement<? extends AbstractNamingEntryType>> getAbstractNamingEntry() {
+        if (abstractNamingEntry == null) {
+            abstractNamingEntry = new ArrayList<JAXBElement<? extends AbstractNamingEntryType>>();
+        }
+        return this.abstractNamingEntry;
+    }
+
+    /**
+     * Gets the value of the ejbRef property.
+     * 
+     * <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 ejbRef property.
+     * 
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getEjbRef().add(newItem);
+     * </pre>
+     * 
+     * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link EjbRefType }
+     * 
+     * 
+     */
+    public List<EjbRefType> getEjbRef() {
+        if (ejbRef == null) {
+            ejbRef = new ArrayList<EjbRefType>();
+        }
+        return this.ejbRef;
+    }
+
+    /**
+     * Gets the value of the ejbLocalRef property.
+     * 
+     * <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 ejbLocalRef property.
+     * 
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getEjbLocalRef().add(newItem);
+     * </pre>
+     * 
+     * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link EjbLocalRefType }
+     * 
+     * 
+     */
+    public List<EjbLocalRefType> getEjbLocalRef() {
+        if (ejbLocalRef == null) {
+            ejbLocalRef = new ArrayList<EjbLocalRefType>();
+        }
+        return this.ejbLocalRef;
+    }
+
+    /**
+     * Gets the value of the serviceRef property.
+     * 
+     * <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 serviceRef property.
+     * 
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getServiceRef().add(newItem);
+     * </pre>
+     * 
+     * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link ServiceRefType }
+     * 
+     * 
+     */
+    public List<ServiceRefType> getServiceRef() {
+        if (serviceRef == null) {
+            serviceRef = new ArrayList<ServiceRefType>();
+        }
+        return this.serviceRef;
+    }
+
+    /**
+     * Gets the value of the resourceRef property.
+     * 
+     * <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 resourceRef property.
+     * 
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getResourceRef().add(newItem);
+     * </pre>
+     * 
+     * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link ResourceRefType }
+     * 
+     * 
+     */
+    public List<ResourceRefType> getResourceRef() {
+        if (resourceRef == null) {
+            resourceRef = new ArrayList<ResourceRefType>();
+        }
+        return this.resourceRef;
+    }
+
+    /**
+     * Gets the value of the resourceEnvRef property.
+     * 
+     * <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 resourceEnvRef property.
+     * 
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getResourceEnvRef().add(newItem);
+     * </pre>
+     * 
+     * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link ResourceEnvRefType }
+     * 
+     * 
+     */
+    public List<ResourceEnvRefType> getResourceEnvRef() {
+        if (resourceEnvRef == null) {
+            resourceEnvRef = new ArrayList<ResourceEnvRefType>();
+        }
+        return this.resourceEnvRef;
+    }
+
+    /**
+     * Gets the value of the query property.
+     * 
+     * <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 query property.
+     * 
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getQuery().add(newItem);
+     * </pre>
+     * 
+     * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link QueryType }
+     * 
+     * 
+     */
+    public List<QueryType> getQuery() {
+        if (query == null) {
+            query = new ArrayList<QueryType>();
+        }
+        return this.query;
+    }
+
+    /**
+     * Gets the value of the id property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link java.lang.String }
+     *     
+     */
+    public java.lang.String getId() {
+        return id;
+    }
+
+    /**
+     * Sets the value of the id property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link java.lang.String }
+     *     
+     */
+    public void setId(java.lang.String value) {
+        this.id = value;
+    }
+
+
+    /**
+     * <p>Java class for anonymous complex type.
+     * 
+     * <p>The following schema fragment specifies the expected content contained within this class.
+     * 
+     * <pre>
+     * &lt;complexType>
+     *   &lt;complexContent>
+     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       &lt;sequence>
+     *         &lt;element name="isolation-level">
+     *           &lt;simpleType>
+     *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               &lt;enumeration value="read-uncommitted"/>
+     *               &lt;enumeration value="read-committed"/>
+     *               &lt;enumeration value="repeatable-read"/>
+     *             &lt;/restriction>
+     *           &lt;/simpleType>
+     *         &lt;/element>
+     *         &lt;element name="size" type="{http://www.w3.org/2001/XMLSchema}int"/>
+     *       &lt;/sequence>
+     *     &lt;/restriction>
+     *   &lt;/complexContent>
+     * &lt;/complexType>
+     * </pre>
+     * 
+     * 
+     */
+    @XmlAccessorType(XmlAccessType.FIELD)
+    @XmlType(name = "", propOrder = {
+        "isolationLevel",
+        "size"
+    })
+    public static class Cache {
+
+        @XmlElement(name = "isolation-level", namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2", required = true)
+        protected java.lang.String isolationLevel;
+        @XmlElement(namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2")
+        protected int size;
+
+        /**
+         * Gets the value of the isolationLevel property.
+         * 
+         * @return
+         *     possible object is
+         *     {@link java.lang.String }
+         *     
+         */
+        public java.lang.String getIsolationLevel() {
+            return isolationLevel;
+        }
+
+        /**
+         * Sets the value of the isolationLevel property.
+         * 
+         * @param value
+         *     allowed object is
+         *     {@link java.lang.String }
+         *     
+         */
+        public void setIsolationLevel(java.lang.String value) {
+            this.isolationLevel = value;
+        }
+
+        /**
+         * Gets the value of the size property.
+         * 
+         */
+        public int getSize() {
+            return size;
+        }
+
+        /**
+         * Sets the value of the size property.
+         * 
+         */
+        public void setSize(int value) {
+            this.size = value;
+        }
+
+    }
+
+
+    /**
+     * <p>Java class for anonymous complex type.
+     * 
+     * <p>The following schema fragment specifies the expected content contained within this class.
+     * 
+     * <pre>
+     * &lt;complexType>
+     *   &lt;complexContent>
+     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       &lt;sequence>
+     *         &lt;element name="cmp-field-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+     *         &lt;element name="cmp-field-class" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+     *         &lt;element name="table-column" type="{http://www.w3.org/2001/XMLSchema}string"/>
+     *         &lt;element name="sql-type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+     *         &lt;element name="type-converter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+     *       &lt;/sequence>
+     *     &lt;/restriction>
+     *   &lt;/complexContent>
+     * &lt;/complexType>
+     * </pre>
+     * 
+     * 
+     */
+    @XmlAccessorType(XmlAccessType.FIELD)
+    @XmlType(name = "", propOrder = {
+        "cmpFieldName",
+        "cmpFieldClass",
+        "tableColumn",
+        "sqlType",
+        "typeConverter"
+    })
+    public static class CmpFieldMapping {
+
+        @XmlElement(name = "cmp-field-name", namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2", required = true)
+        protected java.lang.String cmpFieldName;
+        @XmlElement(name = "cmp-field-class", namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2")
+        protected java.lang.String cmpFieldClass;
+        @XmlElement(name = "table-column", namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2", required = true)
+        protected java.lang.String tableColumn;
+        @XmlElement(name = "sql-type", namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2")
+        protected java.lang.String sqlType;
+        @XmlElement(name = "type-converter", namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2")
+        protected java.lang.String typeConverter;
+
+        /**
+         * Gets the value of the cmpFieldName property.
+         * 
+         * @return
+         *     possible object is
+         *     {@link java.lang.String }
+         *     
+         */
+        public java.lang.String getCmpFieldName() {
+            return cmpFieldName;
+        }
+
+        /**
+         * Sets the value of the cmpFieldName property.
+         * 
+         * @param value
+         *     allowed object is
+         *     {@link java.lang.String }
+         *     
+         */
+        public void setCmpFieldName(java.lang.String value) {
+            this.cmpFieldName = value;
+        }
+
+        /**
+         * Gets the value of the cmpFieldClass property.
+         * 
+         * @return
+         *     possible object is
+         *     {@link java.lang.String }
+         *     
+         */
+        public java.lang.String getCmpFieldClass() {
+            return cmpFieldClass;
+        }
+
+        /**
+         * Sets the value of the cmpFieldClass property.
+         * 
+         * @param value
+         *     allowed object is
+         *     {@link java.lang.String }
+         *     
+         */
+        public void setCmpFieldClass(java.lang.String value) {
+            this.cmpFieldClass = value;
+        }
+
+        /**
+         * Gets the value of the tableColumn property.
+         * 
+         * @return
+         *     possible object is
+         *     {@link java.lang.String }
+         *     
+         */
+        public java.lang.String getTableColumn() {
+            return tableColumn;
+        }
+
+        /**
+         * Sets the value of the tableColumn property.
+         * 
+         * @param value
+         *     allowed object is
+         *     {@link java.lang.String }
+         *     
+         */
+        public void setTableColumn(java.lang.String value) {
+            this.tableColumn = value;
+        }
+
+        /**
+         * Gets the value of the sqlType property.
+         * 
+         * @return
+         *     possible object is
+         *     {@link java.lang.String }
+         *     
+         */
+        public java.lang.String getSqlType() {
+            return sqlType;
+        }
+
+        /**
+         * Sets the value of the sqlType property.
+         * 
+         * @param value
+         *     allowed object is
+         *     {@link java.lang.String }
+         *     
+         */
+        public void setSqlType(java.lang.String value) {
+            this.sqlType = value;
+        }
+
+        /**
+         * Gets the value of the typeConverter property.
+         * 
+         * @return
+         *     possible object is
+         *     {@link java.lang.String }
+         *     
+         */
+        public java.lang.String getTypeConverter() {
+            return typeConverter;
+        }
+
+        /**
+         * Sets the value of the typeConverter property.
+         * 
+         * @param value
+         *     allowed object is
+         *     {@link java.lang.String }
+         *     
+         */
+        public void setTypeConverter(java.lang.String value) {
+            this.typeConverter = value;
+        }
+
+    }
+
+
+    /**
+     * <p>Java class for anonymous complex type.
+     * 
+     * <p>The following schema fragment specifies the expected content contained within this class.
+     * 
+     * <pre>
+     * &lt;complexType>
+     *   &lt;complexContent>
+     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       &lt;sequence>
+     *         &lt;element name="group" type="{http://openejb.apache.org/xml/ns/openejb-jar-2.2}groupType" maxOccurs="unbounded" minOccurs="0"/>
+     *         &lt;element name="entity-group-mapping" type="{http://openejb.apache.org/xml/ns/openejb-jar-2.2}entity-group-mappingType" minOccurs="0"/>
+     *         &lt;element name="cmp-field-group-mapping" type="{http://openejb.apache.org/xml/ns/openejb-jar-2.2}cmp-field-group-mappingType" maxOccurs="unbounded" minOccurs="0"/>
+     *         &lt;element name="cmr-field-group-mapping" type="{http://openejb.apache.org/xml/ns/openejb-jar-2.2}cmr-field-group-mappingType" maxOccurs="unbounded" minOccurs="0"/>
+     *       &lt;/sequence>
+     *     &lt;/restriction>
+     *   &lt;/complexContent>
+     * &lt;/complexType>
+     * </pre>
+     * 
+     * 
+     */
+    @XmlAccessorType(XmlAccessType.FIELD)
+    @XmlType(name = "", propOrder = {
+        "group",
+        "entityGroupMapping",
+        "cmpFieldGroupMapping",
+        "cmrFieldGroupMapping"
+    })
+    public static class PrefetchGroup {
+
+        @XmlElement(namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2")
+        protected List<GroupType> group;
+        @XmlElement(name = "entity-group-mapping", namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2")
+        protected EntityGroupMappingType entityGroupMapping;
+        @XmlElement(name = "cmp-field-group-mapping", namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2")
+        protected List<CmpFieldGroupMappingType> cmpFieldGroupMapping;
+        @XmlElement(name = "cmr-field-group-mapping", namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2")
+        protected List<CmrFieldGroupMappingType> cmrFieldGroupMapping;
+
+        /**
+         * Gets the value of the group property.
+         * 
+         * <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 group property.
+         * 
+         * <p>
+         * For example, to add a new item, do as follows:
+         * <pre>
+         *    getGroup().add(newItem);
+         * </pre>
+         * 
+         * 
+         * <p>
+         * Objects of the following type(s) are allowed in the list
+         * {@link GroupType }
+         * 
+         * 
+         */
+        public List<GroupType> getGroup() {
+            if (group == null) {
+                group = new ArrayList<GroupType>();
+            }
+            return this.group;
+        }
+
+        /**
+         * Gets the value of the entityGroupMapping property.
+         * 
+         * @return
+         *     possible object is
+         *     {@link EntityGroupMappingType }
+         *     
+         */
+        public EntityGroupMappingType getEntityGroupMapping() {
+            return entityGroupMapping;
+        }
+
+        /**
+         * Sets the value of the entityGroupMapping property.
+         * 
+         * @param value
+         *     allowed object is
+         *     {@link EntityGroupMappingType }
+         *     
+         */
+        public void setEntityGroupMapping(EntityGroupMappingType value) {
+            this.entityGroupMapping = value;
+        }
+
+        /**
+         * Gets the value of the cmpFieldGroupMapping property.
+         * 
+         * <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 cmpFieldGroupMapping property.
+         * 
+         * <p>
+         * For example, to add a new item, do as follows:
+         * <pre>
+         *    getCmpFieldGroupMapping().add(newItem);
+         * </pre>
+         * 
+         * 
+         * <p>
+         * Objects of the following type(s) are allowed in the list
+         * {@link CmpFieldGroupMappingType }
+         * 
+         * 
+         */
+        public List<CmpFieldGroupMappingType> getCmpFieldGroupMapping() {
+            if (cmpFieldGroupMapping == null) {
+                cmpFieldGroupMapping = new ArrayList<CmpFieldGroupMappingType>();
+            }
+            return this.cmpFieldGroupMapping;
+        }
+
+        /**
+         * Gets the value of the cmrFieldGroupMapping property.
+         * 
+         * <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 cmrFieldGroupMapping property.
+         * 
+         * <p>
+         * For example, to add a new item, do as follows:
+         * <pre>
+         *    getCmrFieldGroupMapping().add(newItem);
+         * </pre>
+         * 
+         * 
+         * <p>
+         * Objects of the following type(s) are allowed in the list
+         * {@link CmrFieldGroupMappingType }
+         * 
+         * 
+         */
+        public List<CmrFieldGroupMappingType> getCmrFieldGroupMapping() {
+            if (cmrFieldGroupMapping == null) {
+                cmrFieldGroupMapping = new ArrayList<CmrFieldGroupMappingType>();
+            }
+            return this.cmrFieldGroupMapping;
+        }
+
+    }
+
+}

Added: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/EntityGroupMappingType.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/EntityGroupMappingType.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/EntityGroupMappingType.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/EntityGroupMappingType.java Tue Dec 19 16:13:33 2006
@@ -0,0 +1,78 @@
+/**
+ * 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.oej2;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for entity-group-mappingType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="entity-group-mappingType">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;element name="group-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *       &lt;/sequence>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "entity-group-mappingType", namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2", propOrder = {
+    "groupName"
+})
+public class EntityGroupMappingType {
+
+    @XmlElement(name = "group-name", namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2", required = true)
+    protected java.lang.String groupName;
+
+    /**
+     * Gets the value of the groupName property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link java.lang.String }
+     *     
+     */
+    public java.lang.String getGroupName() {
+        return groupName;
+    }
+
+    /**
+     * Sets the value of the groupName property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link java.lang.String }
+     *     
+     */
+    public void setGroupName(java.lang.String value) {
+        this.groupName = value;
+    }
+
+}

Added: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/EntityManagerFactoryRefType.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/EntityManagerFactoryRefType.java?view=auto&rev=488864
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/EntityManagerFactoryRefType.java (added)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oej2/EntityManagerFactoryRefType.java Tue Dec 19 16:13:33 2006
@@ -0,0 +1,137 @@
+/**
+ * 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.oej2;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for entity-manager-factory-refType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="entity-manager-factory-refType">
+ *   &lt;complexContent>
+ *     &lt;extension base="{http://geronimo.apache.org/xml/ns/naming-1.2}abstract-naming-entryType">
+ *       &lt;sequence>
+ *         &lt;element name="entity-manager-factory-ref-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         &lt;choice>
+ *           &lt;element name="persistence-unit-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *           &lt;element name="pattern" type="{http://geronimo.apache.org/xml/ns/naming-1.2}patternType"/>
+ *         &lt;/choice>
+ *       &lt;/sequence>
+ *     &lt;/extension>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "entity-manager-factory-refType", propOrder = {
+    "entityManagerFactoryRefName",
+    "persistenceUnitName",
+    "pattern"
+})
+public class EntityManagerFactoryRefType
+    extends AbstractNamingEntryType
+{
+
+    @XmlElement(name = "entity-manager-factory-ref-name", required = true)
+    protected java.lang.String entityManagerFactoryRefName;
+    @XmlElement(name = "persistence-unit-name")
+    protected java.lang.String persistenceUnitName;
+    protected PatternType pattern;
+
+    /**
+     * Gets the value of the entityManagerFactoryRefName property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link java.lang.String }
+     *     
+     */
+    public java.lang.String getEntityManagerFactoryRefName() {
+        return entityManagerFactoryRefName;
+    }
+
+    /**
+     * Sets the value of the entityManagerFactoryRefName property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link java.lang.String }
+     *     
+     */
+    public void setEntityManagerFactoryRefName(java.lang.String value) {
+        this.entityManagerFactoryRefName = value;
+    }
+
+    /**
+     * Gets the value of the persistenceUnitName property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link java.lang.String }
+     *     
+     */
+    public java.lang.String getPersistenceUnitName() {
+        return persistenceUnitName;
+    }
+
+    /**
+     * Sets the value of the persistenceUnitName property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link java.lang.String }
+     *     
+     */
+    public void setPersistenceUnitName(java.lang.String value) {
+        this.persistenceUnitName = value;
+    }
+
+    /**
+     * Gets the value of the pattern property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link PatternType }
+     *     
+     */
+    public PatternType getPattern() {
+        return pattern;
+    }
+
+    /**
+     * Sets the value of the pattern property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link PatternType }
+     *     
+     */
+    public void setPattern(PatternType value) {
+        this.pattern = value;
+    }
+
+}