You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by de...@apache.org on 2010/09/13 18:59:26 UTC
svn commit: r996601 [22/25] - in
/geronimo/devtools/eclipse-plugin/trunk/plugins:
org.apache.geronimo.st.schemas/v30/ org.apache.geronimo.st.v11.ui/META-INF/
org.apache.geronimo.st.v30.core/META-INF/
org.apache.geronimo.st.v30.jaxbmodel/META-INF/ org.a...
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/Empty.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/Empty.java?rev=996601&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/Empty.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/Empty.java Mon Sep 13 16:59:20 2010
@@ -0,0 +1,51 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.geronimo.jee.pkgen;
+
+import java.io.Serializable;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for emptyType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="emptyType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ * @version $Rev: 650704 $ $Date: 2008-04-23 08:09:15 +0800 (Wed, 23 Apr 2008) $
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "emptyType")
+public class Empty
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 12343L;
+
+}
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/KeyGenerator.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/KeyGenerator.java?rev=996601&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/KeyGenerator.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/KeyGenerator.java Mon Sep 13 16:59:20 2010
@@ -0,0 +1,201 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.geronimo.jee.pkgen;
+
+import java.io.Serializable;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ * Primary Key generation element.
+ *
+ * If this is present, a key generator GBean will be created
+ * and configured to generate IDs for the surrounding object.
+ *
+ *
+ * <p>Java class for key-generatorType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="key-generatorType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice>
+ * <element name="uuid" type="{http://openejb.apache.org/xml/ns/pkgen-2.1}emptyType"/>
+ * <element name="sequence-table" type="{http://openejb.apache.org/xml/ns/pkgen-2.1}sequence-tableType"/>
+ * <element name="auto-increment-table" type="{http://openejb.apache.org/xml/ns/pkgen-2.1}auto-increment-tableType"/>
+ * <element name="sql-generator" type="{http://openejb.apache.org/xml/ns/pkgen-2.1}sql-generatorType"/>
+ * <element name="custom-generator" type="{http://openejb.apache.org/xml/ns/pkgen-2.1}custom-generatorType"/>
+ * </choice>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ * @version $Rev: 650704 $ $Date: 2008-04-23 08:09:15 +0800 (Wed, 23 Apr 2008) $
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "key-generatorType", propOrder = {
+ "uuid",
+ "sequenceTable",
+ "autoIncrementTable",
+ "sqlGenerator",
+ "customGenerator"
+})
+public class KeyGenerator
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 12343L;
+ protected Empty uuid;
+ @XmlElement(name = "sequence-table")
+ protected SequenceTable sequenceTable;
+ @XmlElement(name = "auto-increment-table")
+ protected AutoIncrementTable autoIncrementTable;
+ @XmlElement(name = "sql-generator")
+ protected SqlGenerator sqlGenerator;
+ @XmlElement(name = "custom-generator")
+ protected CustomGenerator customGenerator;
+
+ /**
+ * Gets the value of the uuid property.
+ *
+ * @return
+ * possible object is
+ * {@link Empty}
+ *
+ */
+ public Empty getUuid() {
+ return uuid;
+ }
+
+ /**
+ * Sets the value of the uuid property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Empty}
+ *
+ */
+ public void setUuid(Empty value) {
+ this.uuid = value;
+ }
+
+ /**
+ * Gets the value of the sequenceTable property.
+ *
+ * @return
+ * possible object is
+ * {@link SequenceTable}
+ *
+ */
+ public SequenceTable getSequenceTable() {
+ return sequenceTable;
+ }
+
+ /**
+ * Sets the value of the sequenceTable property.
+ *
+ * @param value
+ * allowed object is
+ * {@link SequenceTable}
+ *
+ */
+ public void setSequenceTable(SequenceTable value) {
+ this.sequenceTable = value;
+ }
+
+ /**
+ * Gets the value of the autoIncrementTable property.
+ *
+ * @return
+ * possible object is
+ * {@link AutoIncrementTable}
+ *
+ */
+ public AutoIncrementTable getAutoIncrementTable() {
+ return autoIncrementTable;
+ }
+
+ /**
+ * Sets the value of the autoIncrementTable property.
+ *
+ * @param value
+ * allowed object is
+ * {@link AutoIncrementTable}
+ *
+ */
+ public void setAutoIncrementTable(AutoIncrementTable value) {
+ this.autoIncrementTable = value;
+ }
+
+ /**
+ * Gets the value of the sqlGenerator property.
+ *
+ * @return
+ * possible object is
+ * {@link SqlGenerator}
+ *
+ */
+ public SqlGenerator getSqlGenerator() {
+ return sqlGenerator;
+ }
+
+ /**
+ * Sets the value of the sqlGenerator property.
+ *
+ * @param value
+ * allowed object is
+ * {@link SqlGenerator}
+ *
+ */
+ public void setSqlGenerator(SqlGenerator value) {
+ this.sqlGenerator = value;
+ }
+
+ /**
+ * Gets the value of the customGenerator property.
+ *
+ * @return
+ * possible object is
+ * {@link CustomGenerator}
+ *
+ */
+ public CustomGenerator getCustomGenerator() {
+ return customGenerator;
+ }
+
+ /**
+ * Sets the value of the customGenerator property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CustomGenerator}
+ *
+ */
+ public void setCustomGenerator(CustomGenerator value) {
+ this.customGenerator = value;
+ }
+
+}
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/ObjectFactory.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/ObjectFactory.java?rev=996601&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/ObjectFactory.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/ObjectFactory.java Mon Sep 13 16:59:20 2010
@@ -0,0 +1,118 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.geronimo.jee.pkgen;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.namespace.QName;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the org.apache.openejb.xml.ns.pkgen_2 package.
+ * <p>An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ * @version $Rev: 650704 $ $Date: 2008-04-23 08:09:15 +0800 (Wed, 23 Apr 2008) $
+ */
+@XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _KeyGenerator_QNAME = new QName("http://openejb.apache.org/xml/ns/pkgen-2.1", "key-generator");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.apache.openejb.xml.ns.pkgen_2
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link DatabaseGenerated}
+ *
+ */
+ public DatabaseGenerated createDatabaseGenerated() {
+ return new DatabaseGenerated();
+ }
+
+ /**
+ * Create an instance of {@link Empty}
+ *
+ */
+ public Empty createEmpty() {
+ return new Empty();
+ }
+
+ /**
+ * Create an instance of {@link KeyGenerator}
+ *
+ */
+ public KeyGenerator createKeyGenerator() {
+ return new KeyGenerator();
+ }
+
+ /**
+ * Create an instance of {@link SequenceTable}
+ *
+ */
+ public SequenceTable createSequenceTable() {
+ return new SequenceTable();
+ }
+
+ /**
+ * Create an instance of {@link AutoIncrementTable}
+ *
+ */
+ public AutoIncrementTable createAutoIncrementTable() {
+ return new AutoIncrementTable();
+ }
+
+ /**
+ * Create an instance of {@link CustomGenerator}
+ *
+ */
+ public CustomGenerator createCustomGenerator() {
+ return new CustomGenerator();
+ }
+
+ /**
+ * Create an instance of {@link SqlGenerator}
+ *
+ */
+ public SqlGenerator createSqlGenerator() {
+ return new SqlGenerator();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link KeyGenerator }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://openejb.apache.org/xml/ns/pkgen-2.1", name = "key-generator")
+ public JAXBElement<KeyGenerator> createKeyGenerator(KeyGenerator value) {
+ return new JAXBElement<KeyGenerator>(_KeyGenerator_QNAME, KeyGenerator.class, null, value);
+ }
+
+}
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/SequenceTable.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/SequenceTable.java?rev=996601&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/SequenceTable.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/SequenceTable.java Mon Sep 13 16:59:20 2010
@@ -0,0 +1,136 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.geronimo.jee.pkgen;
+
+import java.io.Serializable;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ * Indicates that a separate table holds a list of table name/ID
+ * pairs and the server should fetch the next ID from that table.
+ *
+ *
+ * <p>Java class for sequence-tableType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="sequence-tableType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="table-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="sequence-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="batch-size" type="{http://www.w3.org/2001/XMLSchema}int"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ * @version $Rev: 650704 $ $Date: 2008-04-23 08:09:15 +0800 (Wed, 23 Apr 2008) $
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "sequence-tableType", propOrder = {
+ "tableName",
+ "sequenceName",
+ "batchSize"
+})
+public class SequenceTable
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 12343L;
+ @XmlElement(name = "table-name", required = true)
+ protected String tableName;
+ @XmlElement(name = "sequence-name", required = true)
+ protected String sequenceName;
+ @XmlElement(name = "batch-size")
+ protected int batchSize;
+
+ /**
+ * Gets the value of the tableName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTableName() {
+ return tableName;
+ }
+
+ /**
+ * Sets the value of the tableName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTableName(String value) {
+ this.tableName = value;
+ }
+
+ /**
+ * Gets the value of the sequenceName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSequenceName() {
+ return sequenceName;
+ }
+
+ /**
+ * Sets the value of the sequenceName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSequenceName(String value) {
+ this.sequenceName = value;
+ }
+
+ /**
+ * Gets the value of the batchSize property.
+ *
+ */
+ public int getBatchSize() {
+ return batchSize;
+ }
+
+ /**
+ * Sets the value of the batchSize property.
+ *
+ */
+ public void setBatchSize(int value) {
+ this.batchSize = value;
+ }
+
+}
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/SqlGenerator.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/SqlGenerator.java?rev=996601&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/SqlGenerator.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/SqlGenerator.java Mon Sep 13 16:59:20 2010
@@ -0,0 +1,116 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.geronimo.jee.pkgen;
+
+import java.io.Serializable;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ * Indicates that an arbitrary SQL statement should be used to
+ * generate the next ID.
+ *
+ *
+ * <p>Java class for sql-generatorType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="sql-generatorType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="sql" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="return-type" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ * @version $Rev: 650704 $ $Date: 2008-04-23 08:09:15 +0800 (Wed, 23 Apr 2008) $
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "sql-generatorType", propOrder = {
+ "sql",
+ "returnType"
+})
+public class SqlGenerator
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 12343L;
+ @XmlElement(required = true)
+ protected String sql;
+ @XmlElement(name = "return-type", required = true)
+ protected String returnType;
+
+ /**
+ * Gets the value of the sql property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSql() {
+ return sql;
+ }
+
+ /**
+ * Sets the value of the sql property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSql(String value) {
+ this.sql = value;
+ }
+
+ /**
+ * Gets the value of the returnType property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getReturnType() {
+ return returnType;
+ }
+
+ /**
+ * Sets the value of the returnType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setReturnType(String value) {
+ this.returnType = value;
+ }
+
+}
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/package-info.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/package-info.java?rev=996601&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/package-info.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/pkgen/package-info.java Mon Sep 13 16:59:20 2010
@@ -0,0 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * @version $Rev: 650704 $ $Date: 2008-04-23 08:09:15 +0800 (Wed, 23 Apr 2008) $
+ */
+@javax.xml.bind.annotation.XmlSchema(namespace = "http://openejb.apache.org/xml/ns/pkgen-2.1", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+package org.apache.geronimo.jee.pkgen;
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugins/Artifact.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugins/Artifact.java?rev=996601&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugins/Artifact.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugins/Artifact.java Mon Sep 13 16:59:20 2010
@@ -0,0 +1,197 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.geronimo.jee.plugins;
+
+import java.io.Serializable;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ *
+ * Refers to either another module running in the server, or
+ * an entry in the server's Repository. In either case this effectively uses a
+ * URI.
+ *
+ * When this is pointing to a repository entry, the URI must have a form
+ * acceptable to the repository, which is currently a URI consisting of
+ * Maven-style identifiers separated by slashes (groupId/artifactId/version/type,
+ * for example, the URI "postgresql/postgresql-8.0-jdbc/313/jar" for a file like
+ * "repository/postgresql/postgresql-8.0-jdbc-313.jar").
+ *
+ * When this is pointing to a module, the URI should match the
+ * module's moduleId. This also looks
+ * like a Maven-style URI discussed above.
+ *
+ * The artifactType element can take either a straight URI (as in the examples
+ * above), or maven-style identifier fragments (groupId, type, artifactId, and
+ * version), which it will compose into a URI by adding up the fragments with
+ * slashes in between.
+ *
+ * There is a correspondence between the xml format and a URI. For example, the URI
+ *
+ * postgresql/postgresql-8.0-jdbc/313/jar
+ *
+ * corresponds to the xml:
+ *
+ * <groupId>postgresql</groupId>
+ * <artifactId>postgresql-8.0-jdbc</artifactId>
+ * <version>313</version>
+ * <type>jar</type>
+ *
+ *
+ *
+ * <p>Java class for artifactType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="artifactType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="groupId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="artifactId" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="version" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "artifactType", propOrder = {
+ "groupId",
+ "artifactId",
+ "version",
+ "type"
+})
+public class Artifact
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 12343L;
+ protected String groupId;
+ @XmlElement(required = true)
+ protected String artifactId;
+ protected String version;
+ protected String type;
+
+ /**
+ * Gets the value of the groupId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getGroupId() {
+ return groupId;
+ }
+
+ /**
+ * Sets the value of the groupId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setGroupId(String value) {
+ this.groupId = value;
+ }
+
+ /**
+ * Gets the value of the artifactId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getArtifactId() {
+ return artifactId;
+ }
+
+ /**
+ * Sets the value of the artifactId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setArtifactId(String value) {
+ this.artifactId = value;
+ }
+
+ /**
+ * Gets the value of the version property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getVersion() {
+ return version;
+ }
+
+ /**
+ * Sets the value of the version property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setVersion(String value) {
+ this.version = value;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setType(String value) {
+ this.type = value;
+ }
+
+}
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugins/ConfigXmlContent.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugins/ConfigXmlContent.java?rev=996601&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugins/ConfigXmlContent.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugins/ConfigXmlContent.java Mon Sep 13 16:59:20 2010
@@ -0,0 +1,217 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.geronimo.jee.plugins;
+
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+import org.apache.geronimo.jee.attributes.Gbean;
+
+
+/**
+ *
+ * Lets a plugin declare data that should be inserted into config.xml
+ * when the plugin is installed. This is normally used to add ports
+ * and other settings that the user is likely to want to change. The
+ * gbean entries declared here will be written into config.xml for the
+ * new module when the plugin is installed.
+ *
+ *
+ * <p>Java class for config-xml-contentType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="config-xml-contentType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://geronimo.apache.org/xml/ns/attributes-1.2}comment" minOccurs="0"/>
+ * <element ref="{http://geronimo.apache.org/xml/ns/attributes-1.2}gbean" maxOccurs="unbounded"/>
+ * </sequence>
+ * <attribute name="condition" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="load" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
+ * <attribute name="server" type="{http://www.w3.org/2001/XMLSchema}string" default="default" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "config-xml-contentType", propOrder = {
+ "comment",
+ "gbean"
+})
+public class ConfigXmlContent
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 12343L;
+ @XmlElement(namespace = "http://geronimo.apache.org/xml/ns/attributes-1.2")
+ protected String comment;
+ @XmlElement(namespace = "http://geronimo.apache.org/xml/ns/attributes-1.2", required = true)
+ protected List<Gbean> gbean;
+ @XmlAttribute
+ protected String condition;
+ @XmlAttribute
+ protected Boolean load;
+ @XmlAttribute
+ protected String server;
+
+ /**
+ * Gets the value of the comment property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getComment() {
+ return comment;
+ }
+
+ /**
+ * Sets the value of the comment property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setComment(String value) {
+ this.comment = value;
+ }
+
+ /**
+ * Gets the value of the gbean property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the gbean property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getGbean().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Gbean }
+ *
+ *
+ */
+ public List<Gbean> getGbean() {
+ if (gbean == null) {
+ gbean = new ArrayList<Gbean>();
+ }
+ return this.gbean;
+ }
+
+ /**
+ * Gets the value of the condition property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getCondition() {
+ return condition;
+ }
+
+ /**
+ * Sets the value of the condition property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setCondition(String value) {
+ this.condition = value;
+ }
+
+ /**
+ * Gets the value of the load property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isLoad() {
+ if (load == null) {
+ return true;
+ } else {
+ return load;
+ }
+ }
+
+ /**
+ * Sets the value of the load property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setLoad(Boolean value) {
+ this.load = value;
+ }
+
+ /**
+ * Gets the value of the server property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getServer() {
+ if (server == null) {
+ return "default";
+ } else {
+ return server;
+ }
+ }
+
+ /**
+ * Sets the value of the server property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setServer(String value) {
+ this.server = value;
+ }
+
+}
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugins/CopyFile.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugins/CopyFile.java?rev=996601&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugins/CopyFile.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugins/CopyFile.java Mon Sep 13 16:59:20 2010
@@ -0,0 +1,164 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.geronimo.jee.plugins;
+
+import java.io.Serializable;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+
+/**
+ *
+ * The name of a file in the plugin archive that should be copied into
+ * the server installation tree somewhere when the plugin is installed.
+ * There may be a path component (relative to the root of the plugin
+ * archive), though that will not be used to construct the destination
+ * location. For example:
+ *
+ *
+ * <pre>
+ * <?xml version="1.0" encoding="UTF-8"?><copy-file xmlns:atts="http://geronimo.apache.org/xml/ns/attributes-1.2" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:list="http://geronimo.apache.org/xml/ns/plugins-1.3" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" xmlns:xs="http://www.w3.org/2001/XMLSchema" dest-dir="var/security/keystores" relative-to="server">
+
+ * resources/keystores/my-keystore
+
+ * </copy-file>
+ * </pre>
+ *
+ *
+ * This will copy the file resources/keystores/my-keystore to e.g.
+ * var/security/keystores/my-keystore
+ *
+ * <p>Java class for copy-fileType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="copy-fileType">
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * <attribute name="dest-dir" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="relative-to" use="required">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="geronimo"/>
+ * <enumeration value="server"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "copy-fileType", propOrder = {
+ "value"
+})
+public class CopyFile
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 12343L;
+ @XmlValue
+ protected String value;
+ @XmlAttribute(name = "dest-dir", required = true)
+ protected String destDir;
+ @XmlAttribute(name = "relative-to", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String relativeTo;
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets the value of the destDir property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDestDir() {
+ return destDir;
+ }
+
+ /**
+ * Sets the value of the destDir property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDestDir(String value) {
+ this.destDir = value;
+ }
+
+ /**
+ * Gets the value of the relativeTo property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRelativeTo() {
+ return relativeTo;
+ }
+
+ /**
+ * Sets the value of the relativeTo property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRelativeTo(String value) {
+ this.relativeTo = value;
+ }
+
+}
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugins/Dependency.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugins/Dependency.java?rev=996601&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugins/Dependency.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugins/Dependency.java Mon Sep 13 16:59:20 2010
@@ -0,0 +1,119 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.geronimo.jee.plugins;
+
+import java.io.Serializable;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ * See pluginType/dependency above
+ *
+ *
+ * <p>Java class for dependencyType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="dependencyType">
+ * <complexContent>
+ * <extension base="{http://geronimo.apache.org/xml/ns/plugins-1.3}artifactType">
+ * <sequence>
+ * <element name="import" type="{http://geronimo.apache.org/xml/ns/plugins-1.3}importType" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="start" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "dependencyType", propOrder = {
+ "_import"
+})
+public class Dependency
+ extends Artifact
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 12343L;
+ @XmlElement(name = "import")
+ protected Import _import;
+ @XmlAttribute
+ protected Boolean start;
+
+ /**
+ * Gets the value of the import property.
+ *
+ * @return
+ * possible object is
+ * {@link Import }
+ *
+ */
+ public Import getImport() {
+ return _import;
+ }
+
+ /**
+ * Sets the value of the import property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Import }
+ *
+ */
+ public void setImport(Import value) {
+ this._import = value;
+ }
+
+ /**
+ * Gets the value of the start property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isStart() {
+ if (start == null) {
+ return true;
+ } else {
+ return start;
+ }
+ }
+
+ /**
+ * Sets the value of the start property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setStart(Boolean value) {
+ this.start = value;
+ }
+
+}
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugins/Hash.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugins/Hash.java?rev=996601&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugins/Hash.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugins/Hash.java Mon Sep 13 16:59:20 2010
@@ -0,0 +1,121 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.geronimo.jee.plugins;
+
+import java.io.Serializable;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+
+/**
+ *
+ * See pluginType/hash above
+ *
+ *
+ * <p>Java class for hashType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="hashType">
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * <attribute name="type" use="required">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
+ * <enumeration value="MD5"/>
+ * <enumeration value="SHA-1"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "hashType", propOrder = {
+ "value"
+})
+public class Hash
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 12343L;
+ @XmlValue
+ protected String value;
+ @XmlAttribute(required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String type;
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setType(String value) {
+ this.type = value;
+ }
+
+}
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugins/Import.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugins/Import.java?rev=996601&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugins/Import.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugins/Import.java Mon Sep 13 16:59:20 2010
@@ -0,0 +1,68 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.geronimo.jee.plugins;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+
+
+/**
+ * <p>Java class for importType.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * <simpleType name="importType">
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="classes"/>
+ * <enumeration value="services"/>
+ * <enumeration value="all"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+@XmlEnum
+public enum Import {
+
+ @XmlEnumValue("classes")
+ CLASSES("classes"),
+ @XmlEnumValue("services")
+ SERVICES("services"),
+ @XmlEnumValue("all")
+ ALL("all");
+ private final String value;
+
+ Import(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static Import fromValue(String v) {
+ for (Import c: Import.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v.toString());
+ }
+
+}
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugins/License.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugins/License.java?rev=996601&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugins/License.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugins/License.java Mon Sep 13 16:59:20 2010
@@ -0,0 +1,103 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.geronimo.jee.plugins;
+
+import java.io.Serializable;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+
+
+/**
+ *
+ * See pluginType/license above
+ *
+ *
+ * <p>Java class for licenseType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="licenseType">
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * <attribute name="osi-approved" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "licenseType", propOrder = {
+ "value"
+})
+public class License
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 12343L;
+ @XmlValue
+ protected String value;
+ @XmlAttribute(name = "osi-approved", required = true)
+ protected boolean osiApproved;
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets the value of the osiApproved property.
+ *
+ */
+ public boolean isOsiApproved() {
+ return osiApproved;
+ }
+
+ /**
+ * Sets the value of the osiApproved property.
+ *
+ */
+ public void setOsiApproved(boolean value) {
+ this.osiApproved = value;
+ }
+
+}
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugins/ObjectFactory.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugins/ObjectFactory.java?rev=996601&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugins/ObjectFactory.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugins/ObjectFactory.java Mon Sep 13 16:59:20 2010
@@ -0,0 +1,159 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.geronimo.jee.plugins;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.namespace.QName;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the org.apache.geronimo.xml.ns.plugins_1 package.
+ * <p>An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ */
+@XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _GeronimoPlugin_QNAME = new QName("http://geronimo.apache.org/xml/ns/plugins-1.3", "geronimo-plugin");
+ private final static QName _GeronimoPluginList_QNAME = new QName("http://geronimo.apache.org/xml/ns/plugins-1.3", "geronimo-plugin-list");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.apache.geronimo.xml.ns.plugins_1
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link PluginArtifact }
+ *
+ */
+ public PluginArtifact createPluginArtifact() {
+ return new PluginArtifact();
+ }
+
+ /**
+ * Create an instance of {@link Property }
+ *
+ */
+ public Property createProperty() {
+ return new Property();
+ }
+
+ /**
+ * Create an instance of {@link Hash }
+ *
+ */
+ public Hash createHash() {
+ return new Hash();
+ }
+
+ /**
+ * Create an instance of {@link Plugin }
+ *
+ */
+ public Plugin createPlugin() {
+ return new Plugin();
+ }
+
+ /**
+ * Create an instance of {@link ConfigXmlContent }
+ *
+ */
+ public ConfigXmlContent createConfigXmlContent() {
+ return new ConfigXmlContent();
+ }
+
+ /**
+ * Create an instance of {@link Dependency }
+ *
+ */
+ public Dependency createDependency() {
+ return new Dependency();
+ }
+
+ /**
+ * Create an instance of {@link PluginList }
+ *
+ */
+ public PluginList createPluginList() {
+ return new PluginList();
+ }
+
+ /**
+ * Create an instance of {@link Prerequisite }
+ *
+ */
+ public Prerequisite createPrerequisite() {
+ return new Prerequisite();
+ }
+
+ /**
+ * Create an instance of {@link License }
+ *
+ */
+ public License createLicense() {
+ return new License();
+ }
+
+ /**
+ * Create an instance of {@link Artifact }
+ *
+ */
+ public Artifact createArtifact() {
+ return new Artifact();
+ }
+
+ /**
+ * Create an instance of {@link CopyFile }
+ *
+ */
+ public CopyFile createCopyFile() {
+ return new CopyFile();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Plugin }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://geronimo.apache.org/xml/ns/plugins-1.3", name = "geronimo-plugin")
+ public JAXBElement<Plugin> createGeronimoPlugin(Plugin value) {
+ return new JAXBElement<Plugin>(_GeronimoPlugin_QNAME, Plugin.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link PluginList }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://geronimo.apache.org/xml/ns/plugins-1.3", name = "geronimo-plugin-list")
+ public JAXBElement<PluginList> createGeronimoPluginList(PluginList value) {
+ return new JAXBElement<PluginList>(_GeronimoPluginList_QNAME, PluginList.class, null, value);
+ }
+
+}
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugins/Plugin.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugins/Plugin.java?rev=996601&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugins/Plugin.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugins/Plugin.java Mon Sep 13 16:59:20 2010
@@ -0,0 +1,287 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.geronimo.jee.plugins;
+
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for pluginType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="pluginType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="category" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="pluginGroup" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ * <element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="url" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="author" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="license" type="{http://geronimo.apache.org/xml/ns/plugins-1.3}licenseType" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="plugin-artifact" type="{http://geronimo.apache.org/xml/ns/plugins-1.3}pluginArtifactType" maxOccurs="unbounded"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "pluginType", propOrder = {
+ "name",
+ "category",
+ "pluginGroup",
+ "description",
+ "url",
+ "author",
+ "license",
+ "pluginArtifact"
+})
+public class Plugin
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 12343L;
+ @XmlElement(required = true)
+ protected String name;
+ @XmlElement(required = true)
+ protected String category;
+ @XmlElement(defaultValue = "false")
+ protected Boolean pluginGroup;
+ @XmlElement(required = true)
+ protected String description;
+ protected String url;
+ protected String author;
+ protected List<License> license;
+ @XmlElement(name = "plugin-artifact", required = true)
+ protected List<PluginArtifact> pluginArtifact;
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the category property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getCategory() {
+ return category;
+ }
+
+ /**
+ * Sets the value of the category property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setCategory(String value) {
+ this.category = value;
+ }
+
+ /**
+ * Gets the value of the pluginGroup property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isPluginGroup() {
+ return pluginGroup;
+ }
+
+ /**
+ * Sets the value of the pluginGroup property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setPluginGroup(Boolean value) {
+ this.pluginGroup = value;
+ }
+
+ /**
+ * Gets the value of the description property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDescription() {
+ return description;
+ }
+
+ /**
+ * Sets the value of the description property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDescription(String value) {
+ this.description = value;
+ }
+
+ /**
+ * Gets the value of the url property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getUrl() {
+ return url;
+ }
+
+ /**
+ * Sets the value of the url property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setUrl(String value) {
+ this.url = value;
+ }
+
+ /**
+ * Gets the value of the author property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAuthor() {
+ return author;
+ }
+
+ /**
+ * Sets the value of the author property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAuthor(String value) {
+ this.author = value;
+ }
+
+ /**
+ * Gets the value of the license property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the license property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getLicense().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link License }
+ *
+ *
+ */
+ public List<License> getLicense() {
+ if (license == null) {
+ license = new ArrayList<License>();
+ }
+ return this.license;
+ }
+
+ /**
+ * Gets the value of the pluginArtifact property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the pluginArtifact property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getPluginArtifact().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link PluginArtifact }
+ *
+ *
+ */
+ public List<PluginArtifact> getPluginArtifact() {
+ if (pluginArtifact == null) {
+ pluginArtifact = new ArrayList<PluginArtifact>();
+ }
+ return this.pluginArtifact;
+ }
+
+}
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugins/PluginArtifact.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugins/PluginArtifact.java?rev=996601&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugins/PluginArtifact.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/plugins/PluginArtifact.java Mon Sep 13 16:59:20 2010
@@ -0,0 +1,438 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.geronimo.jee.plugins;
+
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for pluginArtifactType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="pluginArtifactType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="module-id" type="{http://geronimo.apache.org/xml/ns/plugins-1.3}artifactType"/>
+ * <element name="hash" type="{http://geronimo.apache.org/xml/ns/plugins-1.3}hashType" minOccurs="0"/>
+ * <element name="geronimo-version" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="jvm-version" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="prerequisite" type="{http://geronimo.apache.org/xml/ns/plugins-1.3}prerequisiteType" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="dependency" type="{http://geronimo.apache.org/xml/ns/plugins-1.3}dependencyType" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="obsoletes" type="{http://geronimo.apache.org/xml/ns/plugins-1.3}artifactType" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="source-repository" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="copy-file" type="{http://geronimo.apache.org/xml/ns/plugins-1.3}copy-fileType" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="config-xml-content" type="{http://geronimo.apache.org/xml/ns/plugins-1.3}config-xml-contentType" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="artifact-alias" type="{http://geronimo.apache.org/xml/ns/plugins-1.3}propertyType" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="config-substitution" type="{http://geronimo.apache.org/xml/ns/plugins-1.3}propertyType" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "pluginArtifactType", propOrder = {
+ "moduleId",
+ "hash",
+ "geronimoVersion",
+ "jvmVersion",
+ "prerequisite",
+ "dependency",
+ "obsoletes",
+ "sourceRepository",
+ "copyFile",
+ "configXmlContent",
+ "artifactAlias",
+ "configSubstitution"
+})
+public class PluginArtifact
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 12343L;
+ @XmlElement(name = "module-id", required = true)
+ protected Artifact moduleId;
+ protected Hash hash;
+ @XmlElement(name = "geronimo-version")
+ protected List<String> geronimoVersion;
+ @XmlElement(name = "jvm-version")
+ protected List<String> jvmVersion;
+ protected List<Prerequisite> prerequisite;
+ protected List<Dependency> dependency;
+ protected List<Artifact> obsoletes;
+ @XmlElement(name = "source-repository")
+ protected List<String> sourceRepository;
+ @XmlElement(name = "copy-file")
+ protected List<CopyFile> copyFile;
+ @XmlElement(name = "config-xml-content")
+ protected List<ConfigXmlContent> configXmlContent;
+ @XmlElement(name = "artifact-alias")
+ protected List<Property> artifactAlias;
+ @XmlElement(name = "config-substitution")
+ protected List<Property> configSubstitution;
+
+ /**
+ * Gets the value of the moduleId property.
+ *
+ * @return
+ * possible object is
+ * {@link Artifact }
+ *
+ */
+ public Artifact getModuleId() {
+ return moduleId;
+ }
+
+ /**
+ * Sets the value of the moduleId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Artifact }
+ *
+ */
+ public void setModuleId(Artifact value) {
+ this.moduleId = value;
+ }
+
+ /**
+ * Gets the value of the hash property.
+ *
+ * @return
+ * possible object is
+ * {@link Hash }
+ *
+ */
+ public Hash getHash() {
+ return hash;
+ }
+
+ /**
+ * Sets the value of the hash property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Hash }
+ *
+ */
+ public void setHash(Hash value) {
+ this.hash = value;
+ }
+
+ /**
+ * Gets the value of the geronimoVersion property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the geronimoVersion property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getGeronimoVersion().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getGeronimoVersion() {
+ if (geronimoVersion == null) {
+ geronimoVersion = new ArrayList<String>();
+ }
+ return this.geronimoVersion;
+ }
+
+ /**
+ * Gets the value of the jvmVersion property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the jvmVersion property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getJvmVersion().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getJvmVersion() {
+ if (jvmVersion == null) {
+ jvmVersion = new ArrayList<String>();
+ }
+ return this.jvmVersion;
+ }
+
+ /**
+ * Gets the value of the prerequisite property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the prerequisite property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getPrerequisite().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Prerequisite }
+ *
+ *
+ */
+ public List<Prerequisite> getPrerequisite() {
+ if (prerequisite == null) {
+ prerequisite = new ArrayList<Prerequisite>();
+ }
+ return this.prerequisite;
+ }
+
+ /**
+ * Gets the value of the dependency property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the dependency property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getDependency().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Dependency }
+ *
+ *
+ */
+ public List<Dependency> getDependency() {
+ if (dependency == null) {
+ dependency = new ArrayList<Dependency>();
+ }
+ return this.dependency;
+ }
+
+ /**
+ * Gets the value of the obsoletes property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the obsoletes property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getObsoletes().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Artifact }
+ *
+ *
+ */
+ public List<Artifact> getObsoletes() {
+ if (obsoletes == null) {
+ obsoletes = new ArrayList<Artifact>();
+ }
+ return this.obsoletes;
+ }
+
+ /**
+ * Gets the value of the sourceRepository property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the sourceRepository property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getSourceRepository().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getSourceRepository() {
+ if (sourceRepository == null) {
+ sourceRepository = new ArrayList<String>();
+ }
+ return this.sourceRepository;
+ }
+
+ /**
+ * Gets the value of the copyFile property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the copyFile property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getCopyFile().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link CopyFile }
+ *
+ *
+ */
+ public List<CopyFile> getCopyFile() {
+ if (copyFile == null) {
+ copyFile = new ArrayList<CopyFile>();
+ }
+ return this.copyFile;
+ }
+
+ /**
+ * Gets the value of the configXmlContent property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the configXmlContent property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getConfigXmlContent().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link ConfigXmlContent }
+ *
+ *
+ */
+ public List<ConfigXmlContent> getConfigXmlContent() {
+ if (configXmlContent == null) {
+ configXmlContent = new ArrayList<ConfigXmlContent>();
+ }
+ return this.configXmlContent;
+ }
+
+ /**
+ * Gets the value of the artifactAlias property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the artifactAlias property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getArtifactAlias().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Property }
+ *
+ *
+ */
+ public List<Property> getArtifactAlias() {
+ if (artifactAlias == null) {
+ artifactAlias = new ArrayList<Property>();
+ }
+ return this.artifactAlias;
+ }
+
+ /**
+ * Gets the value of the configSubstitution property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the configSubstitution property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getConfigSubstitution().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Property }
+ *
+ *
+ */
+ public List<Property> getConfigSubstitution() {
+ if (configSubstitution == null) {
+ configSubstitution = new ArrayList<Property>();
+ }
+ return this.configSubstitution;
+ }
+
+}