tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mn...@apache.org
Subject svn commit: r832913 [6/12] - in /openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was: ./ v6/ v6/common/ v6/commonbnd/ v6/ecore/ v6/ejb/ v6/ejbbnd/ v6/java/ v6/webservice/ v6/webservice/clientbnd/ v6/wsclient/ v6/xmi/
Date Wed, 04 Nov 2009 23:48:42 GMT
Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/ActivationConfig.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/ActivationConfig.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/ActivationConfig.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/ActivationConfig.java Wed Nov  4 23:48:38 2009
@@ -0,0 +1,347 @@
+/**
+ * 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.ejb;
+
+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.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 org.apache.openejb.jee.was.v6.common.Description;
+import org.apache.openejb.jee.was.v6.xmi.Extension;
+
+/**
+ * 
+ * @since J2EE1.4 The activation-configType defines information about the
+ *        expected configuration properties of the message-driven bean in its
+ *        operational environment. This may include information about message
+ *        acknowledgement, message selector, expected destination type, etc.
+ * 
+ *        The configuration information is expressed in terms of name/value
+ *        configuration properties.
+ * 
+ *        The properties that are recognized for a particular message-driven
+ *        bean are determined by the messaging type.
+ * 
+ * 
+ *        <p>
+ *        Java class for ActivationConfig complex type.
+ * 
+ *        <p>
+ *        The following schema fragment specifies the expected content contained
+ *        within this class.
+ * 
+ *        <pre>
+ * &lt;complexType name="ActivationConfig">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;choice>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element name="configProperties" type="{ejb.xmi}ActivationConfigProperty"/>
+ *         &lt;/choice>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element name="descriptions" type="{common.xmi}Description"/>
+ *         &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 ref="{http://www.omg.org/XMI}id"/>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ActivationConfig", propOrder = { "configProperties",
+		"descriptions", "extensions" })
+public class ActivationConfig {
+
+	protected List<ActivationConfigProperty> configProperties;
+	protected List<Description> descriptions;
+	@XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI")
+	protected List<Extension> extensions;
+	@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 configProperties 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 configProperties property.
+	 * 
+	 * <p>
+	 * For example, to add a new item, do as follows:
+	 * 
+	 * <pre>
+	 * getConfigProperties().add(newItem);
+	 * </pre>
+	 * 
+	 * 
+	 * <p>
+	 * Objects of the following type(s) are allowed in the list
+	 * {@link ActivationConfigProperty }
+	 * 
+	 * 
+	 */
+	public List<ActivationConfigProperty> getConfigProperties() {
+		if (configProperties == null) {
+			configProperties = new ArrayList<ActivationConfigProperty>();
+		}
+		return this.configProperties;
+	}
+
+	/**
+	 * Gets the value of the descriptions 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 descriptions property.
+	 * 
+	 * <p>
+	 * For example, to add a new item, do as follows:
+	 * 
+	 * <pre>
+	 * getDescriptions().add(newItem);
+	 * </pre>
+	 * 
+	 * 
+	 * <p>
+	 * Objects of the following type(s) are allowed in the list
+	 * {@link Description }
+	 * 
+	 * 
+	 */
+	public List<Description> getDescriptions() {
+		if (descriptions == null) {
+			descriptions = new ArrayList<Description>();
+		}
+		return this.descriptions;
+	}
+
+	/**
+	 * Gets the value of the extensions 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 extensions property.
+	 * 
+	 * <p>
+	 * For example, to add a new item, do as follows:
+	 * 
+	 * <pre>
+	 * getExtensions().add(newItem);
+	 * </pre>
+	 * 
+	 * 
+	 * <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 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(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(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(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(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(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(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(String value) {
+		this.uuid = value;
+	}
+
+}

Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/ActivationConfigProperty.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/ActivationConfigProperty.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/ActivationConfigProperty.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/ActivationConfigProperty.java Wed Nov  4 23:48:38 2009
@@ -0,0 +1,318 @@
+/**
+ * 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.ejb;
+
+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.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 org.apache.openejb.jee.was.v6.xmi.Extension;
+
+/**
+ * 
+ * @since J2EE1.4 The activation-config-propertyType contains a name/value
+ *        configuration property pair for a message-driven bean.
+ * 
+ *        The properties that are recognized for a particular message-driven
+ *        bean are determined by the messaging type.
+ * 
+ * 
+ *        <p>
+ *        Java class for ActivationConfigProperty complex type.
+ * 
+ *        <p>
+ *        The following schema fragment specifies the expected content contained
+ *        within this class.
+ * 
+ *        <pre>
+ * &lt;complexType name="ActivationConfigProperty">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *         &lt;element ref="{http://www.omg.org/XMI}Extension"/>
+ *       &lt;/choice>
+ *       &lt;attGroup ref="{http://www.omg.org/XMI}ObjectAttribs"/>
+ *       &lt;attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       &lt;attribute name="value" 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 = "ActivationConfigProperty", propOrder = { "extensions" })
+public class ActivationConfigProperty {
+
+	@XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI")
+	protected List<Extension> extensions;
+	@XmlAttribute
+	protected String name;
+	@XmlAttribute
+	protected String value;
+	@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 extensions 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 extensions property.
+	 * 
+	 * <p>
+	 * For example, to add a new item, do as follows:
+	 * 
+	 * <pre>
+	 * getExtensions().add(newItem);
+	 * </pre>
+	 * 
+	 * 
+	 * <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 name property.
+	 * 
+	 * @return possible object is {@link String }
+	 * 
+	 */
+	public String getName() {
+		return name;
+	}
+
+	/**
+	 * Sets the value of the name property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link String }
+	 * 
+	 */
+	public void setName(String value) {
+		this.name = value;
+	}
+
+	/**
+	 * Gets the value of the value property.
+	 * 
+	 * @return possible object is {@link String }
+	 * 
+	 */
+	public String getValue() {
+		return value;
+	}
+
+	/**
+	 * Sets the value of the value property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link String }
+	 * 
+	 */
+	public void setValue(String value) {
+		this.value = 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(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(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(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(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(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(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(String value) {
+		this.uuid = value;
+	}
+
+}

Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/AssemblyDescriptor.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/AssemblyDescriptor.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/AssemblyDescriptor.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/AssemblyDescriptor.java Wed Nov  4 23:48:38 2009
@@ -0,0 +1,449 @@
+/**
+ * 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.ejb;
+
+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.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 org.apache.openejb.jee.was.v6.common.MessageDestination;
+import org.apache.openejb.jee.was.v6.common.SecurityRole;
+import org.apache.openejb.jee.was.v6.xmi.Extension;
+
+/**
+ * 
+ * The assembly-descriptor element contains application-assembly information.
+ * The application-assembly information consists of the following parts: the
+ * definition of security roles, the definition of method permissions, and the
+ * definition of transaction attributes for enterprise beans with
+ * container-managed transaction demarcation. All the parts are optional in the
+ * sense that they are omitted if the lists represented by them are empty.
+ * Providing an assembly-descriptor in the deployment descriptor is optional for
+ * the ejb-jar file producer.
+ * 
+ * 
+ * <p>
+ * Java class for AssemblyDescriptor complex type.
+ * 
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ * 
+ * <pre>
+ * &lt;complexType name="AssemblyDescriptor">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;choice>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element name="methodPermissions" type="{ejb.xmi}MethodPermission"/>
+ *         &lt;/choice>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element name="methodTransactions" type="{ejb.xmi}MethodTransaction"/>
+ *         &lt;/choice>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element name="securityRoles" type="{common.xmi}SecurityRole"/>
+ *         &lt;/choice>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element name="excludeList" type="{ejb.xmi}ExcludeList"/>
+ *         &lt;/choice>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element name="messageDestinations" type="{common.xmi}MessageDestination"/>
+ *         &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 ref="{http://www.omg.org/XMI}id"/>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "AssemblyDescriptor", propOrder = { "methodPermissions",
+		"methodTransactions", "securityRoles", "excludeList",
+		"messageDestinations", "extensions" })
+public class AssemblyDescriptor {
+
+	protected List<MethodPermission> methodPermissions;
+	protected List<MethodTransaction> methodTransactions;
+	protected List<SecurityRole> securityRoles;
+	protected List<ExcludeList> excludeList;
+	protected List<MessageDestination> messageDestinations;
+	@XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI")
+	protected List<Extension> extensions;
+	@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 methodPermissions 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 methodPermissions property.
+	 * 
+	 * <p>
+	 * For example, to add a new item, do as follows:
+	 * 
+	 * <pre>
+	 * getMethodPermissions().add(newItem);
+	 * </pre>
+	 * 
+	 * 
+	 * <p>
+	 * Objects of the following type(s) are allowed in the list
+	 * {@link MethodPermission }
+	 * 
+	 * 
+	 */
+	public List<MethodPermission> getMethodPermissions() {
+		if (methodPermissions == null) {
+			methodPermissions = new ArrayList<MethodPermission>();
+		}
+		return this.methodPermissions;
+	}
+
+	/**
+	 * Gets the value of the methodTransactions 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 methodTransactions property.
+	 * 
+	 * <p>
+	 * For example, to add a new item, do as follows:
+	 * 
+	 * <pre>
+	 * getMethodTransactions().add(newItem);
+	 * </pre>
+	 * 
+	 * 
+	 * <p>
+	 * Objects of the following type(s) are allowed in the list
+	 * {@link MethodTransaction }
+	 * 
+	 * 
+	 */
+	public List<MethodTransaction> getMethodTransactions() {
+		if (methodTransactions == null) {
+			methodTransactions = new ArrayList<MethodTransaction>();
+		}
+		return this.methodTransactions;
+	}
+
+	/**
+	 * Gets the value of the securityRoles 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 securityRoles property.
+	 * 
+	 * <p>
+	 * For example, to add a new item, do as follows:
+	 * 
+	 * <pre>
+	 * getSecurityRoles().add(newItem);
+	 * </pre>
+	 * 
+	 * 
+	 * <p>
+	 * Objects of the following type(s) are allowed in the list
+	 * {@link SecurityRole }
+	 * 
+	 * 
+	 */
+	public List<SecurityRole> getSecurityRoles() {
+		if (securityRoles == null) {
+			securityRoles = new ArrayList<SecurityRole>();
+		}
+		return this.securityRoles;
+	}
+
+	/**
+	 * Gets the value of the excludeList 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 excludeList property.
+	 * 
+	 * <p>
+	 * For example, to add a new item, do as follows:
+	 * 
+	 * <pre>
+	 * getExcludeList().add(newItem);
+	 * </pre>
+	 * 
+	 * 
+	 * <p>
+	 * Objects of the following type(s) are allowed in the list
+	 * {@link ExcludeList }
+	 * 
+	 * 
+	 */
+	public List<ExcludeList> getExcludeList() {
+		if (excludeList == null) {
+			excludeList = new ArrayList<ExcludeList>();
+		}
+		return this.excludeList;
+	}
+
+	/**
+	 * Gets the value of the messageDestinations 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 messageDestinations property.
+	 * 
+	 * <p>
+	 * For example, to add a new item, do as follows:
+	 * 
+	 * <pre>
+	 * getMessageDestinations().add(newItem);
+	 * </pre>
+	 * 
+	 * 
+	 * <p>
+	 * Objects of the following type(s) are allowed in the list
+	 * {@link MessageDestination }
+	 * 
+	 * 
+	 */
+	public List<MessageDestination> getMessageDestinations() {
+		if (messageDestinations == null) {
+			messageDestinations = new ArrayList<MessageDestination>();
+		}
+		return this.messageDestinations;
+	}
+
+	/**
+	 * Gets the value of the extensions 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 extensions property.
+	 * 
+	 * <p>
+	 * For example, to add a new item, do as follows:
+	 * 
+	 * <pre>
+	 * getExtensions().add(newItem);
+	 * </pre>
+	 * 
+	 * 
+	 * <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 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(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(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(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(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(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(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(String value) {
+		this.uuid = value;
+	}
+
+}

Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/CMPAttribute.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/CMPAttribute.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/CMPAttribute.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/CMPAttribute.java Wed Nov  4 23:48:38 2009
@@ -0,0 +1,115 @@
+/**
+ * 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.ejb;
+
+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.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+import org.apache.openejb.jee.was.v6.common.Description;
+import org.apache.openejb.jee.was.v6.ecore.EAttribute;
+
+/**
+ * 
+ * Describes a container-managed field. The field element includes an optional
+ * description of the field, and the name of the field.
+ * 
+ * 
+ * <p>
+ * Java class for CMPAttribute complex type.
+ * 
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ * 
+ * <pre>
+ * &lt;complexType name="CMPAttribute">
+ *   &lt;complexContent>
+ *     &lt;extension base="{http://www.eclipse.org/emf/2002/Ecore}EAttribute">
+ *       &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *         &lt;element name="descriptions" type="{common.xmi}Description"/>
+ *       &lt;/choice>
+ *       &lt;attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *     &lt;/extension>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CMPAttribute", propOrder = { "descriptions" })
+public class CMPAttribute extends EAttribute {
+
+	protected List<Description> descriptions;
+	@XmlAttribute
+	protected String description;
+
+	/**
+	 * Gets the value of the descriptions 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 descriptions property.
+	 * 
+	 * <p>
+	 * For example, to add a new item, do as follows:
+	 * 
+	 * <pre>
+	 * getDescriptions().add(newItem);
+	 * </pre>
+	 * 
+	 * 
+	 * <p>
+	 * Objects of the following type(s) are allowed in the list
+	 * {@link Description }
+	 * 
+	 * 
+	 */
+	public List<Description> getDescriptions() {
+		if (descriptions == null) {
+			descriptions = new ArrayList<Description>();
+		}
+		return this.descriptions;
+	}
+
+	/**
+	 * Gets the value of the description property.
+	 * 
+	 * @return possible object is {@link String }
+	 * 
+	 */
+	public String getDescription() {
+		return description;
+	}
+
+	/**
+	 * Sets the value of the description property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link String }
+	 * 
+	 */
+	public void setDescription(String value) {
+		this.description = value;
+	}
+
+}

Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/CMRField.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/CMRField.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/CMRField.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/CMRField.java Wed Nov  4 23:48:38 2009
@@ -0,0 +1,122 @@
+/**
+ * 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.ejb;
+
+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.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+import org.apache.openejb.jee.was.v6.java.JavaClass;
+
+/**
+ * 
+ * @since J2EE1.3 Describes the bean provider's view of a relationship. It
+ *        consists of an optional description, and the name and the class type
+ *        of a field in the source of a role of a relationship. The
+ *        CMRField::name element corresponds to the name used for the get and
+ *        set accessor methods for the relationship. The CMRField::type element
+ *        is used only for collection-valued CMRFields. It specifies the type of
+ *        the collection that is used (a java class name).
+ * 
+ * 
+ * 
+ *        <p>
+ *        Java class for CMRField complex type.
+ * 
+ *        <p>
+ *        The following schema fragment specifies the expected content contained
+ *        within this class.
+ * 
+ *        <pre>
+ * &lt;complexType name="CMRField">
+ *   &lt;complexContent>
+ *     &lt;extension base="{ejb.xmi}CMPAttribute">
+ *       &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *         &lt;element name="collectionType" type="{java.xmi}JavaClass"/>
+ *       &lt;/choice>
+ *       &lt;attribute name="collectionType" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *     &lt;/extension>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CMRField", propOrder = { "collectionTypes" })
+public class CMRField extends CMPAttribute {
+
+	@XmlElement(name = "collectionType")
+	protected List<JavaClass> collectionTypes;
+	@XmlAttribute
+	protected String collectionType;
+
+	/**
+	 * Gets the value of the collectionTypes 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 collectionTypes property.
+	 * 
+	 * <p>
+	 * For example, to add a new item, do as follows:
+	 * 
+	 * <pre>
+	 * getCollectionTypes().add(newItem);
+	 * </pre>
+	 * 
+	 * 
+	 * <p>
+	 * Objects of the following type(s) are allowed in the list
+	 * {@link JavaClass }
+	 * 
+	 * 
+	 */
+	public List<JavaClass> getCollectionTypes() {
+		if (collectionTypes == null) {
+			collectionTypes = new ArrayList<JavaClass>();
+		}
+		return this.collectionTypes;
+	}
+
+	/**
+	 * Gets the value of the collectionType property.
+	 * 
+	 * @return possible object is {@link String }
+	 * 
+	 */
+	public String getCollectionType() {
+		return collectionType;
+	}
+
+	/**
+	 * Sets the value of the collectionType property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link String }
+	 * 
+	 */
+	public void setCollectionType(String value) {
+		this.collectionType = value;
+	}
+
+}

Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/ContainerManagedEntity.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/ContainerManagedEntity.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/ContainerManagedEntity.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/ContainerManagedEntity.java Wed Nov  4 23:48:38 2009
@@ -0,0 +1,345 @@
+/**
+ * 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.ejb;
+
+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.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * <p>
+ * Java class for ContainerManagedEntity complex type.
+ * 
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ * 
+ * <pre>
+ * &lt;complexType name="ContainerManagedEntity">
+ *   &lt;complexContent>
+ *     &lt;extension base="{ejb.xmi}Entity">
+ *       &lt;choice>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element name="persistentAttributes" type="{ejb.xmi}CMPAttribute"/>
+ *         &lt;/choice>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element name="keyAttributes" type="{ejb.xmi}CMPAttribute"/>
+ *         &lt;/choice>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element name="queries" type="{ejb.xmi}Query"/>
+ *         &lt;/choice>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element name="CMPAttribute" type="{ejb.xmi}CMPAttribute"/>
+ *         &lt;/choice>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element name="primKeyField" type="{ejb.xmi}CMPAttribute"/>
+ *         &lt;/choice>
+ *       &lt;/choice>
+ *       &lt;attribute name="CMPAttribute" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       &lt;attribute name="abstractSchemaName" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       &lt;attribute name="keyAttributes" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       &lt;attribute name="primKeyField" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       &lt;attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *     &lt;/extension>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ContainerManagedEntity", propOrder = { "persistentAttributes",
+		"keyAttributes", "queries", "cmpAttributes", "primKeyFields" })
+public class ContainerManagedEntity extends Entity {
+
+	protected List<CMPAttribute> persistentAttributes;
+	protected List<CMPAttribute> keyAttributes;
+	protected List<Query> queries;
+	@XmlElement(name = "CMPAttribute")
+	protected List<CMPAttribute> cmpAttributes;
+	@XmlElement(name = "primKeyField")
+	protected List<CMPAttribute> primKeyFields;
+	@XmlAttribute(name = "CMPAttribute")
+	protected String cmpAttribute;
+	@XmlAttribute
+	protected String abstractSchemaName;
+	@XmlAttribute(name = "keyAttributes")
+	protected String keyAttributesString;
+	@XmlAttribute
+	protected String primKeyField;
+	@XmlAttribute(name = "version")
+	protected String entityBeanVersion;
+
+	/**
+	 * Gets the value of the persistentAttributes 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 persistentAttributes property.
+	 * 
+	 * <p>
+	 * For example, to add a new item, do as follows:
+	 * 
+	 * <pre>
+	 * getPersistentAttributes().add(newItem);
+	 * </pre>
+	 * 
+	 * 
+	 * <p>
+	 * Objects of the following type(s) are allowed in the list
+	 * {@link CMPAttribute }
+	 * 
+	 * 
+	 */
+	public List<CMPAttribute> getPersistentAttributes() {
+		if (persistentAttributes == null) {
+			persistentAttributes = new ArrayList<CMPAttribute>();
+		}
+		return this.persistentAttributes;
+	}
+
+	/**
+	 * Gets the value of the keyAttributes 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 keyAttributes property.
+	 * 
+	 * <p>
+	 * For example, to add a new item, do as follows:
+	 * 
+	 * <pre>
+	 * getKeyAttributes().add(newItem);
+	 * </pre>
+	 * 
+	 * 
+	 * <p>
+	 * Objects of the following type(s) are allowed in the list
+	 * {@link CMPAttribute }
+	 * 
+	 * 
+	 */
+	public List<CMPAttribute> getKeyAttributes() {
+		if (keyAttributes == null) {
+			keyAttributes = new ArrayList<CMPAttribute>();
+		}
+		return this.keyAttributes;
+	}
+
+	/**
+	 * Gets the value of the queries 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 queries property.
+	 * 
+	 * <p>
+	 * For example, to add a new item, do as follows:
+	 * 
+	 * <pre>
+	 * getQueries().add(newItem);
+	 * </pre>
+	 * 
+	 * 
+	 * <p>
+	 * Objects of the following type(s) are allowed in the list {@link Query }
+	 * 
+	 * 
+	 */
+	public List<Query> getQueries() {
+		if (queries == null) {
+			queries = new ArrayList<Query>();
+		}
+		return this.queries;
+	}
+
+	/**
+	 * Gets the value of the cmpAttributes 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 cmpAttributes property.
+	 * 
+	 * <p>
+	 * For example, to add a new item, do as follows:
+	 * 
+	 * <pre>
+	 * getCMPAttributes().add(newItem);
+	 * </pre>
+	 * 
+	 * 
+	 * <p>
+	 * Objects of the following type(s) are allowed in the list
+	 * {@link CMPAttribute }
+	 * 
+	 * 
+	 */
+	public List<CMPAttribute> getCMPAttributes() {
+		if (cmpAttributes == null) {
+			cmpAttributes = new ArrayList<CMPAttribute>();
+		}
+		return this.cmpAttributes;
+	}
+
+	/**
+	 * Gets the value of the primKeyFields 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 primKeyFields property.
+	 * 
+	 * <p>
+	 * For example, to add a new item, do as follows:
+	 * 
+	 * <pre>
+	 * getPrimKeyFields().add(newItem);
+	 * </pre>
+	 * 
+	 * 
+	 * <p>
+	 * Objects of the following type(s) are allowed in the list
+	 * {@link CMPAttribute }
+	 * 
+	 * 
+	 */
+	public List<CMPAttribute> getPrimKeyFields() {
+		if (primKeyFields == null) {
+			primKeyFields = new ArrayList<CMPAttribute>();
+		}
+		return this.primKeyFields;
+	}
+
+	/**
+	 * Gets the value of the cmpAttribute property.
+	 * 
+	 * @return possible object is {@link String }
+	 * 
+	 */
+	public String getCMPAttribute() {
+		return cmpAttribute;
+	}
+
+	/**
+	 * Sets the value of the cmpAttribute property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link String }
+	 * 
+	 */
+	public void setCMPAttribute(String value) {
+		this.cmpAttribute = value;
+	}
+
+	/**
+	 * Gets the value of the abstractSchemaName property.
+	 * 
+	 * @return possible object is {@link String }
+	 * 
+	 */
+	public String getAbstractSchemaName() {
+		return abstractSchemaName;
+	}
+
+	/**
+	 * Sets the value of the abstractSchemaName property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link String }
+	 * 
+	 */
+	public void setAbstractSchemaName(String value) {
+		this.abstractSchemaName = value;
+	}
+
+	/**
+	 * Gets the value of the keyAttributesString property.
+	 * 
+	 * @return possible object is {@link String }
+	 * 
+	 */
+	public String getKeyAttributesString() {
+		return keyAttributesString;
+	}
+
+	/**
+	 * Sets the value of the keyAttributesString property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link String }
+	 * 
+	 */
+	public void setKeyAttributesString(String value) {
+		this.keyAttributesString = value;
+	}
+
+	/**
+	 * Gets the value of the primKeyField property.
+	 * 
+	 * @return possible object is {@link String }
+	 * 
+	 */
+	public String getPrimKeyField() {
+		return primKeyField;
+	}
+
+	/**
+	 * Sets the value of the primKeyField property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link String }
+	 * 
+	 */
+	public void setPrimKeyField(String value) {
+		this.primKeyField = value;
+	}
+
+	/**
+	 * Gets the value of the entityBeanVersion property.
+	 * 
+	 * @return possible object is {@link String }
+	 * 
+	 */
+	public String getEntityBeanVersion() {
+		return entityBeanVersion;
+	}
+
+	/**
+	 * Sets the value of the entityBeanVersion property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link String }
+	 * 
+	 */
+	public void setEntityBeanVersion(String value) {
+		this.entityBeanVersion = value;
+	}
+
+}

Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/DestinationEnum.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/DestinationEnum.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/DestinationEnum.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/DestinationEnum.java Wed Nov  4 23:48:38 2009
@@ -0,0 +1,66 @@
+/**
+ * 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.ejb;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+
+/**
+ * <p>
+ * Java class for DestinationType.
+ * 
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ * <p>
+ * 
+ * <pre>
+ * &lt;simpleType name="DestinationType">
+ *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}NCName">
+ *     &lt;enumeration value="Queue"/>
+ *     &lt;enumeration value="Topic"/>
+ *   &lt;/restriction>
+ * &lt;/simpleType>
+ * </pre>
+ * 
+ */
+@XmlEnum
+public enum DestinationEnum {
+
+	@XmlEnumValue("Queue")
+	QUEUE("Queue"), @XmlEnumValue("Topic")
+	TOPIC("Topic");
+	private final String value;
+
+	DestinationEnum(String v) {
+		value = v;
+	}
+
+	public String value() {
+		return value;
+	}
+
+	public static DestinationEnum fromValue(String v) {
+		for (DestinationEnum c : DestinationEnum.values()) {
+			if (c.value.equals(v)) {
+				return c;
+			}
+		}
+		throw new IllegalArgumentException(v.toString());
+	}
+
+}

Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/EJBJar.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/EJBJar.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/EJBJar.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/EJBJar.java Wed Nov  4 23:48:38 2009
@@ -0,0 +1,215 @@
+/**
+ * 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.ejb;
+
+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.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+import org.apache.openejb.jee.was.v6.common.CompatibilityDescriptionGroup;
+
+/**
+ * 
+ * The root element of the EJB deployment descriptor. It contains an optional
+ * description of the ejb-jar file; optional display name; optional small icon
+ * file name; optional large icon file name; mandatory structural information
+ * about all included enterprise beans; a descriptor for container managed
+ * relationships, if any; an optional application-assembly descriptor; and an
+ * optional name of an ejb-client-jar file for the ejb-jar.
+ * 
+ * 
+ * <p>
+ * Java class for EJBJar complex type.
+ * 
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ * 
+ * <pre>
+ * &lt;complexType name="EJBJar">
+ *   &lt;complexContent>
+ *     &lt;extension base="{common.xmi}CompatibilityDescriptionGroup">
+ *       &lt;choice>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element name="assemblyDescriptor" type="{ejb.xmi}AssemblyDescriptor"/>
+ *         &lt;/choice>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element name="enterpriseBeans" type="{ejb.xmi}EnterpriseBean"/>
+ *         &lt;/choice>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element name="relationshipList" type="{ejb.xmi}Relationships"/>
+ *         &lt;/choice>
+ *       &lt;/choice>
+ *       &lt;attribute name="ejbClientJar" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       &lt;attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *     &lt;/extension>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "EJBJar", propOrder = { "assemblyDescriptors",
+		"enterpriseBeans", "relationshipList" })
+public class EJBJar extends CompatibilityDescriptionGroup {
+
+	@XmlElement(name = "assemblyDescriptor")
+	protected List<AssemblyDescriptor> assemblyDescriptors;
+	protected List<EnterpriseBean> enterpriseBeans;
+	protected List<Relationships> relationshipList;
+	@XmlAttribute
+	protected String ejbClientJar;
+	@XmlAttribute(name = "version")
+	protected String ejbSpecsVersion;
+
+	/**
+	 * Gets the value of the assemblyDescriptors 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 assemblyDescriptors property.
+	 * 
+	 * <p>
+	 * For example, to add a new item, do as follows:
+	 * 
+	 * <pre>
+	 * getAssemblyDescriptors().add(newItem);
+	 * </pre>
+	 * 
+	 * 
+	 * <p>
+	 * Objects of the following type(s) are allowed in the list
+	 * {@link AssemblyDescriptor }
+	 * 
+	 * 
+	 */
+	public List<AssemblyDescriptor> getAssemblyDescriptors() {
+		if (assemblyDescriptors == null) {
+			assemblyDescriptors = new ArrayList<AssemblyDescriptor>();
+		}
+		return this.assemblyDescriptors;
+	}
+
+	/**
+	 * Gets the value of the enterpriseBeans 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 enterpriseBeans property.
+	 * 
+	 * <p>
+	 * For example, to add a new item, do as follows:
+	 * 
+	 * <pre>
+	 * getEnterpriseBeans().add(newItem);
+	 * </pre>
+	 * 
+	 * 
+	 * <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 relationshipList 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 relationshipList property.
+	 * 
+	 * <p>
+	 * For example, to add a new item, do as follows:
+	 * 
+	 * <pre>
+	 * getRelationshipList().add(newItem);
+	 * </pre>
+	 * 
+	 * 
+	 * <p>
+	 * Objects of the following type(s) are allowed in the list
+	 * {@link Relationships }
+	 * 
+	 * 
+	 */
+	public List<Relationships> getRelationshipList() {
+		if (relationshipList == null) {
+			relationshipList = new ArrayList<Relationships>();
+		}
+		return this.relationshipList;
+	}
+
+	/**
+	 * Gets the value of the ejbClientJar property.
+	 * 
+	 * @return possible object is {@link String }
+	 * 
+	 */
+	public String getEjbClientJar() {
+		return ejbClientJar;
+	}
+
+	/**
+	 * Sets the value of the ejbClientJar property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link String }
+	 * 
+	 */
+	public void setEjbClientJar(String value) {
+		this.ejbClientJar = value;
+	}
+
+	/**
+	 * Gets the value of the ejbSpecsVersion property.
+	 * 
+	 * @return possible object is {@link String }
+	 * 
+	 */
+	public String getEjbSpecsVersion() {
+		return ejbSpecsVersion;
+	}
+
+	/**
+	 * Sets the value of the ejbSpecsVersion property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link String }
+	 * 
+	 */
+	public void setEjbSpecsVersion(String value) {
+		this.ejbSpecsVersion = value;
+	}
+
+}

Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/EJBMethodCategory.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/EJBMethodCategory.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/EJBMethodCategory.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/EJBMethodCategory.java Wed Nov  4 23:48:38 2009
@@ -0,0 +1,267 @@
+/**
+ * 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.ejb;
+
+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.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 org.apache.openejb.jee.was.v6.xmi.Extension;
+
+/**
+ * 
+ * The valid EJB method category names are: EJBHOMEMETHOD, EJBCREATEMETHOD,
+ * EJBFINDERMETHOD, EJBREMOTEMETHOD.
+ * 
+ * 
+ * <p>
+ * Java class for EJBMethodCategory complex type.
+ * 
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ * 
+ * <pre>
+ * &lt;complexType name="EJBMethodCategory">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *         &lt;element ref="{http://www.omg.org/XMI}Extension"/>
+ *       &lt;/choice>
+ *       &lt;attGroup ref="{http://www.omg.org/XMI}ObjectAttribs"/>
+ *       &lt;attribute ref="{http://www.omg.org/XMI}id"/>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "EJBMethodCategory", propOrder = { "extensions" })
+public class EJBMethodCategory {
+
+	@XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI")
+	protected List<Extension> extensions;
+	@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 extensions 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 extensions property.
+	 * 
+	 * <p>
+	 * For example, to add a new item, do as follows:
+	 * 
+	 * <pre>
+	 * getExtensions().add(newItem);
+	 * </pre>
+	 * 
+	 * 
+	 * <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 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(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(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(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(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(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(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(String value) {
+		this.uuid = value;
+	}
+
+}

Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/EJBRelation.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/EJBRelation.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/EJBRelation.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/EJBRelation.java Wed Nov  4 23:48:38 2009
@@ -0,0 +1,401 @@
+/**
+ * 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.ejb;
+
+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.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 org.apache.openejb.jee.was.v6.common.Description;
+import org.apache.openejb.jee.was.v6.xmi.Extension;
+
+/**
+ * 
+ * @since J2EE1.3 The ejb-relation element describes a relationship between two
+ *        entity beans with container managed persistence. An ejb-relation
+ *        element contains a description; an optional ejb-relation-name element;
+ *        and exactly two relationship role declarations, defined by the
+ *        ejb-relationship-roles. The name of the relationship, if specified, is
+ *        unique within the ejb-jar file.
+ * 
+ * @invariant The name of the relationship, if specified, is unique within the
+ *            ejb-jar file. @invariant self.relationshipRoles.size == 2
+ * @invariant self.relationshipRoles[0].name != self.relationshipRoles[1].name
+ * 
+ * @migration EJB1.1 Moved from ejbext::EjbRelationshipRole contained under
+ *            ejbext::EJBJarExtension
+ * @migration EJB1.1 added optional attribute, description:String
+ * @migration EJB1.1 added optional attribute, name:String (May have been
+ *            inherited from RefBaseObject previously)
+ * 
+ * 
+ *            <p>
+ *            Java class for EJBRelation complex type.
+ * 
+ *            <p>
+ *            The following schema fragment specifies the expected content
+ *            contained within this class.
+ * 
+ *            <pre>
+ * &lt;complexType name="EJBRelation">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;choice>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element name="relationshipRoles" type="{ejb.xmi}EJBRelationshipRole"/>
+ *         &lt;/choice>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element name="descriptions" type="{common.xmi}Description"/>
+ *         &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="description" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       &lt;attribute name="name" 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 = "EJBRelation", propOrder = { "relationshipRoles",
+		"descriptions", "extensions" })
+public class EJBRelation {
+
+	protected List<EJBRelationshipRole> relationshipRoles;
+	protected List<Description> descriptions;
+	@XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI")
+	protected List<Extension> extensions;
+	@XmlAttribute
+	protected String description;
+	@XmlAttribute
+	protected String name;
+	@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 relationshipRoles 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 relationshipRoles property.
+	 * 
+	 * <p>
+	 * For example, to add a new item, do as follows:
+	 * 
+	 * <pre>
+	 * getRelationshipRoles().add(newItem);
+	 * </pre>
+	 * 
+	 * 
+	 * <p>
+	 * Objects of the following type(s) are allowed in the list
+	 * {@link EJBRelationshipRole }
+	 * 
+	 * 
+	 */
+	public List<EJBRelationshipRole> getRelationshipRoles() {
+		if (relationshipRoles == null) {
+			relationshipRoles = new ArrayList<EJBRelationshipRole>();
+		}
+		return this.relationshipRoles;
+	}
+
+	/**
+	 * Gets the value of the descriptions 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 descriptions property.
+	 * 
+	 * <p>
+	 * For example, to add a new item, do as follows:
+	 * 
+	 * <pre>
+	 * getDescriptions().add(newItem);
+	 * </pre>
+	 * 
+	 * 
+	 * <p>
+	 * Objects of the following type(s) are allowed in the list
+	 * {@link Description }
+	 * 
+	 * 
+	 */
+	public List<Description> getDescriptions() {
+		if (descriptions == null) {
+			descriptions = new ArrayList<Description>();
+		}
+		return this.descriptions;
+	}
+
+	/**
+	 * Gets the value of the extensions 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 extensions property.
+	 * 
+	 * <p>
+	 * For example, to add a new item, do as follows:
+	 * 
+	 * <pre>
+	 * getExtensions().add(newItem);
+	 * </pre>
+	 * 
+	 * 
+	 * <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 description property.
+	 * 
+	 * @return possible object is {@link String }
+	 * 
+	 */
+	public String getDescription() {
+		return description;
+	}
+
+	/**
+	 * Sets the value of the description property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link String }
+	 * 
+	 */
+	public void setDescription(String value) {
+		this.description = value;
+	}
+
+	/**
+	 * Gets the value of the name property.
+	 * 
+	 * @return possible object is {@link String }
+	 * 
+	 */
+	public String getName() {
+		return name;
+	}
+
+	/**
+	 * Sets the value of the name property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link String }
+	 * 
+	 */
+	public void setName(String value) {
+		this.name = 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(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(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(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(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(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(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(String value) {
+		this.uuid = value;
+	}
+
+}



Mime
View raw message