geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From de...@apache.org
Subject svn commit: r812327 - in /geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.schemas: plugin.xml v22/openejb-jar-2.2.xsd v22/pkgen-2.1.xsd
Date Tue, 08 Sep 2009 02:47:04 GMT
Author: delos
Date: Tue Sep  8 02:47:04 2009
New Revision: 812327

URL: http://svn.apache.org/viewvc?rev=812327&view=rev
Log:
GERONIMODEVTOOLS-510 Deployment plan editor warning message when opening source tab for openejb-jar.xml
file

Added:
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.schemas/v22/openejb-jar-2.2.xsd
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.schemas/v22/pkgen-2.1.xsd
Modified:
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.schemas/plugin.xml

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.schemas/plugin.xml
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.schemas/plugin.xml?rev=812327&r1=812326&r2=812327&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.schemas/plugin.xml
(original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.schemas/plugin.xml
Tue Sep  8 02:47:04 2009
@@ -99,6 +99,14 @@
                name="http://geronimo.apache.org/xml/ns/plugins-1.3"
                uri="v22/plugins-1.3.xsd">
          </uri>
+          <uri
+               name="http://openejb.apache.org/xml/ns/openejb-jar-2.2"
+               uri="v22/openejb-jar-2.2.xsd">
+         </uri>
+            <uri
+               name="http://openejb.apache.org/xml/ns/pkgen-2.1"
+               uri="v22/pkgen-2.1.xsd">
+         </uri>
          </catalogContribution>
    </extension>
 

Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.schemas/v22/openejb-jar-2.2.xsd
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.schemas/v22/openejb-jar-2.2.xsd?rev=812327&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.schemas/v22/openejb-jar-2.2.xsd
(added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.schemas/v22/openejb-jar-2.2.xsd
Tue Sep  8 02:47:04 2009
@@ -0,0 +1,395 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<!--
+/**
+  * 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.
+  */
+-->
+
+<xs:schema elementFormDefault="qualified" version="1.0"
+    targetNamespace="http://openejb.apache.org/xml/ns/openejb-jar-2.2"
+    xmlns:tns="http://openejb.apache.org/xml/ns/openejb-jar-2.2"
+    xmlns:pkgen="http://openejb.apache.org/xml/ns/pkgen-2.1"
+    xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2"
+    xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.2"
+    xmlns:ns1="http://geronimo.apache.org/xml/ns/security-2.0"
+    xmlns:app="http://geronimo.apache.org/xml/ns/j2ee/application-2.0"
+    xmlns:ee="http://java.sun.com/xml/ns/persistence"
+    xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+    <xs:import namespace="http://geronimo.apache.org/xml/ns/deployment-1.2" schemaLocation="geronimo-module-1.2.xsd"/>
+    <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/j2ee/application-2.0" schemaLocation="geronimo-application-2.0.xsd"/>
+    <xs:import namespace="http://geronimo.apache.org/xml/ns/security-2.0" schemaLocation="geronimo-security-2.0.xsd"/>
+    <xs:import namespace="http://java.sun.com/xml/ns/persistence" schemaLocation="http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"/>
+    <xs:import namespace="http://openejb.apache.org/xml/ns/pkgen-2.1" schemaLocation="pkgen-2.1.xsd"/>
+
+    <xs:element name="jndi" nillable="true">
+        <xs:complexType>
+            <xs:sequence/>
+            <xs:attribute name="name" type="xs:string"/>
+            <xs:attribute name="interface" type="xs:string"/>
+        </xs:complexType>
+    </xs:element>
+
+    <xs:element name="openejb-jar" nillable="true" type="tns:openejb-jarType"/>
+
+    <xs:complexType name="openejb-jarType">
+        <xs:sequence>
+            <xs:element ref="sys:environment" minOccurs="0"/>
+            <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="tns:emptyType" minOccurs="0"/>
+            <xs:element name="enterprise-beans" minOccurs="0">
+                <xs:complexType>
+                    <xs:choice maxOccurs="unbounded">
+                        <xs:element name="message-driven" type="tns:message-driven-beanType"/>
+                        <xs:element name="session" type="tns:session-beanType"/>
+                        <xs:element name="entity" type="tns:entity-beanType"/>
+                    </xs:choice>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="relationships" minOccurs="0">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element name="ejb-relation" type="tns:ejb-relationType" maxOccurs="unbounded"/>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:element ref="naming:message-destination" maxOccurs="unbounded" minOccurs="0"/>
+            <xs:element ref="app:security" minOccurs="0"/>
+            <!-- xs:element ref="ns1:security" minOccurs="0"/ -->
+            <xs:choice maxOccurs="unbounded" minOccurs="0">
+                <xs:element ref="sys:service"/>
+                <!-- xs:element ref="sys:gbean"/ -->
+            </xs:choice>
+            <xs:element ref="ee:persistence" maxOccurs="unbounded" minOccurs="0"/>
+        </xs:sequence>
+    </xs:complexType>
+
+    <xs:complexType name="emptyType"/>
+
+    <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="tns:activation-configType" minOccurs="0"/>
+            <xs:choice maxOccurs="unbounded">
+                <xs:element ref="naming:abstract-naming-entry"/>
+                <!-- xs:element ref="naming:persistence-context-ref"/ -->
+                <!-- xs:element ref="naming:gbean-ref"/ -->
+            </xs:choice>
+            <!-- xs:element ref="naming:persistence-context-ref" maxOccurs="unbounded"
minOccurs="0"/ -->
+            <!-- xs:element ref="naming:persistence-unit-ref" maxOccurs="unbounded" minOccurs="0"/
-->
+            <xs:element ref="naming:ejb-ref" maxOccurs="unbounded" minOccurs="0"/>
+            <xs:element ref="naming:ejb-local-ref" maxOccurs="unbounded" minOccurs="0"/>
+            <xs:element ref="naming:service-ref" maxOccurs="unbounded" minOccurs="0"/>
+            <xs:element ref="naming:resource-ref" maxOccurs="unbounded" minOccurs="0"/>
+            <xs:element ref="naming:resource-env-ref" maxOccurs="unbounded" minOccurs="0"/>
+        </xs:sequence>
+        <xs:attribute name="id" type="xs:ID"/>
+    </xs:complexType>
+
+    <xs:complexType name="session-beanType">
+        <xs:sequence>
+            <xs:element name="ejb-name" type="xs:string"/>
+            <xs:element name="jndi-name" type="xs:string" maxOccurs="unbounded" minOccurs="0"/>
+            <xs:element name="local-jndi-name" type="xs:string" maxOccurs="unbounded"
minOccurs="0"/>
+            <xs:element ref="tns:jndi" maxOccurs="unbounded" minOccurs="0"/>
+            <xs:element name="cache-size" type="xs:int" minOccurs="0"/>
+            <xs:element name="tss-link" type="xs:string" minOccurs="0"/>
+            <xs:element name="tss" type="naming:patternType" minOccurs="0"/>
+            <xs:choice maxOccurs="unbounded">
+                <xs:element ref="naming:abstract-naming-entry"/>
+                <!-- xs:element ref="naming:persistence-context-ref"/ -->
+                <!-- xs:element ref="naming:gbean-ref"/ -->
+            </xs:choice>
+            <!-- xs:element ref="naming:persistence-context-ref" maxOccurs="unbounded"
minOccurs="0"/ -->
+            <!-- xs:element ref="naming:persistence-unit-ref" maxOccurs="unbounded" minOccurs="0"/
-->
+            <xs:element ref="naming:ejb-ref" maxOccurs="unbounded" minOccurs="0"/>
+            <xs:element ref="naming:ejb-local-ref" maxOccurs="unbounded" minOccurs="0"/>
+            <xs:element ref="naming:service-ref" maxOccurs="unbounded" minOccurs="0"/>
+            <xs:element ref="naming:resource-ref" maxOccurs="unbounded" minOccurs="0"/>
+            <xs:element ref="naming:resource-env-ref" maxOccurs="unbounded" minOccurs="0"/>
+            <xs:element name="web-service-address" type="xs:string" minOccurs="0"/>
+            <xs:element name="web-service-virtual-host" type="xs:string" maxOccurs="unbounded"
minOccurs="0"/>
+            <xs:element name="web-service-security" type="tns:web-service-securityType"
minOccurs="0"/>
+        </xs:sequence>
+        <xs:attribute name="id" type="xs:ID"/>
+    </xs:complexType>
+
+    <xs:complexType name="entity-beanType">
+        <xs:sequence>
+            <xs:element name="ejb-name" type="xs:string"/>
+            <xs:element name="jndi-name" type="xs:string" maxOccurs="unbounded" minOccurs="0"/>
+            <xs:element name="local-jndi-name" type="xs:string" maxOccurs="unbounded"
minOccurs="0"/>
+            <xs:element ref="tns:jndi" maxOccurs="unbounded" minOccurs="0"/>
+            <xs:element name="tss-link" type="xs:string" minOccurs="0"/>
+            <xs:element name="tss" type="naming:patternType" minOccurs="0"/>
+            <xs:element name="table-name" type="xs:string" minOccurs="0"/>
+            <xs:element name="static-sql" type="tns:emptyType" minOccurs="0"/>
+            <xs:element name="cmp-field-mapping" maxOccurs="unbounded" minOccurs="0">
+                <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" type="tns:groupType" maxOccurs="unbounded"
minOccurs="0"/>
+                        <xs:element name="entity-group-mapping" type="tns:entity-group-mappingType"
minOccurs="0"/>
+                        <xs:element name="cmp-field-group-mapping" type="tns:cmp-field-group-mappingType"
maxOccurs="unbounded" minOccurs="0"/>
+                        <xs:element name="cmr-field-group-mapping" type="tns:cmr-field-group-mappingType"
maxOccurs="unbounded" minOccurs="0"/>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="select-for-update" type="tns:emptyType" minOccurs="0"/>
+            <xs:element name="cache" minOccurs="0">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element name="isolation-level" type="xs:string"/>
+                        <xs:element name="size" type="xs:int"/>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:choice maxOccurs="unbounded">
+                <xs:element ref="naming:abstract-naming-entry"/>
+                <!-- xs:element ref="naming:persistence-context-ref"/ -->
+                <!-- xs:element ref="naming:gbean-ref"/ -->
+            </xs:choice>
+            <!-- xs:element ref="naming:persistence-context-ref" maxOccurs="unbounded"
minOccurs="0"/ -->
+            <!-- xs:element ref="naming:persistence-unit-ref" maxOccurs="unbounded" minOccurs="0"/
-->
+            <xs:element ref="naming:ejb-ref" maxOccurs="unbounded" minOccurs="0"/>
+            <xs:element ref="naming:ejb-local-ref" maxOccurs="unbounded" minOccurs="0"/>
+            <xs:element ref="naming:service-ref" maxOccurs="unbounded" minOccurs="0"/>
+            <xs:element ref="naming:resource-ref" maxOccurs="unbounded" minOccurs="0"/>
+            <xs:element ref="naming:resource-env-ref" maxOccurs="unbounded" minOccurs="0"/>
+            <xs:element name="query" type="tns:queryType" maxOccurs="unbounded" minOccurs="0"/>
+        </xs:sequence>
+        <xs:attribute name="id" type="xs:ID"/>
+    </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="tns:ejb-relationship-roleType"
maxOccurs="unbounded"/>
+        </xs:sequence>
+    </xs:complexType>
+
+    <xs:complexType name="activation-configType">
+        <xs:sequence>
+            <xs:element name="description" type="xs:string" maxOccurs="unbounded" minOccurs="0"/>
+            <xs:element name="activation-config-property" type="tns: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 name="activation-config-property-value" type="xs:string"/>
+        </xs:sequence>
+    </xs:complexType>
+ 
+
+    <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="tns:transportGuaranteeType"/>
+            <xs:element name="auth-method" type="tns:authMethodType"/>
+            <xs:element name="http-method" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
+        </xs:sequence>
+    </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" maxOccurs="unbounded" minOccurs="0"/>
+            <xs:element name="cmr-field" maxOccurs="unbounded" minOccurs="0">
+                <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" maxOccurs="unbounded"
minOccurs="0"/>
+                                </xs:sequence>
+                            </xs:complexType>
+                        </xs:element>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="result-type-mapping" type="xs:string" minOccurs="0"/>
+            <xs:element name="ejb-ql" type="xs:string" minOccurs="0"/>
+            <xs:element name="no-cache-flush" type="xs:anyType" minOccurs="0"/>
+            <xs:element name="group-name" type="xs:string" minOccurs="0"/>
+        </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" type="tns:emptyType" 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>
+
+    <xs:simpleType name="transportGuaranteeType">
+        <xs:restriction base="xs:string">
+            <xs:enumeration value="CONFIDENTIAL"/>
+            <xs:enumeration value="INTEGRAL"/>
+            <xs:enumeration value="NONE"/>
+        </xs:restriction>
+    </xs:simpleType>
+
+    <xs:simpleType name="authMethodType">
+        <xs:restriction base="xs:string">
+            <xs:enumeration value="NONE"/>
+            <xs:enumeration value="CLIENT-CERT"/>
+            <xs:enumeration value="DIGEST"/>
+            <xs:enumeration value="BASIC"/>
+        </xs:restriction>
+    </xs:simpleType>
+    
+
+    <xs:complexType name="abstract-naming-entryType" abstract="true"/>
+
+    <xs:complexType name="jaxbOpenejbJar2"/>
+
+    <xs:simpleType name="importType">
+        <xs:restriction base="xs:string">
+            <xs:enumeration value="services"/>
+            <xs:enumeration value="classes"/>
+        </xs:restriction>
+    </xs:simpleType>
+
+    <xs:simpleType name="persistenceContextTypeType">
+        <xs:restriction base="xs:string">
+            <xs:enumeration value="extended"/>
+            <xs:enumeration value="transaction-scoped"/>
+        </xs:restriction>
+    </xs:simpleType>
+
+    <!-- Already defined in geronimo-naming-1.2.xsd file 
+        
+        <xs:complexType name="ejb-refType">
+            <xs:sequence>
+                <xs:element ref="naming:ref-name"/>
+                <xs:element ref="naming:pattern" minOccurs="0"/>
+                <xs:element ref="naming:ns-corbaloc" minOccurs="0"/>
+                <xs:element ref="naming:name" minOccurs="0"/>
+                <xs:element ref="naming:css" minOccurs="0"/>
+                <xs:element ref="naming:css-link" minOccurs="0"/>
+                <xs:element ref="naming:ejb-link" minOccurs="0"/>
+            </xs:sequence>
+        </xs:complexType>
+    
+        <xs:complexType name="gbean-refType">
+            <xs:complexContent>
+                <xs:extension base="tns:abstract-naming-entryType">
+                    <xs:sequence>
+                        <xs:element name="ref-name" type="xs:string"/>
+                        <xs:element name="ref-type" type="xs:string" maxOccurs="unbounded"
minOccurs="0"/>
+                        <xs:element name="pattern" type="naming:patternType" nillable="true"
maxOccurs="unbounded" minOccurs="0"/>
+                    </xs:sequence>
+                </xs:extension>
+            </xs:complexContent>
+        </xs:complexType>
+    
+        <xs:complexType name="gbean-locatorType">
+            <xs:sequence>
+                <xs:element name="pattern" type="naming:patternType" minOccurs="0"/>
+                <xs:element name="gbean-link" type="xs:string" minOccurs="0"/>
+            </xs:sequence>
+        </xs:complexType>
+    
+        -->
+
+
+    
+    
+    
+
+</xs:schema>

Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.schemas/v22/pkgen-2.1.xsd
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.schemas/v22/pkgen-2.1.xsd?rev=812327&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.schemas/v22/pkgen-2.1.xsd
(added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.schemas/v22/pkgen-2.1.xsd
Tue Sep  8 02:47:04 2009
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<!--
+/**
+  * 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.
+  */
+-->
+<xs:schema version="1.0" targetNamespace="http://openejb.apache.org/xml/ns/pkgen-2.1"
xmlns:tns="http://openejb.apache.org/xml/ns/pkgen-2.1" xmlns:ns1="http://openejb.apache.org/xml/ns/openejb-jar-2.2"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+  <xs:element name="key-generator" nillable="true" type="tns:key-generatorType"/>
+
+  <xs:complexType name="auto-increment-tableType">
+    <xs:sequence>
+      <xs:element name="sql" type="xs:string" form="qualified"/>
+      <xs:element name="return-type" type="xs:string" form="qualified"/>
+    </xs:sequence>
+  </xs:complexType>
+
+  <xs:complexType name="sequence-tableType">
+    <xs:sequence>
+      <xs:element name="table-name" type="xs:string" form="qualified"/>
+      <xs:element name="sequence-name" type="xs:string" form="qualified"/>
+      <xs:element name="batch-size" type="xs:int" form="qualified"/>
+    </xs:sequence>
+  </xs:complexType>
+
+  <xs:complexType name="sql-generatorType">
+    <xs:sequence>
+      <xs:element name="sql" type="xs:string" form="qualified"/>
+      <xs:element name="return-type" type="xs:string" form="qualified"/>
+    </xs:sequence>
+  </xs:complexType>
+
+  <xs:complexType name="custom-generatorType">
+    <xs:sequence>
+      <xs:element name="generator-name" type="xs:string" form="qualified"/>
+      <xs:element name="primary-key-class" type="xs:string" form="qualified"/>
+    </xs:sequence>
+  </xs:complexType>
+
+
+  <xs:complexType name="emptyType" />
+
+  <xs:complexType name="key-generatorType">
+    <xs:sequence>
+      <xs:element name="uuid" type="tns:emptyType" form="qualified" minOccurs="0"/>
+      <xs:element name="sequence-table" type="tns:sequence-tableType" form="qualified"
minOccurs="0"/>
+      <xs:element name="auto-increment-table" type="tns:auto-increment-tableType" form="qualified"
minOccurs="0"/>
+      <xs:element name="sql-generator" type="tns:sql-generatorType" form="qualified" minOccurs="0"/>
+      <xs:element name="custom-generator" type="tns:custom-generatorType" form="qualified"
minOccurs="0"/>
+    </xs:sequence>
+  </xs:complexType>
+
+  <xs:complexType name="database-generatedType">
+    <xs:sequence>
+      <xs:element name="identity-column" type="xs:string" form="qualified" maxOccurs="unbounded"/>
+    </xs:sequence>
+  </xs:complexType>
+</xs:schema>



Mime
View raw message