You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by mc...@apache.org on 2008/04/23 02:09:20 UTC
svn commit: r650704 [3/4] - in /geronimo/devtools/eclipse-plugin/trunk: ./
plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/openejb/
plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/...
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/openejb/SessionBean.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/openejb/SessionBean.java?rev=650704&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/openejb/SessionBean.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/openejb/SessionBean.java Tue Apr 22 17:09:15 2008
@@ -0,0 +1,564 @@
+/*
+ * 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.Pattern;
+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;
+
+
+/**
+ * <p>Java class for session-beanType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="session-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 name="jndi-name" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="local-jndi-name" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="cache-size" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
+ * <group ref="{http://openejb.apache.org/xml/ns/openejb-jar-2.2}tssGroup" minOccurs="0"/>
+ * <group ref="{http://geronimo.apache.org/xml/ns/naming-1.2}jndiEnvironmentRefsGroup"/>
+ * <element name="web-service-address" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="web-service-virtual-host" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="web-service-security" type="{http://openejb.apache.org/xml/ns/openejb-jar-2.2}web-service-securityType" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ * @version $Rev$ $Date$
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "session-beanType", propOrder = {
+ "ejbName",
+ "jndiName",
+ "localJndiName",
+ "cacheSize",
+ "tssLink",
+ "tss",
+ "abstractNamingEntry",
+ "ejbRef",
+ "ejbLocalRef",
+ "serviceRef",
+ "resourceRef",
+ "resourceEnvRef",
+ "webServiceAddress",
+ "webServiceVirtualHost",
+ "webServiceSecurity"
+})
+public class SessionBean implements Serializable
+{
+
+ private final static long serialVersionUID = 12343L;
+ @XmlElement(name = "ejb-name", required = true)
+ protected String ejbName;
+ @XmlElement(name = "jndi-name")
+ protected List<String> jndiName;
+ @XmlElement(name = "local-jndi-name")
+ protected List<String> localJndiName;
+ @XmlElement(name = "cache-size")
+ protected Integer cacheSize;
+ @XmlElement(name = "tss-link")
+ protected String tssLink;
+ protected Pattern tss;
+ @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;
+ @XmlElement(name = "web-service-address")
+ protected String webServiceAddress;
+ @XmlElement(name = "web-service-virtual-host")
+ protected List<String> webServiceVirtualHost;
+ @XmlElement(name = "web-service-security")
+ protected WebServiceSecurity webServiceSecurity;
+ @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 jndiName property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the jndiName property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getJndiName().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getJndiName() {
+ if (jndiName == null) {
+ jndiName = new ArrayList<String>();
+ }
+ return this.jndiName;
+ }
+
+ /**
+ * Gets the value of the localJndiName property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the localJndiName property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getLocalJndiName().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getLocalJndiName() {
+ if (localJndiName == null) {
+ localJndiName = new ArrayList<String>();
+ }
+ return this.localJndiName;
+ }
+
+ /**
+ * Gets the value of the cacheSize property.
+ *
+ * @return
+ * possible object is
+ * {@link Integer }
+ *
+ */
+ public Integer getCacheSize() {
+ return cacheSize;
+ }
+
+ /**
+ * Sets the value of the cacheSize property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Integer }
+ *
+ */
+ public void setCacheSize(Integer value) {
+ this.cacheSize = value;
+ }
+
+ /**
+ * Gets the value of the tssLink property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTssLink() {
+ return tssLink;
+ }
+
+ /**
+ * Sets the value of the tssLink property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTssLink(String value) {
+ this.tssLink = value;
+ }
+
+ /**
+ * Gets the value of the tss property.
+ *
+ * @return
+ * possible object is
+ * {@link Pattern}
+ *
+ */
+ public Pattern getTss() {
+ return tss;
+ }
+
+ /**
+ * Sets the value of the tss property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Pattern}
+ *
+ */
+ public void setTss(Pattern value) {
+ this.tss = 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 webServiceAddress property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getWebServiceAddress() {
+ return webServiceAddress;
+ }
+
+ /**
+ * Sets the value of the webServiceAddress property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setWebServiceAddress(String value) {
+ this.webServiceAddress = value;
+ }
+
+ /**
+ * Gets the value of the webServiceVirtualHost 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 webServiceVirtualHost property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getWebServiceVirtualHost().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getWebServiceVirtualHost() {
+ if (webServiceVirtualHost == null) {
+ webServiceVirtualHost = new ArrayList<String>();
+ }
+ return this.webServiceVirtualHost;
+ }
+
+ /**
+ * Gets the value of the webServiceSecurity property.
+ *
+ * @return
+ * possible object is
+ * {@link WebServiceSecurity}
+ *
+ */
+ public WebServiceSecurity getWebServiceSecurity() {
+ return webServiceSecurity;
+ }
+
+ /**
+ * Sets the value of the webServiceSecurity property.
+ *
+ * @param value
+ * allowed object is
+ * {@link WebServiceSecurity}
+ *
+ */
+ public void setWebServiceSecurity(WebServiceSecurity value) {
+ this.webServiceSecurity = 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;
+ }
+
+}
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/openejb/SessionBean.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/openejb/SessionBean.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/openejb/SessionBean.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/openejb/WebServiceSecurity.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/openejb/WebServiceSecurity.java?rev=650704&r1=650703&r2=650704&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/openejb/WebServiceSecurity.java (original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/openejb/WebServiceSecurity.java Tue Apr 22 17:09:15 2008
@@ -37,8 +37,8 @@
* <sequence>
* <element name="security-realm-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="realm-name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- * <element name="transport-guarantee" type="{http://geronimo.apache.org/xml/ns/j2ee/ejb/openejb-2.0}transport-guaranteeType"/>
- * <element name="auth-method" type="{http://geronimo.apache.org/xml/ns/j2ee/ejb/openejb-2.0}auth-methodType"/>
+ * <element name="transport-guarantee" type="{http://openejb.apache.org/xml/ns/openejb-jar-2.2}transport-guaranteeType"/>
+ * <element name="auth-method" type="{http://openejb.apache.org/xml/ns/openejb-jar-2.2}auth-methodType"/>
* </sequence>
* </restriction>
* </complexContent>
@@ -121,7 +121,7 @@
*
* @return
* possible object is
- * {@link TransportGuarantee }
+ * {@link TransportGuarantee}
*
*/
public TransportGuarantee getTransportGuarantee() {
@@ -133,7 +133,7 @@
*
* @param value
* allowed object is
- * {@link TransportGuarantee }
+ * {@link TransportGuarantee}
*
*/
public void setTransportGuarantee(TransportGuarantee value) {
@@ -145,7 +145,7 @@
*
* @return
* possible object is
- * {@link AuthMethod }
+ * {@link AuthMethod}
*
*/
public AuthMethod getAuthMethod() {
@@ -157,7 +157,7 @@
*
* @param value
* allowed object is
- * {@link AuthMethod }
+ * {@link AuthMethod}
*
*/
public void setAuthMethod(AuthMethod value) {
Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/openejb/package-info.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/openejb/package-info.java?rev=650704&r1=650703&r2=650704&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/openejb/package-info.java (original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/openejb/package-info.java Tue Apr 22 17:09:15 2008
@@ -18,5 +18,5 @@
/**
* @version $Rev$ $Date$
*/
-@javax.xml.bind.annotation.XmlSchema(namespace = "http://geronimo.apache.org/xml/ns/j2ee/ejb/openejb-2.0", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+@javax.xml.bind.annotation.XmlSchema(namespace = "http://openejb.apache.org/xml/ns/openejb-jar-2.2", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
package org.apache.geronimo.jee.openejb;
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/AutoIncrementTable.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/AutoIncrementTable.java?rev=650704&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/AutoIncrementTable.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/AutoIncrementTable.java Tue Apr 22 17:09:15 2008
@@ -0,0 +1,123 @@
+/*
+ * 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.pkgen;
+
+import java.io.Serializable;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ * Handles the case where an arbitrary SQL statement is executed,
+ * and the JDBC driver returns a new automatically generated ID.
+ * This should not be used when the destination table itself
+ * generates the ID (see database-generatedType), but it could be
+ * used for a web session ID or something where there is no
+ * naturally matching database table (but you could create one
+ * with an AUTO_INCREMENT key, specify an insert statement here,
+ * and then capture the newly returned ID and use it as your
+ * web session ID).
+ *
+ *
+ * <p>Java class for auto-increment-tableType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="auto-increment-tableType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="sql" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="return-type" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ * @version $Rev$ $Date$
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "auto-increment-tableType", propOrder = {
+ "sql",
+ "returnType"
+})
+public class AutoIncrementTable
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 12343L;
+ @XmlElement(required = true)
+ protected String sql;
+ @XmlElement(name = "return-type", required = true)
+ protected String returnType;
+
+ /**
+ * Gets the value of the sql property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSql() {
+ return sql;
+ }
+
+ /**
+ * Sets the value of the sql property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSql(String value) {
+ this.sql = value;
+ }
+
+ /**
+ * Gets the value of the returnType property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getReturnType() {
+ return returnType;
+ }
+
+ /**
+ * Sets the value of the returnType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setReturnType(String value) {
+ this.returnType = value;
+ }
+
+}
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/AutoIncrementTable.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/AutoIncrementTable.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/AutoIncrementTable.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/CustomGenerator.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/CustomGenerator.java?rev=650704&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/CustomGenerator.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/CustomGenerator.java Tue Apr 22 17:09:15 2008
@@ -0,0 +1,117 @@
+/*
+ * 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.pkgen;
+
+import java.io.Serializable;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ * Handles a user-provided generator. You deploy any old generator
+ * as a GBean, and then point to that GBean here. The generator
+ * should implement org.tranql.pkgenerator.PrimaryKeyGenerator.
+ *
+ *
+ * <p>Java class for custom-generatorType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="custom-generatorType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="generator-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="primary-key-class" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ * @version $Rev$ $Date$
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "custom-generatorType", propOrder = {
+ "generatorName",
+ "primaryKeyClass"
+})
+public class CustomGenerator
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 12343L;
+ @XmlElement(name = "generator-name", required = true)
+ protected String generatorName;
+ @XmlElement(name = "primary-key-class", required = true)
+ protected String primaryKeyClass;
+
+ /**
+ * Gets the value of the generatorName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getGeneratorName() {
+ return generatorName;
+ }
+
+ /**
+ * Sets the value of the generatorName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setGeneratorName(String value) {
+ this.generatorName = value;
+ }
+
+ /**
+ * Gets the value of the primaryKeyClass property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPrimaryKeyClass() {
+ return primaryKeyClass;
+ }
+
+ /**
+ * Sets the value of the primaryKeyClass property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPrimaryKeyClass(String value) {
+ this.primaryKeyClass = value;
+ }
+
+}
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/CustomGenerator.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/CustomGenerator.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/CustomGenerator.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/DatabaseGenerated.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/DatabaseGenerated.java?rev=650704&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/DatabaseGenerated.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/DatabaseGenerated.java Tue Apr 22 17:09:15 2008
@@ -0,0 +1,100 @@
+/*
+ * 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.pkgen;
+
+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;
+
+
+/**
+ *
+ * Indicates that the database automatically populates a primary key
+ * ID in the listed column(s). Typically this is used for columns
+ * with an AUTO_INCREMENT flag or the equivalent. This only makes
+ * sense if this key generator is used for an EJB or something else
+ * with a corresponding database table (not if it's meant to generate
+ * unique web session IDs or something like that -- see
+ * auto-increment-tableType for that case).
+ *
+ *
+ * <p>Java class for database-generatedType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="database-generatedType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="identity-column" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ * @version $Rev$ $Date$
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "database-generatedType", propOrder = {
+ "identityColumn"
+})
+public class DatabaseGenerated
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 12343L;
+ @XmlElement(name = "identity-column", required = true)
+ protected List<String> identityColumn;
+
+ /**
+ * Gets the value of the identityColumn 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 identityColumn property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getIdentityColumn().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getIdentityColumn() {
+ if (identityColumn == null) {
+ identityColumn = new ArrayList<String>();
+ }
+ return this.identityColumn;
+ }
+
+}
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/DatabaseGenerated.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/DatabaseGenerated.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/DatabaseGenerated.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/Empty.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/Empty.java?rev=650704&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/Empty.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/Empty.java Tue Apr 22 17:09:15 2008
@@ -0,0 +1,51 @@
+/*
+ * 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.pkgen;
+
+import java.io.Serializable;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for emptyType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="emptyType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ * @version $Rev$ $Date$
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "emptyType")
+public class Empty
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 12343L;
+
+}
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/Empty.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/Empty.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/Empty.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/KeyGenerator.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/KeyGenerator.java?rev=650704&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/KeyGenerator.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/KeyGenerator.java Tue Apr 22 17:09:15 2008
@@ -0,0 +1,201 @@
+/*
+ * 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.pkgen;
+
+import java.io.Serializable;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ * Primary Key generation element.
+ *
+ * If this is present, a key generator GBean will be created
+ * and configured to generate IDs for the surrounding object.
+ *
+ *
+ * <p>Java class for key-generatorType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="key-generatorType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice>
+ * <element name="uuid" type="{http://openejb.apache.org/xml/ns/pkgen-2.1}emptyType"/>
+ * <element name="sequence-table" type="{http://openejb.apache.org/xml/ns/pkgen-2.1}sequence-tableType"/>
+ * <element name="auto-increment-table" type="{http://openejb.apache.org/xml/ns/pkgen-2.1}auto-increment-tableType"/>
+ * <element name="sql-generator" type="{http://openejb.apache.org/xml/ns/pkgen-2.1}sql-generatorType"/>
+ * <element name="custom-generator" type="{http://openejb.apache.org/xml/ns/pkgen-2.1}custom-generatorType"/>
+ * </choice>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ * @version $Rev$ $Date$
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "key-generatorType", propOrder = {
+ "uuid",
+ "sequenceTable",
+ "autoIncrementTable",
+ "sqlGenerator",
+ "customGenerator"
+})
+public class KeyGenerator
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 12343L;
+ protected Empty uuid;
+ @XmlElement(name = "sequence-table")
+ protected SequenceTable sequenceTable;
+ @XmlElement(name = "auto-increment-table")
+ protected AutoIncrementTable autoIncrementTable;
+ @XmlElement(name = "sql-generator")
+ protected SqlGenerator sqlGenerator;
+ @XmlElement(name = "custom-generator")
+ protected CustomGenerator customGenerator;
+
+ /**
+ * Gets the value of the uuid property.
+ *
+ * @return
+ * possible object is
+ * {@link Empty}
+ *
+ */
+ public Empty getUuid() {
+ return uuid;
+ }
+
+ /**
+ * Sets the value of the uuid property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Empty}
+ *
+ */
+ public void setUuid(Empty value) {
+ this.uuid = value;
+ }
+
+ /**
+ * Gets the value of the sequenceTable property.
+ *
+ * @return
+ * possible object is
+ * {@link SequenceTable}
+ *
+ */
+ public SequenceTable getSequenceTable() {
+ return sequenceTable;
+ }
+
+ /**
+ * Sets the value of the sequenceTable property.
+ *
+ * @param value
+ * allowed object is
+ * {@link SequenceTable}
+ *
+ */
+ public void setSequenceTable(SequenceTable value) {
+ this.sequenceTable = value;
+ }
+
+ /**
+ * Gets the value of the autoIncrementTable property.
+ *
+ * @return
+ * possible object is
+ * {@link AutoIncrementTable}
+ *
+ */
+ public AutoIncrementTable getAutoIncrementTable() {
+ return autoIncrementTable;
+ }
+
+ /**
+ * Sets the value of the autoIncrementTable property.
+ *
+ * @param value
+ * allowed object is
+ * {@link AutoIncrementTable}
+ *
+ */
+ public void setAutoIncrementTable(AutoIncrementTable value) {
+ this.autoIncrementTable = value;
+ }
+
+ /**
+ * Gets the value of the sqlGenerator property.
+ *
+ * @return
+ * possible object is
+ * {@link SqlGenerator}
+ *
+ */
+ public SqlGenerator getSqlGenerator() {
+ return sqlGenerator;
+ }
+
+ /**
+ * Sets the value of the sqlGenerator property.
+ *
+ * @param value
+ * allowed object is
+ * {@link SqlGenerator}
+ *
+ */
+ public void setSqlGenerator(SqlGenerator value) {
+ this.sqlGenerator = value;
+ }
+
+ /**
+ * Gets the value of the customGenerator property.
+ *
+ * @return
+ * possible object is
+ * {@link CustomGenerator}
+ *
+ */
+ public CustomGenerator getCustomGenerator() {
+ return customGenerator;
+ }
+
+ /**
+ * Sets the value of the customGenerator property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CustomGenerator}
+ *
+ */
+ public void setCustomGenerator(CustomGenerator value) {
+ this.customGenerator = value;
+ }
+
+}
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/KeyGenerator.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/KeyGenerator.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/KeyGenerator.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/ObjectFactory.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/ObjectFactory.java?rev=650704&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/ObjectFactory.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/ObjectFactory.java Tue Apr 22 17:09:15 2008
@@ -0,0 +1,118 @@
+/*
+ * 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.pkgen;
+
+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.pkgen_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$ $Date$
+ */
+@XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _KeyGenerator_QNAME = new QName("http://openejb.apache.org/xml/ns/pkgen-2.1", "key-generator");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.apache.openejb.xml.ns.pkgen_2
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link DatabaseGenerated}
+ *
+ */
+ public DatabaseGenerated createDatabaseGenerated() {
+ return new DatabaseGenerated();
+ }
+
+ /**
+ * Create an instance of {@link Empty}
+ *
+ */
+ public Empty createEmpty() {
+ return new Empty();
+ }
+
+ /**
+ * Create an instance of {@link KeyGenerator}
+ *
+ */
+ public KeyGenerator createKeyGenerator() {
+ return new KeyGenerator();
+ }
+
+ /**
+ * Create an instance of {@link SequenceTable}
+ *
+ */
+ public SequenceTable createSequenceTable() {
+ return new SequenceTable();
+ }
+
+ /**
+ * Create an instance of {@link AutoIncrementTable}
+ *
+ */
+ public AutoIncrementTable createAutoIncrementTable() {
+ return new AutoIncrementTable();
+ }
+
+ /**
+ * Create an instance of {@link CustomGenerator}
+ *
+ */
+ public CustomGenerator createCustomGenerator() {
+ return new CustomGenerator();
+ }
+
+ /**
+ * Create an instance of {@link SqlGenerator}
+ *
+ */
+ public SqlGenerator createSqlGenerator() {
+ return new SqlGenerator();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link KeyGenerator }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://openejb.apache.org/xml/ns/pkgen-2.1", name = "key-generator")
+ public JAXBElement<KeyGenerator> createKeyGenerator(KeyGenerator value) {
+ return new JAXBElement<KeyGenerator>(_KeyGenerator_QNAME, KeyGenerator.class, null, value);
+ }
+
+}
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/ObjectFactory.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/ObjectFactory.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/ObjectFactory.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/SequenceTable.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/SequenceTable.java?rev=650704&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/SequenceTable.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/SequenceTable.java Tue Apr 22 17:09:15 2008
@@ -0,0 +1,136 @@
+/*
+ * 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.pkgen;
+
+import java.io.Serializable;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ * Indicates that a separate table holds a list of table name/ID
+ * pairs and the server should fetch the next ID from that table.
+ *
+ *
+ * <p>Java class for sequence-tableType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="sequence-tableType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="table-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="sequence-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="batch-size" type="{http://www.w3.org/2001/XMLSchema}int"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ * @version $Rev$ $Date$
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "sequence-tableType", propOrder = {
+ "tableName",
+ "sequenceName",
+ "batchSize"
+})
+public class SequenceTable
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 12343L;
+ @XmlElement(name = "table-name", required = true)
+ protected String tableName;
+ @XmlElement(name = "sequence-name", required = true)
+ protected String sequenceName;
+ @XmlElement(name = "batch-size")
+ protected int batchSize;
+
+ /**
+ * Gets the value of the tableName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTableName() {
+ return tableName;
+ }
+
+ /**
+ * Sets the value of the tableName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTableName(String value) {
+ this.tableName = value;
+ }
+
+ /**
+ * Gets the value of the sequenceName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSequenceName() {
+ return sequenceName;
+ }
+
+ /**
+ * Sets the value of the sequenceName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSequenceName(String value) {
+ this.sequenceName = value;
+ }
+
+ /**
+ * Gets the value of the batchSize property.
+ *
+ */
+ public int getBatchSize() {
+ return batchSize;
+ }
+
+ /**
+ * Sets the value of the batchSize property.
+ *
+ */
+ public void setBatchSize(int value) {
+ this.batchSize = value;
+ }
+
+}
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/SequenceTable.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/SequenceTable.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/SequenceTable.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/SqlGenerator.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/SqlGenerator.java?rev=650704&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/SqlGenerator.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/SqlGenerator.java Tue Apr 22 17:09:15 2008
@@ -0,0 +1,116 @@
+/*
+ * 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.pkgen;
+
+import java.io.Serializable;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ * Indicates that an arbitrary SQL statement should be used to
+ * generate the next ID.
+ *
+ *
+ * <p>Java class for sql-generatorType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="sql-generatorType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="sql" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="return-type" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ * @version $Rev$ $Date$
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "sql-generatorType", propOrder = {
+ "sql",
+ "returnType"
+})
+public class SqlGenerator
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 12343L;
+ @XmlElement(required = true)
+ protected String sql;
+ @XmlElement(name = "return-type", required = true)
+ protected String returnType;
+
+ /**
+ * Gets the value of the sql property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSql() {
+ return sql;
+ }
+
+ /**
+ * Sets the value of the sql property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSql(String value) {
+ this.sql = value;
+ }
+
+ /**
+ * Gets the value of the returnType property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getReturnType() {
+ return returnType;
+ }
+
+ /**
+ * Sets the value of the returnType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setReturnType(String value) {
+ this.returnType = value;
+ }
+
+}
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/SqlGenerator.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/SqlGenerator.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/SqlGenerator.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/package-info.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/package-info.java?rev=650704&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/package-info.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/package-info.java Tue Apr 22 17:09:15 2008
@@ -0,0 +1,22 @@
+/*
+ * 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.
+ */
+
+/**
+ * @version $Rev$ $Date$
+ */
+@javax.xml.bind.annotation.XmlSchema(namespace = "http://openejb.apache.org/xml/ns/pkgen-2.1", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+package org.apache.geronimo.jee.pkgen;
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/package-info.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/package-info.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/package-info.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/resources/openejb-jar-2.2.xsd
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/resources/openejb-jar-2.2.xsd?rev=650704&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/resources/openejb-jar-2.2.xsd (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/resources/openejb-jar-2.2.xsd Tue Apr 22 17:09:15 2008
@@ -0,0 +1,345 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ 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.
+-->
+
+<!-- @version $Rev$ $Date$ -->
+
+<xs:schema
+ xmlns:openejb="http://openejb.apache.org/xml/ns/openejb-jar-2.2"
+ targetNamespace="http://openejb.apache.org/xml/ns/openejb-jar-2.2"
+ xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.2"
+ xmlns:app="http://geronimo.apache.org/xml/ns/j2ee/application-2.0"
+ xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2"
+ xmlns:pkgen="http://openejb.apache.org/xml/ns/pkgen-2.1"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified"
+ attributeFormDefault="unqualified"
+ version="1.0">
+
+ <xs:import namespace="http://geronimo.apache.org/xml/ns/naming-1.2" schemaLocation="geronimo-naming-1.2.xsd"/>
+ <!--<xs:import namespace="http://geronimo.apache.org/xml/ns/security-1.2" schemaLocation="geronimo-security-1.2.xsd"/>-->
+ <xs:import namespace="http://geronimo.apache.org/xml/ns/j2ee/application-2.0" schemaLocation="geronimo-application-2.0.xsd"/>
+ <xs:import namespace="http://geronimo.apache.org/xml/ns/deployment-1.2" schemaLocation="geronimo-module-1.2.xsd"/>
+ <xs:import namespace="http://openejb.apache.org/xml/ns/pkgen-2.1" schemaLocation="openejb-pkgen-2.1.xsd"/>
+
+ <xs:element name="openejb-jar" type="openejb:openejb-jarType"/>
+
+ <xs:complexType name="emptyType"/>
+
+ <xs:complexType name="openejb-jarType">
+ <xs:sequence>
+ <xs:element ref="sys:environment" minOccurs="0"/>
+
+ <!-- use a ref to put this element in the naming namespace rather than openejb namespace-->
+ <xs:element ref="naming:cmp-connection-factory" minOccurs="0"/>
+ <xs:element name="ejb-ql-compiler-factory" type="xs:string" minOccurs="0"/>
+ <xs:element name="db-syntax-factory" type="xs:string" minOccurs="0"/>
+ <xs:element name="enforce-foreign-key-constraints" type="openejb:emptyType" minOccurs="0"/>
+
+ <xs:element name="enterprise-beans">
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element name="session" type="openejb:session-beanType"/>
+ <xs:element name="entity" type="openejb:entity-beanType"/>
+ <xs:element name="message-driven" type="openejb:message-driven-beanType"/>
+ </xs:choice>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="relationships" type="openejb:relationshipsType" minOccurs="0">
+ <xs:unique name="relationship-name-uniqueness">
+ <xs:selector xpath="openejb:ejb-relation"/>
+ <xs:field xpath="openejb:ejb-relation-name"/>
+ </xs:unique>
+ </xs:element>
+
+ <xs:element ref="naming:message-destination" minOccurs="0" maxOccurs="unbounded"/>
+
+ <xs:element ref="app:security" minOccurs="0"/>
+ <xs:element ref="sys:service" minOccurs="0" maxOccurs="unbounded"/>
+ <!--<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>-->
+ </xs:sequence>
+ </xs:complexType>
+
+ <!-- session bean section-->
+ <xs:complexType name="session-beanType">
+ <xs:sequence>
+ <xs:element name="ejb-name" type="xs:string"/>
+ <xs:element name="jndi-name" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element name="local-jndi-name" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element name="cache-size" type="xs:int" minOccurs="0"/>
+ <xs:group ref="openejb:tssGroup" minOccurs="0"/>
+
+ <xs:group ref="naming:jndiEnvironmentRefsGroup"/>
+ <xs:element name="web-service-address" type="xs:string" minOccurs="0"/>
+ <xs:element name="web-service-virtual-host" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element name="web-service-security" type="openejb:web-service-securityType" minOccurs="0"/>
+ </xs:sequence>
+ <xs:attribute name="id" type="xs:ID"/>
+ </xs:complexType>
+
+ <xs:group name="tssGroup">
+ <xs:sequence>
+ <xs:choice>
+ <xs:element name="tss-link" type="xs:string"/>
+ <xs:element name="tss" type="naming:patternType"/>
+ </xs:choice>
+ </xs:sequence>
+ </xs:group>
+
+ <xs:complexType name="web-service-securityType">
+ <xs:sequence>
+ <xs:element name="security-realm-name" type="xs:string"/>
+ <xs:element name="realm-name" type="xs:string" minOccurs="0"/>
+ <xs:element name="transport-guarantee" type="openejb:transport-guaranteeType"/>
+ <xs:element name="auth-method" type="openejb:auth-methodType"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:simpleType name="transport-guaranteeType">
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="NONE"/>
+ <xs:enumeration value="INTEGRAL"/>
+ <xs:enumeration value="CONFIDENTIAL"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="auth-methodType">
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="BASIC"/>
+ <xs:enumeration value="DIGEST"/>
+ <xs:enumeration value="CLIENT-CERT"/>
+ <xs:enumeration value="NONE"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <!--entity bean section -->
+ <xs:complexType name="entity-beanType">
+ <xs:sequence>
+ <xs:element name="ejb-name" type="xs:string"/>
+ <xs:element name="jndi-name" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element name="local-jndi-name" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:group ref="openejb:tssGroup" minOccurs="0"/>
+
+ <xs:sequence minOccurs="0">
+ <xs:element name="table-name" type="xs:string"/>
+ <xs:element name="static-sql" type="openejb:emptyType" minOccurs="0"/>
+ <xs:element name="cmp-field-mapping" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="cmp-field-name" type="xs:string"/>
+ <xs:element name="cmp-field-class" type="xs:string" minOccurs="0"/>
+ <xs:element name="table-column" type="xs:string"/>
+ <xs:element name="sql-type" type="xs:string" minOccurs="0"/>
+ <xs:element name="type-converter" type="xs:string" minOccurs="0"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="primkey-field" type="xs:string" minOccurs="0"/>
+ <xs:element ref="pkgen:key-generator" minOccurs="0"/>
+ <xs:element name="prefetch-group" minOccurs="0">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="group" minOccurs="0" maxOccurs="unbounded"
+ type="openejb:groupType"/>
+ <xs:element name="entity-group-mapping" minOccurs="0"
+ type="openejb:entity-group-mappingType"/>
+ <xs:element name="cmp-field-group-mapping" minOccurs="0" maxOccurs="unbounded"
+ type="openejb:cmp-field-group-mappingType"/>
+ <xs:element name="cmr-field-group-mapping" minOccurs="0" maxOccurs="unbounded"
+ type="openejb:cmr-field-group-mappingType"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="select-for-update" type="openejb:emptyType" minOccurs="0"/>
+ </xs:sequence>
+
+ <xs:element name="cache" minOccurs="0">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="isolation-level">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="read-uncommitted"/>
+ <xs:enumeration value="read-committed"/>
+ <xs:enumeration value="repeatable-read"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="size" type="xs:int"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:group ref="naming:jndiEnvironmentRefsGroup"/>
+
+ <xs:element name="query" type="openejb:queryType" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ <xs:attribute name="id" type="xs:ID"/>
+ </xs:complexType>
+
+ <xs:complexType name="groupType">
+ <xs:sequence>
+ <xs:element name="group-name" type="xs:string"/>
+ <xs:element name="cmp-field-name" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element name="cmr-field" minOccurs="0" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="cmr-field-name" type="xs:string"/>
+ <xs:element name="group-name" type="xs:string" minOccurs="0"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="entity-group-mappingType">
+ <xs:sequence>
+ <xs:element name="group-name" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="cmp-field-group-mappingType">
+ <xs:sequence>
+ <xs:element name="group-name" type="xs:string"/>
+ <xs:element name="cmp-field-name" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="cmr-field-group-mappingType">
+ <xs:sequence>
+ <xs:element name="group-name" type="xs:string"/>
+ <xs:element name="cmr-field-name" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="queryType">
+ <xs:sequence>
+ <xs:element name="query-method">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="method-name" type="xs:string"/>
+ <xs:element name="method-params">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="method-param" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="result-type-mapping" minOccurs="0" type="xs:string"/>
+ <xs:element name="ejb-ql" type="xs:string" minOccurs="0"/>
+ <xs:element name="no-cache-flush" minOccurs="0"/>
+ <xs:element name="group-name" type="xs:string" minOccurs="0"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="relationshipsType">
+ <xs:sequence>
+ <xs:element name="ejb-relation" type="openejb:ejb-relationType" maxOccurs="unbounded">
+ <xs:unique name="role-name-uniqueness">
+ <xs:selector xpath=".//openejb:ejb-relationship-role-name"/>
+ <xs:field xpath="."/>
+ </xs:unique>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="ejb-relationType">
+ <xs:sequence>
+ <xs:element name="ejb-relation-name" type="xs:string" minOccurs="0"/>
+ <xs:element name="many-to-many-table-name" type="xs:string" minOccurs="0"/>
+ <xs:element name="ejb-relationship-role" type="openejb:ejb-relationship-roleType" maxOccurs="2"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="ejb-relationship-roleType">
+ <xs:sequence>
+ <xs:element name="ejb-relationship-role-name" type="xs:string" minOccurs="0"/>
+ <xs:element name="relationship-role-source">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="ejb-name" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="cmr-field" minOccurs="0">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="cmr-field-name" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="foreign-key-column-on-source" minOccurs="0"/>
+ <xs:element name="role-mapping">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="cmr-field-mapping" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="key-column" type="xs:string"/>
+ <xs:element name="foreign-key-column" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+
+ <!--message driven bean section-->
+ <xs:complexType name="message-driven-beanType">
+ <xs:sequence>
+ <xs:element name="ejb-name" type="xs:string"/>
+ <xs:element ref="naming:resource-adapter"/>
+ <xs:element name="activation-config"
+ type="openejb:activation-configType"
+ minOccurs="0"/>
+
+ <xs:group ref="naming:jndiEnvironmentRefsGroup"/>
+ </xs:sequence>
+ <xs:attribute name="id" type="xs:ID"/>
+ </xs:complexType>
+
+ <xs:complexType name="activation-configType">
+ <xs:sequence>
+ <xs:element name="description"
+ type="xs:string"
+ minOccurs="0"
+ maxOccurs="unbounded"/>
+ <xs:element name="activation-config-property"
+ type="openejb:activation-config-propertyType"
+ maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="activation-config-propertyType">
+ <xs:sequence>
+ <xs:element name="activation-config-property-name"
+ type="xs:string">
+ </xs:element>
+ <xs:element name="activation-config-property-value"
+ type="xs:string">
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+</xs:schema>
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/resources/openejb-jar-2.2.xsd
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/resources/openejb-jar-2.2.xsd
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.jee.v21.jaxbmodel/src/main/resources/openejb-jar-2.2.xsd
------------------------------------------------------------------------------
svn:mime-type = text/xml