You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by de...@apache.org on 2010/09/13 18:59:26 UTC
svn commit: r996601 [20/25] - in
/geronimo/devtools/eclipse-plugin/trunk/plugins:
org.apache.geronimo.st.schemas/v30/ org.apache.geronimo.st.v11.ui/META-INF/
org.apache.geronimo.st.v30.core/META-INF/
org.apache.geronimo.st.v30.jaxbmodel/META-INF/ org.a...
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/openejb/GeronimoEjbJar.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/openejb/GeronimoEjbJar.java?rev=996601&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/openejb/GeronimoEjbJar.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/openejb/GeronimoEjbJar.java Mon Sep 13 16:59:20 2010
@@ -0,0 +1,394 @@
+/*
+ * 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.geronimo.jee.openejb;
+
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlElementRef;
+import javax.xml.bind.annotation.XmlElementRefs;
+import javax.xml.bind.annotation.XmlType;
+
+import org.apache.geronimo.jee.application.AbstractClustering;
+import org.apache.geronimo.jee.application.AbstractSecurity;
+import org.apache.geronimo.jee.deployment.AbstractService;
+import org.apache.geronimo.jee.deployment.Environment;
+import org.apache.geronimo.jee.deployment.Gbean;
+import org.apache.geronimo.jee.naming.AbstractNamingEntry;
+import org.apache.geronimo.jee.naming.EjbLocalRef;
+import org.apache.geronimo.jee.naming.EjbRef;
+import org.apache.geronimo.jee.naming.EnvEntry;
+import org.apache.geronimo.jee.naming.GbeanRef;
+import org.apache.geronimo.jee.naming.MessageDestination;
+import org.apache.geronimo.jee.naming.PersistenceContextRef;
+import org.apache.geronimo.jee.naming.PersistenceUnitRef;
+import org.apache.geronimo.jee.naming.ResourceEnvRef;
+import org.apache.geronimo.jee.naming.ResourceRef;
+import org.apache.geronimo.jee.naming.ServiceRef;
+import org.apache.geronimo.jee.persistence.Persistence;
+import org.apache.geronimo.jee.security.SecurityRef;
+
+
+/**
+ * <p>Java class for geronimo-ejb-jarType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="geronimo-ejb-jarType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://geronimo.apache.org/xml/ns/deployment-1.2}environment" minOccurs="0"/>
+ * <element ref="{http://geronimo.apache.org/xml/ns/j2ee/application-2.0}clustering" minOccurs="0"/>
+ * <element name="openejb-jar" type="{http://geronimo.apache.org/xml/ns/j2ee/ejb/openejb-2.0}openejb-jarType" minOccurs="0"/>
+ * <group ref="{http://geronimo.apache.org/xml/ns/naming-1.2}jndiEnvironmentRefsGroup" maxOccurs="unbounded" minOccurs="0"/>
+ * <element ref="{http://geronimo.apache.org/xml/ns/naming-1.2}message-destination" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="tss-link" type="{http://geronimo.apache.org/xml/ns/j2ee/ejb/openejb-2.0}tss-linkType" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="web-service-binding" type="{http://geronimo.apache.org/xml/ns/j2ee/ejb/openejb-2.0}web-service-bindingType" maxOccurs="unbounded" minOccurs="0"/>
+ * <element ref="{http://geronimo.apache.org/xml/ns/j2ee/application-2.0}security" minOccurs="0"/>
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element ref="{http://geronimo.apache.org/xml/ns/deployment-1.2}service"/>
+ * <element ref="{http://java.sun.com/xml/ns/persistence}persistence"/>
+ * </choice>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "geronimo-ejb-jarType", propOrder = {
+ "environment",
+ "clustering",
+ "openejbJar",
+ "jndiEnvironmentRefsGroup",
+ "messageDestination",
+ "tssLink",
+ "webServiceBinding",
+ "security",
+ "serviceOrPersistence"
+})
+public class GeronimoEjbJar
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 12343L;
+ @XmlElement(namespace = "http://geronimo.apache.org/xml/ns/deployment-1.2")
+ protected Environment environment;
+ @XmlElement(namespace = "http://geronimo.apache.org/xml/ns/j2ee/application-2.0")
+ protected AbstractClustering clustering;
+ @XmlElement(name = "openejb-jar")
+ protected OpenejbJar openejbJar;
+ @XmlElementRefs({
+ @XmlElementRef(name = "ejb-local-ref", namespace = "http://geronimo.apache.org/xml/ns/naming-1.2", type = JAXBElement.class),
+ @XmlElementRef(name = "env-entry", namespace = "http://geronimo.apache.org/xml/ns/naming-1.2", type = JAXBElement.class),
+ @XmlElementRef(name = "resource-ref", namespace = "http://geronimo.apache.org/xml/ns/naming-1.2", type = JAXBElement.class),
+ @XmlElementRef(name = "resource-env-ref", namespace = "http://geronimo.apache.org/xml/ns/naming-1.2", type = JAXBElement.class),
+ @XmlElementRef(name = "abstract-naming-entry", namespace = "http://geronimo.apache.org/xml/ns/naming-1.2", type = JAXBElement.class),
+ @XmlElementRef(name = "service-ref", namespace = "http://geronimo.apache.org/xml/ns/naming-1.2", type = JAXBElement.class),
+ @XmlElementRef(name = "ejb-ref", namespace = "http://geronimo.apache.org/xml/ns/naming-1.2", type = JAXBElement.class)
+ })
+ protected List<JAXBElement<?>> jndiEnvironmentRefsGroup;
+ @XmlElement(name = "message-destination", namespace = "http://geronimo.apache.org/xml/ns/naming-1.2")
+ protected List<MessageDestination> messageDestination;
+ @XmlElement(name = "tss-link")
+ protected List<TssLink> tssLink;
+ @XmlElement(name = "web-service-binding")
+ protected List<WebServiceBinding> webServiceBinding;
+ @XmlElementRef(name = "security", namespace = "http://geronimo.apache.org/xml/ns/j2ee/application-2.0", type = JAXBElement.class)
+ protected JAXBElement<? extends AbstractSecurity> security;
+ @XmlElementRefs({
+ @XmlElementRef(name = "service", namespace = "http://geronimo.apache.org/xml/ns/deployment-1.2", type = JAXBElement.class),
+ @XmlElementRef(name = "persistence", namespace = "http://java.sun.com/xml/ns/persistence", type = Persistence.class)
+ })
+ protected List<Serializable> serviceOrPersistence;
+
+ /**
+ * Gets the value of the environment property.
+ *
+ * @return
+ * possible object is
+ * {@link Environment }
+ *
+ */
+ public Environment getEnvironment() {
+ return environment;
+ }
+
+ /**
+ * Sets the value of the environment property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Environment }
+ *
+ */
+ public void setEnvironment(Environment value) {
+ this.environment = value;
+ }
+
+ /**
+ *
+ * Reference to abstract clustering element defined in
+ * imported "geronimo-application-2.0.xsd"
+ *
+ *
+ * @return
+ * possible object is
+ * {@link AbstractClustering }
+ *
+ */
+ public AbstractClustering getClustering() {
+ return clustering;
+ }
+
+ /**
+ *
+ * Reference to abstract clustering element defined in
+ * imported "geronimo-application-2.0.xsd"
+ *
+ *
+ * @param value
+ * allowed object is
+ * {@link AbstractClustering }
+ *
+ */
+ public void setClustering(AbstractClustering value) {
+ this.clustering = value;
+ }
+
+ /**
+ * Gets the value of the openejbJar property.
+ *
+ * @return
+ * possible object is
+ * {@link OpenejbJar }
+ *
+ */
+ public OpenejbJar getOpenejbJar() {
+ return openejbJar;
+ }
+
+ /**
+ * Sets the value of the openejbJar property.
+ *
+ * @param value
+ * allowed object is
+ * {@link OpenejbJar }
+ *
+ */
+ public void setOpenejbJar(OpenejbJar value) {
+ this.openejbJar = value;
+ }
+
+ /**
+ * Gets the value of the jndiEnvironmentRefsGroup 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 jndiEnvironmentRefsGroup property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getJndiEnvironmentRefsGroup().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link JAXBElement }{@code <}{@link EjbLocalRef }{@code >}
+ * {@link JAXBElement }{@code <}{@link EnvEntry }{@code >}
+ * {@link JAXBElement }{@code <}{@link ResourceRef }{@code >}
+ * {@link JAXBElement }{@code <}{@link ResourceEnvRef }{@code >}
+ * {@link JAXBElement }{@code <}{@link AbstractNamingEntry }{@code >}
+ * {@link JAXBElement }{@code <}{@link PersistenceUnitRef }{@code >}
+ * {@link JAXBElement }{@code <}{@link PersistenceContextRef }{@code >}
+ * {@link JAXBElement }{@code <}{@link ServiceRef }{@code >}
+ * {@link JAXBElement }{@code <}{@link GbeanRef }{@code >}
+ * {@link JAXBElement }{@code <}{@link EjbRef }{@code >}
+ *
+ *
+ */
+ public List<JAXBElement<?>> getJndiEnvironmentRefsGroup() {
+ if (jndiEnvironmentRefsGroup == null) {
+ jndiEnvironmentRefsGroup = new ArrayList<JAXBElement<?>>();
+ }
+ return this.jndiEnvironmentRefsGroup;
+ }
+
+ /**
+ * Gets the value of the messageDestination 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 messageDestination property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getMessageDestination().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link MessageDestination }
+ *
+ *
+ */
+ public List<MessageDestination> getMessageDestination() {
+ if (messageDestination == null) {
+ messageDestination = new ArrayList<MessageDestination>();
+ }
+ return this.messageDestination;
+ }
+
+ /**
+ * Gets the value of the tssLink 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 tssLink property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getTssLink().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link TssLink }
+ *
+ *
+ */
+ public List<TssLink> getTssLink() {
+ if (tssLink == null) {
+ tssLink = new ArrayList<TssLink>();
+ }
+ return this.tssLink;
+ }
+
+ /**
+ * Gets the value of the webServiceBinding 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 webServiceBinding property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getWebServiceBinding().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link WebServiceBinding }
+ *
+ *
+ */
+ public List<WebServiceBinding> getWebServiceBinding() {
+ if (webServiceBinding == null) {
+ webServiceBinding = new ArrayList<WebServiceBinding>();
+ }
+ return this.webServiceBinding;
+ }
+
+ /**
+ * Gets the value of the security property.
+ *
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link org.apache.geronimo.jee.subject_info.Security }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.apache.geronimo.Security.ns.security_1.SecurityType }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.apache.geronimo.jee.security.Security }{@code >}
+ * {@link JAXBElement }{@code <}{@link AbstractSecurity }{@code >}
+ * {@link JAXBElement }{@code <}{@link SecurityRef }{@code >}
+ *
+ */
+ public JAXBElement<? extends AbstractSecurity> getSecurity() {
+ return security;
+ }
+
+ /**
+ * Sets the value of the security property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link org.apache.geronimo.jee.subject_info.Security }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.apache.geronimo.Security.ns.security_1.SecurityType }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.apache.geronimo.jee.security.Security }{@code >}
+ * {@link JAXBElement }{@code <}{@link AbstractSecurity }{@code >}
+ * {@link JAXBElement }{@code <}{@link SecurityRef }{@code >}
+ *
+ */
+ public void setSecurity(JAXBElement<? extends AbstractSecurity> value) {
+ this.security = ((JAXBElement<? extends AbstractSecurity> ) value);
+ }
+
+ /**
+ * Gets the value of the serviceOrPersistence 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 serviceOrPersistence property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getServiceOrPersistence().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Persistence }
+ * {@link JAXBElement }{@code <}{@link AbstractService }{@code >}
+ * {@link JAXBElement }{@code <}{@link Gbean }{@code >}
+ *
+ *
+ */
+ public List<Serializable> getServiceOrPersistence() {
+ if (serviceOrPersistence == null) {
+ serviceOrPersistence = new ArrayList<Serializable>();
+ }
+ return this.serviceOrPersistence;
+ }
+
+}
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/openejb/Group.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/openejb/Group.java?rev=996601&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/openejb/Group.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/openejb/Group.java Mon Sep 13 16:59:20 2010
@@ -0,0 +1,248 @@
+/*
+ * 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.geronimo.jee.openejb;
+
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for groupType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="groupType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="group-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="cmp-field-name" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="cmr-field" maxOccurs="unbounded" minOccurs="0">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="cmr-field-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="group-name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ * @version $Rev: 650704 $ $Date: 2008-04-23 08:09:15 +0800 (Wed, 23 Apr 2008) $
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "groupType", propOrder = {
+ "groupName",
+ "cmpFieldName",
+ "cmrField"
+})
+public class Group
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 12343L;
+ @XmlElement(name = "group-name", required = true)
+ protected String groupName;
+ @XmlElement(name = "cmp-field-name")
+ protected List<String> cmpFieldName;
+ @XmlElement(name = "cmr-field")
+ protected List<Group.CmrField> cmrField;
+
+ /**
+ * Gets the value of the groupName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getGroupName() {
+ return groupName;
+ }
+
+ /**
+ * Sets the value of the groupName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setGroupName(String value) {
+ this.groupName = value;
+ }
+
+ /**
+ * Gets the value of the cmpFieldName 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 cmpFieldName property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getCmpFieldName().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getCmpFieldName() {
+ if (cmpFieldName == null) {
+ cmpFieldName = new ArrayList<String>();
+ }
+ return this.cmpFieldName;
+ }
+
+ /**
+ * Gets the value of the cmrField 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 cmrField property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getCmrField().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Group.CmrField }
+ *
+ *
+ */
+ public List<Group.CmrField> getCmrField() {
+ if (cmrField == null) {
+ cmrField = new ArrayList<Group.CmrField>();
+ }
+ return this.cmrField;
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="cmr-field-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="group-name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "cmrFieldName",
+ "groupName"
+ })
+ public static class CmrField
+ implements Serializable
+ {
+
+ private final static long serialVersionUID = 12343L;
+ @XmlElement(name = "cmr-field-name", required = true)
+ protected String cmrFieldName;
+ @XmlElement(name = "group-name")
+ protected String groupName;
+
+ /**
+ * Gets the value of the cmrFieldName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getCmrFieldName() {
+ return cmrFieldName;
+ }
+
+ /**
+ * Sets the value of the cmrFieldName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setCmrFieldName(String value) {
+ this.cmrFieldName = value;
+ }
+
+ /**
+ * Gets the value of the groupName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getGroupName() {
+ return groupName;
+ }
+
+ /**
+ * Sets the value of the groupName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setGroupName(String value) {
+ this.groupName = value;
+ }
+
+ }
+
+}
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/openejb/MessageDrivenBean.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/openejb/MessageDrivenBean.java?rev=996601&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/openejb/MessageDrivenBean.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/openejb/MessageDrivenBean.java Mon Sep 13 16:59:20 2010
@@ -0,0 +1,382 @@
+/*
+ * 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.geronimo.jee.openejb;
+
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.List;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlElementRef;
+import javax.xml.bind.annotation.XmlID;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+import org.apache.geronimo.jee.naming.AbstractNamingEntry;
+import org.apache.geronimo.jee.naming.EjbLocalRef;
+import org.apache.geronimo.jee.naming.EjbRef;
+import org.apache.geronimo.jee.naming.GbeanRef;
+import org.apache.geronimo.jee.naming.PersistenceContextRef;
+import org.apache.geronimo.jee.naming.PersistenceUnitRef;
+import org.apache.geronimo.jee.naming.ResourceEnvRef;
+import org.apache.geronimo.jee.naming.ResourceLocator;
+import org.apache.geronimo.jee.naming.ResourceRef;
+import org.apache.geronimo.jee.naming.ServiceRef;
+
+
+/**
+ * <p>Java class for message-driven-beanType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="message-driven-beanType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="ejb-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element ref="{http://geronimo.apache.org/xml/ns/naming-1.2}resource-adapter"/>
+ * <element name="activation-config" type="{http://openejb.apache.org/xml/ns/openejb-jar-2.2}activation-configType" minOccurs="0"/>
+ * <group ref="{http://geronimo.apache.org/xml/ns/naming-1.2}jndiEnvironmentRefsGroup"/>
+ * </sequence>
+ * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ * @version $Rev: 650704 $ $Date: 2008-04-23 08:09:15 +0800 (Wed, 23 Apr 2008) $
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "message-driven-beanType", propOrder = {
+ "ejbName",
+ "resourceAdapter",
+ "activationConfig",
+ "abstractNamingEntry",
+ "ejbRef",
+ "ejbLocalRef",
+ "serviceRef",
+ "resourceRef",
+ "resourceEnvRef"
+})
+public class MessageDrivenBean implements Serializable
+{
+
+ private final static long serialVersionUID = 12343L;
+ @XmlElement(name = "ejb-name", required = true)
+ protected String ejbName;
+ @XmlElement(name = "resource-adapter", namespace = "http://geronimo.apache.org/xml/ns/naming-1.2", required = true)
+ protected ResourceLocator resourceAdapter;
+ @XmlElement(name = "activation-config")
+ protected ActivationConfig activationConfig;
+ @XmlElementRef(name = "abstract-naming-entry", namespace = "http://geronimo.apache.org/xml/ns/naming-1.2", type = JAXBElement.class)
+ protected List<JAXBElement<? extends AbstractNamingEntry>> abstractNamingEntry;
+ @XmlElement(name = "ejb-ref", namespace = "http://geronimo.apache.org/xml/ns/naming-1.2")
+ protected List<EjbRef> ejbRef;
+ @XmlElement(name = "ejb-local-ref", namespace = "http://geronimo.apache.org/xml/ns/naming-1.2")
+ protected List<EjbLocalRef> ejbLocalRef;
+ @XmlElement(name = "service-ref", namespace = "http://geronimo.apache.org/xml/ns/naming-1.2")
+ protected List<ServiceRef> serviceRef;
+ @XmlElement(name = "resource-ref", namespace = "http://geronimo.apache.org/xml/ns/naming-1.2")
+ protected List<ResourceRef> resourceRef;
+ @XmlElement(name = "resource-env-ref", namespace = "http://geronimo.apache.org/xml/ns/naming-1.2")
+ protected List<ResourceEnvRef> resourceEnvRef;
+ @XmlAttribute
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlID
+ protected String id;
+
+ /**
+ * Gets the value of the ejbName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getEjbName() {
+ return ejbName;
+ }
+
+ /**
+ * Sets the value of the ejbName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setEjbName(String value) {
+ this.ejbName = value;
+ }
+
+ /**
+ * Gets the value of the resourceAdapter property.
+ *
+ * @return
+ * possible object is
+ * {@link ResourceLocator}
+ *
+ */
+ public ResourceLocator getResourceAdapter() {
+ return resourceAdapter;
+ }
+
+ /**
+ * Sets the value of the resourceAdapter property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ResourceLocator}
+ *
+ */
+ public void setResourceAdapter(ResourceLocator value) {
+ this.resourceAdapter = value;
+ }
+
+ /**
+ * Gets the value of the activationConfig property.
+ *
+ * @return
+ * possible object is
+ * {@link ActivationConfig}
+ *
+ */
+ public ActivationConfig getActivationConfig() {
+ return activationConfig;
+ }
+
+ /**
+ * Sets the value of the activationConfig property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ActivationConfig}
+ *
+ */
+ public void setActivationConfig(ActivationConfig value) {
+ this.activationConfig = value;
+ }
+
+ /**
+ * Gets the value of the abstractNamingEntry property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the abstractNamingEntry property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAbstractNamingEntry().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link JAXBElement }{@code <}{@link PersistenceContextRef}{@code >}
+ * {@link JAXBElement }{@code <}{@link AbstractNamingEntry}{@code >}
+ * {@link JAXBElement }{@code <}{@link GbeanRef}{@code >}
+ * {@link JAXBElement }{@code <}{@link PersistenceUnitRef}{@code >}
+ *
+ *
+ */
+ public List<JAXBElement<? extends AbstractNamingEntry>> getAbstractNamingEntry() {
+ if (abstractNamingEntry == null) {
+ abstractNamingEntry = new ArrayList<JAXBElement<? extends AbstractNamingEntry>>();
+ }
+ return this.abstractNamingEntry;
+ }
+
+ /**
+ * Gets the value of the ejbRef property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the ejbRef property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getEjbRef().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link EjbRef}
+ *
+ *
+ */
+ public List<EjbRef> getEjbRef() {
+ if (ejbRef == null) {
+ ejbRef = new ArrayList<EjbRef>();
+ }
+ return this.ejbRef;
+ }
+
+ /**
+ * Gets the value of the ejbLocalRef property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the ejbLocalRef property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getEjbLocalRef().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link EjbLocalRef}
+ *
+ *
+ */
+ public List<EjbLocalRef> getEjbLocalRef() {
+ if (ejbLocalRef == null) {
+ ejbLocalRef = new ArrayList<EjbLocalRef>();
+ }
+ return this.ejbLocalRef;
+ }
+
+ /**
+ * Gets the value of the serviceRef property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the serviceRef property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getServiceRef().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link ServiceRef}
+ *
+ *
+ */
+ public List<ServiceRef> getServiceRef() {
+ if (serviceRef == null) {
+ serviceRef = new ArrayList<ServiceRef>();
+ }
+ return this.serviceRef;
+ }
+
+ /**
+ * Gets the value of the resourceRef property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the resourceRef property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getResourceRef().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link ResourceRef}
+ *
+ *
+ */
+ public List<ResourceRef> getResourceRef() {
+ if (resourceRef == null) {
+ resourceRef = new ArrayList<ResourceRef>();
+ }
+ return this.resourceRef;
+ }
+
+ /**
+ * Gets the value of the resourceEnvRef property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the resourceEnvRef property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getResourceEnvRef().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link ResourceEnvRef}
+ *
+ *
+ */
+ public List<ResourceEnvRef> getResourceEnvRef() {
+ if (resourceEnvRef == null) {
+ resourceEnvRef = new ArrayList<ResourceEnvRef>();
+ }
+ return this.resourceEnvRef;
+ }
+
+ /**
+ * 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;
+ }
+
+}
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/openejb/ObjectFactory.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/openejb/ObjectFactory.java?rev=996601&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/openejb/ObjectFactory.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/openejb/ObjectFactory.java Mon Sep 13 16:59:20 2010
@@ -0,0 +1,279 @@
+/*
+ * 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.geronimo.jee.openejb;
+
+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.xml.ns.openejb_jar_2 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.
+ *
+ * @version $Rev: 650704 $ $Date: 2008-04-23 08:09:15 +0800 (Wed, 23 Apr 2008) $
+ */
+@XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _OpenejbJar_QNAME = new QName("http://openejb.apache.org/xml/ns/openejb-jar-2.2", "openejb-jar");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.apache.openejb.xml.ns.openejb_jar_2
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link EntityBean.CmpFieldMapping }
+ *
+ */
+ public EntityBean.CmpFieldMapping createEntityBeanCmpFieldMapping() {
+ return new EntityBean.CmpFieldMapping();
+ }
+
+ /**
+ * Create an instance of {@link EjbRelation}
+ *
+ */
+ public EjbRelation createEjbRelation() {
+ return new EjbRelation();
+ }
+
+ /**
+ * Create an instance of {@link WebServiceSecurity}
+ *
+ */
+ public WebServiceSecurity createWebServiceSecurity() {
+ return new WebServiceSecurity();
+ }
+
+ /**
+ * Create an instance of {@link Group}
+ *
+ */
+ public Group createGroup() {
+ return new Group();
+ }
+
+ /**
+ * Create an instance of {@link EjbRelationshipRole}
+ *
+ */
+ public EjbRelationshipRole createEjbRelationshipRole() {
+ return new EjbRelationshipRole();
+ }
+
+ /**
+ * Create an instance of {@link Empty}
+ *
+ */
+ public Empty createEmpty() {
+ return new Empty();
+ }
+
+ /**
+ * Create an instance of {@link Query.QueryMethod.MethodParams }
+ *
+ */
+ public Query.QueryMethod.MethodParams createQueryQueryMethodMethodParams() {
+ return new Query.QueryMethod.MethodParams();
+ }
+
+ /**
+ * Create an instance of {@link EjbRelationshipRole.RoleMapping }
+ *
+ */
+ public EjbRelationshipRole.RoleMapping createEjbRelationshipRoleRoleMapping() {
+ return new EjbRelationshipRole.RoleMapping();
+ }
+
+ /**
+ * Create an instance of {@link OpenejbJar.EnterpriseBeans }
+ *
+ */
+ public OpenejbJar.EnterpriseBeans createOpenejbJarEnterpriseBeans() {
+ return new OpenejbJar.EnterpriseBeans();
+ }
+
+ /**
+ * Create an instance of {@link EntityBean.PrefetchGroup }
+ *
+ */
+ public EntityBean.PrefetchGroup createEntityBeanPrefetchGroup() {
+ return new EntityBean.PrefetchGroup();
+ }
+
+ /**
+ * Create an instance of {@link EjbRelationshipRole.RoleMapping.CmrFieldMapping
+ * }
+ *
+ */
+ public EjbRelationshipRole.RoleMapping.CmrFieldMapping createEjbRelationshipRoleRoleMappingCmrFieldMapping() {
+ return new EjbRelationshipRole.RoleMapping.CmrFieldMapping();
+ }
+
+ /**
+ * Create an instance of {@link ActivationConfig}
+ *
+ */
+ public ActivationConfig createActivationConfig() {
+ return new ActivationConfig();
+ }
+
+ /**
+ * Create an instance of {@link Query}
+ *
+ */
+ public Query createQuery() {
+ return new Query();
+ }
+
+ /**
+ * Create an instance of {@link EntityBean.Cache }
+ *
+ */
+ public EntityBean.Cache createEntityBeanCache() {
+ return new EntityBean.Cache();
+ }
+
+ /**
+ * Create an instance of {@link EntityGroupMapping}
+ *
+ */
+ public EntityGroupMapping createEntityGroupMapping() {
+ return new EntityGroupMapping();
+ }
+
+ /**
+ * Create an instance of {@link OpenejbJar}
+ *
+ */
+ public OpenejbJar createOpenejbJar() {
+ return new OpenejbJar();
+ }
+
+ /**
+ * Create an instance of {@link CmrFieldGroupMapping}
+ *
+ */
+ public CmrFieldGroupMapping createCmrFieldGroupMapping() {
+ return new CmrFieldGroupMapping();
+ }
+
+ /**
+ * Create an instance of {@link EjbRelationshipRole.RelationshipRoleSource }
+ *
+ */
+ public EjbRelationshipRole.RelationshipRoleSource createEjbRelationshipRoleRelationshipRoleSource() {
+ return new EjbRelationshipRole.RelationshipRoleSource();
+ }
+
+ /**
+ * Create an instance of {@link Query.QueryMethod }
+ *
+ */
+ public Query.QueryMethod createQueryQueryMethod() {
+ return new Query.QueryMethod();
+ }
+
+ /**
+ * Create an instance of {@link CmpFieldGroupMapping}
+ *
+ */
+ public CmpFieldGroupMapping createCmpFieldGroupMapping() {
+ return new CmpFieldGroupMapping();
+ }
+
+ /**
+ * Create an instance of {@link SessionBean}
+ *
+ */
+ public SessionBean createSessionBean() {
+ return new SessionBean();
+ }
+
+ /**
+ * Create an instance of {@link EjbRelationshipRole.CmrField }
+ *
+ */
+ public EjbRelationshipRole.CmrField createEjbRelationshipRoleCmrField() {
+ return new EjbRelationshipRole.CmrField();
+ }
+
+ /**
+ * Create an instance of {@link EntityBean}
+ *
+ */
+ public EntityBean createEntityBean() {
+ return new EntityBean();
+ }
+
+ /**
+ * Create an instance of {@link Group.CmrField }
+ *
+ */
+ public Group.CmrField createGroupCmrField() {
+ return new Group.CmrField();
+ }
+
+ /**
+ * Create an instance of {@link MessageDrivenBean}
+ *
+ */
+ public MessageDrivenBean createMessageDrivenBean() {
+ return new MessageDrivenBean();
+ }
+
+ /**
+ * Create an instance of {@link ActivationConfigProperty}
+ *
+ */
+ public ActivationConfigProperty createActivationConfigProperty() {
+ return new ActivationConfigProperty();
+ }
+
+ /**
+ * Create an instance of {@link Relationships}
+ *
+ */
+ public Relationships createRelationships() {
+ return new Relationships();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link OpenejbJar}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2", name = "openejb-jar")
+ public JAXBElement<OpenejbJar> createOpenejbJar(OpenejbJar value) {
+ return new JAXBElement<OpenejbJar>(_OpenejbJar_QNAME, OpenejbJar.class, null, value);
+ }
+
+}
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/openejb/OpenejbJar.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/openejb/OpenejbJar.java?rev=996601&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/openejb/OpenejbJar.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/openejb/OpenejbJar.java Mon Sep 13 16:59:20 2010
@@ -0,0 +1,456 @@
+/*
+ * 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.geronimo.jee.openejb;
+
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.List;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlElementRef;
+import javax.xml.bind.annotation.XmlElements;
+import javax.xml.bind.annotation.XmlType;
+
+import org.apache.geronimo.jee.application.AbstractSecurity;
+import org.apache.geronimo.jee.deployment.AbstractService;
+import org.apache.geronimo.jee.deployment.Environment;
+import org.apache.geronimo.jee.deployment.Gbean;
+import org.apache.geronimo.jee.naming.MessageDestination;
+import org.apache.geronimo.jee.naming.ResourceLocator;
+
+
+/**
+ * <p>Java class for openejb-jarType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="openejb-jarType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://geronimo.apache.org/xml/ns/deployment-1.2}environment" minOccurs="0"/>
+ * <element ref="{http://geronimo.apache.org/xml/ns/naming-1.2}cmp-connection-factory" minOccurs="0"/>
+ * <element name="ejb-ql-compiler-factory" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="db-syntax-factory" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="enforce-foreign-key-constraints" type="{http://openejb.apache.org/xml/ns/openejb-jar-2.2}emptyType" minOccurs="0"/>
+ * <element name="enterprise-beans">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="session" type="{http://openejb.apache.org/xml/ns/openejb-jar-2.2}session-beanType"/>
+ * <element name="entity" type="{http://openejb.apache.org/xml/ns/openejb-jar-2.2}entity-beanType"/>
+ * <element name="message-driven" type="{http://openejb.apache.org/xml/ns/openejb-jar-2.2}message-driven-beanType"/>
+ * </choice>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <element name="relationships" type="{http://openejb.apache.org/xml/ns/openejb-jar-2.2}relationshipsType" minOccurs="0"/>
+ * <element ref="{http://geronimo.apache.org/xml/ns/naming-1.2}message-destination" maxOccurs="unbounded" minOccurs="0"/>
+ * <element ref="{http://geronimo.apache.org/xml/ns/j2ee/application-2.0}security" minOccurs="0"/>
+ * <element ref="{http://geronimo.apache.org/xml/ns/deployment-1.2}service" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ * @version $Rev: 672410 $ $Date: 2008-06-28 06:16:51 +0800 (Sat, 28 Jun 2008) $
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "openejb-jarType", propOrder = {
+ "environment",
+ "cmpConnectionFactory",
+ "ejbQlCompilerFactory",
+ "dbSyntaxFactory",
+ "enforceForeignKeyConstraints",
+ "enterpriseBeans",
+ "relationships",
+ "messageDestination",
+ "security",
+ "service"
+})
+public class OpenejbJar
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 12343L;
+ @XmlElement(namespace = "http://geronimo.apache.org/xml/ns/deployment-1.2")
+ protected Environment environment;
+ @XmlElement(name = "cmp-connection-factory", namespace = "http://geronimo.apache.org/xml/ns/naming-1.2")
+ protected ResourceLocator cmpConnectionFactory;
+ @XmlElement(name = "ejb-ql-compiler-factory")
+ protected String ejbQlCompilerFactory;
+ @XmlElement(name = "db-syntax-factory")
+ protected String dbSyntaxFactory;
+ @XmlElement(name = "enforce-foreign-key-constraints")
+ protected Empty enforceForeignKeyConstraints;
+ @XmlElement(name = "enterprise-beans", required = true)
+ protected OpenejbJar.EnterpriseBeans enterpriseBeans;
+ protected Relationships relationships;
+ @XmlElement(name = "message-destination", namespace = "http://geronimo.apache.org/xml/ns/naming-1.2")
+ protected List<MessageDestination> messageDestination;
+ @XmlElementRef(name = "security", namespace = "http://geronimo.apache.org/xml/ns/j2ee/application-2.0", type = JAXBElement.class)
+ protected JAXBElement<? extends AbstractSecurity> security;
+ @XmlElementRef(name = "service", namespace = "http://geronimo.apache.org/xml/ns/deployment-1.2", type = JAXBElement.class)
+ protected List<JAXBElement<? extends AbstractService>> service;
+
+ /**
+ * Gets the value of the environment property.
+ *
+ * @return
+ * possible object is
+ * {@link Environment}
+ *
+ */
+ public Environment getEnvironment() {
+ return environment;
+ }
+
+ /**
+ * Sets the value of the environment property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Environment}
+ *
+ */
+ public void setEnvironment(Environment value) {
+ this.environment = value;
+ }
+
+ /**
+ * Gets the value of the cmpConnectionFactory property.
+ *
+ * @return
+ * possible object is
+ * {@link ResourceLocator}
+ *
+ */
+ public ResourceLocator getCmpConnectionFactory() {
+ return cmpConnectionFactory;
+ }
+
+ /**
+ * Sets the value of the cmpConnectionFactory property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ResourceLocator}
+ *
+ */
+ public void setCmpConnectionFactory(ResourceLocator value) {
+ this.cmpConnectionFactory = value;
+ }
+
+ /**
+ * Gets the value of the ejbQlCompilerFactory property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getEjbQlCompilerFactory() {
+ return ejbQlCompilerFactory;
+ }
+
+ /**
+ * Sets the value of the ejbQlCompilerFactory property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setEjbQlCompilerFactory(String value) {
+ if (value == null || value.length() == 0)
+ this.ejbQlCompilerFactory = null;
+ else
+ this.ejbQlCompilerFactory = value;
+ }
+
+ /**
+ * Gets the value of the dbSyntaxFactory property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDbSyntaxFactory() {
+ return dbSyntaxFactory;
+ }
+
+ /**
+ * Sets the value of the dbSyntaxFactory property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDbSyntaxFactory(String value) {
+ if (value == null || value.length() == 0)
+ this.dbSyntaxFactory = null;
+ else
+ this.dbSyntaxFactory = value;
+ }
+
+ /**
+ * Gets the value of the enforceForeignKeyConstraints property.
+ *
+ * @return
+ * possible object is
+ * {@link Empty}
+ *
+ */
+ public Empty getEnforceForeignKeyConstraints() {
+ return enforceForeignKeyConstraints;
+ }
+
+ /**
+ * Sets the value of the enforceForeignKeyConstraints property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Empty}
+ *
+ */
+ public void setEnforceForeignKeyConstraints(Empty value) {
+ this.enforceForeignKeyConstraints = value;
+ }
+
+ /**
+ * Gets the value of the enterpriseBeans property.
+ *
+ * @return
+ * possible object is
+ * {@link OpenejbJar.EnterpriseBeans }
+ *
+ */
+ public OpenejbJar.EnterpriseBeans getEnterpriseBeans() {
+ return enterpriseBeans;
+ }
+
+ /**
+ * Sets the value of the enterpriseBeans property.
+ *
+ * @param value
+ * allowed object is
+ * {@link OpenejbJar.EnterpriseBeans }
+ *
+ */
+ public void setEnterpriseBeans(OpenejbJar.EnterpriseBeans value) {
+ this.enterpriseBeans = value;
+ }
+
+ /**
+ * Gets the value of the relationships property.
+ *
+ * @return
+ * possible object is
+ * {@link Relationships}
+ *
+ */
+ public Relationships getRelationships() {
+ return relationships;
+ }
+
+ /**
+ * Sets the value of the relationships property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Relationships}
+ *
+ */
+ public void setRelationships(Relationships value) {
+ this.relationships = value;
+ }
+
+ /**
+ * Gets the value of the messageDestination 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 messageDestination property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getMessageDestination().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link MessageDestination}
+ *
+ *
+ */
+ public List<MessageDestination> getMessageDestination() {
+ if (messageDestination == null) {
+ messageDestination = new ArrayList<MessageDestination>();
+ }
+ return this.messageDestination;
+ }
+
+ /**
+ * Gets the value of the security property.
+ *
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link AbstractSecurity}{@code >}
+ * {@link JAXBElement }{@code <}{@link
+ * org.apache.geronimo.xml.ns.security_1.Security}{@code >}
+ * {@link JAXBElement }{@code <}{@link
+ * org.apache.geronimo.xml.ns.security_2.Security}{@code >}
+ * {@link JAXBElement }{@code <}{@link
+ * org.apache.geronimo.xml.ns.subject_info_1.Security}{@code >}
+ *
+ */
+ public JAXBElement<? extends AbstractSecurity> getSecurity() {
+ return security;
+ }
+
+ /**
+ * Sets the value of the security property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link AbstractSecurity}{@code >}
+ * {@link JAXBElement }{@code <}{@link org.apache.geronimo.xml.ns.security_1.Security }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.apache.geronimo.xml.ns.security_2.Security }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.apache.geronimo.xml.ns.subject_info_1.Security
+ * }{@code >}
+ *
+ */
+ public void setSecurity(JAXBElement<? extends AbstractSecurity> value) {
+ this.security = ((JAXBElement<? extends AbstractSecurity> ) value);
+ }
+
+ /**
+ * Gets the value of the service 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 service property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getService().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link JAXBElement }{@code <}{@link AbstractService}{@code >}
+ * {@link JAXBElement }{@code <}{@link Gbean}{@code >}
+ *
+ *
+ */
+ public List<JAXBElement<? extends AbstractService>> getService() {
+ if (service == null) {
+ service = new ArrayList<JAXBElement<? extends AbstractService>>();
+ }
+ return this.service;
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="session" type="{http://openejb.apache.org/xml/ns/openejb-jar-2.2}session-beanType"/>
+ * <element name="entity" type="{http://openejb.apache.org/xml/ns/openejb-jar-2.2}entity-beanType"/>
+ * <element name="message-driven" type="{http://openejb.apache.org/xml/ns/openejb-jar-2.2}message-driven-beanType"/>
+ * </choice>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "sessionOrEntityOrMessageDriven"
+ })
+ public static class EnterpriseBeans
+ implements Serializable
+ {
+
+ private final static long serialVersionUID = 12343L;
+ @XmlElements({
+ @XmlElement(name = "message-driven", type = MessageDrivenBean.class),
+ @XmlElement(name = "entity", type = EntityBean.class),
+ @XmlElement(name = "session", type = SessionBean.class)
+ })
+ protected List<Object> sessionOrEntityOrMessageDriven;
+
+ /**
+ * Gets the value of the sessionOrEntityOrMessageDriven 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 sessionOrEntityOrMessageDriven property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getSessionOrEntityOrMessageDriven().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link MessageDrivenBean}
+ * {@link EntityBean}
+ * {@link SessionBean}
+ *
+ *
+ */
+ public List<Object> getSessionOrEntityOrMessageDriven() {
+ if (sessionOrEntityOrMessageDriven == null) {
+ sessionOrEntityOrMessageDriven = new ArrayList<Object>();
+ }
+ return this.sessionOrEntityOrMessageDriven;
+ }
+
+ }
+
+}
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/openejb/Query.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/openejb/Query.java?rev=996601&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/openejb/Query.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/openejb/Query.java Mon Sep 13 16:59:20 2010
@@ -0,0 +1,377 @@
+/*
+ * 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.geronimo.jee.openejb;
+
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for queryType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="queryType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="query-method">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="method-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="method-params">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="method-param" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <element name="result-type-mapping" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="ejb-ql" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="no-cache-flush" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
+ * <element name="group-name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ * @version $Rev: 650704 $ $Date: 2008-04-23 08:09:15 +0800 (Wed, 23 Apr 2008) $
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "queryType", propOrder = {
+ "queryMethod",
+ "resultTypeMapping",
+ "ejbQl",
+ "noCacheFlush",
+ "groupName"
+})
+public class Query
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 12343L;
+ @XmlElement(name = "query-method", required = true)
+ protected Query.QueryMethod queryMethod;
+ @XmlElement(name = "result-type-mapping")
+ protected String resultTypeMapping;
+ @XmlElement(name = "ejb-ql")
+ protected String ejbQl;
+ @XmlElement(name = "no-cache-flush")
+ protected Object noCacheFlush;
+ @XmlElement(name = "group-name")
+ protected String groupName;
+
+ /**
+ * Gets the value of the queryMethod property.
+ *
+ * @return
+ * possible object is
+ * {@link Query.QueryMethod }
+ *
+ */
+ public Query.QueryMethod getQueryMethod() {
+ return queryMethod;
+ }
+
+ /**
+ * Sets the value of the queryMethod property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Query.QueryMethod }
+ *
+ */
+ public void setQueryMethod(Query.QueryMethod value) {
+ this.queryMethod = value;
+ }
+
+ /**
+ * Gets the value of the resultTypeMapping property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getResultTypeMapping() {
+ return resultTypeMapping;
+ }
+
+ /**
+ * Sets the value of the resultTypeMapping property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setResultTypeMapping(String value) {
+ this.resultTypeMapping = 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 noCacheFlush property.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ *
+ */
+ public Object getNoCacheFlush() {
+ return noCacheFlush;
+ }
+
+ /**
+ * Sets the value of the noCacheFlush property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ *
+ */
+ public void setNoCacheFlush(Object value) {
+ this.noCacheFlush = value;
+ }
+
+ /**
+ * Gets the value of the groupName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getGroupName() {
+ return groupName;
+ }
+
+ /**
+ * Sets the value of the groupName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setGroupName(String value) {
+ this.groupName = value;
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="method-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="method-params">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="method-param" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "methodName",
+ "methodParams"
+ })
+ public static class QueryMethod
+ implements Serializable
+ {
+
+ private final static long serialVersionUID = 12343L;
+ @XmlElement(name = "method-name", required = true)
+ protected String methodName;
+ @XmlElement(name = "method-params", required = true)
+ protected Query.QueryMethod.MethodParams methodParams;
+
+ /**
+ * Gets the value of the methodName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getMethodName() {
+ return methodName;
+ }
+
+ /**
+ * Sets the value of the methodName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setMethodName(String value) {
+ this.methodName = value;
+ }
+
+ /**
+ * Gets the value of the methodParams property.
+ *
+ * @return
+ * possible object is
+ * {@link Query.QueryMethod.MethodParams }
+ *
+ */
+ public Query.QueryMethod.MethodParams getMethodParams() {
+ return methodParams;
+ }
+
+ /**
+ * Sets the value of the methodParams property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Query.QueryMethod.MethodParams }
+ *
+ */
+ public void setMethodParams(Query.QueryMethod.MethodParams value) {
+ this.methodParams = value;
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="method-param" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "methodParam"
+ })
+ public static class MethodParams
+ implements Serializable
+ {
+
+ private final static long serialVersionUID = 12343L;
+ @XmlElement(name = "method-param")
+ protected List<String> methodParam;
+
+ /**
+ * Gets the value of the methodParam 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 methodParam property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getMethodParam().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getMethodParam() {
+ if (methodParam == null) {
+ methodParam = new ArrayList<String>();
+ }
+ return this.methodParam;
+ }
+
+ }
+
+ }
+
+}
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/openejb/Relationships.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/openejb/Relationships.java?rev=996601&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/openejb/Relationships.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/openejb/Relationships.java Mon Sep 13 16:59:20 2010
@@ -0,0 +1,90 @@
+/*
+ * 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.geronimo.jee.openejb;
+
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for relationshipsType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="relationshipsType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="ejb-relation" type="{http://openejb.apache.org/xml/ns/openejb-jar-2.2}ejb-relationType" maxOccurs="unbounded"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ * @version $Rev: 650704 $ $Date: 2008-04-23 08:09:15 +0800 (Wed, 23 Apr 2008) $
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "relationshipsType", propOrder = {
+ "ejbRelation"
+})
+public class Relationships
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 12343L;
+ @XmlElement(name = "ejb-relation", required = true)
+ protected List<EjbRelation> ejbRelation;
+
+ /**
+ * Gets the value of the ejbRelation 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 ejbRelation property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getEjbRelation().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link EjbRelation}
+ *
+ *
+ */
+ public List<EjbRelation> getEjbRelation() {
+ if (ejbRelation == null) {
+ ejbRelation = new ArrayList<EjbRelation>();
+ }
+ return this.ejbRelation;
+ }
+
+}