tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mn...@apache.org
Subject svn commit: r832913 [8/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/MethodPermission.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/MethodPermission.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/MethodPermission.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/MethodPermission.java Wed Nov  4 23:48:38 2009
@@ -0,0 +1,451 @@
+/**
+ * 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.common.SecurityRole;
+import org.apache.openejb.jee.was.v6.xmi.Extension;
+
+/**
+ * 
+ * The method-permission element specifies that one or more security roles are
+ * allowed to invoke one or more enterprise bean methods. The method-permission
+ * element consists of an optional description, a list of security role names,
+ * and a list of method elements. The security roles used in the
+ * method-permission element must be defined in the security-role element of the
+ * deployment descriptor, and the methods must be methods defined in the
+ * enterprise bean's remote and/or home interfaces.
+ * 
+ * 
+ * <p>
+ * Java class for MethodPermission complex type.
+ * 
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ * 
+ * <pre>
+ * &lt;complexType name="MethodPermission">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;choice>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element name="roles" type="{common.xmi}SecurityRole"/>
+ *         &lt;/choice>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element name="methodElements" type="{ejb.xmi}MethodElement"/>
+ *         &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="roles" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       &lt;attribute name="unchecked" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ *       &lt;attribute ref="{http://www.omg.org/XMI}id"/>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "MethodPermission", propOrder = { "roles", "methodElements",
+		"descriptions", "extensions" })
+public class MethodPermission {
+
+	protected List<SecurityRole> roles;
+	protected List<MethodElement> methodElements;
+	protected List<Description> descriptions;
+	@XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI")
+	protected List<Extension> extensions;
+	@XmlAttribute
+	protected String description;
+	@XmlAttribute(name = "roles")
+	protected String rolesString;
+	@XmlAttribute
+	protected Boolean unchecked;
+	@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 roles 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 roles property.
+	 * 
+	 * <p>
+	 * For example, to add a new item, do as follows:
+	 * 
+	 * <pre>
+	 * getRoles().add(newItem);
+	 * </pre>
+	 * 
+	 * 
+	 * <p>
+	 * Objects of the following type(s) are allowed in the list
+	 * {@link SecurityRole }
+	 * 
+	 * 
+	 */
+	public List<SecurityRole> getRoles() {
+		if (roles == null) {
+			roles = new ArrayList<SecurityRole>();
+		}
+		return this.roles;
+	}
+
+	/**
+	 * Gets the value of the methodElements 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 methodElements property.
+	 * 
+	 * <p>
+	 * For example, to add a new item, do as follows:
+	 * 
+	 * <pre>
+	 * getMethodElements().add(newItem);
+	 * </pre>
+	 * 
+	 * 
+	 * <p>
+	 * Objects of the following type(s) are allowed in the list
+	 * {@link MethodElement }
+	 * 
+	 * 
+	 */
+	public List<MethodElement> getMethodElements() {
+		if (methodElements == null) {
+			methodElements = new ArrayList<MethodElement>();
+		}
+		return this.methodElements;
+	}
+
+	/**
+	 * 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 rolesString property.
+	 * 
+	 * @return possible object is {@link String }
+	 * 
+	 */
+	public String getRolesString() {
+		return rolesString;
+	}
+
+	/**
+	 * Sets the value of the rolesString property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link String }
+	 * 
+	 */
+	public void setRolesString(String value) {
+		this.rolesString = value;
+	}
+
+	/**
+	 * Gets the value of the unchecked property.
+	 * 
+	 * @return possible object is {@link Boolean }
+	 * 
+	 */
+	public Boolean isUnchecked() {
+		return unchecked;
+	}
+
+	/**
+	 * Sets the value of the unchecked property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link Boolean }
+	 * 
+	 */
+	public void setUnchecked(Boolean value) {
+		this.unchecked = 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/MethodTransaction.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/MethodTransaction.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/MethodTransaction.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/MethodTransaction.java Wed Nov  4 23:48:38 2009
@@ -0,0 +1,389 @@
+/**
+ * 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;
+
+/**
+ * 
+ * Specifies how the container must manage transaction scopes for the enterprise
+ * bean's method invocations. It consists of an optional description, a list of
+ * method elements, and a transaction attribute.The transaction attribute is to
+ * be applied to all the specified methods.
+ * 
+ * 
+ * <p>
+ * Java class for MethodTransaction complex type.
+ * 
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ * 
+ * <pre>
+ * &lt;complexType name="MethodTransaction">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;choice>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element name="methodElements" type="{ejb.xmi}MethodElement"/>
+ *         &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="transactionAttribute" type="{ejb.xmi}TransactionAttributeType" />
+ *       &lt;attribute ref="{http://www.omg.org/XMI}id"/>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "MethodTransaction", propOrder = { "methodElements",
+		"descriptions", "extensions" })
+public class MethodTransaction {
+
+	protected List<MethodElement> methodElements;
+	protected List<Description> descriptions;
+	@XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI")
+	protected List<Extension> extensions;
+	@XmlAttribute
+	protected String description;
+	@XmlAttribute
+	protected TransactionAttributeEnum transactionAttribute;
+	@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 methodElements 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 methodElements property.
+	 * 
+	 * <p>
+	 * For example, to add a new item, do as follows:
+	 * 
+	 * <pre>
+	 * getMethodElements().add(newItem);
+	 * </pre>
+	 * 
+	 * 
+	 * <p>
+	 * Objects of the following type(s) are allowed in the list
+	 * {@link MethodElement }
+	 * 
+	 * 
+	 */
+	public List<MethodElement> getMethodElements() {
+		if (methodElements == null) {
+			methodElements = new ArrayList<MethodElement>();
+		}
+		return this.methodElements;
+	}
+
+	/**
+	 * 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 transactionAttribute property.
+	 * 
+	 * @return possible object is {@link TransactionAttributeEnum }
+	 * 
+	 */
+	public TransactionAttributeEnum getTransactionAttribute() {
+		return transactionAttribute;
+	}
+
+	/**
+	 * Sets the value of the transactionAttribute property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link TransactionAttributeEnum }
+	 * 
+	 */
+	public void setTransactionAttribute(TransactionAttributeEnum value) {
+		this.transactionAttribute = 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/MultiplicityEnum.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/MultiplicityEnum.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/MultiplicityEnum.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/MultiplicityEnum.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 MultiplicityKind.
+ * 
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ * <p>
+ * 
+ * <pre>
+ * &lt;simpleType name="MultiplicityKind">
+ *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}NCName">
+ *     &lt;enumeration value="One"/>
+ *     &lt;enumeration value="Many"/>
+ *   &lt;/restriction>
+ * &lt;/simpleType>
+ * </pre>
+ * 
+ */
+@XmlEnum
+public enum MultiplicityEnum {
+
+	@XmlEnumValue("One")
+	ONE("One"), @XmlEnumValue("Many")
+	MANY("Many");
+	private final String value;
+
+	MultiplicityEnum(String v) {
+		value = v;
+	}
+
+	public String value() {
+		return value;
+	}
+
+	public static MultiplicityEnum fromValue(String v) {
+		for (MultiplicityEnum c : MultiplicityEnum.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/ObjectFactory.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/ObjectFactory.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/ObjectFactory.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/ObjectFactory.java Wed Nov  4 23:48:38 2009
@@ -0,0 +1,532 @@
+/**
+ * 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.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.namespace.QName;
+
+/**
+ * This object contains factory methods for each Java content interface and Java
+ * element interface generated in the org.apache.openejb.jee.was.v6.ejb package.
+ * <p>
+ * An ObjectFactory allows you to programatically construct new instances of the
+ * Java representation for XML content. The Java representation of XML content
+ * can consist of schema derived interfaces and classes representing the binding
+ * of schema type definitions, element declarations and model groups. Factory
+ * methods for each of these are provided in this class.
+ * 
+ */
+@XmlRegistry
+public class ObjectFactory {
+
+	private final static QName _CMPAttribute_QNAME = new QName("ejb.xmi",
+			"CMPAttribute");
+	private final static QName _ExcludeList_QNAME = new QName("ejb.xmi",
+			"ExcludeList");
+	private final static QName _EJBJar_QNAME = new QName("ejb.xmi", "EJBJar");
+	private final static QName _MessageDriven_QNAME = new QName("ejb.xmi",
+			"MessageDriven");
+	private final static QName _EJBMethodCategory_QNAME = new QName("ejb.xmi",
+			"EJBMethodCategory");
+	private final static QName _EnterpriseBean_QNAME = new QName("ejb.xmi",
+			"EnterpriseBean");
+	private final static QName _ContainerManagedEntity_QNAME = new QName(
+			"ejb.xmi", "ContainerManagedEntity");
+	private final static QName _MessageDrivenDestination_QNAME = new QName(
+			"ejb.xmi", "MessageDrivenDestination");
+	private final static QName _EJBRelation_QNAME = new QName("ejb.xmi",
+			"EJBRelation");
+	private final static QName _EJBRelationshipRole_QNAME = new QName(
+			"ejb.xmi", "EJBRelationshipRole");
+	private final static QName _RoleSource_QNAME = new QName("ejb.xmi",
+			"RoleSource");
+	private final static QName _ActivationConfigProperty_QNAME = new QName(
+			"ejb.xmi", "ActivationConfigProperty");
+	private final static QName _Session_QNAME = new QName("ejb.xmi", "Session");
+	private final static QName _MethodElement_QNAME = new QName("ejb.xmi",
+			"MethodElement");
+	private final static QName _MethodTransaction_QNAME = new QName("ejb.xmi",
+			"MethodTransaction");
+	private final static QName _AssemblyDescriptor_QNAME = new QName("ejb.xmi",
+			"AssemblyDescriptor");
+	private final static QName _Entity_QNAME = new QName("ejb.xmi", "Entity");
+	private final static QName _Query_QNAME = new QName("ejb.xmi", "Query");
+	private final static QName _MethodPermission_QNAME = new QName("ejb.xmi",
+			"MethodPermission");
+	private final static QName _Relationships_QNAME = new QName("ejb.xmi",
+			"Relationships");
+	private final static QName _CMRField_QNAME = new QName("ejb.xmi",
+			"CMRField");
+	private final static QName _QueryMethod_QNAME = new QName("ejb.xmi",
+			"QueryMethod");
+	private final static QName _ActivationConfig_QNAME = new QName("ejb.xmi",
+			"ActivationConfig");
+
+	/**
+	 * Create a new ObjectFactory that can be used to create new instances of
+	 * schema derived classes for package: org.apache.openejb.jee.was.v6.ejb
+	 * 
+	 */
+	public ObjectFactory() {
+	}
+
+	/**
+	 * Create an instance of {@link ActivationConfig }
+	 * 
+	 */
+	public ActivationConfig createActivationConfig() {
+		return new ActivationConfig();
+	}
+
+	/**
+	 * Create an instance of {@link MessageDrivenDestination }
+	 * 
+	 */
+	public MessageDrivenDestination createMessageDrivenDestination() {
+		return new MessageDrivenDestination();
+	}
+
+	/**
+	 * Create an instance of {@link Session }
+	 * 
+	 */
+	public Session createSession() {
+		return new Session();
+	}
+
+	/**
+	 * Create an instance of {@link EnterpriseBean }
+	 * 
+	 */
+	public EnterpriseBean createEnterpriseBean() {
+		return new EnterpriseBean();
+	}
+
+	/**
+	 * Create an instance of {@link Query }
+	 * 
+	 */
+	public Query createQuery() {
+		return new Query();
+	}
+
+	/**
+	 * Create an instance of {@link MessageDriven }
+	 * 
+	 */
+	public MessageDriven createMessageDriven() {
+		return new MessageDriven();
+	}
+
+	/**
+	 * Create an instance of {@link EJBRelation }
+	 * 
+	 */
+	public EJBRelation createEJBRelation() {
+		return new EJBRelation();
+	}
+
+	/**
+	 * Create an instance of {@link AssemblyDescriptor }
+	 * 
+	 */
+	public AssemblyDescriptor createAssemblyDescriptor() {
+		return new AssemblyDescriptor();
+	}
+
+	/**
+	 * Create an instance of {@link EJBMethodCategory }
+	 * 
+	 */
+	public EJBMethodCategory createEJBMethodCategory() {
+		return new EJBMethodCategory();
+	}
+
+	/**
+	 * Create an instance of {@link MethodTransaction }
+	 * 
+	 */
+	public MethodTransaction createMethodTransaction() {
+		return new MethodTransaction();
+	}
+
+	/**
+	 * Create an instance of {@link CMRField }
+	 * 
+	 */
+	public CMRField createCMRField() {
+		return new CMRField();
+	}
+
+	/**
+	 * Create an instance of {@link MethodElement }
+	 * 
+	 */
+	public MethodElement createMethodElement() {
+		return new MethodElement();
+	}
+
+	/**
+	 * Create an instance of {@link ContainerManagedEntity }
+	 * 
+	 */
+	public ContainerManagedEntity createContainerManagedEntity() {
+		return new ContainerManagedEntity();
+	}
+
+	/**
+	 * Create an instance of {@link MethodPermission }
+	 * 
+	 */
+	public MethodPermission createMethodPermission() {
+		return new MethodPermission();
+	}
+
+	/**
+	 * Create an instance of {@link Relationships }
+	 * 
+	 */
+	public Relationships createRelationships() {
+		return new Relationships();
+	}
+
+	/**
+	 * Create an instance of {@link QueryMethod }
+	 * 
+	 */
+	public QueryMethod createQueryMethod() {
+		return new QueryMethod();
+	}
+
+	/**
+	 * Create an instance of {@link ExcludeList }
+	 * 
+	 */
+	public ExcludeList createExcludeList() {
+		return new ExcludeList();
+	}
+
+	/**
+	 * Create an instance of {@link RoleSource }
+	 * 
+	 */
+	public RoleSource createRoleSource() {
+		return new RoleSource();
+	}
+
+	/**
+	 * Create an instance of {@link EJBJar }
+	 * 
+	 */
+	public EJBJar createEJBJar() {
+		return new EJBJar();
+	}
+
+	/**
+	 * Create an instance of {@link Entity }
+	 * 
+	 */
+	public Entity createEntity() {
+		return new Entity();
+	}
+
+	/**
+	 * Create an instance of {@link ActivationConfigProperty }
+	 * 
+	 */
+	public ActivationConfigProperty createActivationConfigProperty() {
+		return new ActivationConfigProperty();
+	}
+
+	/**
+	 * Create an instance of {@link CMPAttribute }
+	 * 
+	 */
+	public CMPAttribute createCMPAttribute() {
+		return new CMPAttribute();
+	}
+
+	/**
+	 * Create an instance of {@link EJBRelationshipRole }
+	 * 
+	 */
+	public EJBRelationshipRole createEJBRelationshipRole() {
+		return new EJBRelationshipRole();
+	}
+
+	/**
+	 * Create an instance of {@link JAXBElement }{@code <}{@link CMPAttribute }
+	 * {@code >}
+	 * 
+	 */
+	@XmlElementDecl(namespace = "ejb.xmi", name = "CMPAttribute")
+	public JAXBElement<CMPAttribute> createCMPAttribute(CMPAttribute value) {
+		return new JAXBElement<CMPAttribute>(_CMPAttribute_QNAME,
+				CMPAttribute.class, null, value);
+	}
+
+	/**
+	 * Create an instance of {@link JAXBElement }{@code <}{@link ExcludeList }
+	 * {@code >}
+	 * 
+	 */
+	@XmlElementDecl(namespace = "ejb.xmi", name = "ExcludeList")
+	public JAXBElement<ExcludeList> createExcludeList(ExcludeList value) {
+		return new JAXBElement<ExcludeList>(_ExcludeList_QNAME,
+				ExcludeList.class, null, value);
+	}
+
+	/**
+	 * Create an instance of {@link JAXBElement }{@code <}{@link EJBJar }{@code >}
+	 * 
+	 */
+	@XmlElementDecl(namespace = "ejb.xmi", name = "EJBJar")
+	public JAXBElement<EJBJar> createEJBJar(EJBJar value) {
+		return new JAXBElement<EJBJar>(_EJBJar_QNAME, EJBJar.class, null, value);
+	}
+
+	/**
+	 * Create an instance of {@link JAXBElement }{@code <}{@link MessageDriven }
+	 * {@code >}
+	 * 
+	 */
+	@XmlElementDecl(namespace = "ejb.xmi", name = "MessageDriven")
+	public JAXBElement<MessageDriven> createMessageDriven(MessageDriven value) {
+		return new JAXBElement<MessageDriven>(_MessageDriven_QNAME,
+				MessageDriven.class, null, value);
+	}
+
+	/**
+	 * Create an instance of {@link JAXBElement }{@code <}
+	 * {@link EJBMethodCategory }{@code >}
+	 * 
+	 */
+	@XmlElementDecl(namespace = "ejb.xmi", name = "EJBMethodCategory")
+	public JAXBElement<EJBMethodCategory> createEJBMethodCategory(
+			EJBMethodCategory value) {
+		return new JAXBElement<EJBMethodCategory>(_EJBMethodCategory_QNAME,
+				EJBMethodCategory.class, null, value);
+	}
+
+	/**
+	 * Create an instance of {@link JAXBElement }{@code <}{@link EnterpriseBean }
+	 * {@code >}
+	 * 
+	 */
+	@XmlElementDecl(namespace = "ejb.xmi", name = "EnterpriseBean")
+	public JAXBElement<EnterpriseBean> createEnterpriseBean(EnterpriseBean value) {
+		return new JAXBElement<EnterpriseBean>(_EnterpriseBean_QNAME,
+				EnterpriseBean.class, null, value);
+	}
+
+	/**
+	 * Create an instance of {@link JAXBElement }{@code <}
+	 * {@link ContainerManagedEntity }{@code >}
+	 * 
+	 */
+	@XmlElementDecl(namespace = "ejb.xmi", name = "ContainerManagedEntity")
+	public JAXBElement<ContainerManagedEntity> createContainerManagedEntity(
+			ContainerManagedEntity value) {
+		return new JAXBElement<ContainerManagedEntity>(
+				_ContainerManagedEntity_QNAME, ContainerManagedEntity.class,
+				null, value);
+	}
+
+	/**
+	 * Create an instance of {@link JAXBElement }{@code <}
+	 * {@link MessageDrivenDestination }{@code >}
+	 * 
+	 */
+	@XmlElementDecl(namespace = "ejb.xmi", name = "MessageDrivenDestination")
+	public JAXBElement<MessageDrivenDestination> createMessageDrivenDestination(
+			MessageDrivenDestination value) {
+		return new JAXBElement<MessageDrivenDestination>(
+				_MessageDrivenDestination_QNAME,
+				MessageDrivenDestination.class, null, value);
+	}
+
+	/**
+	 * Create an instance of {@link JAXBElement }{@code <}{@link EJBRelation }
+	 * {@code >}
+	 * 
+	 */
+	@XmlElementDecl(namespace = "ejb.xmi", name = "EJBRelation")
+	public JAXBElement<EJBRelation> createEJBRelation(EJBRelation value) {
+		return new JAXBElement<EJBRelation>(_EJBRelation_QNAME,
+				EJBRelation.class, null, value);
+	}
+
+	/**
+	 * Create an instance of {@link JAXBElement }{@code <}
+	 * {@link EJBRelationshipRole }{@code >}
+	 * 
+	 */
+	@XmlElementDecl(namespace = "ejb.xmi", name = "EJBRelationshipRole")
+	public JAXBElement<EJBRelationshipRole> createEJBRelationshipRole(
+			EJBRelationshipRole value) {
+		return new JAXBElement<EJBRelationshipRole>(_EJBRelationshipRole_QNAME,
+				EJBRelationshipRole.class, null, value);
+	}
+
+	/**
+	 * Create an instance of {@link JAXBElement }{@code <}{@link RoleSource }
+	 * {@code >}
+	 * 
+	 */
+	@XmlElementDecl(namespace = "ejb.xmi", name = "RoleSource")
+	public JAXBElement<RoleSource> createRoleSource(RoleSource value) {
+		return new JAXBElement<RoleSource>(_RoleSource_QNAME, RoleSource.class,
+				null, value);
+	}
+
+	/**
+	 * Create an instance of {@link JAXBElement }{@code <}
+	 * {@link ActivationConfigProperty }{@code >}
+	 * 
+	 */
+	@XmlElementDecl(namespace = "ejb.xmi", name = "ActivationConfigProperty")
+	public JAXBElement<ActivationConfigProperty> createActivationConfigProperty(
+			ActivationConfigProperty value) {
+		return new JAXBElement<ActivationConfigProperty>(
+				_ActivationConfigProperty_QNAME,
+				ActivationConfigProperty.class, null, value);
+	}
+
+	/**
+	 * Create an instance of {@link JAXBElement }{@code <}{@link Session }{@code
+	 * >}
+	 * 
+	 */
+	@XmlElementDecl(namespace = "ejb.xmi", name = "Session")
+	public JAXBElement<Session> createSession(Session value) {
+		return new JAXBElement<Session>(_Session_QNAME, Session.class, null,
+				value);
+	}
+
+	/**
+	 * Create an instance of {@link JAXBElement }{@code <}{@link MethodElement }
+	 * {@code >}
+	 * 
+	 */
+	@XmlElementDecl(namespace = "ejb.xmi", name = "MethodElement")
+	public JAXBElement<MethodElement> createMethodElement(MethodElement value) {
+		return new JAXBElement<MethodElement>(_MethodElement_QNAME,
+				MethodElement.class, null, value);
+	}
+
+	/**
+	 * Create an instance of {@link JAXBElement }{@code <}
+	 * {@link MethodTransaction }{@code >}
+	 * 
+	 */
+	@XmlElementDecl(namespace = "ejb.xmi", name = "MethodTransaction")
+	public JAXBElement<MethodTransaction> createMethodTransaction(
+			MethodTransaction value) {
+		return new JAXBElement<MethodTransaction>(_MethodTransaction_QNAME,
+				MethodTransaction.class, null, value);
+	}
+
+	/**
+	 * Create an instance of {@link JAXBElement }{@code <}
+	 * {@link AssemblyDescriptor }{@code >}
+	 * 
+	 */
+	@XmlElementDecl(namespace = "ejb.xmi", name = "AssemblyDescriptor")
+	public JAXBElement<AssemblyDescriptor> createAssemblyDescriptor(
+			AssemblyDescriptor value) {
+		return new JAXBElement<AssemblyDescriptor>(_AssemblyDescriptor_QNAME,
+				AssemblyDescriptor.class, null, value);
+	}
+
+	/**
+	 * Create an instance of {@link JAXBElement }{@code <}{@link Entity }{@code >}
+	 * 
+	 */
+	@XmlElementDecl(namespace = "ejb.xmi", name = "Entity")
+	public JAXBElement<Entity> createEntity(Entity value) {
+		return new JAXBElement<Entity>(_Entity_QNAME, Entity.class, null, value);
+	}
+
+	/**
+	 * Create an instance of {@link JAXBElement }{@code <}{@link Query }{@code >}
+	 * 
+	 */
+	@XmlElementDecl(namespace = "ejb.xmi", name = "Query")
+	public JAXBElement<Query> createQuery(Query value) {
+		return new JAXBElement<Query>(_Query_QNAME, Query.class, null, value);
+	}
+
+	/**
+	 * Create an instance of {@link JAXBElement }{@code <}
+	 * {@link MethodPermission }{@code >}
+	 * 
+	 */
+	@XmlElementDecl(namespace = "ejb.xmi", name = "MethodPermission")
+	public JAXBElement<MethodPermission> createMethodPermission(
+			MethodPermission value) {
+		return new JAXBElement<MethodPermission>(_MethodPermission_QNAME,
+				MethodPermission.class, null, value);
+	}
+
+	/**
+	 * Create an instance of {@link JAXBElement }{@code <}{@link Relationships }
+	 * {@code >}
+	 * 
+	 */
+	@XmlElementDecl(namespace = "ejb.xmi", name = "Relationships")
+	public JAXBElement<Relationships> createRelationships(Relationships value) {
+		return new JAXBElement<Relationships>(_Relationships_QNAME,
+				Relationships.class, null, value);
+	}
+
+	/**
+	 * Create an instance of {@link JAXBElement }{@code <}{@link CMRField }{@code
+	 * >}
+	 * 
+	 */
+	@XmlElementDecl(namespace = "ejb.xmi", name = "CMRField")
+	public JAXBElement<CMRField> createCMRField(CMRField value) {
+		return new JAXBElement<CMRField>(_CMRField_QNAME, CMRField.class, null,
+				value);
+	}
+
+	/**
+	 * Create an instance of {@link JAXBElement }{@code <}{@link QueryMethod }
+	 * {@code >}
+	 * 
+	 */
+	@XmlElementDecl(namespace = "ejb.xmi", name = "QueryMethod")
+	public JAXBElement<QueryMethod> createQueryMethod(QueryMethod value) {
+		return new JAXBElement<QueryMethod>(_QueryMethod_QNAME,
+				QueryMethod.class, null, value);
+	}
+
+	/**
+	 * Create an instance of {@link JAXBElement }{@code <}
+	 * {@link ActivationConfig }{@code >}
+	 * 
+	 */
+	@XmlElementDecl(namespace = "ejb.xmi", name = "ActivationConfig")
+	public JAXBElement<ActivationConfig> createActivationConfig(
+			ActivationConfig value) {
+		return new JAXBElement<ActivationConfig>(_ActivationConfig_QNAME,
+				ActivationConfig.class, null, value);
+	}
+
+}

Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/Query.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/Query.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/Query.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/Query.java Wed Nov  4 23:48:38 2009
@@ -0,0 +1,418 @@
+/**
+ * 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;
+
+/**
+ * 
+ * The query element is used to specify a finder or select query. It contains an
+ * optional description of the query; the specification of the finder or select
+ * method it is used by; a specification of the return type mapping, if any, if
+ * the query is for a select method; and the EJB QL query string that defines
+ * the query. Queries that are expressible in EJB QL must use the ejb-ql element
+ * to specify the query. If a query is not expressible in EJB QL, the
+ * description element should be used to describe the semantics of the query and
+ * the ejb-ql element should be empty.
+ * 
+ * 
+ * <p>
+ * Java class for Query complex type.
+ * 
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ * 
+ * <pre>
+ * &lt;complexType name="Query">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;choice>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element name="queryMethod" type="{ejb.xmi}QueryMethod"/>
+ *         &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="ejbQL" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       &lt;attribute name="returnTypeMapping" type="{ejb.xmi}ReturnTypeMapping" />
+ *       &lt;attribute ref="{http://www.omg.org/XMI}id"/>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Query", propOrder = { "queryMethods", "descriptions",
+		"extensions" })
+public class Query {
+
+	@XmlElement(name = "queryMethod")
+	protected List<QueryMethod> queryMethods;
+	protected List<Description> descriptions;
+	@XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI")
+	protected List<Extension> extensions;
+	@XmlAttribute
+	protected String description;
+	@XmlAttribute
+	protected String ejbQL;
+	@XmlAttribute
+	protected ReturnTypeMappingEnum returnTypeMapping;
+	@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 queryMethods 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 queryMethods property.
+	 * 
+	 * <p>
+	 * For example, to add a new item, do as follows:
+	 * 
+	 * <pre>
+	 * getQueryMethods().add(newItem);
+	 * </pre>
+	 * 
+	 * 
+	 * <p>
+	 * Objects of the following type(s) are allowed in the list
+	 * {@link QueryMethod }
+	 * 
+	 * 
+	 */
+	public List<QueryMethod> getQueryMethods() {
+		if (queryMethods == null) {
+			queryMethods = new ArrayList<QueryMethod>();
+		}
+		return this.queryMethods;
+	}
+
+	/**
+	 * 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 ejbQL property.
+	 * 
+	 * @return possible object is {@link String }
+	 * 
+	 */
+	public String getEjbQL() {
+		return ejbQL;
+	}
+
+	/**
+	 * Sets the value of the ejbQL property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link String }
+	 * 
+	 */
+	public void setEjbQL(String value) {
+		this.ejbQL = value;
+	}
+
+	/**
+	 * Gets the value of the returnTypeMapping property.
+	 * 
+	 * @return possible object is {@link ReturnTypeMappingEnum }
+	 * 
+	 */
+	public ReturnTypeMappingEnum getReturnTypeMapping() {
+		return returnTypeMapping;
+	}
+
+	/**
+	 * Sets the value of the returnTypeMapping property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link ReturnTypeMappingEnum }
+	 * 
+	 */
+	public void setReturnTypeMapping(ReturnTypeMappingEnum value) {
+		this.returnTypeMapping = 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/QueryMethod.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/QueryMethod.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/QueryMethod.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/QueryMethod.java Wed Nov  4 23:48:38 2009
@@ -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.was.v6.ejb;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * <p>
+ * Java class for QueryMethod complex type.
+ * 
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ * 
+ * <pre>
+ * &lt;complexType name="QueryMethod">
+ *   &lt;complexContent>
+ *     &lt;extension base="{ejb.xmi}MethodElement">
+ *     &lt;/extension>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "QueryMethod")
+public class QueryMethod extends MethodElement {
+
+}

Added: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/Relationships.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/Relationships.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/Relationships.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/Relationships.java Wed Nov  4 23:48:38 2009
@@ -0,0 +1,365 @@
+/**
+ * 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;
+
+/**
+ * 
+ * The relationships describes the relationships in which entity beans with
+ * container managed persistence participate. The relationships element contains
+ * an optional description; and a list of ejb-relation elements, which specify
+ * the container managed relationships.
+ * 
+ * 
+ * <p>
+ * Java class for Relationships complex type.
+ * 
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ * 
+ * <pre>
+ * &lt;complexType name="Relationships">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;choice>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element name="ejbRelations" type="{ejb.xmi}EJBRelation"/>
+ *         &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 ref="{http://www.omg.org/XMI}id"/>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Relationships", propOrder = { "ejbRelations", "descriptions",
+		"extensions" })
+public class Relationships {
+
+	protected List<EJBRelation> ejbRelations;
+	protected List<Description> descriptions;
+	@XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI")
+	protected List<Extension> extensions;
+	@XmlAttribute
+	protected String description;
+	@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 ejbRelations 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 ejbRelations property.
+	 * 
+	 * <p>
+	 * For example, to add a new item, do as follows:
+	 * 
+	 * <pre>
+	 * getEjbRelations().add(newItem);
+	 * </pre>
+	 * 
+	 * 
+	 * <p>
+	 * Objects of the following type(s) are allowed in the list
+	 * {@link EJBRelation }
+	 * 
+	 * 
+	 */
+	public List<EJBRelation> getEjbRelations() {
+		if (ejbRelations == null) {
+			ejbRelations = new ArrayList<EJBRelation>();
+		}
+		return this.ejbRelations;
+	}
+
+	/**
+	 * 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 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/ReturnTypeMappingEnum.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/ReturnTypeMappingEnum.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/ReturnTypeMappingEnum.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/ReturnTypeMappingEnum.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 ReturnTypeMapping.
+ * 
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ * <p>
+ * 
+ * <pre>
+ * &lt;simpleType name="ReturnTypeMapping">
+ *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}NCName">
+ *     &lt;enumeration value="Local"/>
+ *     &lt;enumeration value="Remote"/>
+ *   &lt;/restriction>
+ * &lt;/simpleType>
+ * </pre>
+ * 
+ */
+@XmlEnum
+public enum ReturnTypeMappingEnum {
+
+	@XmlEnumValue("Local")
+	LOCAL("Local"), @XmlEnumValue("Remote")
+	REMOTE("Remote");
+	private final String value;
+
+	ReturnTypeMappingEnum(String v) {
+		value = v;
+	}
+
+	public String value() {
+		return value;
+	}
+
+	public static ReturnTypeMappingEnum fromValue(String v) {
+		for (ReturnTypeMappingEnum c : ReturnTypeMappingEnum.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/RoleSource.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/RoleSource.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/RoleSource.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/RoleSource.java Wed Nov  4 23:48:38 2009
@@ -0,0 +1,390 @@
+/**
+ * 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;
+
+/**
+ * 
+ * Designates the source of a role that participates in a relationship. A
+ * relationship-role-source element uniquely identifies an entity bean. @invariant
+ * The content of each role-source element shall refer to an existing entity
+ * bean, entity bean reference.
+ * 
+ * 
+ * <p>
+ * Java class for RoleSource complex type.
+ * 
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ * 
+ * <pre>
+ * &lt;complexType name="RoleSource">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;choice>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element name="entityBean" type="{ejb.xmi}ContainerManagedEntity"/>
+ *         &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="entityBean" 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 = "RoleSource", propOrder = { "entityBeans", "descriptions",
+		"extensions" })
+public class RoleSource {
+
+	@XmlElement(name = "entityBean")
+	protected List<ContainerManagedEntity> entityBeans;
+	protected List<Description> descriptions;
+	@XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI")
+	protected List<Extension> extensions;
+	@XmlAttribute
+	protected String description;
+	@XmlAttribute
+	protected String entityBean;
+	@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 entityBeans 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 entityBeans property.
+	 * 
+	 * <p>
+	 * For example, to add a new item, do as follows:
+	 * 
+	 * <pre>
+	 * getEntityBeans().add(newItem);
+	 * </pre>
+	 * 
+	 * 
+	 * <p>
+	 * Objects of the following type(s) are allowed in the list
+	 * {@link ContainerManagedEntity }
+	 * 
+	 * 
+	 */
+	public List<ContainerManagedEntity> getEntityBeans() {
+		if (entityBeans == null) {
+			entityBeans = new ArrayList<ContainerManagedEntity>();
+		}
+		return this.entityBeans;
+	}
+
+	/**
+	 * 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 entityBean property.
+	 * 
+	 * @return possible object is {@link String }
+	 * 
+	 */
+	public String getEntityBean() {
+		return entityBean;
+	}
+
+	/**
+	 * Sets the value of the entityBean property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link String }
+	 * 
+	 */
+	public void setEntityBean(String value) {
+		this.entityBean = 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/Session.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/Session.java?rev=832913&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/Session.java (added)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/was/v6/ejb/Session.java Wed Nov  4 23:48:38 2009
@@ -0,0 +1,189 @@
+/**
+ * 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;
+
+/**
+ * 
+ * The session-beanType declares an session bean. The declaration consists of:
+ * 
+ * - an optional description - an optional display name - an optional icon
+ * element that contains a small and a large icon file name - a name assigned to
+ * the enterprise bean in the deployment description - the names of the session
+ * bean's remote home and remote interfaces, if any - the names of the session
+ * bean's local home and local interfaces, if any - the name of the session
+ * bean's web service endpoint interface, if any - the session bean's
+ * implementation class - the session bean's state management type - the session
+ * bean's transaction management type - an optional declaration of the bean's
+ * environment entries - an optional declaration of the bean's EJB references -
+ * an optional declaration of the bean's local EJB references - an optional
+ * declaration of the bean's web service references - an optional declaration of
+ * the security role references - an optional declaration of the security
+ * identity to be used for the execution of the bean's methods - an optional
+ * declaration of the bean's resource manager connection factory references - an
+ * optional declaration of the bean's resource environment references. - an
+ * optional declaration of the bean's message destination references
+ * 
+ * The elements that are optional are "optional" in the sense that they are
+ * omitted when if lists represented by them are empty.
+ * 
+ * Either both the local-home and the local elements or both the home and the
+ * remote elements must be specified for the session bean.
+ * 
+ * The service-endpoint element may only be specified if the bean is a stateless
+ * session bean.
+ * 
+ * 
+ * <p>
+ * Java class for Session complex type.
+ * 
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ * 
+ * <pre>
+ * &lt;complexType name="Session">
+ *   &lt;complexContent>
+ *     &lt;extension base="{ejb.xmi}EnterpriseBean">
+ *       &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *         &lt;element name="serviceEndpoint" type="{java.xmi}JavaClass"/>
+ *       &lt;/choice>
+ *       &lt;attribute name="serviceEndpoint" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       &lt;attribute name="sessionType" type="{ejb.xmi}SessionType" />
+ *       &lt;attribute name="transactionType" type="{ejb.xmi}TransactionType" />
+ *     &lt;/extension>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Session", propOrder = { "serviceEndpoints" })
+public class Session extends EnterpriseBean {
+
+	@XmlElement(name = "serviceEndpoint")
+	protected List<JavaClass> serviceEndpoints;
+	@XmlAttribute
+	protected String serviceEndpoint;
+	@XmlAttribute
+	protected SessionEnum sessionType;
+	@XmlAttribute
+	protected TransactionEnum transactionType;
+
+	/**
+	 * Gets the value of the serviceEndpoints 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 serviceEndpoints property.
+	 * 
+	 * <p>
+	 * For example, to add a new item, do as follows:
+	 * 
+	 * <pre>
+	 * getServiceEndpoints().add(newItem);
+	 * </pre>
+	 * 
+	 * 
+	 * <p>
+	 * Objects of the following type(s) are allowed in the list
+	 * {@link JavaClass }
+	 * 
+	 * 
+	 */
+	public List<JavaClass> getServiceEndpoints() {
+		if (serviceEndpoints == null) {
+			serviceEndpoints = new ArrayList<JavaClass>();
+		}
+		return this.serviceEndpoints;
+	}
+
+	/**
+	 * Gets the value of the serviceEndpoint property.
+	 * 
+	 * @return possible object is {@link String }
+	 * 
+	 */
+	public String getServiceEndpoint() {
+		return serviceEndpoint;
+	}
+
+	/**
+	 * Sets the value of the serviceEndpoint property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link String }
+	 * 
+	 */
+	public void setServiceEndpoint(String value) {
+		this.serviceEndpoint = value;
+	}
+
+	/**
+	 * Gets the value of the sessionType property.
+	 * 
+	 * @return possible object is {@link SessionEnum }
+	 * 
+	 */
+	public SessionEnum getSessionType() {
+		return sessionType;
+	}
+
+	/**
+	 * Sets the value of the sessionType property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link SessionEnum }
+	 * 
+	 */
+	public void setSessionType(SessionEnum value) {
+		this.sessionType = value;
+	}
+
+	/**
+	 * Gets the value of the transactionType property.
+	 * 
+	 * @return possible object is {@link TransactionEnum }
+	 * 
+	 */
+	public TransactionEnum getTransactionType() {
+		return transactionType;
+	}
+
+	/**
+	 * Sets the value of the transactionType property.
+	 * 
+	 * @param value
+	 *            allowed object is {@link TransactionEnum }
+	 * 
+	 */
+	public void setTransactionType(TransactionEnum value) {
+		this.transactionType = value;
+	}
+
+}



Mime
View raw message