[jboss-svn-commits] JBL Code SVN: r28494 - in labs/jbossrules/trunk/drools-core/src/main/java/org/drools/process: result and 1 other directory.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Mon Jul 27 09:49:49 EDT 2009
Author: laune
Date: 2009-07-27 09:49:49 -0400 (Mon, 27 Jul 2009)
New Revision: 28494
Added:
labs/jbossrules/trunk/drools-core/src/main/java/org/drools/process/result/
labs/jbossrules/trunk/drools-core/src/main/java/org/drools/process/result/ExecutionResultsType.java
labs/jbossrules/trunk/drools-core/src/main/java/org/drools/process/result/FactHandleListType.java
labs/jbossrules/trunk/drools-core/src/main/java/org/drools/process/result/FactObjectListType.java
labs/jbossrules/trunk/drools-core/src/main/java/org/drools/process/result/GlobalType.java
labs/jbossrules/trunk/drools-core/src/main/java/org/drools/process/result/InsertResultsType.java
labs/jbossrules/trunk/drools-core/src/main/java/org/drools/process/result/ObjectFactory.java
labs/jbossrules/trunk/drools-core/src/main/java/org/drools/process/result/QueryFieldType.java
labs/jbossrules/trunk/drools-core/src/main/java/org/drools/process/result/QueryResultsType.java
labs/jbossrules/trunk/drools-core/src/main/java/org/drools/process/result/QueryRowType.java
labs/jbossrules/trunk/drools-core/src/main/java/org/drools/process/result/package-info.java
Log:
new result structure
Added: labs/jbossrules/trunk/drools-core/src/main/java/org/drools/process/result/ExecutionResultsType.java
===================================================================
--- labs/jbossrules/trunk/drools-core/src/main/java/org/drools/process/result/ExecutionResultsType.java (rev 0)
+++ labs/jbossrules/trunk/drools-core/src/main/java/org/drools/process/result/ExecutionResultsType.java 2009-07-27 13:49:49 UTC (rev 28494)
@@ -0,0 +1,87 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2009.07.16 at 08:23:06 AM CEST
+//
+
+
+package org.drools.process.result;
+
+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.XmlElements;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ExecutionResultsType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="ExecutionResultsType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="query-results" type="{http://drools.org/process/result}QueryResultsType"/>
+ * <element name="insert-results" type="{http://drools.org/process/result}InsertResultsType"/>
+ * <element name="global-value" type="{http://drools.org/process/result}GlobalType"/>
+ * </choice>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlRootElement( namespace = "http://drools.org/process/result", name = "execution-results" )
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "ExecutionResultsType", propOrder = {
+ "queryResultsOrInsertResultsOrGlobalValue"
+})
+public class ExecutionResultsType {
+
+ @XmlElements({
+ @XmlElement(name = "global-value", type = GlobalType.class),
+ @XmlElement(name = "insert-results", type = InsertResultsType.class),
+ @XmlElement(name = "query-results", type = QueryResultsType.class)
+ })
+ protected List<Object> queryResultsOrInsertResultsOrGlobalValue;
+
+ /**
+ * Gets the value of the queryResultsOrInsertResultsOrGlobalValue 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 queryResultsOrInsertResultsOrGlobalValue property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getQueryResultsOrInsertResultsOrGlobalValue().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link GlobalType }
+ * {@link InsertResultsType }
+ * {@link QueryResultsType }
+ *
+ *
+ */
+ public List<Object> getQueryResultsOrInsertResultsOrGlobalValue() {
+ if (queryResultsOrInsertResultsOrGlobalValue == null) {
+ queryResultsOrInsertResultsOrGlobalValue = new ArrayList<Object>();
+ }
+ return this.queryResultsOrInsertResultsOrGlobalValue;
+ }
+
+}
Added: labs/jbossrules/trunk/drools-core/src/main/java/org/drools/process/result/FactHandleListType.java
===================================================================
--- labs/jbossrules/trunk/drools-core/src/main/java/org/drools/process/result/FactHandleListType.java (rev 0)
+++ labs/jbossrules/trunk/drools-core/src/main/java/org/drools/process/result/FactHandleListType.java 2009-07-27 13:49:49 UTC (rev 28494)
@@ -0,0 +1,76 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2009.07.16 at 08:23:06 AM CEST
+//
+
+
+package org.drools.process.result;
+
+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 FactHandleListType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="FactHandleListType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="fact-handle" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "FactHandleListType", propOrder = {
+ "factHandle"
+})
+public class FactHandleListType {
+
+ @XmlElement(name = "fact-handle", required = true)
+ protected List<String> factHandle;
+
+ /**
+ * Gets the value of the factHandle 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 factHandle property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getFactHandle().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getFactHandle() {
+ if (factHandle == null) {
+ factHandle = new ArrayList<String>();
+ }
+ return this.factHandle;
+ }
+
+}
Added: labs/jbossrules/trunk/drools-core/src/main/java/org/drools/process/result/FactObjectListType.java
===================================================================
--- labs/jbossrules/trunk/drools-core/src/main/java/org/drools/process/result/FactObjectListType.java (rev 0)
+++ labs/jbossrules/trunk/drools-core/src/main/java/org/drools/process/result/FactObjectListType.java 2009-07-27 13:49:49 UTC (rev 28494)
@@ -0,0 +1,77 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2009.07.16 at 08:23:06 AM CEST
+//
+
+
+package org.drools.process.result;
+
+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.XmlAnyElement;
+import javax.xml.bind.annotation.XmlType;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for FactObjectListType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="FactObjectListType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "FactObjectListType", propOrder = {
+ "any"
+})
+public class FactObjectListType {
+
+ @XmlAnyElement
+ protected List<Element> any;
+
+ /**
+ * Gets the value of the any 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 any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Element }
+ *
+ *
+ */
+ public List<Element> getAny() {
+ if (any == null) {
+ any = new ArrayList<Element>();
+ }
+ return this.any;
+ }
+
+}
Added: labs/jbossrules/trunk/drools-core/src/main/java/org/drools/process/result/GlobalType.java
===================================================================
--- labs/jbossrules/trunk/drools-core/src/main/java/org/drools/process/result/GlobalType.java (rev 0)
+++ labs/jbossrules/trunk/drools-core/src/main/java/org/drools/process/result/GlobalType.java 2009-07-27 13:49:49 UTC (rev 28494)
@@ -0,0 +1,98 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2009.07.16 at 08:23:06 AM CEST
+//
+
+
+package org.drools.process.result;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for GlobalType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="GlobalType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * <attribute name="identifier" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "GlobalType", propOrder = {
+ "any"
+})
+public class GlobalType {
+
+ @XmlAnyElement
+ protected Element any;
+ @XmlAttribute
+ protected String identifier;
+
+ /**
+ * Gets the value of the any property.
+ *
+ * @return
+ * possible object is
+ * {@link Element }
+ *
+ */
+ public Element getAny() {
+ return any;
+ }
+
+ /**
+ * Sets the value of the any property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Element }
+ *
+ */
+ public void setAny(Element value) {
+ this.any = value;
+ }
+
+ /**
+ * Gets the value of the identifier property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getIdentifier() {
+ return identifier;
+ }
+
+ /**
+ * Sets the value of the identifier property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIdentifier(String value) {
+ this.identifier = value;
+ }
+
+}
Added: labs/jbossrules/trunk/drools-core/src/main/java/org/drools/process/result/InsertResultsType.java
===================================================================
--- labs/jbossrules/trunk/drools-core/src/main/java/org/drools/process/result/InsertResultsType.java (rev 0)
+++ labs/jbossrules/trunk/drools-core/src/main/java/org/drools/process/result/InsertResultsType.java 2009-07-27 13:49:49 UTC (rev 28494)
@@ -0,0 +1,124 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2009.07.16 at 08:23:06 AM CEST
+//
+
+
+package org.drools.process.result;
+
+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;
+
+
+/**
+ * <p>Java class for InsertResultsType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="InsertResultsType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="fact-handles" type="{http://drools.org/process/result}FactHandleListType"/>
+ * <element name="fact-objects" type="{http://drools.org/process/result}FactObjectListType" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="identifier" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "InsertResultsType", propOrder = {
+ "factHandles",
+ "factObjects"
+})
+public class InsertResultsType {
+
+ @XmlElement(name = "fact-handles", required = true)
+ protected FactHandleListType factHandles;
+ @XmlElement(name = "fact-objects")
+ protected FactObjectListType factObjects;
+ @XmlAttribute
+ protected String identifier;
+
+ /**
+ * Gets the value of the factHandles property.
+ *
+ * @return
+ * possible object is
+ * {@link FactHandleListType }
+ *
+ */
+ public FactHandleListType getFactHandles() {
+ return factHandles;
+ }
+
+ /**
+ * Sets the value of the factHandles property.
+ *
+ * @param value
+ * allowed object is
+ * {@link FactHandleListType }
+ *
+ */
+ public void setFactHandles(FactHandleListType value) {
+ this.factHandles = value;
+ }
+
+ /**
+ * Gets the value of the factObjects property.
+ *
+ * @return
+ * possible object is
+ * {@link FactObjectListType }
+ *
+ */
+ public FactObjectListType getFactObjects() {
+ return factObjects;
+ }
+
+ /**
+ * Sets the value of the factObjects property.
+ *
+ * @param value
+ * allowed object is
+ * {@link FactObjectListType }
+ *
+ */
+ public void setFactObjects(FactObjectListType value) {
+ this.factObjects = value;
+ }
+
+ /**
+ * Gets the value of the identifier property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getIdentifier() {
+ return identifier;
+ }
+
+ /**
+ * Sets the value of the identifier property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIdentifier(String value) {
+ this.identifier = value;
+ }
+}
Added: labs/jbossrules/trunk/drools-core/src/main/java/org/drools/process/result/ObjectFactory.java
===================================================================
--- labs/jbossrules/trunk/drools-core/src/main/java/org/drools/process/result/ObjectFactory.java (rev 0)
+++ labs/jbossrules/trunk/drools-core/src/main/java/org/drools/process/result/ObjectFactory.java 2009-07-27 13:49:49 UTC (rev 28494)
@@ -0,0 +1,116 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2009.07.16 at 08:23:06 AM CEST
+//
+
+
+package org.drools.process.result;
+
+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.drools.process.result 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.
+ *
+ */
+ at XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _ExecutionResults_QNAME = new QName("http://drools.org/process/result", "execution-results");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.drools.process.result
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link FactObjectListType }
+ *
+ */
+ public FactObjectListType createFactObjectListType() {
+ return new FactObjectListType();
+ }
+
+ /**
+ * Create an instance of {@link QueryRowType }
+ *
+ */
+ public QueryRowType createQueryRowType() {
+ return new QueryRowType();
+ }
+
+ /**
+ * Create an instance of {@link ExecutionResultsType }
+ *
+ */
+ public ExecutionResultsType createExecutionResultsType() {
+ return new ExecutionResultsType();
+ }
+
+ /**
+ * Create an instance of {@link FactHandleListType }
+ *
+ */
+ public FactHandleListType createFactHandleListType() {
+ return new FactHandleListType();
+ }
+
+ /**
+ * Create an instance of {@link QueryFieldType }
+ *
+ */
+ public QueryFieldType createQueryFieldType() {
+ return new QueryFieldType();
+ }
+
+ /**
+ * Create an instance of {@link InsertResultsType }
+ *
+ */
+ public InsertResultsType createInsertResultsType() {
+ return new InsertResultsType();
+ }
+
+ /**
+ * Create an instance of {@link QueryResultsType }
+ *
+ */
+ public QueryResultsType createQueryResultsType() {
+ return new QueryResultsType();
+ }
+
+ /**
+ * Create an instance of {@link GlobalType }
+ *
+ */
+ public GlobalType createGlobalType() {
+ return new GlobalType();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link ExecutionResultsType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://drools.org/process/result", name = "execution-results")
+ public JAXBElement<ExecutionResultsType> createExecutionResults(ExecutionResultsType value) {
+ return new JAXBElement<ExecutionResultsType>(_ExecutionResults_QNAME, ExecutionResultsType.class, null, value);
+ }
+
+}
Added: labs/jbossrules/trunk/drools-core/src/main/java/org/drools/process/result/QueryFieldType.java
===================================================================
--- labs/jbossrules/trunk/drools-core/src/main/java/org/drools/process/result/QueryFieldType.java (rev 0)
+++ labs/jbossrules/trunk/drools-core/src/main/java/org/drools/process/result/QueryFieldType.java 2009-07-27 13:49:49 UTC (rev 28494)
@@ -0,0 +1,128 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2009.07.16 at 08:23:06 AM CEST
+//
+
+
+package org.drools.process.result;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for QueryFieldType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="QueryFieldType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <choice>
+ * <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <any/>
+ * </choice>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "QueryFieldType", propOrder = {
+ "name",
+ "value",
+ "any"
+})
+public class QueryFieldType {
+
+ @XmlElement(required = true)
+ protected String name;
+ protected String value;
+ @XmlAnyElement
+ protected Element any;
+
+ /**
+ * 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 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 any property.
+ *
+ * @return
+ * possible object is
+ * {@link Element }
+ *
+ */
+ public Element getAny() {
+ return any;
+ }
+
+ /**
+ * Sets the value of the any property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Element }
+ *
+ */
+ public void setAny(Element value) {
+ this.any = value;
+ }
+
+}
Added: labs/jbossrules/trunk/drools-core/src/main/java/org/drools/process/result/QueryResultsType.java
===================================================================
--- labs/jbossrules/trunk/drools-core/src/main/java/org/drools/process/result/QueryResultsType.java (rev 0)
+++ labs/jbossrules/trunk/drools-core/src/main/java/org/drools/process/result/QueryResultsType.java 2009-07-27 13:49:49 UTC (rev 28494)
@@ -0,0 +1,122 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2009.07.16 at 08:23:06 AM CEST
+//
+
+
+package org.drools.process.result;
+
+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.XmlType;
+
+
+/**
+ * <p>Java class for QueryResultsType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="QueryResultsType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="row" type="{http://drools.org/process/result}QueryRowType" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="identifier" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="size" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "QueryResultsType", propOrder = {
+ "row"
+})
+public class QueryResultsType {
+
+ protected List<QueryRowType> row;
+ @XmlAttribute(required = true)
+ protected String identifier;
+ @XmlAttribute(required = true)
+ protected int size;
+
+ /**
+ * Gets the value of the row 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 row property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getRow().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link QueryRowType }
+ *
+ *
+ */
+ public List<QueryRowType> getRow() {
+ if (row == null) {
+ row = new ArrayList<QueryRowType>();
+ }
+ return this.row;
+ }
+
+ /**
+ * Gets the value of the identifier property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getIdentifier() {
+ return identifier;
+ }
+
+ /**
+ * Sets the value of the identifier property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIdentifier(String value) {
+ this.identifier = value;
+ }
+
+ /**
+ * Gets the value of the size property.
+ *
+ */
+ public int getSize() {
+ return size;
+ }
+
+ /**
+ * Sets the value of the size property.
+ *
+ */
+ public void setSize(int value) {
+ this.size = value;
+ }
+
+}
Added: labs/jbossrules/trunk/drools-core/src/main/java/org/drools/process/result/QueryRowType.java
===================================================================
--- labs/jbossrules/trunk/drools-core/src/main/java/org/drools/process/result/QueryRowType.java (rev 0)
+++ labs/jbossrules/trunk/drools-core/src/main/java/org/drools/process/result/QueryRowType.java 2009-07-27 13:49:49 UTC (rev 28494)
@@ -0,0 +1,74 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2009.07.16 at 08:23:06 AM CEST
+//
+
+
+package org.drools.process.result;
+
+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.XmlType;
+
+
+/**
+ * <p>Java class for QueryRowType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="QueryRowType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="field" type="{http://drools.org/process/result}QueryFieldType" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "QueryRowType", propOrder = {
+ "field"
+})
+public class QueryRowType {
+
+ protected List<QueryFieldType> field;
+
+ /**
+ * Gets the value of the field 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 field property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getField().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link QueryFieldType }
+ *
+ *
+ */
+ public List<QueryFieldType> getField() {
+ if (field == null) {
+ field = new ArrayList<QueryFieldType>();
+ }
+ return this.field;
+ }
+
+}
Added: labs/jbossrules/trunk/drools-core/src/main/java/org/drools/process/result/package-info.java
===================================================================
--- labs/jbossrules/trunk/drools-core/src/main/java/org/drools/process/result/package-info.java (rev 0)
+++ labs/jbossrules/trunk/drools-core/src/main/java/org/drools/process/result/package-info.java 2009-07-27 13:49:49 UTC (rev 28494)
@@ -0,0 +1,9 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2009.07.16 at 08:23:06 AM CEST
+//
+
+ at javax.xml.bind.annotation.XmlSchema(namespace = "http://drools.org/process/result")
+package org.drools.process.result;
More information about the jboss-svn-commits
mailing list