iterator = keys.iterator(); iterator.hasNext();)
+ {
+ final String key = iterator.next();
+ transformer.setParameter(key, parameters.get(key));
+ }
+ }
+}
diff --git a/cli/src/main/resources/META-INF/services/org.jboss.shrinkwrap.descriptor.api.datasources10.DatasourcesDescriptor b/cli/src/main/resources/META-INF/services/org.jboss.shrinkwrap.descriptor.api.datasources10.DatasourcesDescriptor
new file mode 100644
index 00000000..3a42f91a
--- /dev/null
+++ b/cli/src/main/resources/META-INF/services/org.jboss.shrinkwrap.descriptor.api.datasources10.DatasourcesDescriptor
@@ -0,0 +1,3 @@
+implClass=org.jboss.shrinkwrap.descriptor.impl.datasources10.DatasourcesDescriptorImpl
+importerClass=org.jboss.shrinkwrap.descriptor.spi.node.dom.XmlDomNodeDescriptorImporterImpl
+defaultName=datasources.xml
\ No newline at end of file
diff --git a/cli/src/main/resources/META-INF/services/org.jboss.shrinkwrap.descriptor.api.ironjacamar10.IronjacamarDescriptor b/cli/src/main/resources/META-INF/services/org.jboss.shrinkwrap.descriptor.api.ironjacamar10.IronjacamarDescriptor
new file mode 100644
index 00000000..9c3ca305
--- /dev/null
+++ b/cli/src/main/resources/META-INF/services/org.jboss.shrinkwrap.descriptor.api.ironjacamar10.IronjacamarDescriptor
@@ -0,0 +1,3 @@
+implClass=org.jboss.shrinkwrap.descriptor.impl.ironjacamar10.IronjacamarDescriptorImpl
+importerClass=org.jboss.shrinkwrap.descriptor.spi.node.dom.XmlDomNodeDescriptorImporterImpl
+defaultName=ironjacamar.xml
\ No newline at end of file
diff --git a/cli/src/main/resources/META-INF/services/org.jboss.shrinkwrap.descriptor.api.resourceadapters10.ResourceAdaptersDescriptor b/cli/src/main/resources/META-INF/services/org.jboss.shrinkwrap.descriptor.api.resourceadapters10.ResourceAdaptersDescriptor
new file mode 100644
index 00000000..33ab8e4e
--- /dev/null
+++ b/cli/src/main/resources/META-INF/services/org.jboss.shrinkwrap.descriptor.api.resourceadapters10.ResourceAdaptersDescriptor
@@ -0,0 +1,3 @@
+implClass=org.jboss.shrinkwrap.descriptor.impl.resourceadapters10.ResourceAdaptersDescriptorImpl
+importerClass=org.jboss.shrinkwrap.descriptor.spi.node.dom.XmlDomNodeDescriptorImporterImpl
+defaultName=resourceadapters.xml
\ No newline at end of file
diff --git a/cli/src/main/resources/log4j.properties b/cli/src/main/resources/log4j.properties
new file mode 100644
index 00000000..2ef18971
--- /dev/null
+++ b/cli/src/main/resources/log4j.properties
@@ -0,0 +1,6 @@
+# Default Logging Configuration
+
+log4j.rootLogger=INFO, stdout
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %-5p %x - %m\n
\ No newline at end of file
diff --git a/cli/src/test/java/org/jboss/shrinkwrap/descriptor/cli/MainTest.java b/cli/src/test/java/org/jboss/shrinkwrap/descriptor/cli/MainTest.java
new file mode 100644
index 00000000..1ecc7fa2
--- /dev/null
+++ b/cli/src/test/java/org/jboss/shrinkwrap/descriptor/cli/MainTest.java
@@ -0,0 +1,13 @@
+package org.jboss.shrinkwrap.descriptor.cli;
+
+import org.junit.Test;
+
+
+public class MainTest
+{
+ @Test
+ public void testExternalMetaDataXml() throws Exception
+ {
+ Main.main(new String[]{"-c", "src/test/resources/ironjacamar.properties"});
+ }
+}
diff --git a/cli/src/test/resources/ironjacamar.properties b/cli/src/test/resources/ironjacamar.properties
new file mode 100644
index 00000000..73c7a7dc
--- /dev/null
+++ b/cli/src/test/resources/ironjacamar.properties
@@ -0,0 +1,8 @@
+descriptor.cli.working.dir=target/ironjacamar
+descriptor.cli.path.relative.path.ctx=../../../../gen/src/main/resources/xslt/
+descriptor.cli.path.context.xml=src/test/resources/xml/schemasIronJacamar.xml
+descriptor.cli.path.ext.metadata.xml=../gen/src/main/resources/xslt/metadata.xsl
+descriptor.cli.path.ext.ddjava.xml=../gen/src/main/resources/xslt/ddJava.xsl
+descriptor.cli.result.dir.api=../../src/test/java
+descriptor.cli.result.dir.impl=../../src/test/java
+descriptor.cli.result.dir.test=../../src/test/java
\ No newline at end of file
diff --git a/cli/src/test/resources/test.properties b/cli/src/test/resources/test.properties
new file mode 100644
index 00000000..11336230
--- /dev/null
+++ b/cli/src/test/resources/test.properties
@@ -0,0 +1,2 @@
+descriptor.cli.path.context.xml=src/test/resources/xml/schemasIronJacamar.xml
+descriptor.cli.path.input.xsd=src/test/resources/xsd
\ No newline at end of file
diff --git a/cli/src/test/resources/test2.properties b/cli/src/test/resources/test2.properties
new file mode 100644
index 00000000..48d913bf
--- /dev/null
+++ b/cli/src/test/resources/test2.properties
@@ -0,0 +1,7 @@
+descriptor.cli.working.dir=target/test
+descriptor.cli.path.context.xml=src/test/resources/xml/schemasIronJacamar.xml
+descriptor.cli.path.ext.metadata.xml=../gen/src/main/resources/xslt/metadata.xsl
+descriptor.cli.path.ext.ddjava.xml=../gen/src/main/resources/xslt/ddJava.xsl
+descriptor.cli.result.dir.api=src/main/java
+descriptor.cli.result.dir.impl=src/main/java
+descriptor.cli.result.dir.test=src/test/java
\ No newline at end of file
diff --git a/cli/src/test/resources/xml/copyright.xml b/cli/src/test/resources/xml/copyright.xml
new file mode 100644
index 00000000..a29b4ea5
--- /dev/null
+++ b/cli/src/test/resources/xml/copyright.xml
@@ -0,0 +1,19 @@
+
+
+ /*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat Middleware LLC, and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * Licensed 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.
+ */
+
diff --git a/cli/src/test/resources/xml/ddJava.xsl b/cli/src/test/resources/xml/ddJava.xsl
new file mode 100644
index 00000000..5c69adba
--- /dev/null
+++ b/cli/src/test/resources/xml/ddJava.xsl
@@ -0,0 +1,1022 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
{
+
+
+ _
+
+ ("
+
+ ")
+
+ ,
+
+
+
+ ;
+
+
+ private String value;
+
+
+
+
+ (String value)
+ { this.value = value; }
+
+
+ public String toString() {return value;}
+
+
+
+
+
+
+
+
+
+
+
}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ : :
+
+
+
+
+
+
+
+
+
+
+
+ <T>
+ extends Child<T>
+
+ {
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ }
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ import org.jboss.shrinkwrap.descriptor.api.Descriptor;
+ import org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace;
+
+
+
+
{
+
+
+
+
+
+
+
+
+
+
+
+ }
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ import org.jboss.shrinkwrap.descriptor.spi.node.Node;
+
+
+
+
+
+
+
+
+ <T>
+ implements Child<T>,
+
+
+ {
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ }
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ import org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace;
+ import org.jboss.shrinkwrap.descriptor.spi.node.NodeDescriptorImplBase;
+ import org.jboss.shrinkwrap.descriptor.impl.base.XMLDate;
+ import org.jboss.shrinkwrap.descriptor.spi.node.Node;
+
+
+
+
+
+
{
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ import org.jboss.shrinkwrap.descriptor.spi.node.Node;
+ import org.jboss.shrinkwrap.descriptor.gen.TestDescriptorImpl;
+ import org.jboss.shrinkwrap.descriptor.api.Descriptors;
+ import org.junit.Test;
+ import static org.junit.Assert.*;
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ }
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/cli/src/test/resources/xml/schemasIronJacamar.xml b/cli/src/test/resources/xml/schemasIronJacamar.xml
new file mode 100644
index 00000000..7a4780f4
--- /dev/null
+++ b/cli/src/test/resources/xml/schemasIronJacamar.xml
@@ -0,0 +1,43 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/cli/src/test/resources/xml/test-gen-ironjacamar.xml b/cli/src/test/resources/xml/test-gen-ironjacamar.xml
new file mode 100644
index 00000000..98f650fd
--- /dev/null
+++ b/cli/src/test/resources/xml/test-gen-ironjacamar.xml
@@ -0,0 +1,102 @@
+
+
+
+ bean-validation-group0
+ bean-validation-group1
+
+ bootstrap-context0
+ config-property0
+ config-property1
+ NoTransaction
+
+
+ config-property2
+ config-property3
+
+ 50
+ 50
+ false
+ false
+ flush-strategy0
+
+
+ security-domain-and-application0
+
+
+ 50
+ 50
+ 50
+ 50
+ 50
+
+
+ false
+ 50
+ false
+
+
+
+ user-name0
+ password0
+ security-domain0
+
+
+ config-property4
+
+
+
+
+ config-property5
+ config-property6
+
+ 50
+ 50
+ false
+ false
+ flush-strategy1
+ false
+
+
+ false
+ false
+
+
+ security-domain-and-application1
+
+
+ 50
+ 50
+ 50
+ 50
+ 50
+
+
+ false
+ 50
+ false
+
+
+
+ user-name1
+ password1
+ security-domain1
+
+
+ config-property7
+
+
+
+
+
+
+ config-property8
+ config-property9
+
+
+ config-property10
+ config-property11
+
+
+
diff --git a/cli/src/test/resources/xsd/connector_1_0.dtd b/cli/src/test/resources/xsd/connector_1_0.dtd
new file mode 100644
index 00000000..bf869551
--- /dev/null
+++ b/cli/src/test/resources/xsd/connector_1_0.dtd
@@ -0,0 +1,468 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/cli/src/test/resources/xsd/connector_1_0.xsd b/cli/src/test/resources/xsd/connector_1_0.xsd
new file mode 100644
index 00000000..67ad3601
--- /dev/null
+++ b/cli/src/test/resources/xsd/connector_1_0.xsd
@@ -0,0 +1,645 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/cli/src/test/resources/xsd/connector_1_5.xsd b/cli/src/test/resources/xsd/connector_1_5.xsd
new file mode 100644
index 00000000..43536ab0
--- /dev/null
+++ b/cli/src/test/resources/xsd/connector_1_5.xsd
@@ -0,0 +1,1035 @@
+
+
+
+
+ @(#)connector_1_5.xsds 1.27 06/17/03
+
+
+
+
+
+
+ Copyright 2003 Sun Microsystems, Inc., 901 San Antonio
+ Road, Palo Alto, California 94303, U.S.A. All rights
+ reserved.
+
+ Sun Microsystems, Inc. has intellectual property rights
+ relating to technology described in this document. In
+ particular, and without limitation, these intellectual
+ property rights may include one or more of the U.S. patents
+ listed at http://www.sun.com/patents and one or more
+ additional patents or pending patent applications in the
+ U.S. and other countries.
+
+ This document and the technology which it describes are
+ distributed under licenses restricting their use, copying,
+ distribution, and decompilation. No part of this document
+ may be reproduced in any form by any means without prior
+ written authorization of Sun and its licensors, if any.
+
+ Third-party software, including font technology, is
+ copyrighted and licensed from Sun suppliers.
+
+ Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,
+ JavaServer Pages, Enterprise JavaBeans and the Java Coffee
+ Cup logo are trademarks or registered trademarks of Sun
+ Microsystems, Inc. in the U.S. and other countries.
+
+ Federal Acquisitions: Commercial Software - Government Users
+ Subject to Standard License Terms and Conditions.
+
+
+
+
+
+
+
+ ...
+
+
+ The instance documents may indicate the published version of
+ the schema using the xsi:schemaLocation attribute for J2EE
+ namespace with the following location:
+
+ http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd
+
+ ]]>
+
+
+
+
+
+
+ The following conventions apply to all J2EE
+ deployment descriptor elements unless indicated otherwise.
+
+ - In elements that specify a pathname to a file within the
+ same JAR file, relative filenames (i.e., those not
+ starting with "/") are considered relative to the root of
+ the JAR file's namespace. Absolute filenames (i.e., those
+ starting with "/") also specify names in the root of the
+ JAR file's namespace. In general, relative names are
+ preferred. The exception is .war files where absolute
+ names are preferred for consistency with the Servlet API.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ The connector element is the root element of the deployment
+ descriptor for the resource adapter. This element includes
+ general information - vendor name, resource adapter version,
+ icon - about the resource adapter module. It also includes
+ information specific to the implementation of the resource
+ adapter library as specified through the element
+ resourceadapter.
+
+
+
+
+
+
+
+
+
+
+
+
+ The activationspecType specifies an activation
+ specification. The information includes fully qualified
+ Java class name of an activation specification and a set of
+ required configuration property names.
+
+
+
+
+
+
+
+
+ com.wombat.ActivationSpecImpl
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ The adminobjectType specifies information about an
+ administered object. Administered objects are specific to a
+ messaging style or message provider. This contains
+ information on the Java type of the interface implemented by
+ an administered object, its Java class name and its
+ configuration properties.
+
+
+
+
+
+
+
+
+ javax.jms.Destination
+
+
+ ]]>
+
+
+
+
+
+
+
+ com.wombat.DestinationImpl
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ The authentication-mechanismType specifies an authentication
+ mechanism supported by the resource adapter. Note that this
+ support is for the resource adapter and not for the
+ underlying EIS instance. The optional description specifies
+ any resource adapter specific requirement for the support of
+ security contract and authentication mechanism.
+
+ Note that BasicPassword mechanism type should support the
+ javax.resource.spi.security.PasswordCredential interface.
+ The Kerbv5 mechanism type should support the
+ org.ietf.jgss.GSSCredential interface or the deprecated
+ javax.resource.spi.security.GenericCredential interface.
+
+
+
+
+
+
+
+
+
+ BasicPassword
+
+
+ Kerbv5
+
+
+ Any additional security mechanisms are outside the
+ scope of the Connector architecture specification.
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ServerName
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+ java.lang.String
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ The config-propertyType contains a declaration of a single
+ configuration property that may be used for providing
+ configuration information.
+
+ The declaration consists of an optional description, name,
+ type and an optional value of the configuration property. If
+ the resource adapter provider does not specify a value than
+ the deployer is responsible for providing a valid value for
+ a configuration property.
+
+ Any bounds or well-defined values of properties should be
+ described in the description element.
+
+
+
+
+
+
+
+
+
+
+ WombatServer
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ The connection-definitionType defines a set of connection
+ interfaces and classes pertaining to a particular connection
+ type. This also includes configurable properties for
+ ManagedConnectionFactory instances that may be produced out
+ of this set.
+
+
+
+
+
+
+
+
+
+ com.wombat.ManagedConnectionFactoryImpl
+
+
+ ]]>
+
+
+
+
+
+
+
+ com.wombat.ConnectionFactory
+
+
+ OR
+
+ javax.resource.cci.ConnectionFactory
+
+
+ ]]>
+
+
+
+
+
+
+
+ com.wombat.ConnectionFactoryImpl
+
+
+ ]]>
+
+
+
+
+
+
+ javax.resource.cci.Connection
+
+
+ ]]>
+
+
+
+
+
+
+ com.wombat.ConnectionImpl
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ The connectorType defines a resource adapter.
+
+
+
+
+
+
+
+
+
+
+ The element vendor-name specifies the name of
+ resource adapter provider vendor.
+
+
+
+
+
+
+
+
+ The element eis-type contains information about the
+ type of the EIS. For example, the type of an EIS can
+ be product name of EIS independent of any version
+ info.
+
+ This helps in identifying EIS instances that can be
+ used with this resource adapter.
+
+
+
+
+
+
+
+
+ The element resourceadapter-version specifies a string-based version
+ of the resource adapter from the resource adapter
+ provider.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ The version specifies the version of the
+ connector architecture specification that is
+ supported by this resource adapter. This information
+ enables deployer to configure the resource adapter to
+ support deployment and runtime requirements of the
+ corresponding connector architecture specification.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ The credential-interfaceType specifies the
+ interface that the resource adapter implementation
+ supports for the representation of the
+ credentials. This element(s) that use this type,
+ i.e. credential-interface, should be used by
+ application server to find out the Credential
+ interface it should use as part of the security
+ contract.
+
+ The possible values are:
+
+ javax.resource.spi.security.PasswordCredential
+ org.ietf.jgss.GSSCredential
+ javax.resource.spi.security.GenericCredential
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ The inbound-resourceadapterType specifies information
+ about an inbound resource adapter. This contains information
+ specific to the implementation of the resource adapter
+ library as specified through the messageadapter element.
+
+
+
+
+
+
+
+
+
+
+ The messagelistener-type element content must be
+ unique in the messageadapter. Several messagelisteners
+ can not use the same messagelistener-type.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ The licenseType specifies licensing requirements for the
+ resource adapter module. This type specifies whether a
+ license is required to deploy and use this resource adapter,
+ and an optional description of the licensing terms
+ (examples: duration of license, number of connection
+ restrictions). It is used by the license element.
+
+
+
+
+
+
+
+
+
+
+ The element license-required specifies whether a
+ license is required to deploy and use the
+ resource adapter. This element must be one of
+ the following, "true" or "false".
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ The messageadapterType specifies information about the
+ messaging capabilities of the resource adapter. This
+ contains information specific to the implementation of the
+ resource adapter library as specified through the
+ messagelistener element.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ The messagelistenerType specifies information about a
+ specific message listener supported by the messaging
+ resource adapter. It contains information on the Java type
+ of the message listener interface and an activation
+ specification.
+
+
+
+
+
+
+
+
+ javax.jms.MessageListener
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ The outbound-resourceadapterType specifies information about
+ an outbound resource adapter. The information includes fully
+ qualified names of classes/interfaces required as part of
+ the connector architecture specified contracts for
+ connection management, level of transaction support
+ provided, one or more authentication mechanisms supported
+ and additional required security permissions.
+
+ If there is no authentication-mechanism specified as part of
+ resource adapter element then the resource adapter does not
+ support any standard security authentication mechanisms as
+ part of security contract. The application server ignores
+ the security part of the system contracts in this case.
+
+
+
+
+
+
+
+
+
+
+
+
+ The element reauthentication-support specifies
+ whether the resource adapter implementation supports
+ re-authentication of existing Managed- Connection
+ instance. Note that this information is for the
+ resource adapter implementation and not for the
+ underlying EIS instance. This element must have
+ either a "true" or "false" value.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Destination
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ The resourceadapterType specifies information about the
+ resource adapter. The information includes fully qualified
+ resource adapter Java class name, configuration properties,
+ information specific to the implementation of the resource
+ adapter library as specified through the
+ outbound-resourceadapter and inbound-resourceadapter
+ elements, and an optional set of administered objects.
+
+
+
+
+
+
+
+
+
+ The element resourceadapter-class specifies the
+ fully qualified name of a Java class that implements
+ the javax.resource.spi.ResourceAdapter
+ interface. This Java class is provided as part of
+ resource adapter's implementation of connector
+ architecture specified contracts. The implementation
+ of this class is required to be a JavaBean.
+
+
+
+
+
+
+
+
+
+
+
+ The connectionfactory-interface element content
+ must be unique in the outbound-resourceadapter.
+ Multiple connection-definitions can not use the
+ same connectionfactory-type.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ The security-permissionType specifies a security
+ permission that is required by the resource adapter code.
+
+ The security permission listed in the deployment descriptor
+ are ones that are different from those required by the
+ default permission set as specified in the connector
+ specification. The optional description can mention specific
+ reason that resource adapter requires a given security
+ permission.
+
+
+
+
+
+
+
+
+
+
+ The element security-permission-spec specifies a security
+ permission based on the Security policy file
+ syntax. Refer to the following URL for Sun's
+ implementation of the security permission
+ specification:
+
+ http://java.sun.com/products/jdk/1.4/docs/guide/security/PolicyFiles.html#FileSyntax
+
+
+
+
+
+
+
+
+
+
+
+
+
+ The transaction-supportType specifies the level of
+ transaction support provided by the resource adapter. It is
+ used by transaction-support elements.
+
+ The value must be one of the following:
+
+ NoTransaction
+ LocalTransaction
+ XATransaction
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/cli/src/test/resources/xsd/connector_1_6.xsd b/cli/src/test/resources/xsd/connector_1_6.xsd
new file mode 100644
index 00000000..384169e7
--- /dev/null
+++ b/cli/src/test/resources/xsd/connector_1_6.xsd
@@ -0,0 +1,1269 @@
+
+
+
+
+
+ $Id$
+
+
+
+
+
+
+
+ DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
+
+ Copyright 2003-2009 Sun Microsystems, Inc. All rights reserved.
+
+ The contents of this file are subject to the terms of either the
+ GNU General Public License Version 2 only ("GPL") or the Common
+ Development and Distribution License("CDDL") (collectively, the
+ "License"). You may not use this file except in compliance with
+ the License. You can obtain a copy of the License at
+ https://glassfish.dev.java.net/public/CDDL+GPL.html or
+ glassfish/bootstrap/legal/LICENSE.txt. See the License for the
+ specific language governing permissions and limitations under the
+ License.
+
+ When distributing the software, include this License Header
+ Notice in each file and include the License file at
+ glassfish/bootstrap/legal/LICENSE.txt. Sun designates this
+ particular file as subject to the "Classpath" exception as
+ provided by Sun in the GPL Version 2 section of the License file
+ that accompanied this code. If applicable, add the following
+ below the License Header, with the fields enclosed by brackets []
+ replaced by your own identifying information:
+ "Portions Copyrighted [year] [name of copyright owner]"
+
+ Contributor(s):
+
+ If you wish your version of this file to be governed by only the
+ CDDL or only the GPL Version 2, indicate your decision by adding
+ "[Contributor] elects to include this software in this
+ distribution under the [CDDL or GPL Version 2] license." If you
+ don't indicate a single choice of license, a recipient has the
+ option to distribute your version of this file under either the
+ CDDL, the GPL Version 2 or to extend the choice of license to its
+ licensees as provided above. However, if you add GPL Version 2
+ code and therefore, elected the GPL Version 2 license, then the
+ option applies only if the new code is made subject to such
+ option by the copyright holder.
+
+
+
+
+
+
+
+ DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
+
+ Copyright 2003-2009 Sun Microsystems, Inc. All rights reserved.
+
+ The contents of this file are subject to the terms of either the
+ GNU General Public License Version 2 only ("GPL") or the Common
+ Development and Distribution License("CDDL") (collectively, the
+ "License"). You may not use this file except in compliance with
+ the License. You can obtain a copy of the License at
+ https://glassfish.dev.java.net/public/CDDL+GPL.html or
+ glassfish/bootstrap/legal/LICENSE.txt. See the License for the
+ specific language governing permissions and limitations under the
+ License.
+
+ When distributing the software, include this License Header
+ Notice in each file and include the License file at
+ glassfish/bootstrap/legal/LICENSE.txt. Sun designates this
+ particular file as subject to the "Classpath" exception as
+ provided by Sun in the GPL Version 2 section of the License file
+ that accompanied this code. If applicable, add the following
+ below the License Header, with the fields enclosed by brackets []
+ replaced by your own identifying information:
+ "Portions Copyrighted [year] [name of copyright owner]"
+
+ Contributor(s):
+
+ If you wish your version of this file to be governed by only the
+ CDDL or only the GPL Version 2, indicate your decision by adding
+ "[Contributor] elects to include this software in this
+ distribution under the [CDDL or GPL Version 2] license." If you
+ don't indicate a single choice of license, a recipient has the
+ option to distribute your version of this file under either the
+ CDDL, the GPL Version 2 or to extend the choice of license to its
+ licensees as provided above. However, if you add GPL Version 2
+ code and therefore, elected the GPL Version 2 license, then the
+ option applies only if the new code is made subject to such
+ option by the copyright holder.
+
+
+
+
+
+
+
+ ...
+
+
+ The instance documents may indicate the published version of
+ the schema using the xsi:schemaLocation attribute for Java EE
+ namespace with the following location:
+
+ http://java.sun.com/xml/ns/javaee/connector_1_6.xsd
+
+ ]]>
+
+
+
+
+
+
+ The following conventions apply to all Java EE
+ deployment descriptor elements unless indicated otherwise.
+
+ - In elements that specify a pathname to a file within the
+ same JAR file, relative filenames (i.e., those not
+ starting with "/") are considered relative to the root of
+ the JAR file's namespace. Absolute filenames (i.e., those
+ starting with "/") also specify names in the root of the
+ JAR file's namespace. In general, relative names are
+ preferred. The exception is .war files where absolute
+ names are preferred for consistency with the Servlet API.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ The connector element is the root element of the deployment
+ descriptor for the resource adapter. This element includes
+ general information - vendor name, resource adapter version,
+ icon - about the resource adapter module. It also includes
+ information specific to the implementation of the resource
+ adapter library as specified through the element
+ resourceadapter.
+
+
+
+
+
+
+
+
+
+
+
+
+ The activationspecType specifies an activation
+ specification. The information includes fully qualified
+ Java class name of an activation specification and a set of
+ required configuration property names.
+
+
+
+
+
+
+
+ com.wombat.ActivationSpecImpl
+
+
+ ]]>
+
+
+
+
+
+
+
+ The required-config-property element is deprecated since
+ Connectors 1.6 specification. The resource adapter
+ implementation is recommended to use the @NotNull
+ Bean Validation annotation or its XML validation
+ descriptor equivalent to indicate that a configuration
+ property is required to be specified by the deployer.
+ See the Connectors specification for more information.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ The adminobjectType specifies information about an
+ administered object. Administered objects are specific to a
+ messaging style or message provider. This contains
+ information on the Java type of the interface implemented by
+ an administered object, its Java class name and its
+ configuration properties.
+
+
+
+
+
+
+
+ javax.jms.Destination
+
+
+ ]]>
+
+
+
+
+
+
+ com.wombat.DestinationImpl
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ The authentication-mechanismType specifies an authentication
+ mechanism supported by the resource adapter. Note that this
+ support is for the resource adapter and not for the
+ underlying EIS instance. The optional description specifies
+ any resource adapter specific requirement for the support of
+ security contract and authentication mechanism.
+
+ Note that BasicPassword mechanism type should support the
+ javax.resource.spi.security.PasswordCredential interface.
+ The Kerbv5 mechanism type should support the
+ org.ietf.jgss.GSSCredential interface or the deprecated
+ javax.resource.spi.security.GenericCredential interface.
+
+
+
+
+
+
+
+
+ BasicPassword
+
+
+ Kerbv5
+
+
+ Any additional security mechanisms are outside the
+ scope of the Connector architecture specification.
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ServerName
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ java.lang.String
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ The config-propertyType contains a declaration of a single
+ configuration property that may be used for providing
+ configuration information.
+
+ The declaration consists of an optional description, name,
+ type and an optional value of the configuration property. If
+ the resource adapter provider does not specify a value than
+ the deployer is responsible for providing a valid value for
+ a configuration property.
+
+ Any bounds or well-defined values of properties should be
+ described in the description element.
+
+
+
+
+
+
+
+
+
+
+ WombatServer
+
+ ]]>
+
+
+
+
+
+
+
+ The element config-property-ignore is used to specify
+ whether the configuration tools must ignore considering the
+ configuration property during auto-discovery of
+ Configuration properties. See the Connector specification for
+ more details. If unspecified, the container must not ignore
+ the configuration property during auto-discovery.
+ This element must be one of the following, "true" or "false".
+
+
+
+
+
+
+
+
+ The element config-property-supports-dynamic-updates is used to specify
+ whether the configuration property allows its value to be updated, by
+ application server's configuration tools, during the lifetime of
+ the JavaBean instance. See the Connector specification for
+ more details. If unspecified, the container must not dynamically
+ reconfigure the property.
+ This element must be one of the following, "true" or "false".
+
+
+
+
+
+
+
+
+ The element config-property-confidential is used to specify
+ whether the configuration property is confidential and
+ recommends application server's configuration tools to use special
+ visual aids for editing them. See the Connector specification for
+ more details. If unspecified, the container must not treat the
+ property as confidential.
+ This element must be one of the following, "true" or "false".
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ The connection-definitionType defines a set of connection
+ interfaces and classes pertaining to a particular connection
+ type. This also includes configurable properties for
+ ManagedConnectionFactory instances that may be produced out
+ of this set.
+
+
+
+
+
+
+
+
+ com.wombat.ManagedConnectionFactoryImpl
+
+
+ ]]>
+
+
+
+
+
+
+
+ com.wombat.ConnectionFactory
+
+
+ OR
+
+ javax.resource.cci.ConnectionFactory
+
+
+ ]]>
+
+
+
+
+
+
+ com.wombat.ConnectionFactoryImpl
+
+
+ ]]>
+
+
+
+
+
+
+ javax.resource.cci.Connection
+
+
+ ]]>
+
+
+
+
+
+
+ com.wombat.ConnectionImpl
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ The connectorType defines a resource adapter.
+
+
+
+
+
+
+
+
+ The element module-name specifies the name of the
+ resource adapter.
+
+ If there is no module-name specified, the module-name
+ is determined as defined in Section EE.8.1.1 and EE.8.1.2
+ of the Java Platform, Enterprise Edition (Java EE)
+ Specification, version 6.
+
+
+
+
+
+
+
+
+
+ The element vendor-name specifies the name of
+ resource adapter provider vendor.
+
+ If there is no vendor-name specified, the application
+ server must consider the default "" (empty string) as
+ the name of the resource adapter provider vendor.
+
+
+
+
+
+
+
+
+ The element eis-type contains information about the
+ type of the EIS. For example, the type of an EIS can
+ be product name of EIS independent of any version
+ info.
+
+ This helps in identifying EIS instances that can be
+ used with this resource adapter.
+
+ If there is no eis-type specified, the application
+ server must consider the default "" (empty string) as
+ the type of the EIS.
+
+
+
+
+
+
+
+
+ The element resourceadapter-version specifies a string-based version
+ of the resource adapter from the resource adapter
+ provider.
+
+ If there is no resourceadapter-version specified, the application
+ server must consider the default "" (empty string) as
+ the version of the resource adapter.
+
+
+
+
+
+
+
+
+
+
+
+ The element required-work-context specifies a fully qualified class
+ name that implements WorkContext interface, that the resource adapter
+ requires the application server to support.
+
+
+
+
+
+
+
+
+
+ The version indicates the version of the schema to be used by the
+ deployment tool. This element doesn't have a default, and the resource adapter
+ developer/deployer is required to specify it. The element allows the deployment
+ tool to choose which schema to validate the descriptor against.
+
+
+
+
+
+
+
+
+
+ The metadata-complete attribute defines whether the deployment
+ descriptor for the resource adapter module is complete, or whether
+ the class files available to the module and packaged with the resource
+ adapter should be examined for annotations that specify deployment
+ information.
+
+ If metadata-complete is set to "true", the deployment tool of the
+ application server must ignore any annotations that specify deployment
+ information, which might be present in the class files of the
+ application.If metadata-complete is not specified or is set to "false",
+ the deployment tool must examine the class files of the application for
+ annotations, as specified by this specification. If the
+ deployment descriptor is not included or is included but not marked
+ metadata-complete, the deployment tool will process annotations.
+
+ Application servers must assume that metadata-complete is true for
+ resource adapter modules with deployment descriptor version
+ lower than 1.6.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ The credential-interfaceType specifies the
+ interface that the resource adapter implementation
+ supports for the representation of the
+ credentials. This element(s) that use this type,
+ i.e. credential-interface, should be used by
+ application server to find out the Credential
+ interface it should use as part of the security
+ contract.
+
+ The possible values are:
+
+ javax.resource.spi.security.PasswordCredential
+ org.ietf.jgss.GSSCredential
+ javax.resource.spi.security.GenericCredential
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ The inbound-resourceadapterType specifies information
+ about an inbound resource adapter. This contains information
+ specific to the implementation of the resource adapter
+ library as specified through the messageadapter element.
+
+
+
+
+
+
+
+
+
+ The messagelistener-type element content must be
+ unique in the messageadapter. Several messagelisteners
+ can not use the same messagelistener-type.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ The licenseType specifies licensing requirements for the
+ resource adapter module. This type specifies whether a
+ license is required to deploy and use this resource adapter,
+ and an optional description of the licensing terms
+ (examples: duration of license, number of connection
+ restrictions). It is used by the license element.
+
+
+
+
+
+
+
+
+
+ The element license-required specifies whether a
+ license is required to deploy and use the
+ resource adapter. This element must be one of
+ the following, "true" or "false".
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ The messageadapterType specifies information about the
+ messaging capabilities of the resource adapter. This
+ contains information specific to the implementation of the
+ resource adapter library as specified through the
+ messagelistener element.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ The messagelistenerType specifies information about a
+ specific message listener supported by the messaging
+ resource adapter. It contains information on the Java type
+ of the message listener interface and an activation
+ specification.
+
+
+
+
+
+
+
+ javax.jms.MessageListener
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ The outbound-resourceadapterType specifies information about
+ an outbound resource adapter. The information includes fully
+ qualified names of classes/interfaces required as part of
+ the connector architecture specified contracts for
+ connection management, level of transaction support
+ provided, one or more authentication mechanisms supported
+ and additional required security permissions.
+
+ If any of the outbound resource adapter elements (transaction-support,
+ authentication-mechanism, reauthentication-support) is specified through
+ this element or metadata annotations, and no connection-definition is
+ specified as part of this element or through annotations, the
+ application server must consider this an error and fail deployment.
+
+ If there is no authentication-mechanism specified as part of
+ this element or metadata annotations, then the resource adapter does
+ not support any standard security authentication mechanisms as
+ part of security contract. The application server ignores the security
+ part of the system contracts in this case.
+
+ If there is no transaction-support specified as part of this element
+ or metadata annotation, then the application server must consider that
+ the resource adapter does not support either the resource manager local
+ or JTA transactions and must consider the transaction support as
+ NoTransaction. Note that resource adapters may specify the level of
+ transaction support to be used at runtime for a ManagedConnectionFactory
+ through the TransactionSupport interface.
+
+ If there is no reauthentication-support specified as part of
+ this element or metadata annotation, then the application server must consider
+ that the resource adapter does not support re-authentication of
+ ManagedConnections.
+
+
+
+
+
+
+
+
+
+
+
+ The element reauthentication-support specifies
+ whether the resource adapter implementation supports
+ re-authentication of existing Managed- Connection
+ instance. Note that this information is for the
+ resource adapter implementation and not for the
+ underlying EIS instance. This element must have
+ either a "true" or "false" value.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Destination
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ The resourceadapterType specifies information about the
+ resource adapter. The information includes fully qualified
+ resource adapter Java class name, configuration properties,
+ information specific to the implementation of the resource
+ adapter library as specified through the
+ outbound-resourceadapter and inbound-resourceadapter
+ elements, and an optional set of administered objects.
+
+
+
+
+
+
+
+
+ The element resourceadapter-class specifies the
+ fully qualified name of a Java class that implements
+ the javax.resource.spi.ResourceAdapter
+ interface. This Java class is provided as part of
+ resource adapter's implementation of connector
+ architecture specified contracts. The implementation
+ of this class is required to be a JavaBean.
+
+
+
+
+
+
+
+
+
+
+ The connectionfactory-interface element content
+ must be unique in the outbound-resourceadapter.
+ Multiple connection-definitions can not use the
+ same connectionfactory-type.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ The adminobject-interface and adminobject-class element content must be
+ unique in the resourceadapterType. Several admin objects
+ can not use the same adminobject-interface and adminobject-class.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ The security-permissionType specifies a security
+ permission that is required by the resource adapter code.
+
+ The security permission listed in the deployment descriptor
+ are ones that are different from those required by the
+ default permission set as specified in the connector
+ specification. The optional description can mention specific
+ reason that resource adapter requires a given security
+ permission.
+
+
+
+
+
+
+
+
+
+ The element security-permission-spec specifies a security
+ permission based on the Security policy file
+ syntax. Refer to the following URL for Sun's
+ implementation of the security permission
+ specification:
+
+ http://java.sun.com/javase/6/docs/technotes/guides/security/PolicyFiles.html
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ The transaction-supportType specifies the level of
+ transaction support provided by the resource adapter. It is
+ used by transaction-support elements.
+
+ The value must be one of the following:
+
+ NoTransaction
+ LocalTransaction
+ XATransaction
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/cli/src/test/resources/xsd/datasources_1_0.xsd b/cli/src/test/resources/xsd/datasources_1_0.xsd
new file mode 100644
index 00000000..67aac8c9
--- /dev/null
+++ b/cli/src/test/resources/xsd/datasources_1_0.xsd
@@ -0,0 +1,937 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ jdbc:hsqldb:hsql://localhost:1701
+ ]]>
+
+
+
+
+
+
+ org.hsqldb.jdbcDriver
+ ]]>
+
+
+
+
+
+
+ org.h2.jdbcx.JdbcDataSource
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ UTF-8
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 10
+ myhost.mydomain.com
+ 1557
+ mydb
+ myserver
+ ]]>
+
+
+
+
+
+
+ oracle.jdbc.xa.client.OracleXADataSource
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ true
+ ]]>
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+ 300
+ ]]>
+
+
+
+
+
+
+ 300
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 300
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ nowarn
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+ 1
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ true.
+ Default is false
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ true
+ ]]>
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+ Ex:
+ ]]>
+
+
+
+
+
+
+ true
+ ]]>
+
+
+
+
+
+
+ true
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+ sa
+ ]]>
+
+
+
+
+
+
+ sa-pass
+ ]]>
+
+
+
+
+
+
+ HsqlDbRealm
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ org.hsqldb.jdbcDriver
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+ oracle.jdbc.xa.client.OracleXADataSource
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/cli/src/test/resources/xsd/instance1.xml b/cli/src/test/resources/xsd/instance1.xml
new file mode 100644
index 00000000..b370129d
--- /dev/null
+++ b/cli/src/test/resources/xsd/instance1.xml
@@ -0,0 +1,102 @@
+
+
+
+ bean-validation-group0
+ bean-validation-group1
+
+ bootstrap-context0
+ config-property0
+ config-property1
+ NoTransaction
+
+
+ config-property2
+ config-property3
+
+ 50
+ 50
+ false
+ false
+ flush-strategy0
+
+
+ security-domain-and-application0
+
+
+ 50
+ 50
+ 50
+ 50
+ 50
+
+
+ false
+ 50
+ false
+
+
+
+ user-name0
+ password0
+ security-domain0
+
+
+ config-property4
+
+
+
+
+ config-property5
+ config-property6
+
+ 50
+ 50
+ false
+ false
+ flush-strategy1
+ false
+
+
+ false
+ false
+
+
+ security-domain-and-application1
+
+
+ 50
+ 50
+ 50
+ 50
+ 50
+
+
+ false
+ 50
+ false
+
+
+
+ user-name1
+ password1
+ security-domain1
+
+
+ config-property7
+
+
+
+
+
+
+ config-property8
+ config-property9
+
+
+ config-property10
+ config-property11
+
+
+
diff --git a/cli/src/test/resources/xsd/ironjacamar_1_0.xsd b/cli/src/test/resources/xsd/ironjacamar_1_0.xsd
new file mode 100644
index 00000000..c2bab060
--- /dev/null
+++ b/cli/src/test/resources/xsd/ironjacamar_1_0.xsd
@@ -0,0 +1,645 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 300
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ true
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false.
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ true
+ ]]>
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+ Ex:
+ ]]>
+
+
+
+
+
+
+ true
+ ]]>
+
+
+
+
+
+
+ true
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+ HsqlDbRealm
+ ]]>
+
+
+
+
+
+
+ HsqlDbRealm
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ sa
+ ]]>
+
+
+
+
+
+
+ sa-pass
+ ]]>
+
+
+
+
+
+
+ HsqlDbRealm
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/cli/src/test/resources/xsd/resource-adapters_1_0.xsd b/cli/src/test/resources/xsd/resource-adapters_1_0.xsd
new file mode 100644
index 00000000..cb8833dd
--- /dev/null
+++ b/cli/src/test/resources/xsd/resource-adapters_1_0.xsd
@@ -0,0 +1,665 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ myra.rar
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 300
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ true
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false.
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ true
+ ]]>
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+ Ex:
+ ]]>
+
+
+
+
+
+
+ true
+ ]]>
+
+
+
+
+
+
+ true
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+ HsqlDbRealm
+ ]]>
+
+
+
+
+
+
+ HsqlDbRealm
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ sa
+ ]]>
+
+
+
+
+
+
+ sa-pass
+ ]]>
+
+
+
+
+
+
+ HsqlDbRealm
+ ]]>
+
+
+
+
+
+
+
diff --git a/cli/temp/lib/xdd-printBase.xsl b/cli/temp/lib/xdd-printBase.xsl
new file mode 100644
index 00000000..b8f8f456
--- /dev/null
+++ b/cli/temp/lib/xdd-printBase.xsl
@@ -0,0 +1,403 @@
+
+
+
+
+
+
+
+
+
+
+ package ;
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ // -------------------------------------------------------------------------------------||
+ // Constructor
+ // -------------------------------------------------------------------------------------||
+
+
+
+ {
+
+
+
+
+ }
+
+
+ {
+ super(descriptorName);
+
+ addDefaultNamespaces();
+ }
+
+
+
+
+
+
+
+
+
+
+ // -------------------------------------------------------------------------------------||
+ // Constructor
+ // -------------------------------------------------------------------------------------||
+
+
+ {
+ this.t = t;
+
+
+ }
+
+
+
+ {
+ this.t = t;
+
+
+ }
+
+
+
+
+
+
+
+
+
+
+ // -------------------------------------------------------------------------------------||
+ // Methods
+ // -------------------------------------------------------------------------------------||
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ public Node getRootNode()
+ {
+
+ }
+
+
+
+
+
+
+
+
+
+ // -------------------------------------------------------------------------------------||
+ // Namespace
+ // -------------------------------------------------------------------------------------||
+
+
+
+
+
+
+
+ {
+
+
+
+
+ }
+
+
+
+
+
+
+ {
+
+
+ }
+
+
+
+
+
+ public List<String> getNamespaces()
+ {
+
+
+
+
+
+
+
+
+
+
+
+ }
+
+
+
+
+
+
+ {
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ }
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ public
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ // -------------------------------------------------------------------------------------||
+ // Instance Members
+ // -------------------------------------------------------------------------------------||
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/cli/temp/lib/xdd-printElement.xsl b/cli/temp/lib/xdd-printElement.xsl
new file mode 100644
index 00000000..4ccc7ed8
--- /dev/null
+++ b/cli/temp/lib/xdd-printElement.xsl
@@ -0,0 +1,1181 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/cli/temp/lib/xdd-util.xsl b/cli/temp/lib/xdd-util.xsl
new file mode 100644
index 00000000..72d87b9b
--- /dev/null
+++ b/cli/temp/lib/xdd-util.xsl
@@ -0,0 +1,307 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/cli/temp/metadata.xml b/cli/temp/metadata.xml
new file mode 100644
index 00000000..185c1879
--- /dev/null
+++ b/cli/temp/metadata.xml
@@ -0,0 +1 @@
+/* * JBoss, Home of Professional Open Source * Copyright 2011, Red Hat Middleware LLC, and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed 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. */NoTransactionLocalTransactionXATransactionTRANSACTION_READ_UNCOMMITTEDTRANSACTION_READ_COMMITTEDTRANSACTION_REPEATABLE_READTRANSACTION_SERIALIZABLETRANSACTION_NONEtruefalsenowarnNoTransactionLocalTransactionXATransaction
\ No newline at end of file
diff --git a/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/ConfigPropertyType.java b/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/ConfigPropertyType.java
new file mode 100644
index 00000000..3a3ab763
--- /dev/null
+++ b/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/ConfigPropertyType.java
@@ -0,0 +1,87 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat Middleware LLC, and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * Licensed 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.jboss.shrinkwrap.descriptor.api.datasources10;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+import org.jboss.shrinkwrap.descriptor.api.Child;
+/**
+ * This interface defines the contract for the config-propertyType xsd type
+ *
+ * Original Documentation:
+ *
+ *
+ * [
+ * Specifies a Java bean property value
+ *
+ *
+ *
+ * @since Generation date :2011-10-02T12:23:24.492+02:00
+ */
+public interface ConfigPropertyType extends Child
+{
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: ConfigPropertyType ElementName: xsd:token ElementType : name
+ // MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the name attribute
+ * @param name the value for the attribute name
+ * @return the current instance of ConfigPropertyType
+ */
+ public ConfigPropertyType name(String name);
+
+ /**
+ * Returns the name attribute
+ * @return the value defined for the attribute name
+ */
+public String getName();
+
+ /**
+ * Removes the name attribute
+ * @return the current instance of ConfigPropertyType
+ */
+ public ConfigPropertyType removeName();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: ConfigPropertyType ElementName: xsd:token ElementType : config-propertyType
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the config-propertyType element
+ * @param configPropertyType the value for the element config-propertyType
+ * @return the current instance of ConfigPropertyType
+ */
+ public ConfigPropertyType configPropertyType(String configPropertyType);
+
+ /**
+ * Returns the config-propertyType element
+ * @return the node defined for the element config-propertyType
+ */
+ public String getConfigPropertyType();
+
+ /**
+ * Removes the config-propertyType element
+ * @return the current instance of ConfigPropertyType
+ */
+ public ConfigPropertyType removeConfigPropertyType();
+}
diff --git a/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/ConnectionPropertyType.java b/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/ConnectionPropertyType.java
new file mode 100644
index 00000000..ea6aa8fd
--- /dev/null
+++ b/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/ConnectionPropertyType.java
@@ -0,0 +1,53 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat Middleware LLC, and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * Licensed 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.jboss.shrinkwrap.descriptor.api.datasources10;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+import org.jboss.shrinkwrap.descriptor.api.Child;
+/**
+ * This interface defines the contract for the connection-propertyType xsd type
+ * @since Generation date :2011-10-02T12:23:24.492+02:00
+ */
+public interface ConnectionPropertyType extends Child
+{
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: ConnectionPropertyType ElementName: xsd:token ElementType : name
+ // MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the name attribute
+ * @param name the value for the attribute name
+ * @return the current instance of ConnectionPropertyType
+ */
+ public ConnectionPropertyType name(String name);
+
+ /**
+ * Returns the name attribute
+ * @return the value defined for the attribute name
+ */
+public String getName();
+
+ /**
+ * Removes the name attribute
+ * @return the current instance of ConnectionPropertyType
+ */
+ public ConnectionPropertyType removeName();
+}
diff --git a/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/DatasourceType.java b/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/DatasourceType.java
new file mode 100644
index 00000000..ca3c31a6
--- /dev/null
+++ b/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/DatasourceType.java
@@ -0,0 +1,541 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat Middleware LLC, and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * Licensed 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.jboss.shrinkwrap.descriptor.api.datasources10;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+import org.jboss.shrinkwrap.descriptor.api.Child;
+import org.jboss.shrinkwrap.descriptor.api.datasources10.ConnectionPropertyType;
+import org.jboss.shrinkwrap.descriptor.api.datasources10.TransactionIsolationType;
+import org.jboss.shrinkwrap.descriptor.api.datasources10.PoolType;
+import org.jboss.shrinkwrap.descriptor.api.datasources10.DsSecurityType;
+import org.jboss.shrinkwrap.descriptor.api.datasources10.ValidationType;
+import org.jboss.shrinkwrap.descriptor.api.datasources10.TimeoutType;
+import org.jboss.shrinkwrap.descriptor.api.datasources10.StatementType;
+/**
+ * This interface defines the contract for the datasourceType xsd type
+ * @since Generation date :2011-10-02T12:23:24.492+02:00
+ */
+public interface DatasourceType extends Child
+{
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: DatasourceType ElementName: xsd:token ElementType : jndi-name
+ // MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the jndi-name attribute
+ * @param jndiName the value for the attribute jndi-name
+ * @return the current instance of DatasourceType
+ */
+ public DatasourceType jndiName(String jndiName);
+
+ /**
+ * Returns the jndi-name attribute
+ * @return the value defined for the attribute jndi-name
+ */
+public String getJndiName();
+
+ /**
+ * Removes the jndi-name attribute
+ * @return the current instance of DatasourceType
+ */
+ public DatasourceType removeJndiName();
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: DatasourceType ElementName: xsd:token ElementType : pool-name
+ // MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the pool-name attribute
+ * @param poolName the value for the attribute pool-name
+ * @return the current instance of DatasourceType
+ */
+ public DatasourceType poolName(String poolName);
+
+ /**
+ * Returns the pool-name attribute
+ * @return the value defined for the attribute pool-name
+ */
+public String getPoolName();
+
+ /**
+ * Removes the pool-name attribute
+ * @return the current instance of DatasourceType
+ */
+ public DatasourceType removePoolName();
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: DatasourceType ElementName: xsd:boolean ElementType : enabled
+ // MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the enabled attribute
+ * @param enabled the value for the attribute enabled
+ * @return the current instance of DatasourceType
+ */
+ public DatasourceType enabled(Boolean enabled);
+
+ /**
+ * Returns the enabled attribute
+ * @return the value defined for the attribute enabled
+ */
+public Boolean isEnabled();
+
+ /**
+ * Removes the enabled attribute
+ * @return the current instance of DatasourceType
+ */
+ public DatasourceType removeEnabled();
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: DatasourceType ElementName: xsd:boolean ElementType : use-java-context
+ // MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the use-java-context attribute
+ * @param useJavaContext the value for the attribute use-java-context
+ * @return the current instance of DatasourceType
+ */
+ public DatasourceType useJavaContext(Boolean useJavaContext);
+
+ /**
+ * Returns the use-java-context attribute
+ * @return the value defined for the attribute use-java-context
+ */
+public Boolean isUseJavaContext();
+
+ /**
+ * Removes the use-java-context attribute
+ * @return the current instance of DatasourceType
+ */
+ public DatasourceType removeUseJavaContext();
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: DatasourceType ElementName: xsd:boolean ElementType : spy
+ // MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the spy attribute
+ * @param spy the value for the attribute spy
+ * @return the current instance of DatasourceType
+ */
+ public DatasourceType spy(Boolean spy);
+
+ /**
+ * Returns the spy attribute
+ * @return the value defined for the attribute spy
+ */
+public Boolean isSpy();
+
+ /**
+ * Removes the spy attribute
+ * @return the current instance of DatasourceType
+ */
+ public DatasourceType removeSpy();
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: DatasourceType ElementName: xsd:boolean ElementType : use-ccm
+ // MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the use-ccm attribute
+ * @param useCcm the value for the attribute use-ccm
+ * @return the current instance of DatasourceType
+ */
+ public DatasourceType useCcm(Boolean useCcm);
+
+ /**
+ * Returns the use-ccm attribute
+ * @return the value defined for the attribute use-ccm
+ */
+public Boolean isUseCcm();
+
+ /**
+ * Removes the use-ccm attribute
+ * @return the current instance of DatasourceType
+ */
+ public DatasourceType removeUseCcm();
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: DatasourceType ElementName: xsd:token ElementType : connection-url
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the connection-url element
+ * @param connectionUrl the value for the element connection-url
+ * @return the current instance of DatasourceType
+ */
+ public DatasourceType connectionUrl(String connectionUrl);
+
+ /**
+ * Returns the connection-url element
+ * @return the node defined for the element connection-url
+ */
+ public String getConnectionUrl();
+
+ /**
+ * Removes the connection-url element
+ * @return the current instance of DatasourceType
+ */
+ public DatasourceType removeConnectionUrl();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: DatasourceType ElementName: xsd:token ElementType : driver-class
+ // MaxOccurs: -1 isGeneric: true isAttribute: false isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the driver-class element
+ * @param driverClass the value for the element driver-class
+ * @return the current instance of DatasourceType
+ */
+ public DatasourceType driverClass(String driverClass);
+
+ /**
+ * Returns the driver-class element
+ * @return the node defined for the element driver-class
+ */
+ public String getDriverClass();
+
+ /**
+ * Removes the driver-class element
+ * @return the current instance of DatasourceType
+ */
+ public DatasourceType removeDriverClass();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: DatasourceType ElementName: xsd:token ElementType : datasource-class
+ // MaxOccurs: -1 isGeneric: true isAttribute: false isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the datasource-class element
+ * @param datasourceClass the value for the element datasource-class
+ * @return the current instance of DatasourceType
+ */
+ public DatasourceType datasourceClass(String datasourceClass);
+
+ /**
+ * Returns the datasource-class element
+ * @return the node defined for the element datasource-class
+ */
+ public String getDatasourceClass();
+
+ /**
+ * Removes the datasource-class element
+ * @return the current instance of DatasourceType
+ */
+ public DatasourceType removeDatasourceClass();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: DatasourceType ElementName: xsd:token ElementType : driver
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the driver element
+ * @param driver the value for the element driver
+ * @return the current instance of DatasourceType
+ */
+ public DatasourceType driver(String driver);
+
+ /**
+ * Returns the driver element
+ * @return the node defined for the element driver
+ */
+ public String getDriver();
+
+ /**
+ * Removes the driver element
+ * @return the current instance of DatasourceType
+ */
+ public DatasourceType removeDriver();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: DatasourceType ElementName: datasources:connection-propertyType ElementType : connection-property
+ // MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: false
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * If not already created, a new connection-property element will be created and returned.
+ * Otherwise, the first existing connection-property element will be returned.
+ * @return the instance defined for the element connection-property
+ */
+ public ConnectionPropertyType> getOrCreateConnectionProperty();
+
+ /**
+ * Creates a new connection-property element
+ * @return the new created instance of ConnectionPropertyType>
+ */
+ public ConnectionPropertyType> createConnectionProperty();
+
+ /**
+ * Returns all connection-property elements
+ * @return list of connection-property
+ */
+ public List>> getAllConnectionProperty();
+
+ /**
+ * Removes all connection-property elements
+ * @return the current instance of ConnectionPropertyType>
+ */
+ public DatasourceType removeAllConnectionProperty();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: DatasourceType ElementName: xsd:string ElementType : new-connection-sql
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the new-connection-sql element
+ * @param newConnectionSql the value for the element new-connection-sql
+ * @return the current instance of DatasourceType
+ */
+ public DatasourceType newConnectionSql(String newConnectionSql);
+
+ /**
+ * Returns the new-connection-sql element
+ * @return the node defined for the element new-connection-sql
+ */
+ public String getNewConnectionSql();
+
+ /**
+ * Removes the new-connection-sql element
+ * @return the current instance of DatasourceType
+ */
+ public DatasourceType removeNewConnectionSql();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: DatasourceType ElementName: datasources:transaction-isolationType ElementType : transaction-isolation
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: true isDataType: false
+ // --------------------------------------------------------------------------------------------------------||
+ /**
+ * Sets the transaction-isolation element
+ * @param transactionIsolation the value for the element transaction-isolation
+ * @return the current instance of DatasourceType
+ */
+ public DatasourceType transactionIsolation(TransactionIsolationType transactionIsolation);
+ /**
+ * Sets the transaction-isolation element
+ * @param transactionIsolation the value for the element transaction-isolation
+ * @return the current instance of DatasourceType
+ */
+ public DatasourceType transactionIsolation(String transactionIsolation);
+
+ /**
+ * Returns the transaction-isolation element
+ * @return the value found for the element transaction-isolation
+ */
+ public TransactionIsolationType getTransactionIsolation();
+
+ /**
+ * Returns the transaction-isolation element
+ * @return the value found for the element transaction-isolation
+ */
+ public String getTransactionIsolationAsString();
+
+ /**
+ * Removes the transaction-isolation attribute
+ * @return the current instance of DatasourceType
+ */
+ public DatasourceType removeTransactionIsolation();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: DatasourceType ElementName: xsd:token ElementType : url-delimiter
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the url-delimiter element
+ * @param urlDelimiter the value for the element url-delimiter
+ * @return the current instance of DatasourceType
+ */
+ public DatasourceType urlDelimiter(String urlDelimiter);
+
+ /**
+ * Returns the url-delimiter element
+ * @return the node defined for the element url-delimiter
+ */
+ public String getUrlDelimiter();
+
+ /**
+ * Removes the url-delimiter element
+ * @return the current instance of DatasourceType
+ */
+ public DatasourceType removeUrlDelimiter();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: DatasourceType ElementName: xsd:token ElementType : url-selector-strategy-class-name
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the url-selector-strategy-class-name element
+ * @param urlSelectorStrategyClassName the value for the element url-selector-strategy-class-name
+ * @return the current instance of DatasourceType
+ */
+ public DatasourceType urlSelectorStrategyClassName(String urlSelectorStrategyClassName);
+
+ /**
+ * Returns the url-selector-strategy-class-name element
+ * @return the node defined for the element url-selector-strategy-class-name
+ */
+ public String getUrlSelectorStrategyClassName();
+
+ /**
+ * Removes the url-selector-strategy-class-name element
+ * @return the current instance of DatasourceType
+ */
+ public DatasourceType removeUrlSelectorStrategyClassName();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: DatasourceType ElementName: datasources:poolType ElementType : pool
+ // MaxOccurs: -1 isGeneric: true isAttribute: false isEnum: false isDataType: false
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * If not already created, a new pool element with the given value will be created.
+ * Otherwise, the existing pool element will be returned.
+ * @return a new or existing instance of PoolType>
+ */
+ public PoolType> getOrCreatePool();
+
+ /**
+ * Removes the pool element
+ * @return the current instance of DatasourceType
+ */
+ public DatasourceType removePool();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: DatasourceType ElementName: datasources:dsSecurityType ElementType : security
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: false
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * If not already created, a new security element with the given value will be created.
+ * Otherwise, the existing security element will be returned.
+ * @return a new or existing instance of DsSecurityType>
+ */
+ public DsSecurityType> getOrCreateSecurity();
+
+ /**
+ * Removes the security element
+ * @return the current instance of DatasourceType
+ */
+ public DatasourceType removeSecurity();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: DatasourceType ElementName: datasources:validationType ElementType : validation
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: false
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * If not already created, a new validation element with the given value will be created.
+ * Otherwise, the existing validation element will be returned.
+ * @return a new or existing instance of ValidationType>
+ */
+ public ValidationType> getOrCreateValidation();
+
+ /**
+ * Removes the validation element
+ * @return the current instance of DatasourceType
+ */
+ public DatasourceType removeValidation();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: DatasourceType ElementName: datasources:timeoutType ElementType : timeout
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: false
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * If not already created, a new timeout element with the given value will be created.
+ * Otherwise, the existing timeout element will be returned.
+ * @return a new or existing instance of TimeoutType>
+ */
+ public TimeoutType> getOrCreateTimeout();
+
+ /**
+ * Removes the timeout element
+ * @return the current instance of DatasourceType
+ */
+ public DatasourceType removeTimeout();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: DatasourceType ElementName: datasources:statementType ElementType : statement
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: false
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * If not already created, a new statement element with the given value will be created.
+ * Otherwise, the existing statement element will be returned.
+ * @return a new or existing instance of StatementType>
+ */
+ public StatementType> getOrCreateStatement();
+
+ /**
+ * Removes the statement element
+ * @return the current instance of DatasourceType
+ */
+ public DatasourceType removeStatement();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: DatasourceType ElementName: xsd:boolean ElementType : jta
+ // MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the jta attribute
+ * @param jta the value for the attribute jta
+ * @return the current instance of DatasourceType
+ */
+ public DatasourceType jta(Boolean jta);
+
+ /**
+ * Returns the jta attribute
+ * @return the value defined for the attribute jta
+ */
+public Boolean isJta();
+
+ /**
+ * Removes the jta attribute
+ * @return the current instance of DatasourceType
+ */
+ public DatasourceType removeJta();
+}
diff --git a/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/DatasourcesDescriptor.java b/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/DatasourcesDescriptor.java
new file mode 100644
index 00000000..63673445
--- /dev/null
+++ b/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/DatasourcesDescriptor.java
@@ -0,0 +1,98 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat Middleware LLC, and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * Licensed 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.jboss.shrinkwrap.descriptor.api.datasources10;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+import org.jboss.shrinkwrap.descriptor.api.Child;
+import org.jboss.shrinkwrap.descriptor.api.datasources10.DriversType;
+import org.jboss.shrinkwrap.descriptor.api.datasources10.DatasourceType;
+import org.jboss.shrinkwrap.descriptor.api.datasources10.XaDatasourceType;
+import org.jboss.shrinkwrap.descriptor.api.Descriptor;
+import org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace;
+
+/**
+ *
+ * This deployment descriptor provides the functionalities as described in the datasources_1_0.xsd specification
+ *
+ * Example:
+ *
+ *
+ * DatasourcesDescriptor descriptor = Descriptors.create(DatasourcesDescriptor.class);
+ *
+ *
+ *
+ * @since Generation date :2011-10-02T12:23:24.492+02:00
+ */
+public interface DatasourcesDescriptor extends Descriptor, DescriptorNamespace
+{
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: DatasourcesDescriptor ElementName: datasources:driversType ElementType : drivers
+ // MaxOccurs: -1 isGeneric: false isAttribute: false isEnum: false isDataType: false
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * If not already created, a new drivers element with the given value will be created.
+ * Otherwise, the existing drivers element will be returned.
+ * @return a new or existing instance of DriversType
+ */
+ public DriversType getOrCreateDrivers();
+
+ /**
+ * Removes the drivers element
+ * @return the current instance of DatasourcesDescriptor
+ */
+ public DatasourcesDescriptor removeDrivers();
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: DatasourcesDescriptor ElementName: datasources:datasourceType ElementType : datasource
+ // MaxOccurs: - isGeneric: false isAttribute: false isEnum: false isDataType: false
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * If not already created, a new datasource element with the given value will be created.
+ * Otherwise, the existing datasource element will be returned.
+ * @return a new or existing instance of DatasourceType
+ */
+ public DatasourceType getOrCreateDatasource();
+
+ /**
+ * Removes the datasource element
+ * @return the current instance of DatasourcesDescriptor
+ */
+ public DatasourcesDescriptor removeDatasource();
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: DatasourcesDescriptor ElementName: datasources:xa-datasourceType ElementType : xa-datasource
+ // MaxOccurs: - isGeneric: false isAttribute: false isEnum: false isDataType: false
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * If not already created, a new xa-datasource element with the given value will be created.
+ * Otherwise, the existing xa-datasource element will be returned.
+ * @return a new or existing instance of XaDatasourceType
+ */
+ public XaDatasourceType getOrCreateXaDatasource();
+
+ /**
+ * Removes the xa-datasource element
+ * @return the current instance of DatasourcesDescriptor
+ */
+ public DatasourcesDescriptor removeXaDatasource();
+}
diff --git a/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/DatasourcesType.java b/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/DatasourcesType.java
new file mode 100644
index 00000000..28e6769f
--- /dev/null
+++ b/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/DatasourcesType.java
@@ -0,0 +1,88 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat Middleware LLC, and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * Licensed 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.jboss.shrinkwrap.descriptor.api.datasources10;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+import org.jboss.shrinkwrap.descriptor.api.Child;
+import org.jboss.shrinkwrap.descriptor.api.datasources10.DriversType;
+import org.jboss.shrinkwrap.descriptor.api.datasources10.DatasourceType;
+import org.jboss.shrinkwrap.descriptor.api.datasources10.XaDatasourceType;
+/**
+ * This interface defines the contract for the datasourcesType xsd type
+ * @since Generation date :2011-10-02T12:23:24.492+02:00
+ */
+public interface DatasourcesType extends Child
+{
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: DatasourcesType ElementName: datasources:driversType ElementType : drivers
+ // MaxOccurs: -1 isGeneric: true isAttribute: false isEnum: false isDataType: false
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * If not already created, a new drivers element with the given value will be created.
+ * Otherwise, the existing drivers element will be returned.
+ * @return a new or existing instance of DriversType>
+ */
+ public DriversType> getOrCreateDrivers();
+
+ /**
+ * Removes the drivers element
+ * @return the current instance of DatasourcesType
+ */
+ public DatasourcesType removeDrivers();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: DatasourcesType ElementName: datasources:datasourceType ElementType : datasource
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: false
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * If not already created, a new datasource element with the given value will be created.
+ * Otherwise, the existing datasource element will be returned.
+ * @return a new or existing instance of DatasourceType>
+ */
+ public DatasourceType> getOrCreateDatasource();
+
+ /**
+ * Removes the datasource element
+ * @return the current instance of DatasourcesType
+ */
+ public DatasourcesType removeDatasource();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: DatasourcesType ElementName: datasources:xa-datasourceType ElementType : xa-datasource
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: false
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * If not already created, a new xa-datasource element with the given value will be created.
+ * Otherwise, the existing xa-datasource element will be returned.
+ * @return a new or existing instance of XaDatasourceType>
+ */
+ public XaDatasourceType> getOrCreateXaDatasource();
+
+ /**
+ * Removes the xa-datasource element
+ * @return the current instance of DatasourcesType
+ */
+ public DatasourcesType removeXaDatasource();
+}
diff --git a/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/DriverType.java b/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/DriverType.java
new file mode 100644
index 00000000..1715b4b9
--- /dev/null
+++ b/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/DriverType.java
@@ -0,0 +1,203 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat Middleware LLC, and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * Licensed 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.jboss.shrinkwrap.descriptor.api.datasources10;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+import org.jboss.shrinkwrap.descriptor.api.Child;
+/**
+ * This interface defines the contract for the driverType xsd type
+ * @since Generation date :2011-10-02T12:23:24.492+02:00
+ */
+public interface DriverType extends Child
+{
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: DriverType ElementName: xsd:token ElementType : driver-class
+ // MaxOccurs: -1 isGeneric: true isAttribute: false isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the driver-class element
+ * @param driverClass the value for the element driver-class
+ * @return the current instance of DriverType
+ */
+ public DriverType driverClass(String driverClass);
+
+ /**
+ * Returns the driver-class element
+ * @return the node defined for the element driver-class
+ */
+ public String getDriverClass();
+
+ /**
+ * Removes the driver-class element
+ * @return the current instance of DriverType
+ */
+ public DriverType removeDriverClass();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: DriverType ElementName: xsd:token ElementType : datasource-class
+ // MaxOccurs: -1 isGeneric: true isAttribute: false isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the datasource-class element
+ * @param datasourceClass the value for the element datasource-class
+ * @return the current instance of DriverType
+ */
+ public DriverType datasourceClass(String datasourceClass);
+
+ /**
+ * Returns the datasource-class element
+ * @return the node defined for the element datasource-class
+ */
+ public String getDatasourceClass();
+
+ /**
+ * Removes the datasource-class element
+ * @return the current instance of DriverType
+ */
+ public DriverType removeDatasourceClass();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: DriverType ElementName: xsd:token ElementType : xa-datasource-class
+ // MaxOccurs: -1 isGeneric: true isAttribute: false isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the xa-datasource-class element
+ * @param xaDatasourceClass the value for the element xa-datasource-class
+ * @return the current instance of DriverType
+ */
+ public DriverType xaDatasourceClass(String xaDatasourceClass);
+
+ /**
+ * Returns the xa-datasource-class element
+ * @return the node defined for the element xa-datasource-class
+ */
+ public String getXaDatasourceClass();
+
+ /**
+ * Removes the xa-datasource-class element
+ * @return the current instance of DriverType
+ */
+ public DriverType removeXaDatasourceClass();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: DriverType ElementName: xsd:token ElementType : name
+ // MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the name attribute
+ * @param name the value for the attribute name
+ * @return the current instance of DriverType
+ */
+ public DriverType name(String name);
+
+ /**
+ * Returns the name attribute
+ * @return the value defined for the attribute name
+ */
+public String getName();
+
+ /**
+ * Removes the name attribute
+ * @return the current instance of DriverType
+ */
+ public DriverType removeName();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: DriverType ElementName: xsd:token ElementType : module
+ // MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the module attribute
+ * @param module the value for the attribute module
+ * @return the current instance of DriverType
+ */
+ public DriverType module(String module);
+
+ /**
+ * Returns the module attribute
+ * @return the value defined for the attribute module
+ */
+public String getModule();
+
+ /**
+ * Removes the module attribute
+ * @return the current instance of DriverType
+ */
+ public DriverType removeModule();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: DriverType ElementName: xsd:int ElementType : major-version
+ // MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the major-version attribute
+ * @param majorVersion the value for the attribute major-version
+ * @return the current instance of DriverType
+ */
+ public DriverType majorVersion( majorVersion);
+
+ /**
+ * Returns the major-version attribute
+ * @return the value defined for the attribute major-version
+ */
+public getMajorVersion();
+
+ /**
+ * Removes the major-version attribute
+ * @return the current instance of DriverType
+ */
+ public DriverType removeMajorVersion();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: DriverType ElementName: xsd:int ElementType : minor-verion
+ // MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the minor-verion attribute
+ * @param minorVerion the value for the attribute minor-verion
+ * @return the current instance of DriverType
+ */
+ public DriverType minorVerion( minorVerion);
+
+ /**
+ * Returns the minor-verion attribute
+ * @return the value defined for the attribute minor-verion
+ */
+public getMinorVerion();
+
+ /**
+ * Removes the minor-verion attribute
+ * @return the current instance of DriverType
+ */
+ public DriverType removeMinorVerion();
+}
diff --git a/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/DriversType.java b/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/DriversType.java
new file mode 100644
index 00000000..d269564e
--- /dev/null
+++ b/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/DriversType.java
@@ -0,0 +1,60 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat Middleware LLC, and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * Licensed 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.jboss.shrinkwrap.descriptor.api.datasources10;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+import org.jboss.shrinkwrap.descriptor.api.Child;
+import org.jboss.shrinkwrap.descriptor.api.datasources10.DriverType;
+/**
+ * This interface defines the contract for the driversType xsd type
+ * @since Generation date :2011-10-02T12:23:24.492+02:00
+ */
+public interface DriversType extends Child
+{
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: DriversType ElementName: datasources:driverType ElementType : driver
+ // MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: false
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * If not already created, a new driver element will be created and returned.
+ * Otherwise, the first existing driver element will be returned.
+ * @return the instance defined for the element driver
+ */
+ public DriverType> getOrCreateDriver();
+
+ /**
+ * Creates a new driver element
+ * @return the new created instance of DriverType>
+ */
+ public DriverType> createDriver();
+
+ /**
+ * Returns all driver elements
+ * @return list of driver
+ */
+ public List>> getAllDriver();
+
+ /**
+ * Removes all driver elements
+ * @return the current instance of DriverType>
+ */
+ public DriversType removeAllDriver();
+}
diff --git a/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/DsSecurityType.java b/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/DsSecurityType.java
new file mode 100644
index 00000000..e156a3a9
--- /dev/null
+++ b/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/DsSecurityType.java
@@ -0,0 +1,123 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat Middleware LLC, and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * Licensed 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.jboss.shrinkwrap.descriptor.api.datasources10;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+import org.jboss.shrinkwrap.descriptor.api.Child;
+import org.jboss.shrinkwrap.descriptor.api.datasources10.ExtensionType;
+/**
+ * This interface defines the contract for the dsSecurityType xsd type
+ * @since Generation date :2011-10-02T12:23:24.492+02:00
+ */
+public interface DsSecurityType extends Child
+{
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: DsSecurityType ElementName: xsd:token ElementType : user-name
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the user-name element
+ * @param userName the value for the element user-name
+ * @return the current instance of DsSecurityType
+ */
+ public DsSecurityType userName(String userName);
+
+ /**
+ * Returns the user-name element
+ * @return the node defined for the element user-name
+ */
+ public String getUserName();
+
+ /**
+ * Removes the user-name element
+ * @return the current instance of DsSecurityType
+ */
+ public DsSecurityType removeUserName();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: DsSecurityType ElementName: xsd:token ElementType : password
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the password element
+ * @param password the value for the element password
+ * @return the current instance of DsSecurityType
+ */
+ public DsSecurityType password(String password);
+
+ /**
+ * Returns the password element
+ * @return the node defined for the element password
+ */
+ public String getPassword();
+
+ /**
+ * Removes the password element
+ * @return the current instance of DsSecurityType
+ */
+ public DsSecurityType removePassword();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: DsSecurityType ElementName: xsd:token ElementType : security-domain
+ // MaxOccurs: -1 isGeneric: true isAttribute: false isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the security-domain element
+ * @param securityDomain the value for the element security-domain
+ * @return the current instance of DsSecurityType
+ */
+ public DsSecurityType securityDomain(String securityDomain);
+
+ /**
+ * Returns the security-domain element
+ * @return the node defined for the element security-domain
+ */
+ public String getSecurityDomain();
+
+ /**
+ * Removes the security-domain element
+ * @return the current instance of DsSecurityType
+ */
+ public DsSecurityType removeSecurityDomain();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: DsSecurityType ElementName: datasources:extensionType ElementType : reauth-plugin
+ // MaxOccurs: -1 isGeneric: true isAttribute: false isEnum: false isDataType: false
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * If not already created, a new reauth-plugin element with the given value will be created.
+ * Otherwise, the existing reauth-plugin element will be returned.
+ * @return a new or existing instance of ExtensionType>
+ */
+ public ExtensionType> getOrCreateReauthPlugin();
+
+ /**
+ * Removes the reauth-plugin element
+ * @return the current instance of DsSecurityType
+ */
+ public DsSecurityType removeReauthPlugin();
+}
diff --git a/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/ExtensionType.java b/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/ExtensionType.java
new file mode 100644
index 00000000..47de551d
--- /dev/null
+++ b/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/ExtensionType.java
@@ -0,0 +1,85 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat Middleware LLC, and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * Licensed 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.jboss.shrinkwrap.descriptor.api.datasources10;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+import org.jboss.shrinkwrap.descriptor.api.Child;
+import org.jboss.shrinkwrap.descriptor.api.datasources10.ConfigPropertyType;
+/**
+ * This interface defines the contract for the extensionType xsd type
+ * @since Generation date :2011-10-02T12:23:24.492+02:00
+ */
+public interface ExtensionType extends Child
+{
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: ExtensionType ElementName: datasources:config-propertyType ElementType : config-property
+ // MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: false
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * If not already created, a new config-property element will be created and returned.
+ * Otherwise, the first existing config-property element will be returned.
+ * @return the instance defined for the element config-property
+ */
+ public ConfigPropertyType> getOrCreateConfigProperty();
+
+ /**
+ * Creates a new config-property element
+ * @return the new created instance of ConfigPropertyType>
+ */
+ public ConfigPropertyType> createConfigProperty();
+
+ /**
+ * Returns all config-property elements
+ * @return list of config-property
+ */
+ public List>> getAllConfigProperty();
+
+ /**
+ * Removes all config-property elements
+ * @return the current instance of ConfigPropertyType>
+ */
+ public ExtensionType removeAllConfigProperty();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: ExtensionType ElementName: xsd:token ElementType : class-name
+ // MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the class-name attribute
+ * @param className the value for the attribute class-name
+ * @return the current instance of ExtensionType
+ */
+ public ExtensionType className(String className);
+
+ /**
+ * Returns the class-name attribute
+ * @return the value defined for the attribute class-name
+ */
+public String getClassName();
+
+ /**
+ * Removes the class-name attribute
+ * @return the current instance of ExtensionType
+ */
+ public ExtensionType removeClassName();
+}
diff --git a/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/PoolType.java b/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/PoolType.java
new file mode 100644
index 00000000..a91555f6
--- /dev/null
+++ b/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/PoolType.java
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat Middleware LLC, and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * Licensed 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.jboss.shrinkwrap.descriptor.api.datasources10;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+import org.jboss.shrinkwrap.descriptor.api.Child;
+/**
+ * This interface defines the contract for the poolType xsd type
+ * @since Generation date :2011-10-02T12:23:24.492+02:00
+ */
+public interface PoolType extends Child
+{
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: PoolType ElementName: xsd:nonNegativeInteger ElementType : min-pool-size
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the min-pool-size element
+ * @param minPoolSize the value for the element min-pool-size
+ * @return the current instance of PoolType
+ */
+ public PoolType minPoolSize(Integer minPoolSize);
+
+ /**
+ * Returns the min-pool-size element
+ * @return the node defined for the element min-pool-size
+ */
+ public Integer getMinPoolSize();
+
+ /**
+ * Removes the min-pool-size element
+ * @return the current instance of PoolType
+ */
+ public PoolType removeMinPoolSize();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: PoolType ElementName: xsd:nonNegativeInteger ElementType : max-pool-size
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the max-pool-size element
+ * @param maxPoolSize the value for the element max-pool-size
+ * @return the current instance of PoolType
+ */
+ public PoolType maxPoolSize(Integer maxPoolSize);
+
+ /**
+ * Returns the max-pool-size element
+ * @return the node defined for the element max-pool-size
+ */
+ public Integer getMaxPoolSize();
+
+ /**
+ * Removes the max-pool-size element
+ * @return the current instance of PoolType
+ */
+ public PoolType removeMaxPoolSize();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: PoolType ElementName: xsd:boolean ElementType : prefill
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the prefill element
+ * @param prefill the value for the element prefill
+ * @return the current instance of PoolType
+ */
+ public PoolType prefill(Boolean prefill);
+
+ /**
+ * Returns the prefill element
+ * @return the node defined for the element prefill
+ */
+ public Boolean isPrefill();
+
+ /**
+ * Removes the prefill element
+ * @return the current instance of PoolType
+ */
+ public PoolType removePrefill();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: PoolType ElementName: xsd:boolean ElementType : use-strict-min
+ // MaxOccurs: -1 isGeneric: true isAttribute: false isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the use-strict-min element
+ * @param useStrictMin the value for the element use-strict-min
+ * @return the current instance of PoolType
+ */
+ public PoolType useStrictMin(Boolean useStrictMin);
+
+ /**
+ * Returns the use-strict-min element
+ * @return the node defined for the element use-strict-min
+ */
+ public Boolean isUseStrictMin();
+
+ /**
+ * Removes the use-strict-min element
+ * @return the current instance of PoolType
+ */
+ public PoolType removeUseStrictMin();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: PoolType ElementName: xsd:token ElementType : flush-strategy
+ // MaxOccurs: -1 isGeneric: true isAttribute: false isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the flush-strategy element
+ * @param flushStrategy the value for the element flush-strategy
+ * @return the current instance of PoolType
+ */
+ public PoolType flushStrategy(String flushStrategy);
+
+ /**
+ * Returns the flush-strategy element
+ * @return the node defined for the element flush-strategy
+ */
+ public String getFlushStrategy();
+
+ /**
+ * Removes the flush-strategy element
+ * @return the current instance of PoolType
+ */
+ public PoolType removeFlushStrategy();
+}
diff --git a/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/RecoverType.java b/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/RecoverType.java
new file mode 100644
index 00000000..614a0bcf
--- /dev/null
+++ b/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/RecoverType.java
@@ -0,0 +1,93 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat Middleware LLC, and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * Licensed 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.jboss.shrinkwrap.descriptor.api.datasources10;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+import org.jboss.shrinkwrap.descriptor.api.Child;
+import org.jboss.shrinkwrap.descriptor.api.datasources10.DsSecurityType;
+import org.jboss.shrinkwrap.descriptor.api.datasources10.ExtensionType;
+/**
+ * This interface defines the contract for the recoverType xsd type
+ * @since Generation date :2011-10-02T12:23:24.492+02:00
+ */
+public interface RecoverType extends Child
+{
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: RecoverType ElementName: datasources:dsSecurityType ElementType : recover-credential
+ // MaxOccurs: -1 isGeneric: true isAttribute: false isEnum: false isDataType: false
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * If not already created, a new recover-credential element with the given value will be created.
+ * Otherwise, the existing recover-credential element will be returned.
+ * @return a new or existing instance of DsSecurityType>
+ */
+ public DsSecurityType> getOrCreateRecoverCredential();
+
+ /**
+ * Removes the recover-credential element
+ * @return the current instance of RecoverType
+ */
+ public RecoverType removeRecoverCredential();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: RecoverType ElementName: datasources:extensionType ElementType : recover-plugin
+ // MaxOccurs: -1 isGeneric: true isAttribute: false isEnum: false isDataType: false
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * If not already created, a new recover-plugin element with the given value will be created.
+ * Otherwise, the existing recover-plugin element will be returned.
+ * @return a new or existing instance of ExtensionType>
+ */
+ public ExtensionType> getOrCreateRecoverPlugin();
+
+ /**
+ * Removes the recover-plugin element
+ * @return the current instance of RecoverType
+ */
+ public RecoverType removeRecoverPlugin();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: RecoverType ElementName: xsd:boolean ElementType : no-recovery
+ // MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the no-recovery attribute
+ * @param noRecovery the value for the attribute no-recovery
+ * @return the current instance of RecoverType
+ */
+ public RecoverType noRecovery(Boolean noRecovery);
+
+ /**
+ * Returns the no-recovery attribute
+ * @return the value defined for the attribute no-recovery
+ */
+public Boolean isNoRecovery();
+
+ /**
+ * Removes the no-recovery attribute
+ * @return the current instance of RecoverType
+ */
+ public RecoverType removeNoRecovery();
+}
diff --git a/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/StatementType.java b/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/StatementType.java
new file mode 100644
index 00000000..72052013
--- /dev/null
+++ b/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/StatementType.java
@@ -0,0 +1,114 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat Middleware LLC, and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * Licensed 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.jboss.shrinkwrap.descriptor.api.datasources10;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+import org.jboss.shrinkwrap.descriptor.api.Child;
+import org.jboss.shrinkwrap.descriptor.api.datasources10.TrackStatementsType;
+/**
+ * This interface defines the contract for the statementType xsd type
+ * @since Generation date :2011-10-02T12:23:24.492+02:00
+ */
+public interface StatementType extends Child
+{
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: StatementType ElementName: datasources:track-statementsType ElementType : track-statements
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: true isDataType: false
+ // --------------------------------------------------------------------------------------------------------||
+ /**
+ * Sets the track-statements element
+ * @param trackStatements the value for the element track-statements
+ * @return the current instance of StatementType
+ */
+ public StatementType trackStatements(TrackStatementsType trackStatements);
+ /**
+ * Sets the track-statements element
+ * @param trackStatements the value for the element track-statements
+ * @return the current instance of StatementType
+ */
+ public StatementType trackStatements(String trackStatements);
+
+ /**
+ * Returns the track-statements element
+ * @return the value found for the element track-statements
+ */
+ public TrackStatementsType getTrackStatements();
+
+ /**
+ * Returns the track-statements element
+ * @return the value found for the element track-statements
+ */
+ public String getTrackStatementsAsString();
+
+ /**
+ * Removes the track-statements attribute
+ * @return the current instance of StatementType
+ */
+ public StatementType removeTrackStatements();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: StatementType ElementName: xsd:nonNegativeInteger ElementType : prepared-statement-cache-size
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the prepared-statement-cache-size element
+ * @param preparedStatementCacheSize the value for the element prepared-statement-cache-size
+ * @return the current instance of StatementType
+ */
+ public StatementType preparedStatementCacheSize(Integer preparedStatementCacheSize);
+
+ /**
+ * Returns the prepared-statement-cache-size element
+ * @return the node defined for the element prepared-statement-cache-size
+ */
+ public Integer getPreparedStatementCacheSize();
+
+ /**
+ * Removes the prepared-statement-cache-size element
+ * @return the current instance of StatementType
+ */
+ public StatementType removePreparedStatementCacheSize();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: StatementType ElementName: javaee:emptyType ElementType : share-prepared-statements
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: false
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the share-prepared-statements element
+ * @return the current instance of StatementType
+ */
+ public StatementType sharePreparedStatements();
+
+ /**
+ * Removes the share-prepared-statements element
+ * @return the current instance of StatementType
+ */
+ public Boolean isSharePreparedStatements();
+
+ /**
+ * Removes the share-prepared-statements element
+ * @return the current instance of StatementType
+ */
+ public StatementType removeSharePreparedStatements();
+}
diff --git a/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/TimeoutType.java b/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/TimeoutType.java
new file mode 100644
index 00000000..328521fb
--- /dev/null
+++ b/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/TimeoutType.java
@@ -0,0 +1,227 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat Middleware LLC, and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * Licensed 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.jboss.shrinkwrap.descriptor.api.datasources10;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+import org.jboss.shrinkwrap.descriptor.api.Child;
+/**
+ * This interface defines the contract for the timeoutType xsd type
+ * @since Generation date :2011-10-02T12:23:24.492+02:00
+ */
+public interface TimeoutType extends Child
+{
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: TimeoutType ElementName: xsd:nonNegativeInteger ElementType : blocking-timeout-millis
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the blocking-timeout-millis element
+ * @param blockingTimeoutMillis the value for the element blocking-timeout-millis
+ * @return the current instance of TimeoutType
+ */
+ public TimeoutType blockingTimeoutMillis(Integer blockingTimeoutMillis);
+
+ /**
+ * Returns the blocking-timeout-millis element
+ * @return the node defined for the element blocking-timeout-millis
+ */
+ public Integer getBlockingTimeoutMillis();
+
+ /**
+ * Removes the blocking-timeout-millis element
+ * @return the current instance of TimeoutType
+ */
+ public TimeoutType removeBlockingTimeoutMillis();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: TimeoutType ElementName: xsd:nonNegativeInteger ElementType : idle-timeout-minutes
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the idle-timeout-minutes element
+ * @param idleTimeoutMinutes the value for the element idle-timeout-minutes
+ * @return the current instance of TimeoutType
+ */
+ public TimeoutType idleTimeoutMinutes(Integer idleTimeoutMinutes);
+
+ /**
+ * Returns the idle-timeout-minutes element
+ * @return the node defined for the element idle-timeout-minutes
+ */
+ public Integer getIdleTimeoutMinutes();
+
+ /**
+ * Removes the idle-timeout-minutes element
+ * @return the current instance of TimeoutType
+ */
+ public TimeoutType removeIdleTimeoutMinutes();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: TimeoutType ElementName: javaee:emptyType ElementType : set-tx-query-timeout
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: false
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the set-tx-query-timeout element
+ * @return the current instance of TimeoutType
+ */
+ public TimeoutType setTxQueryTimeout();
+
+ /**
+ * Removes the set-tx-query-timeout element
+ * @return the current instance of TimeoutType
+ */
+ public Boolean isSetTxQueryTimeout();
+
+ /**
+ * Removes the set-tx-query-timeout element
+ * @return the current instance of TimeoutType
+ */
+ public TimeoutType removeSetTxQueryTimeout();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: TimeoutType ElementName: xsd:nonNegativeInteger ElementType : query-timeout
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the query-timeout element
+ * @param queryTimeout the value for the element query-timeout
+ * @return the current instance of TimeoutType
+ */
+ public TimeoutType queryTimeout(Integer queryTimeout);
+
+ /**
+ * Returns the query-timeout element
+ * @return the node defined for the element query-timeout
+ */
+ public Integer getQueryTimeout();
+
+ /**
+ * Removes the query-timeout element
+ * @return the current instance of TimeoutType
+ */
+ public TimeoutType removeQueryTimeout();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: TimeoutType ElementName: xsd:nonNegativeInteger ElementType : use-try-lock
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the use-try-lock element
+ * @param useTryLock the value for the element use-try-lock
+ * @return the current instance of TimeoutType
+ */
+ public TimeoutType useTryLock(Integer useTryLock);
+
+ /**
+ * Returns the use-try-lock element
+ * @return the node defined for the element use-try-lock
+ */
+ public Integer getUseTryLock();
+
+ /**
+ * Removes the use-try-lock element
+ * @return the current instance of TimeoutType
+ */
+ public TimeoutType removeUseTryLock();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: TimeoutType ElementName: xsd:nonNegativeInteger ElementType : allocation-retry
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the allocation-retry element
+ * @param allocationRetry the value for the element allocation-retry
+ * @return the current instance of TimeoutType
+ */
+ public TimeoutType allocationRetry(Integer allocationRetry);
+
+ /**
+ * Returns the allocation-retry element
+ * @return the node defined for the element allocation-retry
+ */
+ public Integer getAllocationRetry();
+
+ /**
+ * Removes the allocation-retry element
+ * @return the current instance of TimeoutType
+ */
+ public TimeoutType removeAllocationRetry();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: TimeoutType ElementName: xsd:nonNegativeInteger ElementType : allocation-retry-wait-millis
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the allocation-retry-wait-millis element
+ * @param allocationRetryWaitMillis the value for the element allocation-retry-wait-millis
+ * @return the current instance of TimeoutType
+ */
+ public TimeoutType allocationRetryWaitMillis(Integer allocationRetryWaitMillis);
+
+ /**
+ * Returns the allocation-retry-wait-millis element
+ * @return the node defined for the element allocation-retry-wait-millis
+ */
+ public Integer getAllocationRetryWaitMillis();
+
+ /**
+ * Removes the allocation-retry-wait-millis element
+ * @return the current instance of TimeoutType
+ */
+ public TimeoutType removeAllocationRetryWaitMillis();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: TimeoutType ElementName: xsd:token ElementType : xa-resource-timeout
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the xa-resource-timeout element
+ * @param xaResourceTimeout the value for the element xa-resource-timeout
+ * @return the current instance of TimeoutType
+ */
+ public TimeoutType xaResourceTimeout(String xaResourceTimeout);
+
+ /**
+ * Returns the xa-resource-timeout element
+ * @return the node defined for the element xa-resource-timeout
+ */
+ public String getXaResourceTimeout();
+
+ /**
+ * Removes the xa-resource-timeout element
+ * @return the current instance of TimeoutType
+ */
+ public TimeoutType removeXaResourceTimeout();
+}
diff --git a/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/TrackStatementsType.java b/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/TrackStatementsType.java
new file mode 100644
index 00000000..aa511bfe
--- /dev/null
+++ b/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/TrackStatementsType.java
@@ -0,0 +1,46 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat Middleware LLC, and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * Licensed 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.jboss.shrinkwrap.descriptor.api.datasources10;
+
+/**
+ * This class implements the track-statementsType xsd type
+ * @since Generation date :2011-10-02T12:23:24.492+02:00
+ */
+public enum TrackStatementsType
+{
+ _TRUE("true"),
+ _FALSE("false"),
+ _NOWARN("nowarn");
+
+ private String value;
+
+ TrackStatementsType (String value) { this.value = value; }
+
+ public String toString() {return value;}
+
+ public static TrackStatementsType getFromStringValue(String value)
+ {
+ for(TrackStatementsType type: TrackStatementsType.values())
+ {
+ if(value != null && type.toString().equals(value))
+ { return type;}
+ }
+ return null;
+ }
+
+}
+
diff --git a/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/TransactionIsolationType.java b/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/TransactionIsolationType.java
new file mode 100644
index 00000000..978ea0f7
--- /dev/null
+++ b/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/TransactionIsolationType.java
@@ -0,0 +1,48 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat Middleware LLC, and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * Licensed 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.jboss.shrinkwrap.descriptor.api.datasources10;
+
+/**
+ * This class implements the transaction-isolationType xsd type
+ * @since Generation date :2011-10-02T12:23:24.492+02:00
+ */
+public enum TransactionIsolationType
+{
+ _TRANSACTION_READ_UNCOMMITTED("TRANSACTION_READ_UNCOMMITTED"),
+ _TRANSACTION_READ_COMMITTED("TRANSACTION_READ_COMMITTED"),
+ _TRANSACTION_REPEATABLE_READ("TRANSACTION_REPEATABLE_READ"),
+ _TRANSACTION_SERIALIZABLE("TRANSACTION_SERIALIZABLE"),
+ _TRANSACTION_NONE("TRANSACTION_NONE");
+
+ private String value;
+
+ TransactionIsolationType (String value) { this.value = value; }
+
+ public String toString() {return value;}
+
+ public static TransactionIsolationType getFromStringValue(String value)
+ {
+ for(TransactionIsolationType type: TransactionIsolationType.values())
+ {
+ if(value != null && type.toString().equals(value))
+ { return type;}
+ }
+ return null;
+ }
+
+}
+
diff --git a/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/ValidationType.java b/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/ValidationType.java
new file mode 100644
index 00000000..9b7a62ba
--- /dev/null
+++ b/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/ValidationType.java
@@ -0,0 +1,213 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat Middleware LLC, and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * Licensed 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.jboss.shrinkwrap.descriptor.api.datasources10;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+import org.jboss.shrinkwrap.descriptor.api.Child;
+import org.jboss.shrinkwrap.descriptor.api.datasources10.ExtensionType;
+import org.jboss.shrinkwrap.descriptor.api.datasources10.ExtensionType;
+import org.jboss.shrinkwrap.descriptor.api.datasources10.ExtensionType;
+/**
+ * This interface defines the contract for the validationType xsd type
+ * @since Generation date :2011-10-02T12:23:24.492+02:00
+ */
+public interface ValidationType extends Child
+{
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: ValidationType ElementName: datasources:extensionType ElementType : valid-connection-checker
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: false
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * If not already created, a new valid-connection-checker element with the given value will be created.
+ * Otherwise, the existing valid-connection-checker element will be returned.
+ * @return a new or existing instance of ExtensionType>
+ */
+ public ExtensionType> getOrCreateValidConnectionChecker();
+
+ /**
+ * Removes the valid-connection-checker element
+ * @return the current instance of ValidationType
+ */
+ public ValidationType removeValidConnectionChecker();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: ValidationType ElementName: xsd:string ElementType : check-valid-connection-sql
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the check-valid-connection-sql element
+ * @param checkValidConnectionSql the value for the element check-valid-connection-sql
+ * @return the current instance of ValidationType
+ */
+ public ValidationType checkValidConnectionSql(String checkValidConnectionSql);
+
+ /**
+ * Returns the check-valid-connection-sql element
+ * @return the node defined for the element check-valid-connection-sql
+ */
+ public String getCheckValidConnectionSql();
+
+ /**
+ * Removes the check-valid-connection-sql element
+ * @return the current instance of ValidationType
+ */
+ public ValidationType removeCheckValidConnectionSql();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: ValidationType ElementName: xsd:boolean ElementType : validate-on-match
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the validate-on-match element
+ * @param validateOnMatch the value for the element validate-on-match
+ * @return the current instance of ValidationType
+ */
+ public ValidationType validateOnMatch(Boolean validateOnMatch);
+
+ /**
+ * Returns the validate-on-match element
+ * @return the node defined for the element validate-on-match
+ */
+ public Boolean isValidateOnMatch();
+
+ /**
+ * Removes the validate-on-match element
+ * @return the current instance of ValidationType
+ */
+ public ValidationType removeValidateOnMatch();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: ValidationType ElementName: xsd:boolean ElementType : background-validation
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the background-validation element
+ * @param backgroundValidation the value for the element background-validation
+ * @return the current instance of ValidationType
+ */
+ public ValidationType backgroundValidation(Boolean backgroundValidation);
+
+ /**
+ * Returns the background-validation element
+ * @return the node defined for the element background-validation
+ */
+ public Boolean isBackgroundValidation();
+
+ /**
+ * Removes the background-validation element
+ * @return the current instance of ValidationType
+ */
+ public ValidationType removeBackgroundValidation();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: ValidationType ElementName: xsd:nonNegativeInteger ElementType : background-validation-millis
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the background-validation-millis element
+ * @param backgroundValidationMillis the value for the element background-validation-millis
+ * @return the current instance of ValidationType
+ */
+ public ValidationType backgroundValidationMillis(Integer backgroundValidationMillis);
+
+ /**
+ * Returns the background-validation-millis element
+ * @return the node defined for the element background-validation-millis
+ */
+ public Integer getBackgroundValidationMillis();
+
+ /**
+ * Removes the background-validation-millis element
+ * @return the current instance of ValidationType
+ */
+ public ValidationType removeBackgroundValidationMillis();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: ValidationType ElementName: xsd:boolean ElementType : use-fast-fail
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the use-fast-fail element
+ * @param useFastFail the value for the element use-fast-fail
+ * @return the current instance of ValidationType
+ */
+ public ValidationType useFastFail(Boolean useFastFail);
+
+ /**
+ * Returns the use-fast-fail element
+ * @return the node defined for the element use-fast-fail
+ */
+ public Boolean isUseFastFail();
+
+ /**
+ * Removes the use-fast-fail element
+ * @return the current instance of ValidationType
+ */
+ public ValidationType removeUseFastFail();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: ValidationType ElementName: datasources:extensionType ElementType : stale-connection-checker
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: false
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * If not already created, a new stale-connection-checker element with the given value will be created.
+ * Otherwise, the existing stale-connection-checker element will be returned.
+ * @return a new or existing instance of ExtensionType>
+ */
+ public ExtensionType> getOrCreateStaleConnectionChecker();
+
+ /**
+ * Removes the stale-connection-checker element
+ * @return the current instance of ValidationType
+ */
+ public ValidationType removeStaleConnectionChecker();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: ValidationType ElementName: datasources:extensionType ElementType : exception-sorter
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: false
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * If not already created, a new exception-sorter element with the given value will be created.
+ * Otherwise, the existing exception-sorter element will be returned.
+ * @return a new or existing instance of ExtensionType>
+ */
+ public ExtensionType> getOrCreateExceptionSorter();
+
+ /**
+ * Removes the exception-sorter element
+ * @return the current instance of ValidationType
+ */
+ public ValidationType removeExceptionSorter();
+}
diff --git a/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/XaDatasourcePropertyType.java b/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/XaDatasourcePropertyType.java
new file mode 100644
index 00000000..59061a46
--- /dev/null
+++ b/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/XaDatasourcePropertyType.java
@@ -0,0 +1,53 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat Middleware LLC, and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * Licensed 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.jboss.shrinkwrap.descriptor.api.datasources10;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+import org.jboss.shrinkwrap.descriptor.api.Child;
+/**
+ * This interface defines the contract for the xa-datasource-propertyType xsd type
+ * @since Generation date :2011-10-02T12:23:24.492+02:00
+ */
+public interface XaDatasourcePropertyType extends Child
+{
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: XaDatasourcePropertyType ElementName: xsd:token ElementType : name
+ // MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the name attribute
+ * @param name the value for the attribute name
+ * @return the current instance of XaDatasourcePropertyType
+ */
+ public XaDatasourcePropertyType name(String name);
+
+ /**
+ * Returns the name attribute
+ * @return the value defined for the attribute name
+ */
+public String getName();
+
+ /**
+ * Removes the name attribute
+ * @return the current instance of XaDatasourcePropertyType
+ */
+ public XaDatasourcePropertyType removeName();
+}
diff --git a/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/XaDatasourceType.java b/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/XaDatasourceType.java
new file mode 100644
index 00000000..e608851d
--- /dev/null
+++ b/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/XaDatasourceType.java
@@ -0,0 +1,486 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat Middleware LLC, and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * Licensed 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.jboss.shrinkwrap.descriptor.api.datasources10;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+import org.jboss.shrinkwrap.descriptor.api.Child;
+import org.jboss.shrinkwrap.descriptor.api.datasources10.XaDatasourcePropertyType;
+import org.jboss.shrinkwrap.descriptor.api.datasources10.TransactionIsolationType;
+import org.jboss.shrinkwrap.descriptor.api.datasources10.XaPoolType;
+import org.jboss.shrinkwrap.descriptor.api.datasources10.DsSecurityType;
+import org.jboss.shrinkwrap.descriptor.api.datasources10.ValidationType;
+import org.jboss.shrinkwrap.descriptor.api.datasources10.TimeoutType;
+import org.jboss.shrinkwrap.descriptor.api.datasources10.StatementType;
+import org.jboss.shrinkwrap.descriptor.api.datasources10.RecoverType;
+/**
+ * This interface defines the contract for the xa-datasourceType xsd type
+ * @since Generation date :2011-10-02T12:23:24.492+02:00
+ */
+public interface XaDatasourceType extends Child
+{
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: XaDatasourceType ElementName: xsd:token ElementType : jndi-name
+ // MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the jndi-name attribute
+ * @param jndiName the value for the attribute jndi-name
+ * @return the current instance of XaDatasourceType
+ */
+ public XaDatasourceType jndiName(String jndiName);
+
+ /**
+ * Returns the jndi-name attribute
+ * @return the value defined for the attribute jndi-name
+ */
+public String getJndiName();
+
+ /**
+ * Removes the jndi-name attribute
+ * @return the current instance of XaDatasourceType
+ */
+ public XaDatasourceType removeJndiName();
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: XaDatasourceType ElementName: xsd:token ElementType : pool-name
+ // MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the pool-name attribute
+ * @param poolName the value for the attribute pool-name
+ * @return the current instance of XaDatasourceType
+ */
+ public XaDatasourceType poolName(String poolName);
+
+ /**
+ * Returns the pool-name attribute
+ * @return the value defined for the attribute pool-name
+ */
+public String getPoolName();
+
+ /**
+ * Removes the pool-name attribute
+ * @return the current instance of XaDatasourceType
+ */
+ public XaDatasourceType removePoolName();
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: XaDatasourceType ElementName: xsd:boolean ElementType : enabled
+ // MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the enabled attribute
+ * @param enabled the value for the attribute enabled
+ * @return the current instance of XaDatasourceType
+ */
+ public XaDatasourceType enabled(Boolean enabled);
+
+ /**
+ * Returns the enabled attribute
+ * @return the value defined for the attribute enabled
+ */
+public Boolean isEnabled();
+
+ /**
+ * Removes the enabled attribute
+ * @return the current instance of XaDatasourceType
+ */
+ public XaDatasourceType removeEnabled();
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: XaDatasourceType ElementName: xsd:boolean ElementType : use-java-context
+ // MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the use-java-context attribute
+ * @param useJavaContext the value for the attribute use-java-context
+ * @return the current instance of XaDatasourceType
+ */
+ public XaDatasourceType useJavaContext(Boolean useJavaContext);
+
+ /**
+ * Returns the use-java-context attribute
+ * @return the value defined for the attribute use-java-context
+ */
+public Boolean isUseJavaContext();
+
+ /**
+ * Removes the use-java-context attribute
+ * @return the current instance of XaDatasourceType
+ */
+ public XaDatasourceType removeUseJavaContext();
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: XaDatasourceType ElementName: xsd:boolean ElementType : spy
+ // MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the spy attribute
+ * @param spy the value for the attribute spy
+ * @return the current instance of XaDatasourceType
+ */
+ public XaDatasourceType spy(Boolean spy);
+
+ /**
+ * Returns the spy attribute
+ * @return the value defined for the attribute spy
+ */
+public Boolean isSpy();
+
+ /**
+ * Removes the spy attribute
+ * @return the current instance of XaDatasourceType
+ */
+ public XaDatasourceType removeSpy();
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: XaDatasourceType ElementName: xsd:boolean ElementType : use-ccm
+ // MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the use-ccm attribute
+ * @param useCcm the value for the attribute use-ccm
+ * @return the current instance of XaDatasourceType
+ */
+ public XaDatasourceType useCcm(Boolean useCcm);
+
+ /**
+ * Returns the use-ccm attribute
+ * @return the value defined for the attribute use-ccm
+ */
+public Boolean isUseCcm();
+
+ /**
+ * Removes the use-ccm attribute
+ * @return the current instance of XaDatasourceType
+ */
+ public XaDatasourceType removeUseCcm();
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: XaDatasourceType ElementName: datasources:xa-datasource-propertyType ElementType : xa-datasource-property
+ // MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: false
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * If not already created, a new xa-datasource-property element will be created and returned.
+ * Otherwise, the first existing xa-datasource-property element will be returned.
+ * @return the instance defined for the element xa-datasource-property
+ */
+ public XaDatasourcePropertyType> getOrCreateXaDatasourceProperty();
+
+ /**
+ * Creates a new xa-datasource-property element
+ * @return the new created instance of XaDatasourcePropertyType>
+ */
+ public XaDatasourcePropertyType> createXaDatasourceProperty();
+
+ /**
+ * Returns all xa-datasource-property elements
+ * @return list of xa-datasource-property
+ */
+ public List>> getAllXaDatasourceProperty();
+
+ /**
+ * Removes all xa-datasource-property elements
+ * @return the current instance of XaDatasourcePropertyType>
+ */
+ public XaDatasourceType removeAllXaDatasourceProperty();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: XaDatasourceType ElementName: xsd:token ElementType : xa-datasource-class
+ // MaxOccurs: -1 isGeneric: true isAttribute: false isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the xa-datasource-class element
+ * @param xaDatasourceClass the value for the element xa-datasource-class
+ * @return the current instance of XaDatasourceType
+ */
+ public XaDatasourceType xaDatasourceClass(String xaDatasourceClass);
+
+ /**
+ * Returns the xa-datasource-class element
+ * @return the node defined for the element xa-datasource-class
+ */
+ public String getXaDatasourceClass();
+
+ /**
+ * Removes the xa-datasource-class element
+ * @return the current instance of XaDatasourceType
+ */
+ public XaDatasourceType removeXaDatasourceClass();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: XaDatasourceType ElementName: xsd:token ElementType : driver
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the driver element
+ * @param driver the value for the element driver
+ * @return the current instance of XaDatasourceType
+ */
+ public XaDatasourceType driver(String driver);
+
+ /**
+ * Returns the driver element
+ * @return the node defined for the element driver
+ */
+ public String getDriver();
+
+ /**
+ * Removes the driver element
+ * @return the current instance of XaDatasourceType
+ */
+ public XaDatasourceType removeDriver();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: XaDatasourceType ElementName: xsd:token ElementType : url-delimiter
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the url-delimiter element
+ * @param urlDelimiter the value for the element url-delimiter
+ * @return the current instance of XaDatasourceType
+ */
+ public XaDatasourceType urlDelimiter(String urlDelimiter);
+
+ /**
+ * Returns the url-delimiter element
+ * @return the node defined for the element url-delimiter
+ */
+ public String getUrlDelimiter();
+
+ /**
+ * Removes the url-delimiter element
+ * @return the current instance of XaDatasourceType
+ */
+ public XaDatasourceType removeUrlDelimiter();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: XaDatasourceType ElementName: xsd:token ElementType : url-selector-strategy-class-name
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the url-selector-strategy-class-name element
+ * @param urlSelectorStrategyClassName the value for the element url-selector-strategy-class-name
+ * @return the current instance of XaDatasourceType
+ */
+ public XaDatasourceType urlSelectorStrategyClassName(String urlSelectorStrategyClassName);
+
+ /**
+ * Returns the url-selector-strategy-class-name element
+ * @return the node defined for the element url-selector-strategy-class-name
+ */
+ public String getUrlSelectorStrategyClassName();
+
+ /**
+ * Removes the url-selector-strategy-class-name element
+ * @return the current instance of XaDatasourceType
+ */
+ public XaDatasourceType removeUrlSelectorStrategyClassName();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: XaDatasourceType ElementName: xsd:string ElementType : new-connection-sql
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the new-connection-sql element
+ * @param newConnectionSql the value for the element new-connection-sql
+ * @return the current instance of XaDatasourceType
+ */
+ public XaDatasourceType newConnectionSql(String newConnectionSql);
+
+ /**
+ * Returns the new-connection-sql element
+ * @return the node defined for the element new-connection-sql
+ */
+ public String getNewConnectionSql();
+
+ /**
+ * Removes the new-connection-sql element
+ * @return the current instance of XaDatasourceType
+ */
+ public XaDatasourceType removeNewConnectionSql();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: XaDatasourceType ElementName: datasources:transaction-isolationType ElementType : transaction-isolation
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: true isDataType: false
+ // --------------------------------------------------------------------------------------------------------||
+ /**
+ * Sets the transaction-isolation element
+ * @param transactionIsolation the value for the element transaction-isolation
+ * @return the current instance of XaDatasourceType
+ */
+ public XaDatasourceType transactionIsolation(TransactionIsolationType transactionIsolation);
+ /**
+ * Sets the transaction-isolation element
+ * @param transactionIsolation the value for the element transaction-isolation
+ * @return the current instance of XaDatasourceType
+ */
+ public XaDatasourceType transactionIsolation(String transactionIsolation);
+
+ /**
+ * Returns the transaction-isolation element
+ * @return the value found for the element transaction-isolation
+ */
+ public TransactionIsolationType getTransactionIsolation();
+
+ /**
+ * Returns the transaction-isolation element
+ * @return the value found for the element transaction-isolation
+ */
+ public String getTransactionIsolationAsString();
+
+ /**
+ * Removes the transaction-isolation attribute
+ * @return the current instance of XaDatasourceType
+ */
+ public XaDatasourceType removeTransactionIsolation();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: XaDatasourceType ElementName: datasources:xa-poolType ElementType : xa-pool
+ // MaxOccurs: -1 isGeneric: true isAttribute: false isEnum: false isDataType: false
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * If not already created, a new xa-pool element with the given value will be created.
+ * Otherwise, the existing xa-pool element will be returned.
+ * @return a new or existing instance of XaPoolType>
+ */
+ public XaPoolType> getOrCreateXaPool();
+
+ /**
+ * Removes the xa-pool element
+ * @return the current instance of XaDatasourceType
+ */
+ public XaDatasourceType removeXaPool();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: XaDatasourceType ElementName: datasources:dsSecurityType ElementType : security
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: false
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * If not already created, a new security element with the given value will be created.
+ * Otherwise, the existing security element will be returned.
+ * @return a new or existing instance of DsSecurityType>
+ */
+ public DsSecurityType> getOrCreateSecurity();
+
+ /**
+ * Removes the security element
+ * @return the current instance of XaDatasourceType
+ */
+ public XaDatasourceType removeSecurity();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: XaDatasourceType ElementName: datasources:validationType ElementType : validation
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: false
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * If not already created, a new validation element with the given value will be created.
+ * Otherwise, the existing validation element will be returned.
+ * @return a new or existing instance of ValidationType>
+ */
+ public ValidationType> getOrCreateValidation();
+
+ /**
+ * Removes the validation element
+ * @return the current instance of XaDatasourceType
+ */
+ public XaDatasourceType removeValidation();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: XaDatasourceType ElementName: datasources:timeoutType ElementType : timeout
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: false
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * If not already created, a new timeout element with the given value will be created.
+ * Otherwise, the existing timeout element will be returned.
+ * @return a new or existing instance of TimeoutType>
+ */
+ public TimeoutType> getOrCreateTimeout();
+
+ /**
+ * Removes the timeout element
+ * @return the current instance of XaDatasourceType
+ */
+ public XaDatasourceType removeTimeout();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: XaDatasourceType ElementName: datasources:statementType ElementType : statement
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: false
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * If not already created, a new statement element with the given value will be created.
+ * Otherwise, the existing statement element will be returned.
+ * @return a new or existing instance of StatementType>
+ */
+ public StatementType> getOrCreateStatement();
+
+ /**
+ * Removes the statement element
+ * @return the current instance of XaDatasourceType
+ */
+ public XaDatasourceType removeStatement();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: XaDatasourceType ElementName: datasources:recoverType ElementType : recovery
+ // MaxOccurs: -1 isGeneric: true isAttribute: false isEnum: false isDataType: false
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * If not already created, a new recovery element with the given value will be created.
+ * Otherwise, the existing recovery element will be returned.
+ * @return a new or existing instance of RecoverType>
+ */
+ public RecoverType> getOrCreateRecovery();
+
+ /**
+ * Removes the recovery element
+ * @return the current instance of XaDatasourceType
+ */
+ public XaDatasourceType removeRecovery();
+}
diff --git a/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/XaPoolType.java b/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/XaPoolType.java
new file mode 100644
index 00000000..d7c45c0f
--- /dev/null
+++ b/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/XaPoolType.java
@@ -0,0 +1,151 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat Middleware LLC, and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * Licensed 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.jboss.shrinkwrap.descriptor.api.datasources10;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+import org.jboss.shrinkwrap.descriptor.api.Child;
+/**
+ * This interface defines the contract for the xa-poolType xsd type
+ * @since Generation date :2011-10-02T12:23:24.492+02:00
+ */
+public interface XaPoolType extends Child
+{
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: XaPoolType ElementName: xsd:boolean ElementType : is-same-rm-override
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the is-same-rm-override element
+ * @param isSameRmOverride the value for the element is-same-rm-override
+ * @return the current instance of XaPoolType
+ */
+ public XaPoolType isSameRmOverride(Boolean isSameRmOverride);
+
+ /**
+ * Returns the is-same-rm-override element
+ * @return the node defined for the element is-same-rm-override
+ */
+ public Boolean isIsSameRmOverride();
+
+ /**
+ * Removes the is-same-rm-override element
+ * @return the current instance of XaPoolType
+ */
+ public XaPoolType removeIsSameRmOverride();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: XaPoolType ElementName: javaee:emptyType ElementType : interleaving
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: false
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the interleaving element
+ * @return the current instance of XaPoolType
+ */
+ public XaPoolType interleaving();
+
+ /**
+ * Removes the interleaving element
+ * @return the current instance of XaPoolType
+ */
+ public Boolean isInterleaving();
+
+ /**
+ * Removes the interleaving element
+ * @return the current instance of XaPoolType
+ */
+ public XaPoolType removeInterleaving();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: XaPoolType ElementName: javaee:emptyType ElementType : no-tx-separate-pools
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: false
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the no-tx-separate-pools element
+ * @return the current instance of XaPoolType
+ */
+ public XaPoolType noTxSeparatePools();
+
+ /**
+ * Removes the no-tx-separate-pools element
+ * @return the current instance of XaPoolType
+ */
+ public Boolean isNoTxSeparatePools();
+
+ /**
+ * Removes the no-tx-separate-pools element
+ * @return the current instance of XaPoolType
+ */
+ public XaPoolType removeNoTxSeparatePools();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: XaPoolType ElementName: xsd:boolean ElementType : pad-xid
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the pad-xid element
+ * @param padXid the value for the element pad-xid
+ * @return the current instance of XaPoolType
+ */
+ public XaPoolType padXid(Boolean padXid);
+
+ /**
+ * Returns the pad-xid element
+ * @return the node defined for the element pad-xid
+ */
+ public Boolean isPadXid();
+
+ /**
+ * Removes the pad-xid element
+ * @return the current instance of XaPoolType
+ */
+ public XaPoolType removePadXid();
+
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: XaPoolType ElementName: xsd:boolean ElementType : wrap-xa-resource
+ // MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the wrap-xa-resource element
+ * @param wrapXaResource the value for the element wrap-xa-resource
+ * @return the current instance of XaPoolType
+ */
+ public XaPoolType wrapXaResource(Boolean wrapXaResource);
+
+ /**
+ * Returns the wrap-xa-resource element
+ * @return the node defined for the element wrap-xa-resource
+ */
+ public Boolean isWrapXaResource();
+
+ /**
+ * Removes the wrap-xa-resource element
+ * @return the current instance of XaPoolType
+ */
+ public XaPoolType removeWrapXaResource();
+}
diff --git a/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/package-info.java b/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/package-info.java
new file mode 100644
index 00000000..5d433cf4
--- /dev/null
+++ b/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/datasources10/package-info.java
@@ -0,0 +1,5 @@
+ /**
+ * Provides the interfaces and enumeration types as defined in the schema datasources_1_0.xsd
+ */
+
+package org.jboss.shrinkwrap.descriptor.api.datasources10;
diff --git a/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/ironjacamar10/AdminObjectType.java b/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/ironjacamar10/AdminObjectType.java
new file mode 100644
index 00000000..2b4dcbb7
--- /dev/null
+++ b/cli/temp/temp/src/main/java/org/jboss/shrinkwrap/descriptor/api/ironjacamar10/AdminObjectType.java
@@ -0,0 +1,180 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011, Red Hat Middleware LLC, and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * Licensed 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.jboss.shrinkwrap.descriptor.api.ironjacamar10;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+import org.jboss.shrinkwrap.descriptor.api.Child;
+import org.jboss.shrinkwrap.descriptor.api.ironjacamar10.ConfigPropertyType;
+/**
+ * This interface defines the contract for the admin-objectType xsd type
+ * @since Generation date :2011-10-02T12:23:24.492+02:00
+ */
+public interface AdminObjectType extends Child
+{
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: AdminObjectType ElementName: xsd:token ElementType : class-name
+ // MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the class-name attribute
+ * @param className the value for the attribute class-name
+ * @return the current instance of AdminObjectType
+ */
+ public AdminObjectType className(String className);
+
+ /**
+ * Returns the class-name attribute
+ * @return the value defined for the attribute class-name
+ */
+public String getClassName();
+
+ /**
+ * Removes the class-name attribute
+ * @return the current instance of AdminObjectType
+ */
+ public AdminObjectType removeClassName();
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: AdminObjectType ElementName: xsd:token ElementType : jndi-name
+ // MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the jndi-name attribute
+ * @param jndiName the value for the attribute jndi-name
+ * @return the current instance of AdminObjectType
+ */
+ public AdminObjectType jndiName(String jndiName);
+
+ /**
+ * Returns the jndi-name attribute
+ * @return the value defined for the attribute jndi-name
+ */
+public String getJndiName();
+
+ /**
+ * Removes the jndi-name attribute
+ * @return the current instance of AdminObjectType
+ */
+ public AdminObjectType removeJndiName();
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: AdminObjectType ElementName: xsd:boolean ElementType : enabled
+ // MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the enabled attribute
+ * @param enabled the value for the attribute enabled
+ * @return the current instance of AdminObjectType
+ */
+ public AdminObjectType enabled(Boolean enabled);
+
+ /**
+ * Returns the enabled attribute
+ * @return the value defined for the attribute enabled
+ */
+public Boolean isEnabled();
+
+ /**
+ * Removes the enabled attribute
+ * @return the current instance of AdminObjectType
+ */
+ public AdminObjectType removeEnabled();
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: AdminObjectType ElementName: xsd:boolean ElementType : use-java-context
+ // MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the use-java-context attribute
+ * @param useJavaContext the value for the attribute use-java-context
+ * @return the current instance of AdminObjectType
+ */
+ public AdminObjectType useJavaContext(Boolean useJavaContext);
+
+ /**
+ * Returns the use-java-context attribute
+ * @return the value defined for the attribute use-java-context
+ */
+public Boolean isUseJavaContext();
+
+ /**
+ * Removes the use-java-context attribute
+ * @return the current instance of AdminObjectType
+ */
+ public AdminObjectType removeUseJavaContext();
+
+ // --------------------------------------------------------------------------------------------------------||
+ // ClassName: AdminObjectType ElementName: xsd:token ElementType : pool-name
+ // MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
+ // --------------------------------------------------------------------------------------------------------||
+
+ /**
+ * Sets the pool-name attribute
+ * @param poolName the value for the attribute pool-name
+ * @return the current instance of AdminObjectType