[jboss-svn-commits] JBL Code SVN: r21629 - in labs/jbossrules/trunk/drools-process: drools-process-task and 12 other directories.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Tue Aug 19 18:58:41 EDT 2008
Author: mark.proctor at jboss.com
Date: 2008-08-19 18:58:40 -0400 (Tue, 19 Aug 2008)
New Revision: 21629
Added:
labs/jbossrules/trunk/drools-process/drools-process-task/
labs/jbossrules/trunk/drools-process/drools-process-task/.classpath
labs/jbossrules/trunk/drools-process/drools-process-task/.project
labs/jbossrules/trunk/drools-process/drools-process-task/.settings/
labs/jbossrules/trunk/drools-process/drools-process-task/.settings/org.eclipse.jdt.core.prefs
labs/jbossrules/trunk/drools-process/drools-process-task/codegenresults.txt
labs/jbossrules/trunk/drools-process/drools-process-task/pom.xml
labs/jbossrules/trunk/drools-process/drools-process-task/src/
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/ObjectFactory.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TArgument.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TBoolean.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TBooleanExpr.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TDeadline.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TDeadlineExpr.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TDeadlines.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TDelegation.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TDescription.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TDocumentation.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TDurationExpr.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TEscalation.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TExpression.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TExtensibleElements.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TExtensibleMixedContentElements.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TExtension.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TExtensions.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TFrom.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TGenericHumanRole.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TGrouplist.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/THumanInteractions.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TImport.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TLiteral.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TLocalNotification.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TLogicalPeopleGroup.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TLogicalPeopleGroups.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TNotification.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TNotificationInterface.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TNotifications.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TOrganizationalEntity.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TParameter.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TPeopleAssignments.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TPotentialDelegatees.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TPresentationElements.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TPresentationParameter.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TPresentationParameters.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TPriority.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TQuery.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TReassignment.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TRendering.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TRenderings.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TTask.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TTaskInterface.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TTasks.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TText.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TToPart.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TToParts.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TUserlist.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/package-info.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/resources/
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/resources/META-INF/
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/resources/META-INF/persistence.xml
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/resources/META-INF/sun-jaxb.episode
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/resources/ws-human-task.xsd
labs/jbossrules/trunk/drools-process/drools-process-task/src/test/
labs/jbossrules/trunk/drools-process/drools-process-task/src/test/java/
labs/jbossrules/trunk/drools-process/drools-process-task/src/test/java/org/
labs/jbossrules/trunk/drools-process/drools-process-task/src/test/java/org/drools/
labs/jbossrules/trunk/drools-process/drools-process-task/src/test/resources/
labs/jbossrules/trunk/drools-process/drools-process-task/target/
labs/jbossrules/trunk/drools-process/pom.xml
Log:
JBRULES-1745 WS-Human-Task
-Added EJB3 persistable JAXB model
Added: labs/jbossrules/trunk/drools-process/drools-process-task/.classpath
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/.classpath (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/.classpath 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,26 @@
+<classpath>
+ <classpathentry kind="src" path="src/main/java"/>
+ <classpathentry kind="src" path="src/main/resources" excluding="**/*.java"/>
+ <classpathentry kind="src" path="src/test/java" output="target/test-classes"/>
+ <classpathentry kind="src" path="src/test/resources" output="target/test-classes" excluding="**/*.java"/>
+ <classpathentry kind="output" path="target/classes"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="var" path="M2_REPO/com/sun/xml/bind/jaxb-impl/2.1.6/jaxb-impl-2.1.6.jar"/>
+ <classpathentry kind="var" path="M2_REPO/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar"/>
+ <classpathentry kind="var" path="M2_REPO/javax/activation/activation/1.1/activation-1.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/junit/junit/3.8.1/junit-3.8.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/drools/drools-compiler/5.0.0.SNAPSHOT/drools-compiler-5.0.0.SNAPSHOT.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/drools/drools-core/5.0.0.SNAPSHOT/drools-core-5.0.0.SNAPSHOT.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/mvel/mvel/2.0-dp4/mvel-2.0-dp4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/antlr/antlr-runtime/3.0.1/antlr-runtime-3.0.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/antlr/stringtemplate/3.1-b1/stringtemplate-3.1-b1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/eclipse/jdt/core/3.2.3.v_686_R32x/core-3.2.3.v_686_R32x.jar"/>
+ <classpathentry kind="var" path="M2_REPO/janino/janino/2.5.10/janino-2.5.10.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/jvnet/hyperjaxb3/hyperjaxb3-ejb-runtime/0.3/hyperjaxb3-ejb-runtime-0.3.jar"/>
+ <classpathentry kind="var" path="M2_REPO/log4j/log4j/1.2.13/log4j-1.2.13.jar"/>
+ <classpathentry kind="var" path="M2_REPO/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/jvnet/jaxb2_commons/runtime/0.2.GA/runtime-0.2.GA.jar"/>
+ <classpathentry kind="var" path="M2_REPO/commons-lang/commons-lang/2.3/commons-lang-2.3.jar"/>
+ <classpathentry kind="var" path="M2_REPO/javax/persistence/persistence-api/1.0/persistence-api-1.0.jar"/>
+</classpath>
\ No newline at end of file
Added: labs/jbossrules/trunk/drools-process/drools-process-task/.project
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/.project (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/.project 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,13 @@
+<projectDescription>
+ <name>drools-process-task</name>
+ <comment>A rule production system</comment>
+ <projects/>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
\ No newline at end of file
Added: labs/jbossrules/trunk/drools-process/drools-process-task/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/.settings/org.eclipse.jdt.core.prefs 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,5 @@
+#Tue Aug 19 23:43:17 BST 2008
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.source=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
Added: labs/jbossrules/trunk/drools-process/drools-process-task/codegenresults.txt
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/codegenresults.txt (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/codegenresults.txt 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,40 @@
+[INFO] [hyperjaxb3:generate {execution: default}]
+[INFO] Removed old generateDirectory 'C:\dev\drools\trunk7\drools-process\drools-process-task\target\generated-sources\xjc'.
+[ERROR] Class [org.example.ws_ht.TQuery] declares an attribute wildcard. This is currently not supported. See issue #46.
+ org.jvnet.hyperjaxb3.ejb.strategy.model.base.DefaultProcessPropertyInfos
+
+[ERROR] Class [org.example.ws_ht.TExtensibleElements] declares an attribute wildcard. This is currently not supported. See issue #46.
+ org.jvnet.hyperjaxb3.ejb.strategy.model.base.DefaultProcessPropertyInfos
+
+[ERROR] Class [org.example.ws_ht.TLiteral] declares an attribute wildcard. This is currently not supported. See issue #46.
+ org.jvnet.hyperjaxb3.ejb.strategy.model.base.DefaultProcessPropertyInfos
+
+[ERROR] Class [org.example.ws_ht.TExpression] declares an attribute wildcard. This is currently not supported. See issue #46.
+ org.jvnet.hyperjaxb3.ejb.strategy.model.base.DefaultProcessPropertyInfos
+
+[ERROR] Class [org.example.ws_ht.TExtensibleMixedContentElements] declares an attribute wildcard. This is currently not supported. See issue #46.
+ org.jvnet.hyperjaxb3.ejb.strategy.model.base.DefaultProcessPropertyInfos
+
+[INFO] Succesfully generated output to: C:\dev\drools\trunk7\drools-process\drools-process-task\target\generated-sources\xjc
+[INFO] [resources:resources]
+[INFO] Using default encoding to copy filtered resources.
+Downloading: http://download.java.net/maven/2/org/drools/drools-core/5.0.0.20080716.092257-204/drools-core-5.0.0.20080716.092257-204.pom
+Downloading: http://download.java.net/maven/1/org.drools/poms/drools-core-5.0.0.20080716.092257-204.pom
+Downloading: http://repository.jboss.com/maven2/org/drools/drools-core/5.0.0.20080716.092257-204/drools-core-5.0.0.20080716.092257-204.pom
+Downloading: http://www.jfrog.org/artifactory/plugins-releases@repo/org/drools/drools-core/5.0.0.20080716.092257-204/drools-core-5.0.0.20080716.092257-204.pom
+Downloading: http://repository.jboss.org/maven2/org/drools/drools-core/5.0.0.20080716.092257-204/drools-core-5.0.0.20080716.092257-204.pom
+Downloading: http://repo1.maven.org/maven2/org/drools/drools-core/5.0.0.20080716.092257-204/drools-core-5.0.0.20080716.092257-204.pom
+[INFO] [compiler:compile]
+[INFO] Compiling 49 source files to C:\dev\drools\trunk7\drools-process\drools-process-task\target\classes
+[INFO] [resources:testResources]
+[INFO] Using default encoding to copy filtered resources.
+[INFO] [compiler:testCompile]
+[INFO] Nothing to compile - all classes are up to date
+Downloading: http://download.java.net/maven/2/org/drools/drools-compiler/5.0.0.20080716.092257-204/drools-compiler-5.0.0.20080716.092257-204.pom
+Downloading: http://download.java.net/maven/1/org.drools/poms/drools-compiler-5.0.0.20080716.092257-204.pom
+Downloading: http://repository.jboss.com/maven2/org/drools/drools-compiler/5.0.0.20080716.092257-204/drools-compiler-5.0.0.20080716.092257-204.pom
+Downloading: http://www.jfrog.org/artifactory/plugins-releases@repo/org/drools/drools-compiler/5.0.0.20080716.092257-204/drools-compiler-5.0.0.20080716.092257-204.pom
+Downloading: http://repository.jboss.org/maven2/org/drools/drools-compiler/5.0.0.20080716.092257-204/drools-compiler-5.0.0.20080716.092257-204.pom
+Downloading: http://repo1.maven.org/maven2/org/drools/drools-compiler/5.0.0.20080716.092257-204/drools-compiler-5.0.0.20080716.092257-204.pom
+[INFO] [surefire:test]
+[INFO] Surefire report directory: C:\dev\drools\trunk7\drools-process\drools-process-task\target\surefire-reports
\ No newline at end of file
Added: labs/jbossrules/trunk/drools-process/drools-process-task/pom.xml
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/pom.xml (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/pom.xml 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <artifactId>drools</artifactId>
+ <groupId>org.drools</groupId>
+ <version>5.0.0.SNAPSHOT</version>
+ </parent>
+
+ <artifactId>drools-process-task</artifactId>
+ <packaging>jar</packaging>
+ <name>Drools :: Process :: Task</name>
+
+ <repositories>
+ <repository>
+ <id>maven2-repository.dev.java.net</id>
+ <url>http://download.java.net/maven/2</url>
+ </repository>
+ <repository>
+ <id>maven-repository.dev.java.net</id>
+ <url>http://download.java.net/maven/1</url>
+ <layout>legacy</layout>
+ </repository>
+ <repository>
+ <id>maven2-repository.jboss.com</id>
+ <url>http://repository.jboss.com/maven2</url>
+ </repository>
+ <repository>
+ <id>jfrog.org</id>
+ <url>http://www.jfrog.org/artifactory/plugins-releases@repo</url>
+ </repository>
+ </repositories>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>maven2-repository.dev.java.net</id>
+ <url>http://download.java.net/maven/2</url>
+ </pluginRepository>
+ <pluginRepository>
+ <id>maven-repository.dev.java.net</id>
+ <url>http://download.java.net/maven/1</url>
+ <layout>legacy</layout>
+ </pluginRepository>
+ </pluginRepositories>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.drools</groupId>
+ <artifactId>drools-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.drools</groupId>
+ <artifactId>drools-compiler</artifactId>
+ <version>${project.version}</version>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>com.sun.xml.bind</groupId>
+ <artifactId>jaxb-impl</artifactId>
+ <version>2.1.6</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jvnet.hyperjaxb3</groupId>
+ <artifactId>hyperjaxb3-ejb-runtime</artifactId>
+ <version>0.3</version>
+ </dependency>
+ </dependencies>
+
+</project>
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/ObjectFactory.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/ObjectFactory.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/ObjectFactory.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,612 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+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.example.ws_ht 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 _LogicalPeopleGroups_QNAME = new QName("http://www.example.org/WS-HT", "logicalPeopleGroups");
+ private final static QName _Task_QNAME = new QName("http://www.example.org/WS-HT", "task");
+ private final static QName _HumanInteractions_QNAME = new QName("http://www.example.org/WS-HT", "humanInteractions");
+ private final static QName _BusinessAdministrators_QNAME = new QName("http://www.example.org/WS-HT", "businessAdministrators");
+ private final static QName _TaskInitiator_QNAME = new QName("http://www.example.org/WS-HT", "taskInitiator");
+ private final static QName _Priority_QNAME = new QName("http://www.example.org/WS-HT", "priority");
+ private final static QName _Notification_QNAME = new QName("http://www.example.org/WS-HT", "notification");
+ private final static QName _User_QNAME = new QName("http://www.example.org/WS-HT", "user");
+ private final static QName _Group_QNAME = new QName("http://www.example.org/WS-HT", "group");
+ private final static QName _ExcludedOwners_QNAME = new QName("http://www.example.org/WS-HT", "excludedOwners");
+ private final static QName _Import_QNAME = new QName("http://www.example.org/WS-HT", "import");
+ private final static QName _Recipients_QNAME = new QName("http://www.example.org/WS-HT", "recipients");
+ private final static QName _Notifications_QNAME = new QName("http://www.example.org/WS-HT", "notifications");
+ private final static QName _Tasks_QNAME = new QName("http://www.example.org/WS-HT", "tasks");
+ private final static QName _Users_QNAME = new QName("http://www.example.org/WS-HT", "users");
+ private final static QName _OrganizationalEntity_QNAME = new QName("http://www.example.org/WS-HT", "organizationalEntity");
+ private final static QName _PeopleAssignments_QNAME = new QName("http://www.example.org/WS-HT", "peopleAssignments");
+ private final static QName _PotentialOwners_QNAME = new QName("http://www.example.org/WS-HT", "potentialOwners");
+ private final static QName _TaskStakeholders_QNAME = new QName("http://www.example.org/WS-HT", "taskStakeholders");
+ private final static QName _Groups_QNAME = new QName("http://www.example.org/WS-HT", "groups");
+ private final static QName _TExtensibleMixedContentElementsDocumentation_QNAME = new QName("http://www.example.org/WS-HT", "documentation");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.example.ws_ht
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link TLocalNotification }
+ *
+ */
+ public TLocalNotification createTLocalNotification() {
+ return new TLocalNotification();
+ }
+
+ /**
+ * Create an instance of {@link TNotificationInterface }
+ *
+ */
+ public TNotificationInterface createTNotificationInterface() {
+ return new TNotificationInterface();
+ }
+
+ /**
+ * Create an instance of {@link TExtensions }
+ *
+ */
+ public TExtensions createTExtensions() {
+ return new TExtensions();
+ }
+
+ /**
+ * Create an instance of {@link TDeadlines }
+ *
+ */
+ public TDeadlines createTDeadlines() {
+ return new TDeadlines();
+ }
+
+ /**
+ * Create an instance of {@link TExtension }
+ *
+ */
+ public TExtension createTExtension() {
+ return new TExtension();
+ }
+
+ /**
+ * Create an instance of {@link TBooleanExpr }
+ *
+ */
+ public TBooleanExpr createTBooleanExpr() {
+ return new TBooleanExpr();
+ }
+
+ /**
+ * Create an instance of {@link TLogicalPeopleGroup }
+ *
+ */
+ public TLogicalPeopleGroup createTLogicalPeopleGroup() {
+ return new TLogicalPeopleGroup();
+ }
+
+ /**
+ * Create an instance of {@link TText }
+ *
+ */
+ public TText createTText() {
+ return new TText();
+ }
+
+ /**
+ * Create an instance of {@link TRenderings }
+ *
+ */
+ public TRenderings createTRenderings() {
+ return new TRenderings();
+ }
+
+ /**
+ * Create an instance of {@link TEscalation }
+ *
+ */
+ public TEscalation createTEscalation() {
+ return new TEscalation();
+ }
+
+ /**
+ * Create an instance of {@link TReassignment }
+ *
+ */
+ public TReassignment createTReassignment() {
+ return new TReassignment();
+ }
+
+ /**
+ * Create an instance of {@link TLiteral }
+ *
+ */
+ public TLiteral createTLiteral() {
+ return new TLiteral();
+ }
+
+ /**
+ * Create an instance of {@link TDurationExpr }
+ *
+ */
+ public TDurationExpr createTDurationExpr() {
+ return new TDurationExpr();
+ }
+
+ /**
+ * Create an instance of {@link TNotifications }
+ *
+ */
+ public TNotifications createTNotifications() {
+ return new TNotifications();
+ }
+
+ /**
+ * Create an instance of {@link TTasks }
+ *
+ */
+ public TTasks createTTasks() {
+ return new TTasks();
+ }
+
+ /**
+ * Create an instance of {@link TPeopleAssignments }
+ *
+ */
+ public TPeopleAssignments createTPeopleAssignments() {
+ return new TPeopleAssignments();
+ }
+
+ /**
+ * Create an instance of {@link TGrouplist }
+ *
+ */
+ public TGrouplist createTGrouplist() {
+ return new TGrouplist();
+ }
+
+ /**
+ * Create an instance of {@link TOrganizationalEntity }
+ *
+ */
+ public TOrganizationalEntity createTOrganizationalEntity() {
+ return new TOrganizationalEntity();
+ }
+
+ /**
+ * Create an instance of {@link TFrom }
+ *
+ */
+ public TFrom createTFrom() {
+ return new TFrom();
+ }
+
+ /**
+ * Create an instance of {@link TPriority }
+ *
+ */
+ public TPriority createTPriority() {
+ return new TPriority();
+ }
+
+ /**
+ * Create an instance of {@link TPresentationElements }
+ *
+ */
+ public TPresentationElements createTPresentationElements() {
+ return new TPresentationElements();
+ }
+
+ /**
+ * Create an instance of {@link TParameter }
+ *
+ */
+ public TParameter createTParameter() {
+ return new TParameter();
+ }
+
+ /**
+ * Create an instance of {@link TDescription }
+ *
+ */
+ public TDescription createTDescription() {
+ return new TDescription();
+ }
+
+ /**
+ * Create an instance of {@link TNotification }
+ *
+ */
+ public TNotification createTNotification() {
+ return new TNotification();
+ }
+
+ /**
+ * Create an instance of {@link TPresentationParameter }
+ *
+ */
+ public TPresentationParameter createTPresentationParameter() {
+ return new TPresentationParameter();
+ }
+
+ /**
+ * Create an instance of {@link TTask }
+ *
+ */
+ public TTask createTTask() {
+ return new TTask();
+ }
+
+ /**
+ * Create an instance of {@link TArgument }
+ *
+ */
+ public TArgument createTArgument() {
+ return new TArgument();
+ }
+
+ /**
+ * Create an instance of {@link TUserlist }
+ *
+ */
+ public TUserlist createTUserlist() {
+ return new TUserlist();
+ }
+
+ /**
+ * Create an instance of {@link TDeadline }
+ *
+ */
+ public TDeadline createTDeadline() {
+ return new TDeadline();
+ }
+
+ /**
+ * Create an instance of {@link TDocumentation }
+ *
+ */
+ public TDocumentation createTDocumentation() {
+ return new TDocumentation();
+ }
+
+ /**
+ * Create an instance of {@link TToPart }
+ *
+ */
+ public TToPart createTToPart() {
+ return new TToPart();
+ }
+
+ /**
+ * Create an instance of {@link TExtensibleMixedContentElements }
+ *
+ */
+ public TExtensibleMixedContentElements createTExtensibleMixedContentElements() {
+ return new TExtensibleMixedContentElements();
+ }
+
+ /**
+ * Create an instance of {@link TRendering }
+ *
+ */
+ public TRendering createTRendering() {
+ return new TRendering();
+ }
+
+ /**
+ * Create an instance of {@link TGenericHumanRole }
+ *
+ */
+ public TGenericHumanRole createTGenericHumanRole() {
+ return new TGenericHumanRole();
+ }
+
+ /**
+ * Create an instance of {@link TDeadlineExpr }
+ *
+ */
+ public TDeadlineExpr createTDeadlineExpr() {
+ return new TDeadlineExpr();
+ }
+
+ /**
+ * Create an instance of {@link TImport }
+ *
+ */
+ public TImport createTImport() {
+ return new TImport();
+ }
+
+ /**
+ * Create an instance of {@link TExpression }
+ *
+ */
+ public TExpression createTExpression() {
+ return new TExpression();
+ }
+
+ /**
+ * Create an instance of {@link TTaskInterface }
+ *
+ */
+ public TTaskInterface createTTaskInterface() {
+ return new TTaskInterface();
+ }
+
+ /**
+ * Create an instance of {@link TLogicalPeopleGroups }
+ *
+ */
+ public TLogicalPeopleGroups createTLogicalPeopleGroups() {
+ return new TLogicalPeopleGroups();
+ }
+
+ /**
+ * Create an instance of {@link TExtensibleElements }
+ *
+ */
+ public TExtensibleElements createTExtensibleElements() {
+ return new TExtensibleElements();
+ }
+
+ /**
+ * Create an instance of {@link TPresentationParameters }
+ *
+ */
+ public TPresentationParameters createTPresentationParameters() {
+ return new TPresentationParameters();
+ }
+
+ /**
+ * Create an instance of {@link TToParts }
+ *
+ */
+ public TToParts createTToParts() {
+ return new TToParts();
+ }
+
+ /**
+ * Create an instance of {@link THumanInteractions }
+ *
+ */
+ public THumanInteractions createTHumanInteractions() {
+ return new THumanInteractions();
+ }
+
+ /**
+ * Create an instance of {@link TQuery }
+ *
+ */
+ public TQuery createTQuery() {
+ return new TQuery();
+ }
+
+ /**
+ * Create an instance of {@link TDelegation }
+ *
+ */
+ public TDelegation createTDelegation() {
+ return new TDelegation();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link TLogicalPeopleGroups }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.example.org/WS-HT", name = "logicalPeopleGroups")
+ public JAXBElement<TLogicalPeopleGroups> createLogicalPeopleGroups(TLogicalPeopleGroups value) {
+ return new JAXBElement<TLogicalPeopleGroups>(_LogicalPeopleGroups_QNAME, TLogicalPeopleGroups.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link TTask }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.example.org/WS-HT", name = "task")
+ public JAXBElement<TTask> createTask(TTask value) {
+ return new JAXBElement<TTask>(_Task_QNAME, TTask.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link THumanInteractions }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.example.org/WS-HT", name = "humanInteractions")
+ public JAXBElement<THumanInteractions> createHumanInteractions(THumanInteractions value) {
+ return new JAXBElement<THumanInteractions>(_HumanInteractions_QNAME, THumanInteractions.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link TGenericHumanRole }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.example.org/WS-HT", name = "businessAdministrators")
+ public JAXBElement<TGenericHumanRole> createBusinessAdministrators(TGenericHumanRole value) {
+ return new JAXBElement<TGenericHumanRole>(_BusinessAdministrators_QNAME, TGenericHumanRole.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link TGenericHumanRole }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.example.org/WS-HT", name = "taskInitiator")
+ public JAXBElement<TGenericHumanRole> createTaskInitiator(TGenericHumanRole value) {
+ return new JAXBElement<TGenericHumanRole>(_TaskInitiator_QNAME, TGenericHumanRole.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link TPriority }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.example.org/WS-HT", name = "priority")
+ public JAXBElement<TPriority> createPriority(TPriority value) {
+ return new JAXBElement<TPriority>(_Priority_QNAME, TPriority.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link TNotification }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.example.org/WS-HT", name = "notification")
+ public JAXBElement<TNotification> createNotification(TNotification value) {
+ return new JAXBElement<TNotification>(_Notification_QNAME, TNotification.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.example.org/WS-HT", name = "user")
+ public JAXBElement<String> createUser(String value) {
+ return new JAXBElement<String>(_User_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.example.org/WS-HT", name = "group")
+ public JAXBElement<String> createGroup(String value) {
+ return new JAXBElement<String>(_Group_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link TGenericHumanRole }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.example.org/WS-HT", name = "excludedOwners")
+ public JAXBElement<TGenericHumanRole> createExcludedOwners(TGenericHumanRole value) {
+ return new JAXBElement<TGenericHumanRole>(_ExcludedOwners_QNAME, TGenericHumanRole.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link TImport }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.example.org/WS-HT", name = "import")
+ public JAXBElement<TImport> createImport(TImport value) {
+ return new JAXBElement<TImport>(_Import_QNAME, TImport.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link TGenericHumanRole }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.example.org/WS-HT", name = "recipients")
+ public JAXBElement<TGenericHumanRole> createRecipients(TGenericHumanRole value) {
+ return new JAXBElement<TGenericHumanRole>(_Recipients_QNAME, TGenericHumanRole.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link TNotifications }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.example.org/WS-HT", name = "notifications")
+ public JAXBElement<TNotifications> createNotifications(TNotifications value) {
+ return new JAXBElement<TNotifications>(_Notifications_QNAME, TNotifications.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link TTasks }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.example.org/WS-HT", name = "tasks")
+ public JAXBElement<TTasks> createTasks(TTasks value) {
+ return new JAXBElement<TTasks>(_Tasks_QNAME, TTasks.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link TUserlist }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.example.org/WS-HT", name = "users")
+ public JAXBElement<TUserlist> createUsers(TUserlist value) {
+ return new JAXBElement<TUserlist>(_Users_QNAME, TUserlist.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link TOrganizationalEntity }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.example.org/WS-HT", name = "organizationalEntity")
+ public JAXBElement<TOrganizationalEntity> createOrganizationalEntity(TOrganizationalEntity value) {
+ return new JAXBElement<TOrganizationalEntity>(_OrganizationalEntity_QNAME, TOrganizationalEntity.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link TPeopleAssignments }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.example.org/WS-HT", name = "peopleAssignments")
+ public JAXBElement<TPeopleAssignments> createPeopleAssignments(TPeopleAssignments value) {
+ return new JAXBElement<TPeopleAssignments>(_PeopleAssignments_QNAME, TPeopleAssignments.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link TGenericHumanRole }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.example.org/WS-HT", name = "potentialOwners")
+ public JAXBElement<TGenericHumanRole> createPotentialOwners(TGenericHumanRole value) {
+ return new JAXBElement<TGenericHumanRole>(_PotentialOwners_QNAME, TGenericHumanRole.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link TGenericHumanRole }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.example.org/WS-HT", name = "taskStakeholders")
+ public JAXBElement<TGenericHumanRole> createTaskStakeholders(TGenericHumanRole value) {
+ return new JAXBElement<TGenericHumanRole>(_TaskStakeholders_QNAME, TGenericHumanRole.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link TGrouplist }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.example.org/WS-HT", name = "groups")
+ public JAXBElement<TGrouplist> createGroups(TGrouplist value) {
+ return new JAXBElement<TGrouplist>(_Groups_QNAME, TGrouplist.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link TDocumentation }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.example.org/WS-HT", name = "documentation", scope = TExtensibleMixedContentElements.class)
+ public JAXBElement<TDocumentation> createTExtensibleMixedContentElementsDocumentation(TDocumentation value) {
+ return new JAXBElement<TDocumentation>(_TExtensibleMixedContentElementsDocumentation_QNAME, TDocumentation.class, TExtensibleMixedContentElements.class, value);
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TArgument.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TArgument.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TArgument.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,155 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import javax.persistence.Basic;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.Table;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.jaxb2_commons.lang.Equals;
+import org.jvnet.jaxb2_commons.lang.HashCode;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
+
+
+/**
+ * <p>Java class for tArgument complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tArgument">
+ * <complexContent>
+ * <extension base="{http://www.example.org/WS-HT}tExtensibleMixedContentElements">
+ * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}NCName" />
+ * <attribute name="expressionLanguage" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tArgument")
+ at Entity(name = "org.example.ws_ht.TArgument")
+ at Table(name = "TARGUMENT")
+public class TArgument
+ extends TExtensibleMixedContentElements
+ implements Equals, HashCode
+{
+
+ @XmlAttribute
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NCName")
+ protected String name;
+ @XmlAttribute
+ @XmlSchemaType(name = "anyURI")
+ protected String expressionLanguage;
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "NAME_")
+ 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 expressionLanguage property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "EXPRESSIONLANGUAGE")
+ public String getExpressionLanguage() {
+ return expressionLanguage;
+ }
+
+ /**
+ * Sets the value of the expressionLanguage property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setExpressionLanguage(String value) {
+ this.expressionLanguage = value;
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TArgument)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ super.equals(object, equalsBuilder);
+ final TArgument that = ((TArgument) object);
+ equalsBuilder.append(this.getName(), that.getName());
+ equalsBuilder.append(this.getExpressionLanguage(), that.getExpressionLanguage());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TArgument)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ super.hashCode(hashCodeBuilder);
+ hashCodeBuilder.append(this.getName());
+ hashCodeBuilder.append(this.getExpressionLanguage());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TBoolean.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TBoolean.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TBoolean.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,58 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for tBoolean.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * <simpleType name="tBoolean">
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="yes"/>
+ * <enumeration value="no"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+ at XmlType(name = "tBoolean")
+ at XmlEnum
+public enum TBoolean {
+
+ @XmlEnumValue("yes")
+ YES("yes"),
+ @XmlEnumValue("no")
+ NO("no");
+ private final String value;
+
+ TBoolean(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static TBoolean fromValue(String v) {
+ for (TBoolean c: TBoolean.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TBooleanExpr.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TBooleanExpr.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TBooleanExpr.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,84 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import javax.persistence.Entity;
+import javax.persistence.Table;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.jaxb2_commons.lang.Equals;
+import org.jvnet.jaxb2_commons.lang.HashCode;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
+
+
+/**
+ * <p>Java class for tBoolean-expr complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tBoolean-expr">
+ * <complexContent>
+ * <extension base="{http://www.example.org/WS-HT}tExpression">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tBoolean-expr")
+ at Entity(name = "org.example.ws_ht.TBooleanExpr")
+ at Table(name = "TBOOLEANEXPR")
+public class TBooleanExpr
+ extends TExpression
+ implements Equals, HashCode
+{
+
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TBooleanExpr)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ super.equals(object, equalsBuilder);
+ final TBooleanExpr that = ((TBooleanExpr) object);
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TBooleanExpr)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ super.hashCode(hashCodeBuilder);
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TDeadline.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TDeadline.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TDeadline.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,209 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.persistence.CascadeType;
+import javax.persistence.Entity;
+import javax.persistence.JoinColumn;
+import javax.persistence.ManyToOne;
+import javax.persistence.OneToMany;
+import javax.persistence.Table;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.jaxb2_commons.lang.Equals;
+import org.jvnet.jaxb2_commons.lang.HashCode;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
+
+
+/**
+ * <p>Java class for tDeadline complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tDeadline">
+ * <complexContent>
+ * <extension base="{http://www.example.org/WS-HT}tExtensibleElements">
+ * <sequence>
+ * <choice>
+ * <element name="for" type="{http://www.example.org/WS-HT}tDuration-expr"/>
+ * <element name="until" type="{http://www.example.org/WS-HT}tDeadline-expr"/>
+ * </choice>
+ * <element name="escalation" type="{http://www.example.org/WS-HT}tEscalation" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tDeadline", propOrder = {
+ "_for",
+ "until",
+ "escalation"
+})
+ at Entity(name = "org.example.ws_ht.TDeadline")
+ at Table(name = "TDEADLINE")
+public class TDeadline
+ extends TExtensibleElements
+ implements Equals, HashCode
+{
+
+ @XmlElement(name = "for")
+ protected org.drools.task.TDurationExpr _for;
+ protected org.drools.task.TDeadlineExpr until;
+ protected List<org.drools.task.TEscalation> escalation;
+
+ /**
+ * Gets the value of the for property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.task.TDurationExpr }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.task.TDurationExpr.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "FOR__TDEADLINE_ID")
+ public org.drools.task.TDurationExpr getFor() {
+ return _for;
+ }
+
+ /**
+ * Sets the value of the for property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.task.TDurationExpr }
+ *
+ */
+ public void setFor(org.drools.task.TDurationExpr value) {
+ this._for = value;
+ }
+
+ /**
+ * Gets the value of the until property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.task.TDeadlineExpr }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.task.TDeadlineExpr.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "UNTIL__TDEADLINE_ID")
+ public org.drools.task.TDeadlineExpr getUntil() {
+ return until;
+ }
+
+ /**
+ * Sets the value of the until property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.task.TDeadlineExpr }
+ *
+ */
+ public void setUntil(org.drools.task.TDeadlineExpr value) {
+ this.until = value;
+ }
+
+ /**
+ * Gets the value of the escalation 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 escalation property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getEscalation().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link org.drools.task.TEscalation }
+ *
+ *
+ */
+ @OneToMany(targetEntity = org.drools.task.TEscalation.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "ESCALATION_TDEADLINE_ID")
+ public List<org.drools.task.TEscalation> getEscalation() {
+ if (escalation == null) {
+ escalation = new ArrayList<org.drools.task.TEscalation>();
+ }
+ return this.escalation;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setEscalation(List<org.drools.task.TEscalation> escalation) {
+ this.escalation = escalation;
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TDeadline)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ super.equals(object, equalsBuilder);
+ final TDeadline that = ((TDeadline) object);
+ equalsBuilder.append(this.getFor(), that.getFor());
+ equalsBuilder.append(this.getUntil(), that.getUntil());
+ equalsBuilder.append(this.getEscalation(), that.getEscalation());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TDeadline)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ super.hashCode(hashCodeBuilder);
+ hashCodeBuilder.append(this.getFor());
+ hashCodeBuilder.append(this.getUntil());
+ hashCodeBuilder.append(this.getEscalation());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TDeadlineExpr.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TDeadlineExpr.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TDeadlineExpr.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,84 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import javax.persistence.Entity;
+import javax.persistence.Table;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.jaxb2_commons.lang.Equals;
+import org.jvnet.jaxb2_commons.lang.HashCode;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
+
+
+/**
+ * <p>Java class for tDeadline-expr complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tDeadline-expr">
+ * <complexContent>
+ * <extension base="{http://www.example.org/WS-HT}tExpression">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tDeadline-expr")
+ at Entity(name = "org.example.ws_ht.TDeadlineExpr")
+ at Table(name = "TDEADLINEEXPR")
+public class TDeadlineExpr
+ extends TExpression
+ implements Equals, HashCode
+{
+
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TDeadlineExpr)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ super.equals(object, equalsBuilder);
+ final TDeadlineExpr that = ((TDeadlineExpr) object);
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TDeadlineExpr)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ super.hashCode(hashCodeBuilder);
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TDeadlines.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TDeadlines.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TDeadlines.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,184 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.persistence.CascadeType;
+import javax.persistence.Entity;
+import javax.persistence.JoinColumn;
+import javax.persistence.OneToMany;
+import javax.persistence.Table;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.jaxb2_commons.lang.Equals;
+import org.jvnet.jaxb2_commons.lang.HashCode;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
+
+
+/**
+ * <p>Java class for tDeadlines complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tDeadlines">
+ * <complexContent>
+ * <extension base="{http://www.example.org/WS-HT}tExtensibleElements">
+ * <sequence>
+ * <element name="startDeadline" type="{http://www.example.org/WS-HT}tDeadline" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="completionDeadline" type="{http://www.example.org/WS-HT}tDeadline" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tDeadlines", propOrder = {
+ "startDeadline",
+ "completionDeadline"
+})
+ at Entity(name = "org.example.ws_ht.TDeadlines")
+ at Table(name = "TDEADLINES")
+public class TDeadlines
+ extends TExtensibleElements
+ implements Equals, HashCode
+{
+
+ protected List<org.drools.task.TDeadline> startDeadline;
+ protected List<org.drools.task.TDeadline> completionDeadline;
+
+ /**
+ * Gets the value of the startDeadline 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 startDeadline property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getStartDeadline().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link org.drools.task.TDeadline }
+ *
+ *
+ */
+ @OneToMany(targetEntity = org.drools.task.TDeadline.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "STARTDEADLINE_TDEADLINES_ID")
+ public List<org.drools.task.TDeadline> getStartDeadline() {
+ if (startDeadline == null) {
+ startDeadline = new ArrayList<org.drools.task.TDeadline>();
+ }
+ return this.startDeadline;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setStartDeadline(List<org.drools.task.TDeadline> startDeadline) {
+ this.startDeadline = startDeadline;
+ }
+
+ /**
+ * Gets the value of the completionDeadline 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 completionDeadline property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getCompletionDeadline().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link org.drools.task.TDeadline }
+ *
+ *
+ */
+ @OneToMany(targetEntity = org.drools.task.TDeadline.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "COMPLETIONDEADLINE_TDEADLINE_0")
+ public List<org.drools.task.TDeadline> getCompletionDeadline() {
+ if (completionDeadline == null) {
+ completionDeadline = new ArrayList<org.drools.task.TDeadline>();
+ }
+ return this.completionDeadline;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setCompletionDeadline(List<org.drools.task.TDeadline> completionDeadline) {
+ this.completionDeadline = completionDeadline;
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TDeadlines)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ super.equals(object, equalsBuilder);
+ final TDeadlines that = ((TDeadlines) object);
+ equalsBuilder.append(this.getStartDeadline(), that.getStartDeadline());
+ equalsBuilder.append(this.getCompletionDeadline(), that.getCompletionDeadline());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TDeadlines)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ super.hashCode(hashCodeBuilder);
+ hashCodeBuilder.append(this.getStartDeadline());
+ hashCodeBuilder.append(this.getCompletionDeadline());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TDelegation.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TDelegation.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TDelegation.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,160 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import javax.persistence.Basic;
+import javax.persistence.CascadeType;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.EnumType;
+import javax.persistence.Enumerated;
+import javax.persistence.JoinColumn;
+import javax.persistence.ManyToOne;
+import javax.persistence.Table;
+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 org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.jaxb2_commons.lang.Equals;
+import org.jvnet.jaxb2_commons.lang.HashCode;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
+
+
+/**
+ * <p>Java class for tDelegation complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tDelegation">
+ * <complexContent>
+ * <extension base="{http://www.example.org/WS-HT}tExtensibleElements">
+ * <sequence>
+ * <element name="from" type="{http://www.example.org/WS-HT}tFrom" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="potentialDelegatees" use="required" type="{http://www.example.org/WS-HT}tPotentialDelegatees" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tDelegation", propOrder = {
+ "from"
+})
+ at Entity(name = "org.example.ws_ht.TDelegation")
+ at Table(name = "TDELEGATION")
+public class TDelegation
+ extends TExtensibleElements
+ implements Equals, HashCode
+{
+
+ protected org.drools.task.TFrom from;
+ @XmlAttribute(required = true)
+ protected TPotentialDelegatees potentialDelegatees;
+
+ /**
+ * Gets the value of the from property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.task.TFrom }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.task.TFrom.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "FROM__TDELEGATION_ID")
+ public org.drools.task.TFrom getFrom() {
+ return from;
+ }
+
+ /**
+ * Sets the value of the from property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.task.TFrom }
+ *
+ */
+ public void setFrom(org.drools.task.TFrom value) {
+ this.from = value;
+ }
+
+ /**
+ * Gets the value of the potentialDelegatees property.
+ *
+ * @return
+ * possible object is
+ * {@link TPotentialDelegatees }
+ *
+ */
+ @Basic
+ @Column(name = "POTENTIALDELEGATEES")
+ @Enumerated(EnumType.STRING)
+ public TPotentialDelegatees getPotentialDelegatees() {
+ return potentialDelegatees;
+ }
+
+ /**
+ * Sets the value of the potentialDelegatees property.
+ *
+ * @param value
+ * allowed object is
+ * {@link TPotentialDelegatees }
+ *
+ */
+ public void setPotentialDelegatees(TPotentialDelegatees value) {
+ this.potentialDelegatees = value;
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TDelegation)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ super.equals(object, equalsBuilder);
+ final TDelegation that = ((TDelegation) object);
+ equalsBuilder.append(this.getFrom(), that.getFrom());
+ equalsBuilder.append(this.getPotentialDelegatees(), that.getPotentialDelegatees());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TDelegation)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ super.hashCode(hashCodeBuilder);
+ hashCodeBuilder.append(this.getFrom());
+ hashCodeBuilder.append(this.getPotentialDelegatees());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TDescription.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TDescription.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TDescription.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,149 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import javax.persistence.Basic;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.Table;
+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 org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.jaxb2_commons.lang.Equals;
+import org.jvnet.jaxb2_commons.lang.HashCode;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
+
+
+/**
+ * <p>Java class for tDescription complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tDescription">
+ * <complexContent>
+ * <extension base="{http://www.example.org/WS-HT}tExtensibleMixedContentElements">
+ * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/>
+ * <attribute name="contentType" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tDescription")
+ at Entity(name = "org.example.ws_ht.TDescription")
+ at Table(name = "TDESCRIPTION")
+public class TDescription
+ extends TExtensibleMixedContentElements
+ implements Equals, HashCode
+{
+
+ @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace")
+ protected String lang;
+ @XmlAttribute
+ protected String contentType;
+
+ /**
+ * Gets the value of the lang property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "LANG")
+ public String getLang() {
+ return lang;
+ }
+
+ /**
+ * Sets the value of the lang property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLang(String value) {
+ this.lang = value;
+ }
+
+ /**
+ * Gets the value of the contentType property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "CONTENTTYPE")
+ public String getContentType() {
+ return contentType;
+ }
+
+ /**
+ * Sets the value of the contentType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setContentType(String value) {
+ this.contentType = value;
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TDescription)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ super.equals(object, equalsBuilder);
+ final TDescription that = ((TDescription) object);
+ equalsBuilder.append(this.getLang(), that.getLang());
+ equalsBuilder.append(this.getContentType(), that.getContentType());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TDescription)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ super.hashCode(hashCodeBuilder);
+ hashCodeBuilder.append(this.getLang());
+ hashCodeBuilder.append(this.getContentType());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TDocumentation.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TDocumentation.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TDocumentation.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,410 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.persistence.Basic;
+import javax.persistence.CascadeType;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.GeneratedValue;
+import javax.persistence.GenerationType;
+import javax.persistence.Id;
+import javax.persistence.Inheritance;
+import javax.persistence.InheritanceType;
+import javax.persistence.JoinColumn;
+import javax.persistence.Lob;
+import javax.persistence.OneToMany;
+import javax.persistence.Table;
+import javax.persistence.Transient;
+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.XmlMixed;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.hyperjaxb3.item.MixedItem;
+import org.jvnet.hyperjaxb3.item.MixedItemUtils;
+import org.jvnet.hyperjaxb3.xml.bind.JAXBContextUtils;
+import org.jvnet.hyperjaxb3.xml.bind.annotation.adapters.ElementAsString;
+import org.jvnet.hyperjaxb3.xml.bind.annotation.adapters.XmlAdapterUtils;
+import org.jvnet.jaxb2_commons.lang.Equals;
+import org.jvnet.jaxb2_commons.lang.HashCode;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for tDocumentation complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tDocumentation">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tDocumentation", propOrder = {
+ "content"
+})
+ at Entity(name = "org.example.ws_ht.TDocumentation")
+ at Table(name = "TDOCUMENTATION")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class TDocumentation
+ implements Equals, HashCode
+{
+
+ @XmlMixed
+ @XmlAnyElement(lax = true)
+ protected List<Object> content;
+ @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace")
+ protected String lang;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+ @XmlTransient
+ protected List<TDocumentation.ContentItem> contentItems;
+
+ /**
+ * Gets the value of the content 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 content property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getContent().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link String }
+ * {@link Element }
+ *
+ *
+ */
+ @Transient
+ public List<Object> getContent() {
+ if (content == null) {
+ content = new ArrayList<Object>();
+ }
+ return this.content;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setContent(List<Object> content) {
+ this.content = content;
+ }
+
+ /**
+ * Gets the value of the lang property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "LANG")
+ public String getLang() {
+ return lang;
+ }
+
+ /**
+ * Sets the value of the lang property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLang(String value) {
+ this.lang = value;
+ }
+
+ /**
+ * Gets the value of the hjid property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ @Id
+ @Column(name = "HJID")
+ @GeneratedValue(strategy = GenerationType.AUTO)
+ public Long getHjid() {
+ return hjid;
+ }
+
+ /**
+ * Sets the value of the hjid property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setHjid(Long value) {
+ this.hjid = value;
+ }
+
+ @OneToMany(targetEntity = org.drools.task.TDocumentation.ContentItem.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "CONTENTITEMS_TDOCUMENTATION__0")
+ public List<TDocumentation.ContentItem> getContentItems() {
+ if (this.contentItems == null) {
+ this.contentItems = new ArrayList<TDocumentation.ContentItem>();
+ }
+ if (MixedItemUtils.shouldBeWrapped(this.content)) {
+ this.content = MixedItemUtils.wrap(this.content, this.contentItems, TDocumentation.ContentItem.class);
+ }
+ return this.contentItems;
+ }
+
+ public void setContentItems(List<TDocumentation.ContentItem> value) {
+ this.content = null;
+ this.contentItems = null;
+ this.contentItems = value;
+ if (this.contentItems == null) {
+ this.contentItems = new ArrayList<TDocumentation.ContentItem>();
+ }
+ if (MixedItemUtils.shouldBeWrapped(this.content)) {
+ this.content = MixedItemUtils.wrap(this.content, this.contentItems, TDocumentation.ContentItem.class);
+ }
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TDocumentation)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final TDocumentation that = ((TDocumentation) object);
+ equalsBuilder.append(this.getContent(), that.getContent());
+ equalsBuilder.append(this.getLang(), that.getLang());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TDocumentation)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ hashCodeBuilder.append(this.getContent());
+ hashCodeBuilder.append(this.getLang());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @Entity(name = "org.example.ws_ht.TDocumentation$ContentItem")
+ @Table(name = "TDOCUMENTATIONCONTENTITEM")
+ @Inheritance(strategy = InheritanceType.JOINED)
+ public static class ContentItem
+ implements MixedItem<Object> , Equals, HashCode
+ {
+
+ @XmlAnyElement(lax = true)
+ protected Object item;
+ @XmlAttribute(name = "Text")
+ protected String text;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ *
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ * {@link Element }
+ *
+ */
+ @Transient
+ public Object getItem() {
+ return item;
+ }
+
+ /**
+ *
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ * {@link Element }
+ *
+ */
+ public void setItem(Object value) {
+ this.item = value;
+ }
+
+ /**
+ * Gets the value of the text property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "TEXT")
+ @Lob
+ public String getText() {
+ return text;
+ }
+
+ /**
+ * Sets the value of the text property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setText(String value) {
+ this.text = value;
+ }
+
+ /**
+ * Gets the value of the hjid property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ @Id
+ @Column(name = "HJID")
+ @GeneratedValue(strategy = GenerationType.AUTO)
+ public Long getHjid() {
+ return hjid;
+ }
+
+ /**
+ * Sets the value of the hjid property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setHjid(Long value) {
+ this.hjid = value;
+ }
+
+ @Basic
+ @Column(name = "ITEMELEMENT")
+ @Lob
+ public String getItemElement() {
+ if (this.getItem() instanceof Element) {
+ return XmlAdapterUtils.unmarshall(ElementAsString.class, ((Element) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemElement(String target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshall(ElementAsString.class, target));
+ }
+ }
+
+ @Basic
+ @Column(name = "ITEMOBJECT")
+ @Lob
+ public String getItemObject() {
+ if (JAXBContextUtils.isElement("org.example.ws_ht", this.getItem())) {
+ return JAXBContextUtils.unmarshall("org.example.ws_ht", this.getItem());
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemObject(String target) {
+ if (target!= null) {
+ setItem(JAXBContextUtils.marshall("org.example.ws_ht", target));
+ }
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TDocumentation.ContentItem)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final TDocumentation.ContentItem that = ((TDocumentation.ContentItem) object);
+ equalsBuilder.append(this.getItem(), that.getItem());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TDocumentation.ContentItem)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ hashCodeBuilder.append(this.getItem());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TDurationExpr.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TDurationExpr.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TDurationExpr.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,84 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import javax.persistence.Entity;
+import javax.persistence.Table;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.jaxb2_commons.lang.Equals;
+import org.jvnet.jaxb2_commons.lang.HashCode;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
+
+
+/**
+ * <p>Java class for tDuration-expr complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tDuration-expr">
+ * <complexContent>
+ * <extension base="{http://www.example.org/WS-HT}tExpression">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tDuration-expr")
+ at Entity(name = "org.example.ws_ht.TDurationExpr")
+ at Table(name = "TDURATIONEXPR")
+public class TDurationExpr
+ extends TExpression
+ implements Equals, HashCode
+{
+
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TDurationExpr)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ super.equals(object, equalsBuilder);
+ final TDurationExpr that = ((TDurationExpr) object);
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TDurationExpr)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ super.hashCode(hashCodeBuilder);
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TEscalation.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TEscalation.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TEscalation.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,312 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.persistence.Basic;
+import javax.persistence.CascadeType;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.JoinColumn;
+import javax.persistence.ManyToOne;
+import javax.persistence.OneToMany;
+import javax.persistence.Table;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.jaxb2_commons.lang.Equals;
+import org.jvnet.jaxb2_commons.lang.HashCode;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
+
+
+/**
+ * <p>Java class for tEscalation complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tEscalation">
+ * <complexContent>
+ * <extension base="{http://www.example.org/WS-HT}tExtensibleElements">
+ * <sequence>
+ * <element name="condition" type="{http://www.example.org/WS-HT}tBoolean-expr" minOccurs="0"/>
+ * <element name="toParts" type="{http://www.example.org/WS-HT}tToParts" maxOccurs="unbounded" minOccurs="0"/>
+ * <choice>
+ * <element ref="{http://www.example.org/WS-HT}notification"/>
+ * <element name="localNotification" type="{http://www.example.org/WS-HT}tLocalNotification"/>
+ * <element name="reassignment" type="{http://www.example.org/WS-HT}tReassignment"/>
+ * </choice>
+ * </sequence>
+ * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tEscalation", propOrder = {
+ "condition",
+ "toParts",
+ "notification",
+ "localNotification",
+ "reassignment"
+})
+ at Entity(name = "org.example.ws_ht.TEscalation")
+ at Table(name = "TESCALATION")
+public class TEscalation
+ extends TExtensibleElements
+ implements Equals, HashCode
+{
+
+ protected org.drools.task.TBooleanExpr condition;
+ protected List<org.drools.task.TToParts> toParts;
+ protected org.drools.task.TNotification notification;
+ protected org.drools.task.TLocalNotification localNotification;
+ protected org.drools.task.TReassignment reassignment;
+ @XmlAttribute(required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NCName")
+ protected String name;
+
+ /**
+ * Gets the value of the condition property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.task.TBooleanExpr }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.task.TBooleanExpr.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "CONDITION_TESCALATION_ID")
+ public org.drools.task.TBooleanExpr getCondition() {
+ return condition;
+ }
+
+ /**
+ * Sets the value of the condition property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.task.TBooleanExpr }
+ *
+ */
+ public void setCondition(org.drools.task.TBooleanExpr value) {
+ this.condition = value;
+ }
+
+ /**
+ * Gets the value of the toParts 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 toParts property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getToParts().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link org.drools.task.TToParts }
+ *
+ *
+ */
+ @OneToMany(targetEntity = org.drools.task.TToParts.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "TOPARTS_TESCALATION_ID")
+ public List<org.drools.task.TToParts> getToParts() {
+ if (toParts == null) {
+ toParts = new ArrayList<org.drools.task.TToParts>();
+ }
+ return this.toParts;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setToParts(List<org.drools.task.TToParts> toParts) {
+ this.toParts = toParts;
+ }
+
+ /**
+ * Gets the value of the notification property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.task.TNotification }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.task.TNotification.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "NOTIFICATION_TESCALATION_ID")
+ public org.drools.task.TNotification getNotification() {
+ return notification;
+ }
+
+ /**
+ * Sets the value of the notification property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.task.TNotification }
+ *
+ */
+ public void setNotification(org.drools.task.TNotification value) {
+ this.notification = value;
+ }
+
+ /**
+ * Gets the value of the localNotification property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.task.TLocalNotification }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.task.TLocalNotification.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "LOCALNOTIFICATION_TESCALATIO_0")
+ public org.drools.task.TLocalNotification getLocalNotification() {
+ return localNotification;
+ }
+
+ /**
+ * Sets the value of the localNotification property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.task.TLocalNotification }
+ *
+ */
+ public void setLocalNotification(org.drools.task.TLocalNotification value) {
+ this.localNotification = value;
+ }
+
+ /**
+ * Gets the value of the reassignment property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.task.TReassignment }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.task.TReassignment.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "REASSIGNMENT_TESCALATION_ID")
+ public org.drools.task.TReassignment getReassignment() {
+ return reassignment;
+ }
+
+ /**
+ * Sets the value of the reassignment property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.task.TReassignment }
+ *
+ */
+ public void setReassignment(org.drools.task.TReassignment value) {
+ this.reassignment = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "NAME_")
+ 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;
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TEscalation)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ super.equals(object, equalsBuilder);
+ final TEscalation that = ((TEscalation) object);
+ equalsBuilder.append(this.getCondition(), that.getCondition());
+ equalsBuilder.append(this.getToParts(), that.getToParts());
+ equalsBuilder.append(this.getNotification(), that.getNotification());
+ equalsBuilder.append(this.getLocalNotification(), that.getLocalNotification());
+ equalsBuilder.append(this.getReassignment(), that.getReassignment());
+ equalsBuilder.append(this.getName(), that.getName());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TEscalation)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ super.hashCode(hashCodeBuilder);
+ hashCodeBuilder.append(this.getCondition());
+ hashCodeBuilder.append(this.getToParts());
+ hashCodeBuilder.append(this.getNotification());
+ hashCodeBuilder.append(this.getLocalNotification());
+ hashCodeBuilder.append(this.getReassignment());
+ hashCodeBuilder.append(this.getName());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TExpression.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TExpression.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TExpression.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,444 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.persistence.Basic;
+import javax.persistence.CascadeType;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.GeneratedValue;
+import javax.persistence.GenerationType;
+import javax.persistence.Id;
+import javax.persistence.Inheritance;
+import javax.persistence.InheritanceType;
+import javax.persistence.JoinColumn;
+import javax.persistence.Lob;
+import javax.persistence.OneToMany;
+import javax.persistence.Table;
+import javax.persistence.Transient;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlMixed;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.hyperjaxb3.item.MixedItem;
+import org.jvnet.hyperjaxb3.item.MixedItemUtils;
+import org.jvnet.hyperjaxb3.xml.bind.JAXBContextUtils;
+import org.jvnet.hyperjaxb3.xml.bind.annotation.adapters.ElementAsString;
+import org.jvnet.hyperjaxb3.xml.bind.annotation.adapters.XmlAdapterUtils;
+import org.jvnet.jaxb2_commons.lang.Equals;
+import org.jvnet.jaxb2_commons.lang.HashCode;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for tExpression complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tExpression">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * <attribute name="expressionLanguage" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tExpression", propOrder = {
+ "content"
+})
+ at XmlSeeAlso({
+ TPriority.class,
+ TBooleanExpr.class,
+ TDeadlineExpr.class,
+ TDurationExpr.class
+})
+ at Entity(name = "org.example.ws_ht.TExpression")
+ at Table(name = "TEXPRESSION")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class TExpression
+ implements Equals, HashCode
+{
+
+ @XmlMixed
+ @XmlAnyElement(lax = true)
+ protected List<Object> content;
+ @XmlAttribute
+ @XmlSchemaType(name = "anyURI")
+ protected String expressionLanguage;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+ @XmlTransient
+ protected List<TExpression.ContentItem> contentItems;
+
+ /**
+ * Gets the value of the content 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 content property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getContent().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link String }
+ * {@link Element }
+ *
+ *
+ */
+ @Transient
+ public List<Object> getContent() {
+ if (content == null) {
+ content = new ArrayList<Object>();
+ }
+ return this.content;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setContent(List<Object> content) {
+ this.content = content;
+ }
+
+ /**
+ * Gets the value of the expressionLanguage property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "EXPRESSIONLANGUAGE")
+ public String getExpressionLanguage() {
+ return expressionLanguage;
+ }
+
+ /**
+ * Sets the value of the expressionLanguage property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setExpressionLanguage(String value) {
+ this.expressionLanguage = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ @Transient
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+ /**
+ * Gets the value of the hjid property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ @Id
+ @Column(name = "HJID")
+ @GeneratedValue(strategy = GenerationType.AUTO)
+ public Long getHjid() {
+ return hjid;
+ }
+
+ /**
+ * Sets the value of the hjid property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setHjid(Long value) {
+ this.hjid = value;
+ }
+
+ @OneToMany(targetEntity = org.drools.task.TExpression.ContentItem.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "CONTENTITEMS_TEXPRESSION_ID")
+ public List<TExpression.ContentItem> getContentItems() {
+ if (this.contentItems == null) {
+ this.contentItems = new ArrayList<TExpression.ContentItem>();
+ }
+ if (MixedItemUtils.shouldBeWrapped(this.content)) {
+ this.content = MixedItemUtils.wrap(this.content, this.contentItems, TExpression.ContentItem.class);
+ }
+ return this.contentItems;
+ }
+
+ public void setContentItems(List<TExpression.ContentItem> value) {
+ this.content = null;
+ this.contentItems = null;
+ this.contentItems = value;
+ if (this.contentItems == null) {
+ this.contentItems = new ArrayList<TExpression.ContentItem>();
+ }
+ if (MixedItemUtils.shouldBeWrapped(this.content)) {
+ this.content = MixedItemUtils.wrap(this.content, this.contentItems, TExpression.ContentItem.class);
+ }
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TExpression)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final TExpression that = ((TExpression) object);
+ equalsBuilder.append(this.getContent(), that.getContent());
+ equalsBuilder.append(this.getExpressionLanguage(), that.getExpressionLanguage());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TExpression)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ hashCodeBuilder.append(this.getContent());
+ hashCodeBuilder.append(this.getExpressionLanguage());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @Entity(name = "org.example.ws_ht.TExpression$ContentItem")
+ @Table(name = "TEXPRESSIONCONTENTITEM")
+ @Inheritance(strategy = InheritanceType.JOINED)
+ public static class ContentItem
+ implements MixedItem<Object> , Equals, HashCode
+ {
+
+ @XmlAnyElement(lax = true)
+ protected Object item;
+ @XmlAttribute(name = "Text")
+ protected String text;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ *
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ * {@link Element }
+ *
+ */
+ @Transient
+ public Object getItem() {
+ return item;
+ }
+
+ /**
+ *
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ * {@link Element }
+ *
+ */
+ public void setItem(Object value) {
+ this.item = value;
+ }
+
+ /**
+ * Gets the value of the text property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "TEXT")
+ @Lob
+ public String getText() {
+ return text;
+ }
+
+ /**
+ * Sets the value of the text property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setText(String value) {
+ this.text = value;
+ }
+
+ /**
+ * Gets the value of the hjid property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ @Id
+ @Column(name = "HJID")
+ @GeneratedValue(strategy = GenerationType.AUTO)
+ public Long getHjid() {
+ return hjid;
+ }
+
+ /**
+ * Sets the value of the hjid property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setHjid(Long value) {
+ this.hjid = value;
+ }
+
+ @Basic
+ @Column(name = "ITEMELEMENT")
+ @Lob
+ public String getItemElement() {
+ if (this.getItem() instanceof Element) {
+ return XmlAdapterUtils.unmarshall(ElementAsString.class, ((Element) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemElement(String target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshall(ElementAsString.class, target));
+ }
+ }
+
+ @Basic
+ @Column(name = "ITEMOBJECT")
+ @Lob
+ public String getItemObject() {
+ if (JAXBContextUtils.isElement("org.example.ws_ht", this.getItem())) {
+ return JAXBContextUtils.unmarshall("org.example.ws_ht", this.getItem());
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemObject(String target) {
+ if (target!= null) {
+ setItem(JAXBContextUtils.marshall("org.example.ws_ht", target));
+ }
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TExpression.ContentItem)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final TExpression.ContentItem that = ((TExpression.ContentItem) object);
+ equalsBuilder.append(this.getItem(), that.getItem());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TExpression.ContentItem)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ hashCodeBuilder.append(this.getItem());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TExtensibleElements.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TExtensibleElements.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TExtensibleElements.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,446 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.persistence.Basic;
+import javax.persistence.CascadeType;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.GeneratedValue;
+import javax.persistence.GenerationType;
+import javax.persistence.Id;
+import javax.persistence.Inheritance;
+import javax.persistence.InheritanceType;
+import javax.persistence.JoinColumn;
+import javax.persistence.Lob;
+import javax.persistence.OneToMany;
+import javax.persistence.Table;
+import javax.persistence.Transient;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.hyperjaxb3.item.Item;
+import org.jvnet.hyperjaxb3.item.ItemUtils;
+import org.jvnet.hyperjaxb3.xml.bind.JAXBContextUtils;
+import org.jvnet.hyperjaxb3.xml.bind.annotation.adapters.ElementAsString;
+import org.jvnet.hyperjaxb3.xml.bind.annotation.adapters.XmlAdapterUtils;
+import org.jvnet.jaxb2_commons.lang.Equals;
+import org.jvnet.jaxb2_commons.lang.HashCode;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for tExtensibleElements complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tExtensibleElements">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="documentation" type="{http://www.example.org/WS-HT}tDocumentation" maxOccurs="unbounded" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tExtensibleElements", propOrder = {
+ "documentation",
+ "any"
+})
+ at XmlSeeAlso({
+ TNotifications.class,
+ TGenericHumanRole.class,
+ THumanInteractions.class,
+ TTasks.class,
+ TImport.class,
+ TNotification.class,
+ TLogicalPeopleGroups.class,
+ TTask.class,
+ TPeopleAssignments.class,
+ TToParts.class,
+ TRenderings.class,
+ TPresentationParameters.class,
+ TDeadline.class,
+ TReassignment.class,
+ TLogicalPeopleGroup.class,
+ TDeadlines.class,
+ TRendering.class,
+ TTaskInterface.class,
+ TNotificationInterface.class,
+ TLocalNotification.class,
+ TExtension.class,
+ TEscalation.class,
+ TExtensions.class,
+ TDelegation.class,
+ TPresentationElements.class
+})
+ at Entity(name = "org.example.ws_ht.TExtensibleElements")
+ at Table(name = "TEXTENSIBLEELEMENTS")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class TExtensibleElements
+ implements Equals, HashCode
+{
+
+ protected List<org.drools.task.TDocumentation> documentation;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+ @XmlTransient
+ protected List<TExtensibleElements.AnyItem> anyItems;
+
+ /**
+ * Gets the value of the documentation 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 documentation property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getDocumentation().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link org.drools.task.TDocumentation }
+ *
+ *
+ */
+ @OneToMany(targetEntity = org.drools.task.TDocumentation.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "DOCUMENTATION_TEXTENSIBLEELE_0")
+ public List<org.drools.task.TDocumentation> getDocumentation() {
+ if (documentation == null) {
+ documentation = new ArrayList<org.drools.task.TDocumentation>();
+ }
+ return this.documentation;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setDocumentation(List<org.drools.task.TDocumentation> documentation) {
+ this.documentation = documentation;
+ }
+
+ /**
+ * 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 Object }
+ * {@link Element }
+ *
+ *
+ */
+ @Transient
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setAny(List<Object> any) {
+ this.any = any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ @Transient
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+ /**
+ * Gets the value of the hjid property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ @Id
+ @Column(name = "HJID")
+ @GeneratedValue(strategy = GenerationType.AUTO)
+ public Long getHjid() {
+ return hjid;
+ }
+
+ /**
+ * Sets the value of the hjid property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setHjid(Long value) {
+ this.hjid = value;
+ }
+
+ @OneToMany(targetEntity = org.drools.task.TExtensibleElements.AnyItem.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "ANYITEMS_TEXTENSIBLEELEMENTS_0")
+ public List<TExtensibleElements.AnyItem> getAnyItems() {
+ if (this.anyItems == null) {
+ this.anyItems = new ArrayList<TExtensibleElements.AnyItem>();
+ }
+ if (ItemUtils.shouldBeWrapped(this.any)) {
+ this.any = ItemUtils.wrap(this.any, this.anyItems, TExtensibleElements.AnyItem.class);
+ }
+ return this.anyItems;
+ }
+
+ public void setAnyItems(List<TExtensibleElements.AnyItem> value) {
+ this.any = null;
+ this.anyItems = null;
+ this.anyItems = value;
+ if (this.anyItems == null) {
+ this.anyItems = new ArrayList<TExtensibleElements.AnyItem>();
+ }
+ if (ItemUtils.shouldBeWrapped(this.any)) {
+ this.any = ItemUtils.wrap(this.any, this.anyItems, TExtensibleElements.AnyItem.class);
+ }
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TExtensibleElements)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final TExtensibleElements that = ((TExtensibleElements) object);
+ equalsBuilder.append(this.getDocumentation(), that.getDocumentation());
+ equalsBuilder.append(this.getAny(), that.getAny());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TExtensibleElements)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ hashCodeBuilder.append(this.getDocumentation());
+ hashCodeBuilder.append(this.getAny());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @Entity(name = "org.example.ws_ht.TExtensibleElements$AnyItem")
+ @Table(name = "TEXTENSIBLEELEMENTSANYITEM")
+ @Inheritance(strategy = InheritanceType.JOINED)
+ public static class AnyItem
+ implements Item<Object> , Equals, HashCode
+ {
+
+ @XmlAnyElement(lax = true)
+ protected Object item;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ *
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ * {@link Element }
+ *
+ */
+ @Transient
+ public Object getItem() {
+ return item;
+ }
+
+ /**
+ *
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ * {@link Element }
+ *
+ */
+ public void setItem(Object value) {
+ this.item = value;
+ }
+
+ /**
+ * Gets the value of the hjid property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ @Id
+ @Column(name = "HJID")
+ @GeneratedValue(strategy = GenerationType.AUTO)
+ public Long getHjid() {
+ return hjid;
+ }
+
+ /**
+ * Sets the value of the hjid property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setHjid(Long value) {
+ this.hjid = value;
+ }
+
+ @Basic
+ @Column(name = "ITEMELEMENT")
+ @Lob
+ public String getItemElement() {
+ if (this.getItem() instanceof Element) {
+ return XmlAdapterUtils.unmarshall(ElementAsString.class, ((Element) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemElement(String target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshall(ElementAsString.class, target));
+ }
+ }
+
+ @Basic
+ @Column(name = "ITEMOBJECT")
+ @Lob
+ public String getItemObject() {
+ if (JAXBContextUtils.isElement("org.example.ws_ht", this.getItem())) {
+ return JAXBContextUtils.unmarshall("org.example.ws_ht", this.getItem());
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemObject(String target) {
+ if (target!= null) {
+ setItem(JAXBContextUtils.marshall("org.example.ws_ht", target));
+ }
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TExtensibleElements.AnyItem)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final TExtensibleElements.AnyItem that = ((TExtensibleElements.AnyItem) object);
+ equalsBuilder.append(this.getItem(), that.getItem());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TExtensibleElements.AnyItem)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ hashCodeBuilder.append(this.getItem());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TExtensibleMixedContentElements.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TExtensibleMixedContentElements.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TExtensibleMixedContentElements.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,439 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.persistence.Basic;
+import javax.persistence.CascadeType;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.GeneratedValue;
+import javax.persistence.GenerationType;
+import javax.persistence.Id;
+import javax.persistence.Inheritance;
+import javax.persistence.InheritanceType;
+import javax.persistence.JoinColumn;
+import javax.persistence.Lob;
+import javax.persistence.ManyToOne;
+import javax.persistence.OneToMany;
+import javax.persistence.Table;
+import javax.persistence.Transient;
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElementRef;
+import javax.xml.bind.annotation.XmlMixed;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.hyperjaxb3.item.MixedItem;
+import org.jvnet.hyperjaxb3.item.MixedItemUtils;
+import org.jvnet.hyperjaxb3.xml.bind.JAXBContextUtils;
+import org.jvnet.hyperjaxb3.xml.bind.annotation.adapters.ElementAsString;
+import org.jvnet.hyperjaxb3.xml.bind.annotation.adapters.XmlAdapterUtils;
+import org.jvnet.jaxb2_commons.lang.Equals;
+import org.jvnet.jaxb2_commons.lang.HashCode;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for tExtensibleMixedContentElements complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tExtensibleMixedContentElements">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="documentation" type="{http://www.example.org/WS-HT}tDocumentation" maxOccurs="unbounded" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tExtensibleMixedContentElements", propOrder = {
+ "content"
+})
+ at XmlSeeAlso({
+ TFrom.class,
+ TArgument.class,
+ TDescription.class,
+ TText.class,
+ TToPart.class,
+ TParameter.class
+})
+ at Entity(name = "org.example.ws_ht.TExtensibleMixedContentElements")
+ at Table(name = "TEXTENSIBLEMIXEDCONTENTELEME_0")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class TExtensibleMixedContentElements
+ implements Equals, HashCode
+{
+
+ @XmlElementRef(name = "documentation", namespace = "http://www.example.org/WS-HT", type = JAXBElement.class)
+ @XmlMixed
+ @XmlAnyElement
+ protected List<Object> content;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+ @XmlTransient
+ protected List<TExtensibleMixedContentElements.ContentItem> contentItems;
+
+ /**
+ * Gets the value of the content 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 content property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getContent().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ * {@link Element }
+ * {@link JAXBElement }{@code <}{@link org.drools.task.TDocumentation }{@code >}
+ *
+ *
+ */
+ @Transient
+ public List<Object> getContent() {
+ if (content == null) {
+ content = new ArrayList<Object>();
+ }
+ return this.content;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setContent(List<Object> content) {
+ this.content = content;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ @Transient
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+ /**
+ * Gets the value of the hjid property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ @Id
+ @Column(name = "HJID")
+ @GeneratedValue(strategy = GenerationType.AUTO)
+ public Long getHjid() {
+ return hjid;
+ }
+
+ /**
+ * Sets the value of the hjid property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setHjid(Long value) {
+ this.hjid = value;
+ }
+
+ @OneToMany(targetEntity = org.drools.task.TExtensibleMixedContentElements.ContentItem.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "CONTENTITEMS_TEXTENSIBLEMIXE_0")
+ public List<TExtensibleMixedContentElements.ContentItem> getContentItems() {
+ if (this.contentItems == null) {
+ this.contentItems = new ArrayList<TExtensibleMixedContentElements.ContentItem>();
+ }
+ if (MixedItemUtils.shouldBeWrapped(this.content)) {
+ this.content = MixedItemUtils.wrap(this.content, this.contentItems, TExtensibleMixedContentElements.ContentItem.class);
+ }
+ return this.contentItems;
+ }
+
+ public void setContentItems(List<TExtensibleMixedContentElements.ContentItem> value) {
+ this.content = null;
+ this.contentItems = null;
+ this.contentItems = value;
+ if (this.contentItems == null) {
+ this.contentItems = new ArrayList<TExtensibleMixedContentElements.ContentItem>();
+ }
+ if (MixedItemUtils.shouldBeWrapped(this.content)) {
+ this.content = MixedItemUtils.wrap(this.content, this.contentItems, TExtensibleMixedContentElements.ContentItem.class);
+ }
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TExtensibleMixedContentElements)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final TExtensibleMixedContentElements that = ((TExtensibleMixedContentElements) object);
+ equalsBuilder.append(this.getContent(), that.getContent());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TExtensibleMixedContentElements)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ hashCodeBuilder.append(this.getContent());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @Entity(name = "org.example.ws_ht.TExtensibleMixedContentElements$ContentItem")
+ @Table(name = "TEXTENSIBLEMIXEDCONTENTELEME_1")
+ @Inheritance(strategy = InheritanceType.JOINED)
+ public static class ContentItem
+ implements MixedItem<Object> , Equals, HashCode
+ {
+
+ @XmlElementRef(name = "documentation", namespace = "http://www.example.org/WS-HT", type = JAXBElement.class)
+ @XmlAnyElement(lax = true)
+ protected Object item;
+ @XmlAttribute(name = "Text")
+ protected String text;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ *
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ * {@link Element }
+ * {@link JAXBElement }{@code <}{@link org.drools.task.TDocumentation }{@code >}
+ *
+ */
+ @Transient
+ public Object getItem() {
+ return item;
+ }
+
+ /**
+ *
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ * {@link Element }
+ * {@link JAXBElement }{@code <}{@link org.drools.task.TDocumentation }{@code >}
+ *
+ */
+ public void setItem(Object value) {
+ this.item = value;
+ }
+
+ /**
+ * Gets the value of the text property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "TEXT")
+ @Lob
+ public String getText() {
+ return text;
+ }
+
+ /**
+ * Sets the value of the text property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setText(String value) {
+ this.text = value;
+ }
+
+ /**
+ * Gets the value of the hjid property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ @Id
+ @Column(name = "HJID")
+ @GeneratedValue(strategy = GenerationType.AUTO)
+ public Long getHjid() {
+ return hjid;
+ }
+
+ /**
+ * Sets the value of the hjid property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setHjid(Long value) {
+ this.hjid = value;
+ }
+
+ @Basic
+ @Column(name = "ITEMELEMENT")
+ @Lob
+ public String getItemElement() {
+ if (this.getItem() instanceof Element) {
+ return XmlAdapterUtils.unmarshall(ElementAsString.class, ((Element) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemElement(String target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshall(ElementAsString.class, target));
+ }
+ }
+
+ @Basic
+ @Column(name = "ITEMOBJECT")
+ @Lob
+ public String getItemObject() {
+ if ((!XmlAdapterUtils.isJAXBElement(org.drools.task.TDocumentation.class, new QName("http://www.example.org/WS-HT", "documentation"), TExtensibleMixedContentElements.class, this.getItem()))&&JAXBContextUtils.isElement("org.example.ws_ht", this.getItem())) {
+ return JAXBContextUtils.unmarshall("org.example.ws_ht", this.getItem());
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemObject(String target) {
+ if (target!= null) {
+ setItem(JAXBContextUtils.marshall("org.example.ws_ht", target));
+ }
+ }
+
+ @ManyToOne(targetEntity = org.drools.task.TDocumentation.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "ITEMDOCUMENTATION_TEXTENSIBL_0")
+ public org.drools.task.TDocumentation getItemDocumentation() {
+ if (XmlAdapterUtils.isJAXBElement(org.drools.task.TDocumentation.class, new QName("http://www.example.org/WS-HT", "documentation"), TExtensibleMixedContentElements.class, this.getItem())) {
+ return XmlAdapterUtils.unmarshallJAXBElement(((JAXBElement<? extends org.drools.task.TDocumentation> ) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemDocumentation(org.drools.task.TDocumentation target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshallJAXBElement(org.drools.task.TDocumentation.class, new QName("http://www.example.org/WS-HT", "documentation"), TExtensibleMixedContentElements.class, target));
+ }
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TExtensibleMixedContentElements.ContentItem)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final TExtensibleMixedContentElements.ContentItem that = ((TExtensibleMixedContentElements.ContentItem) object);
+ equalsBuilder.append(this.getItem(), that.getItem());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TExtensibleMixedContentElements.ContentItem)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ hashCodeBuilder.append(this.getItem());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TExtension.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TExtension.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TExtension.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,154 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import javax.persistence.Basic;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.EnumType;
+import javax.persistence.Enumerated;
+import javax.persistence.Table;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.jaxb2_commons.lang.Equals;
+import org.jvnet.jaxb2_commons.lang.HashCode;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
+
+
+/**
+ * <p>Java class for tExtension complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tExtension">
+ * <complexContent>
+ * <extension base="{http://www.example.org/WS-HT}tExtensibleElements">
+ * <attribute name="namespace" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * <attribute name="mustUnderstand" use="required" type="{http://www.example.org/WS-HT}tBoolean" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tExtension")
+ at Entity(name = "org.example.ws_ht.TExtension")
+ at Table(name = "TEXTENSION")
+public class TExtension
+ extends TExtensibleElements
+ implements Equals, HashCode
+{
+
+ @XmlAttribute(required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String namespace;
+ @XmlAttribute(required = true)
+ protected TBoolean mustUnderstand;
+
+ /**
+ * Gets the value of the namespace property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "NAMESPACE")
+ public String getNamespace() {
+ return namespace;
+ }
+
+ /**
+ * Sets the value of the namespace property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setNamespace(String value) {
+ this.namespace = value;
+ }
+
+ /**
+ * Gets the value of the mustUnderstand property.
+ *
+ * @return
+ * possible object is
+ * {@link TBoolean }
+ *
+ */
+ @Basic
+ @Column(name = "MUSTUNDERSTAND")
+ @Enumerated(EnumType.STRING)
+ public TBoolean getMustUnderstand() {
+ return mustUnderstand;
+ }
+
+ /**
+ * Sets the value of the mustUnderstand property.
+ *
+ * @param value
+ * allowed object is
+ * {@link TBoolean }
+ *
+ */
+ public void setMustUnderstand(TBoolean value) {
+ this.mustUnderstand = value;
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TExtension)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ super.equals(object, equalsBuilder);
+ final TExtension that = ((TExtension) object);
+ equalsBuilder.append(this.getNamespace(), that.getNamespace());
+ equalsBuilder.append(this.getMustUnderstand(), that.getMustUnderstand());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TExtension)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ super.hashCode(hashCodeBuilder);
+ hashCodeBuilder.append(this.getNamespace());
+ hashCodeBuilder.append(this.getMustUnderstand());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TExtensions.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TExtensions.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TExtensions.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,140 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.persistence.CascadeType;
+import javax.persistence.Entity;
+import javax.persistence.JoinColumn;
+import javax.persistence.OneToMany;
+import javax.persistence.Table;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.jaxb2_commons.lang.Equals;
+import org.jvnet.jaxb2_commons.lang.HashCode;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
+
+
+/**
+ * <p>Java class for tExtensions complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tExtensions">
+ * <complexContent>
+ * <extension base="{http://www.example.org/WS-HT}tExtensibleElements">
+ * <sequence>
+ * <element name="extension" type="{http://www.example.org/WS-HT}tExtension" maxOccurs="unbounded"/>
+ * </sequence>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tExtensions", propOrder = {
+ "extension"
+})
+ at Entity(name = "org.example.ws_ht.TExtensions")
+ at Table(name = "TEXTENSIONS")
+public class TExtensions
+ extends TExtensibleElements
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ protected List<org.drools.task.TExtension> extension;
+
+ /**
+ * Gets the value of the extension 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 extension property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getExtension().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link org.drools.task.TExtension }
+ *
+ *
+ */
+ @OneToMany(targetEntity = org.drools.task.TExtension.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "EXTENSION_TEXTENSIONS_ID")
+ public List<org.drools.task.TExtension> getExtension() {
+ if (extension == null) {
+ extension = new ArrayList<org.drools.task.TExtension>();
+ }
+ return this.extension;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setExtension(List<org.drools.task.TExtension> extension) {
+ this.extension = extension;
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TExtensions)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ super.equals(object, equalsBuilder);
+ final TExtensions that = ((TExtensions) object);
+ equalsBuilder.append(this.getExtension(), that.getExtension());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TExtensions)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ super.hashCode(hashCodeBuilder);
+ hashCodeBuilder.append(this.getExtension());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TFrom.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TFrom.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TFrom.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,170 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import javax.persistence.Basic;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.Table;
+import javax.persistence.Transient;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.hyperjaxb3.xml.bind.annotation.adapters.QNameAsString;
+import org.jvnet.hyperjaxb3.xml.bind.annotation.adapters.XmlAdapterUtils;
+import org.jvnet.jaxb2_commons.lang.Equals;
+import org.jvnet.jaxb2_commons.lang.HashCode;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
+
+
+/**
+ * <p>Java class for tFrom complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tFrom">
+ * <complexContent>
+ * <extension base="{http://www.example.org/WS-HT}tExtensibleMixedContentElements">
+ * <sequence>
+ * <choice>
+ * <element name="argument" type="{http://www.example.org/WS-HT}tArgument" minOccurs="0"/>
+ * <element name="literal" type="{http://www.example.org/WS-HT}tLiteral" minOccurs="0"/>
+ * </choice>
+ * </sequence>
+ * <attribute name="expressionLanguage" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * <attribute name="logicalPeopleGroup" type="{http://www.w3.org/2001/XMLSchema}QName" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tFrom")
+ at Entity(name = "org.example.ws_ht.TFrom")
+ at Table(name = "TFROM")
+public class TFrom
+ extends TExtensibleMixedContentElements
+ implements Equals, HashCode
+{
+
+ @XmlAttribute
+ @XmlSchemaType(name = "anyURI")
+ protected String expressionLanguage;
+ @XmlAttribute
+ protected QName logicalPeopleGroup;
+
+ /**
+ * Gets the value of the expressionLanguage property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "EXPRESSIONLANGUAGE")
+ public String getExpressionLanguage() {
+ return expressionLanguage;
+ }
+
+ /**
+ * Sets the value of the expressionLanguage property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setExpressionLanguage(String value) {
+ this.expressionLanguage = value;
+ }
+
+ /**
+ * Gets the value of the logicalPeopleGroup property.
+ *
+ * @return
+ * possible object is
+ * {@link QName }
+ *
+ */
+ @Transient
+ public QName getLogicalPeopleGroup() {
+ return logicalPeopleGroup;
+ }
+
+ /**
+ * Sets the value of the logicalPeopleGroup property.
+ *
+ * @param value
+ * allowed object is
+ * {@link QName }
+ *
+ */
+ public void setLogicalPeopleGroup(QName value) {
+ this.logicalPeopleGroup = value;
+ }
+
+ @Basic
+ @Column(name = "LOGICALPEOPLEGROUPITEM")
+ public String getLogicalPeopleGroupItem() {
+ return XmlAdapterUtils.unmarshall(QNameAsString.class, this.getLogicalPeopleGroup());
+ }
+
+ public void setLogicalPeopleGroupItem(String target) {
+ setLogicalPeopleGroup(XmlAdapterUtils.marshall(QNameAsString.class, target));
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TFrom)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ super.equals(object, equalsBuilder);
+ final TFrom that = ((TFrom) object);
+ equalsBuilder.append(this.getExpressionLanguage(), that.getExpressionLanguage());
+ equalsBuilder.append(this.getLogicalPeopleGroup(), that.getLogicalPeopleGroup());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TFrom)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ super.hashCode(hashCodeBuilder);
+ hashCodeBuilder.append(this.getExpressionLanguage());
+ hashCodeBuilder.append(this.getLogicalPeopleGroup());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TGenericHumanRole.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TGenericHumanRole.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TGenericHumanRole.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,125 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import javax.persistence.CascadeType;
+import javax.persistence.Entity;
+import javax.persistence.JoinColumn;
+import javax.persistence.ManyToOne;
+import javax.persistence.Table;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.jaxb2_commons.lang.Equals;
+import org.jvnet.jaxb2_commons.lang.HashCode;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
+
+
+/**
+ * <p>Java class for tGenericHumanRole complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tGenericHumanRole">
+ * <complexContent>
+ * <extension base="{http://www.example.org/WS-HT}tExtensibleElements">
+ * <sequence>
+ * <element name="from" type="{http://www.example.org/WS-HT}tFrom"/>
+ * </sequence>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tGenericHumanRole", propOrder = {
+ "from"
+})
+ at Entity(name = "org.example.ws_ht.TGenericHumanRole")
+ at Table(name = "TGENERICHUMANROLE")
+public class TGenericHumanRole
+ extends TExtensibleElements
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ protected org.drools.task.TFrom from;
+
+ /**
+ * Gets the value of the from property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.task.TFrom }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.task.TFrom.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "FROM__TGENERICHUMANROLE_ID")
+ public org.drools.task.TFrom getFrom() {
+ return from;
+ }
+
+ /**
+ * Sets the value of the from property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.task.TFrom }
+ *
+ */
+ public void setFrom(org.drools.task.TFrom value) {
+ this.from = value;
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TGenericHumanRole)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ super.equals(object, equalsBuilder);
+ final TGenericHumanRole that = ((TGenericHumanRole) object);
+ equalsBuilder.append(this.getFrom(), that.getFrom());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TGenericHumanRole)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ super.hashCode(hashCodeBuilder);
+ hashCodeBuilder.append(this.getFrom());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TGrouplist.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TGrouplist.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TGrouplist.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,305 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.persistence.Basic;
+import javax.persistence.CascadeType;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.GeneratedValue;
+import javax.persistence.GenerationType;
+import javax.persistence.Id;
+import javax.persistence.Inheritance;
+import javax.persistence.InheritanceType;
+import javax.persistence.JoinColumn;
+import javax.persistence.OneToMany;
+import javax.persistence.Table;
+import javax.persistence.Transient;
+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.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.hyperjaxb3.item.Item;
+import org.jvnet.hyperjaxb3.item.ItemUtils;
+import org.jvnet.jaxb2_commons.lang.Equals;
+import org.jvnet.jaxb2_commons.lang.HashCode;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
+
+
+/**
+ * <p>Java class for tGrouplist complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tGrouplist">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.example.org/WS-HT}group" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tGrouplist", propOrder = {
+ "group"
+})
+ at Entity(name = "org.example.ws_ht.TGrouplist")
+ at Table(name = "TGROUPLIST")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class TGrouplist
+ implements Equals, HashCode
+{
+
+ protected List<String> group;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+ @XmlTransient
+ protected List<TGrouplist.GroupItem> groupItems;
+
+ /**
+ * Gets the value of the group 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 group property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getGroup().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ @Transient
+ public List<String> getGroup() {
+ if (group == null) {
+ group = new ArrayList<String>();
+ }
+ return this.group;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setGroup(List<String> group) {
+ this.group = group;
+ }
+
+ /**
+ * Gets the value of the hjid property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ @Id
+ @Column(name = "HJID")
+ @GeneratedValue(strategy = GenerationType.AUTO)
+ public Long getHjid() {
+ return hjid;
+ }
+
+ /**
+ * Sets the value of the hjid property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setHjid(Long value) {
+ this.hjid = value;
+ }
+
+ @OneToMany(targetEntity = org.drools.task.TGrouplist.GroupItem.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "GROUPITEMS_TGROUPLIST_ID")
+ public List<TGrouplist.GroupItem> getGroupItems() {
+ if (this.groupItems == null) {
+ this.groupItems = new ArrayList<TGrouplist.GroupItem>();
+ }
+ if (ItemUtils.shouldBeWrapped(this.group)) {
+ this.group = ItemUtils.wrap(this.group, this.groupItems, TGrouplist.GroupItem.class);
+ }
+ return this.groupItems;
+ }
+
+ public void setGroupItems(List<TGrouplist.GroupItem> value) {
+ this.group = null;
+ this.groupItems = null;
+ this.groupItems = value;
+ if (this.groupItems == null) {
+ this.groupItems = new ArrayList<TGrouplist.GroupItem>();
+ }
+ if (ItemUtils.shouldBeWrapped(this.group)) {
+ this.group = ItemUtils.wrap(this.group, this.groupItems, TGrouplist.GroupItem.class);
+ }
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TGrouplist)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final TGrouplist that = ((TGrouplist) object);
+ equalsBuilder.append(this.getGroup(), that.getGroup());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TGrouplist)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ hashCodeBuilder.append(this.getGroup());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @Entity(name = "org.example.ws_ht.TGrouplist$GroupItem")
+ @Table(name = "TGROUPLISTGROUPITEM")
+ @Inheritance(strategy = InheritanceType.JOINED)
+ public static class GroupItem
+ implements Item<String> , Equals, HashCode
+ {
+
+ @XmlElement(name = "group", namespace = "http://www.example.org/WS-HT")
+ protected String item;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the item property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "ITEM")
+ public String getItem() {
+ return item;
+ }
+
+ /**
+ * Sets the value of the item property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setItem(String value) {
+ this.item = value;
+ }
+
+ /**
+ * Gets the value of the hjid property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ @Id
+ @Column(name = "HJID")
+ @GeneratedValue(strategy = GenerationType.AUTO)
+ public Long getHjid() {
+ return hjid;
+ }
+
+ /**
+ * Sets the value of the hjid property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setHjid(Long value) {
+ this.hjid = value;
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TGrouplist.GroupItem)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final TGrouplist.GroupItem that = ((TGrouplist.GroupItem) object);
+ equalsBuilder.append(this.getItem(), that.getItem());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TGrouplist.GroupItem)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ hashCodeBuilder.append(this.getItem());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/THumanInteractions.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/THumanInteractions.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/THumanInteractions.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,373 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.persistence.Basic;
+import javax.persistence.CascadeType;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.JoinColumn;
+import javax.persistence.ManyToOne;
+import javax.persistence.OneToMany;
+import javax.persistence.Table;
+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.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.jaxb2_commons.lang.Equals;
+import org.jvnet.jaxb2_commons.lang.HashCode;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
+
+
+/**
+ * <p>Java class for tHumanInteractions complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tHumanInteractions">
+ * <complexContent>
+ * <extension base="{http://www.example.org/WS-HT}tExtensibleElements">
+ * <sequence>
+ * <element name="extensions" type="{http://www.example.org/WS-HT}tExtensions" minOccurs="0"/>
+ * <element name="import" type="{http://www.example.org/WS-HT}tImport" maxOccurs="unbounded" minOccurs="0"/>
+ * <element ref="{http://www.example.org/WS-HT}logicalPeopleGroups" minOccurs="0"/>
+ * <element ref="{http://www.example.org/WS-HT}tasks" minOccurs="0"/>
+ * <element ref="{http://www.example.org/WS-HT}notifications" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="targetNamespace" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * <attribute name="queryLanguage" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * <attribute name="expressionLanguage" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tHumanInteractions", propOrder = {
+ "extensions",
+ "_import",
+ "logicalPeopleGroups",
+ "tasks",
+ "notifications"
+})
+ at Entity(name = "org.example.ws_ht.THumanInteractions")
+ at Table(name = "THUMANINTERACTIONS")
+public class THumanInteractions
+ extends TExtensibleElements
+ implements Equals, HashCode
+{
+
+ protected org.drools.task.TExtensions extensions;
+ @XmlElement(name = "import")
+ protected List<org.drools.task.TImport> _import;
+ protected org.drools.task.TLogicalPeopleGroups logicalPeopleGroups;
+ protected org.drools.task.TTasks tasks;
+ protected org.drools.task.TNotifications notifications;
+ @XmlAttribute(required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String targetNamespace;
+ @XmlAttribute
+ @XmlSchemaType(name = "anyURI")
+ protected String queryLanguage;
+ @XmlAttribute
+ @XmlSchemaType(name = "anyURI")
+ protected String expressionLanguage;
+
+ /**
+ * Gets the value of the extensions property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.task.TExtensions }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.task.TExtensions.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "EXTENSIONS_THUMANINTERACTION_0")
+ public org.drools.task.TExtensions getExtensions() {
+ return extensions;
+ }
+
+ /**
+ * Sets the value of the extensions property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.task.TExtensions }
+ *
+ */
+ public void setExtensions(org.drools.task.TExtensions value) {
+ this.extensions = value;
+ }
+
+ /**
+ * Gets the value of the import 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 import property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getImport().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link org.drools.task.TImport }
+ *
+ *
+ */
+ @OneToMany(targetEntity = org.drools.task.TImport.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "IMPORT_THUMANINTERACTIONS_ID")
+ public List<org.drools.task.TImport> getImport() {
+ if (_import == null) {
+ _import = new ArrayList<org.drools.task.TImport>();
+ }
+ return this._import;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setImport(List<org.drools.task.TImport> _import) {
+ this._import = _import;
+ }
+
+ /**
+ * Gets the value of the logicalPeopleGroups property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.task.TLogicalPeopleGroups }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.task.TLogicalPeopleGroups.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "LOGICALPEOPLEGROUPS_THUMANIN_0")
+ public org.drools.task.TLogicalPeopleGroups getLogicalPeopleGroups() {
+ return logicalPeopleGroups;
+ }
+
+ /**
+ * Sets the value of the logicalPeopleGroups property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.task.TLogicalPeopleGroups }
+ *
+ */
+ public void setLogicalPeopleGroups(org.drools.task.TLogicalPeopleGroups value) {
+ this.logicalPeopleGroups = value;
+ }
+
+ /**
+ * Gets the value of the tasks property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.task.TTasks }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.task.TTasks.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "TASKS_THUMANINTERACTIONS_ID")
+ public org.drools.task.TTasks getTasks() {
+ return tasks;
+ }
+
+ /**
+ * Sets the value of the tasks property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.task.TTasks }
+ *
+ */
+ public void setTasks(org.drools.task.TTasks value) {
+ this.tasks = value;
+ }
+
+ /**
+ * Gets the value of the notifications property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.task.TNotifications }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.task.TNotifications.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "NOTIFICATIONS_THUMANINTERACT_0")
+ public org.drools.task.TNotifications getNotifications() {
+ return notifications;
+ }
+
+ /**
+ * Sets the value of the notifications property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.task.TNotifications }
+ *
+ */
+ public void setNotifications(org.drools.task.TNotifications value) {
+ this.notifications = value;
+ }
+
+ /**
+ * Gets the value of the targetNamespace property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "TARGETNAMESPACE")
+ public String getTargetNamespace() {
+ return targetNamespace;
+ }
+
+ /**
+ * Sets the value of the targetNamespace property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTargetNamespace(String value) {
+ this.targetNamespace = value;
+ }
+
+ /**
+ * Gets the value of the queryLanguage property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "QUERYLANGUAGE")
+ public String getQueryLanguage() {
+ return queryLanguage;
+ }
+
+ /**
+ * Sets the value of the queryLanguage property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setQueryLanguage(String value) {
+ this.queryLanguage = value;
+ }
+
+ /**
+ * Gets the value of the expressionLanguage property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "EXPRESSIONLANGUAGE")
+ public String getExpressionLanguage() {
+ return expressionLanguage;
+ }
+
+ /**
+ * Sets the value of the expressionLanguage property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setExpressionLanguage(String value) {
+ this.expressionLanguage = value;
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof THumanInteractions)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ super.equals(object, equalsBuilder);
+ final THumanInteractions that = ((THumanInteractions) object);
+ equalsBuilder.append(this.getExtensions(), that.getExtensions());
+ equalsBuilder.append(this.getImport(), that.getImport());
+ equalsBuilder.append(this.getLogicalPeopleGroups(), that.getLogicalPeopleGroups());
+ equalsBuilder.append(this.getTasks(), that.getTasks());
+ equalsBuilder.append(this.getNotifications(), that.getNotifications());
+ equalsBuilder.append(this.getTargetNamespace(), that.getTargetNamespace());
+ equalsBuilder.append(this.getQueryLanguage(), that.getQueryLanguage());
+ equalsBuilder.append(this.getExpressionLanguage(), that.getExpressionLanguage());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof THumanInteractions)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ super.hashCode(hashCodeBuilder);
+ hashCodeBuilder.append(this.getExtensions());
+ hashCodeBuilder.append(this.getImport());
+ hashCodeBuilder.append(this.getLogicalPeopleGroups());
+ hashCodeBuilder.append(this.getTasks());
+ hashCodeBuilder.append(this.getNotifications());
+ hashCodeBuilder.append(this.getTargetNamespace());
+ hashCodeBuilder.append(this.getQueryLanguage());
+ hashCodeBuilder.append(this.getExpressionLanguage());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TImport.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TImport.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TImport.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,184 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import javax.persistence.Basic;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.Table;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.jaxb2_commons.lang.Equals;
+import org.jvnet.jaxb2_commons.lang.HashCode;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
+
+
+/**
+ * <p>Java class for tImport complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tImport">
+ * <complexContent>
+ * <extension base="{http://www.example.org/WS-HT}tExtensibleElements">
+ * <attribute name="namespace" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * <attribute name="location" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * <attribute name="importType" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tImport")
+ at Entity(name = "org.example.ws_ht.TImport")
+ at Table(name = "TIMPORT")
+public class TImport
+ extends TExtensibleElements
+ implements Equals, HashCode
+{
+
+ @XmlAttribute
+ @XmlSchemaType(name = "anyURI")
+ protected String namespace;
+ @XmlAttribute
+ @XmlSchemaType(name = "anyURI")
+ protected String location;
+ @XmlAttribute(required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String importType;
+
+ /**
+ * Gets the value of the namespace property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "NAMESPACE")
+ public String getNamespace() {
+ return namespace;
+ }
+
+ /**
+ * Sets the value of the namespace property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setNamespace(String value) {
+ this.namespace = value;
+ }
+
+ /**
+ * Gets the value of the location property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "LOCATION_")
+ public String getLocation() {
+ return location;
+ }
+
+ /**
+ * Sets the value of the location property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLocation(String value) {
+ this.location = value;
+ }
+
+ /**
+ * Gets the value of the importType property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "IMPORTTYPE")
+ public String getImportType() {
+ return importType;
+ }
+
+ /**
+ * Sets the value of the importType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setImportType(String value) {
+ this.importType = value;
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TImport)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ super.equals(object, equalsBuilder);
+ final TImport that = ((TImport) object);
+ equalsBuilder.append(this.getNamespace(), that.getNamespace());
+ equalsBuilder.append(this.getLocation(), that.getLocation());
+ equalsBuilder.append(this.getImportType(), that.getImportType());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TImport)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ super.hashCode(hashCodeBuilder);
+ hashCodeBuilder.append(this.getNamespace());
+ hashCodeBuilder.append(this.getLocation());
+ hashCodeBuilder.append(this.getImportType());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TLiteral.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TLiteral.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TLiteral.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,404 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.persistence.Basic;
+import javax.persistence.CascadeType;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.GeneratedValue;
+import javax.persistence.GenerationType;
+import javax.persistence.Id;
+import javax.persistence.Inheritance;
+import javax.persistence.InheritanceType;
+import javax.persistence.JoinColumn;
+import javax.persistence.Lob;
+import javax.persistence.OneToMany;
+import javax.persistence.Table;
+import javax.persistence.Transient;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlMixed;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.hyperjaxb3.item.MixedItem;
+import org.jvnet.hyperjaxb3.item.MixedItemUtils;
+import org.jvnet.hyperjaxb3.xml.bind.JAXBContextUtils;
+import org.jvnet.hyperjaxb3.xml.bind.annotation.adapters.ElementAsString;
+import org.jvnet.hyperjaxb3.xml.bind.annotation.adapters.XmlAdapterUtils;
+import org.jvnet.jaxb2_commons.lang.Equals;
+import org.jvnet.jaxb2_commons.lang.HashCode;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for tLiteral complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tLiteral">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tLiteral", propOrder = {
+ "content"
+})
+ at Entity(name = "org.example.ws_ht.TLiteral")
+ at Table(name = "TLITERAL")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class TLiteral
+ implements Equals, HashCode
+{
+
+ @XmlMixed
+ @XmlAnyElement(lax = true)
+ protected List<Object> content;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+ @XmlTransient
+ protected List<TLiteral.ContentItem> contentItems;
+
+ /**
+ * Gets the value of the content 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 content property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getContent().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link String }
+ * {@link Element }
+ *
+ *
+ */
+ @Transient
+ public List<Object> getContent() {
+ if (content == null) {
+ content = new ArrayList<Object>();
+ }
+ return this.content;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setContent(List<Object> content) {
+ this.content = content;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ @Transient
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+ /**
+ * Gets the value of the hjid property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ @Id
+ @Column(name = "HJID")
+ @GeneratedValue(strategy = GenerationType.AUTO)
+ public Long getHjid() {
+ return hjid;
+ }
+
+ /**
+ * Sets the value of the hjid property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setHjid(Long value) {
+ this.hjid = value;
+ }
+
+ @OneToMany(targetEntity = org.drools.task.TLiteral.ContentItem.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "CONTENTITEMS_TLITERAL_ID")
+ public List<TLiteral.ContentItem> getContentItems() {
+ if (this.contentItems == null) {
+ this.contentItems = new ArrayList<TLiteral.ContentItem>();
+ }
+ if (MixedItemUtils.shouldBeWrapped(this.content)) {
+ this.content = MixedItemUtils.wrap(this.content, this.contentItems, TLiteral.ContentItem.class);
+ }
+ return this.contentItems;
+ }
+
+ public void setContentItems(List<TLiteral.ContentItem> value) {
+ this.content = null;
+ this.contentItems = null;
+ this.contentItems = value;
+ if (this.contentItems == null) {
+ this.contentItems = new ArrayList<TLiteral.ContentItem>();
+ }
+ if (MixedItemUtils.shouldBeWrapped(this.content)) {
+ this.content = MixedItemUtils.wrap(this.content, this.contentItems, TLiteral.ContentItem.class);
+ }
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TLiteral)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final TLiteral that = ((TLiteral) object);
+ equalsBuilder.append(this.getContent(), that.getContent());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TLiteral)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ hashCodeBuilder.append(this.getContent());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @Entity(name = "org.example.ws_ht.TLiteral$ContentItem")
+ @Table(name = "TLITERALCONTENTITEM")
+ @Inheritance(strategy = InheritanceType.JOINED)
+ public static class ContentItem
+ implements MixedItem<Object> , Equals, HashCode
+ {
+
+ @XmlAnyElement(lax = true)
+ protected Object item;
+ @XmlAttribute(name = "Text")
+ protected String text;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ *
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ * {@link Element }
+ *
+ */
+ @Transient
+ public Object getItem() {
+ return item;
+ }
+
+ /**
+ *
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ * {@link Element }
+ *
+ */
+ public void setItem(Object value) {
+ this.item = value;
+ }
+
+ /**
+ * Gets the value of the text property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "TEXT")
+ @Lob
+ public String getText() {
+ return text;
+ }
+
+ /**
+ * Sets the value of the text property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setText(String value) {
+ this.text = value;
+ }
+
+ /**
+ * Gets the value of the hjid property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ @Id
+ @Column(name = "HJID")
+ @GeneratedValue(strategy = GenerationType.AUTO)
+ public Long getHjid() {
+ return hjid;
+ }
+
+ /**
+ * Sets the value of the hjid property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setHjid(Long value) {
+ this.hjid = value;
+ }
+
+ @Basic
+ @Column(name = "ITEMELEMENT")
+ @Lob
+ public String getItemElement() {
+ if (this.getItem() instanceof Element) {
+ return XmlAdapterUtils.unmarshall(ElementAsString.class, ((Element) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemElement(String target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshall(ElementAsString.class, target));
+ }
+ }
+
+ @Basic
+ @Column(name = "ITEMOBJECT")
+ @Lob
+ public String getItemObject() {
+ if (JAXBContextUtils.isElement("org.example.ws_ht", this.getItem())) {
+ return JAXBContextUtils.unmarshall("org.example.ws_ht", this.getItem());
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemObject(String target) {
+ if (target!= null) {
+ setItem(JAXBContextUtils.marshall("org.example.ws_ht", target));
+ }
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TLiteral.ContentItem)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final TLiteral.ContentItem that = ((TLiteral.ContentItem) object);
+ equalsBuilder.append(this.getItem(), that.getItem());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TLiteral.ContentItem)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ hashCodeBuilder.append(this.getItem());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TLocalNotification.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TLocalNotification.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TLocalNotification.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,205 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import javax.persistence.Basic;
+import javax.persistence.CascadeType;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.JoinColumn;
+import javax.persistence.ManyToOne;
+import javax.persistence.Table;
+import javax.persistence.Transient;
+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.namespace.QName;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.hyperjaxb3.xml.bind.annotation.adapters.QNameAsString;
+import org.jvnet.hyperjaxb3.xml.bind.annotation.adapters.XmlAdapterUtils;
+import org.jvnet.jaxb2_commons.lang.Equals;
+import org.jvnet.jaxb2_commons.lang.HashCode;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
+
+
+/**
+ * <p>Java class for tLocalNotification complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tLocalNotification">
+ * <complexContent>
+ * <extension base="{http://www.example.org/WS-HT}tExtensibleElements">
+ * <choice>
+ * <sequence>
+ * <element ref="{http://www.example.org/WS-HT}priority" minOccurs="0"/>
+ * <element ref="{http://www.example.org/WS-HT}peopleAssignments" minOccurs="0"/>
+ * </sequence>
+ * </choice>
+ * <attribute name="reference" use="required" type="{http://www.w3.org/2001/XMLSchema}QName" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tLocalNotification", propOrder = {
+ "priority",
+ "peopleAssignments"
+})
+ at Entity(name = "org.example.ws_ht.TLocalNotification")
+ at Table(name = "TLOCALNOTIFICATION")
+public class TLocalNotification
+ extends TExtensibleElements
+ implements Equals, HashCode
+{
+
+ protected org.drools.task.TPriority priority;
+ protected org.drools.task.TPeopleAssignments peopleAssignments;
+ @XmlAttribute(required = true)
+ protected QName reference;
+
+ /**
+ * Gets the value of the priority property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.task.TPriority }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.task.TPriority.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "PRIORITY_TLOCALNOTIFICATION__0")
+ public org.drools.task.TPriority getPriority() {
+ return priority;
+ }
+
+ /**
+ * Sets the value of the priority property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.task.TPriority }
+ *
+ */
+ public void setPriority(org.drools.task.TPriority value) {
+ this.priority = value;
+ }
+
+ /**
+ * Gets the value of the peopleAssignments property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.task.TPeopleAssignments }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.task.TPeopleAssignments.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "PEOPLEASSIGNMENTS_TLOCALNOTI_0")
+ public org.drools.task.TPeopleAssignments getPeopleAssignments() {
+ return peopleAssignments;
+ }
+
+ /**
+ * Sets the value of the peopleAssignments property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.task.TPeopleAssignments }
+ *
+ */
+ public void setPeopleAssignments(org.drools.task.TPeopleAssignments value) {
+ this.peopleAssignments = value;
+ }
+
+ /**
+ * Gets the value of the reference property.
+ *
+ * @return
+ * possible object is
+ * {@link QName }
+ *
+ */
+ @Transient
+ public QName getReference() {
+ return reference;
+ }
+
+ /**
+ * Sets the value of the reference property.
+ *
+ * @param value
+ * allowed object is
+ * {@link QName }
+ *
+ */
+ public void setReference(QName value) {
+ this.reference = value;
+ }
+
+ @Basic
+ @Column(name = "REFERENCEITEM")
+ public String getReferenceItem() {
+ return XmlAdapterUtils.unmarshall(QNameAsString.class, this.getReference());
+ }
+
+ public void setReferenceItem(String target) {
+ setReference(XmlAdapterUtils.marshall(QNameAsString.class, target));
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TLocalNotification)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ super.equals(object, equalsBuilder);
+ final TLocalNotification that = ((TLocalNotification) object);
+ equalsBuilder.append(this.getPriority(), that.getPriority());
+ equalsBuilder.append(this.getPeopleAssignments(), that.getPeopleAssignments());
+ equalsBuilder.append(this.getReference(), that.getReference());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TLocalNotification)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ super.hashCode(hashCodeBuilder);
+ hashCodeBuilder.append(this.getPriority());
+ hashCodeBuilder.append(this.getPeopleAssignments());
+ hashCodeBuilder.append(this.getReference());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TLogicalPeopleGroup.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TLogicalPeopleGroup.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TLogicalPeopleGroup.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,210 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.persistence.Basic;
+import javax.persistence.CascadeType;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.JoinColumn;
+import javax.persistence.OneToMany;
+import javax.persistence.Table;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.jaxb2_commons.lang.Equals;
+import org.jvnet.jaxb2_commons.lang.HashCode;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
+
+
+/**
+ * <p>Java class for tLogicalPeopleGroup complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tLogicalPeopleGroup">
+ * <complexContent>
+ * <extension base="{http://www.example.org/WS-HT}tExtensibleElements">
+ * <sequence>
+ * <element name="parameter" type="{http://www.example.org/WS-HT}tParameter" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
+ * <attribute name="reference" type="{http://www.w3.org/2001/XMLSchema}NCName" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tLogicalPeopleGroup", propOrder = {
+ "parameter"
+})
+ at Entity(name = "org.example.ws_ht.TLogicalPeopleGroup")
+ at Table(name = "TLOGICALPEOPLEGROUP")
+public class TLogicalPeopleGroup
+ extends TExtensibleElements
+ implements Equals, HashCode
+{
+
+ protected List<org.drools.task.TParameter> parameter;
+ @XmlAttribute(required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NCName")
+ protected String name;
+ @XmlAttribute
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NCName")
+ protected String reference;
+
+ /**
+ * Gets the value of the parameter 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 parameter property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getParameter().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link org.drools.task.TParameter }
+ *
+ *
+ */
+ @OneToMany(targetEntity = org.drools.task.TParameter.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "PARAMETER__TLOGICALPEOPLEGRO_0")
+ public List<org.drools.task.TParameter> getParameter() {
+ if (parameter == null) {
+ parameter = new ArrayList<org.drools.task.TParameter>();
+ }
+ return this.parameter;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setParameter(List<org.drools.task.TParameter> parameter) {
+ this.parameter = parameter;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "NAME_")
+ 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 reference property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "REFERENCE")
+ public String getReference() {
+ return reference;
+ }
+
+ /**
+ * Sets the value of the reference property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setReference(String value) {
+ this.reference = value;
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TLogicalPeopleGroup)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ super.equals(object, equalsBuilder);
+ final TLogicalPeopleGroup that = ((TLogicalPeopleGroup) object);
+ equalsBuilder.append(this.getParameter(), that.getParameter());
+ equalsBuilder.append(this.getName(), that.getName());
+ equalsBuilder.append(this.getReference(), that.getReference());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TLogicalPeopleGroup)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ super.hashCode(hashCodeBuilder);
+ hashCodeBuilder.append(this.getParameter());
+ hashCodeBuilder.append(this.getName());
+ hashCodeBuilder.append(this.getReference());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TLogicalPeopleGroups.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TLogicalPeopleGroups.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TLogicalPeopleGroups.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,140 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.persistence.CascadeType;
+import javax.persistence.Entity;
+import javax.persistence.JoinColumn;
+import javax.persistence.OneToMany;
+import javax.persistence.Table;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.jaxb2_commons.lang.Equals;
+import org.jvnet.jaxb2_commons.lang.HashCode;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
+
+
+/**
+ * <p>Java class for tLogicalPeopleGroups complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tLogicalPeopleGroups">
+ * <complexContent>
+ * <extension base="{http://www.example.org/WS-HT}tExtensibleElements">
+ * <sequence>
+ * <element name="logicalPeopleGroup" type="{http://www.example.org/WS-HT}tLogicalPeopleGroup" maxOccurs="unbounded"/>
+ * </sequence>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tLogicalPeopleGroups", propOrder = {
+ "logicalPeopleGroup"
+})
+ at Entity(name = "org.example.ws_ht.TLogicalPeopleGroups")
+ at Table(name = "TLOGICALPEOPLEGROUPS")
+public class TLogicalPeopleGroups
+ extends TExtensibleElements
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ protected List<org.drools.task.TLogicalPeopleGroup> logicalPeopleGroup;
+
+ /**
+ * Gets the value of the logicalPeopleGroup 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 logicalPeopleGroup property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getLogicalPeopleGroup().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link org.drools.task.TLogicalPeopleGroup }
+ *
+ *
+ */
+ @OneToMany(targetEntity = org.drools.task.TLogicalPeopleGroup.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "LOGICALPEOPLEGROUP_TLOGICALP_0")
+ public List<org.drools.task.TLogicalPeopleGroup> getLogicalPeopleGroup() {
+ if (logicalPeopleGroup == null) {
+ logicalPeopleGroup = new ArrayList<org.drools.task.TLogicalPeopleGroup>();
+ }
+ return this.logicalPeopleGroup;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setLogicalPeopleGroup(List<org.drools.task.TLogicalPeopleGroup> logicalPeopleGroup) {
+ this.logicalPeopleGroup = logicalPeopleGroup;
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TLogicalPeopleGroups)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ super.equals(object, equalsBuilder);
+ final TLogicalPeopleGroups that = ((TLogicalPeopleGroups) object);
+ equalsBuilder.append(this.getLogicalPeopleGroup(), that.getLogicalPeopleGroup());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TLogicalPeopleGroups)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ super.hashCode(hashCodeBuilder);
+ hashCodeBuilder.append(this.getLogicalPeopleGroup());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TNotification.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TNotification.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TNotification.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,298 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import javax.persistence.Basic;
+import javax.persistence.CascadeType;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.JoinColumn;
+import javax.persistence.ManyToOne;
+import javax.persistence.Table;
+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.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.jaxb2_commons.lang.Equals;
+import org.jvnet.jaxb2_commons.lang.HashCode;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
+
+
+/**
+ * <p>Java class for tNotification complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tNotification">
+ * <complexContent>
+ * <extension base="{http://www.example.org/WS-HT}tExtensibleElements">
+ * <sequence>
+ * <element name="interface" type="{http://www.example.org/WS-HT}tNotificationInterface"/>
+ * <element ref="{http://www.example.org/WS-HT}priority" minOccurs="0"/>
+ * <element ref="{http://www.example.org/WS-HT}peopleAssignments"/>
+ * <element name="presentationElements" type="{http://www.example.org/WS-HT}tPresentationElements"/>
+ * <element name="renderings" type="{http://www.example.org/WS-HT}tRenderings" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tNotification", propOrder = {
+ "_interface",
+ "priority",
+ "peopleAssignments",
+ "presentationElements",
+ "renderings"
+})
+ at Entity(name = "org.example.ws_ht.TNotification")
+ at Table(name = "TNOTIFICATION")
+public class TNotification
+ extends TExtensibleElements
+ implements Equals, HashCode
+{
+
+ @XmlElement(name = "interface", required = true)
+ protected org.drools.task.TNotificationInterface _interface;
+ protected org.drools.task.TPriority priority;
+ @XmlElement(required = true)
+ protected org.drools.task.TPeopleAssignments peopleAssignments;
+ @XmlElement(required = true)
+ protected org.drools.task.TPresentationElements presentationElements;
+ protected org.drools.task.TRenderings renderings;
+ @XmlAttribute(required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NCName")
+ protected String name;
+
+ /**
+ * Gets the value of the interface property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.task.TNotificationInterface }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.task.TNotificationInterface.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "INTERFACE_TNOTIFICATION_ID")
+ public org.drools.task.TNotificationInterface getInterface() {
+ return _interface;
+ }
+
+ /**
+ * Sets the value of the interface property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.task.TNotificationInterface }
+ *
+ */
+ public void setInterface(org.drools.task.TNotificationInterface value) {
+ this._interface = value;
+ }
+
+ /**
+ * Gets the value of the priority property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.task.TPriority }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.task.TPriority.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "PRIORITY_TNOTIFICATION_ID")
+ public org.drools.task.TPriority getPriority() {
+ return priority;
+ }
+
+ /**
+ * Sets the value of the priority property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.task.TPriority }
+ *
+ */
+ public void setPriority(org.drools.task.TPriority value) {
+ this.priority = value;
+ }
+
+ /**
+ * Gets the value of the peopleAssignments property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.task.TPeopleAssignments }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.task.TPeopleAssignments.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "PEOPLEASSIGNMENTS_TNOTIFICAT_0")
+ public org.drools.task.TPeopleAssignments getPeopleAssignments() {
+ return peopleAssignments;
+ }
+
+ /**
+ * Sets the value of the peopleAssignments property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.task.TPeopleAssignments }
+ *
+ */
+ public void setPeopleAssignments(org.drools.task.TPeopleAssignments value) {
+ this.peopleAssignments = value;
+ }
+
+ /**
+ * Gets the value of the presentationElements property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.task.TPresentationElements }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.task.TPresentationElements.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "PRESENTATIONELEMENTS_TNOTIFI_0")
+ public org.drools.task.TPresentationElements getPresentationElements() {
+ return presentationElements;
+ }
+
+ /**
+ * Sets the value of the presentationElements property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.task.TPresentationElements }
+ *
+ */
+ public void setPresentationElements(org.drools.task.TPresentationElements value) {
+ this.presentationElements = value;
+ }
+
+ /**
+ * Gets the value of the renderings property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.task.TRenderings }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.task.TRenderings.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "RENDERINGS_TNOTIFICATION_ID")
+ public org.drools.task.TRenderings getRenderings() {
+ return renderings;
+ }
+
+ /**
+ * Sets the value of the renderings property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.task.TRenderings }
+ *
+ */
+ public void setRenderings(org.drools.task.TRenderings value) {
+ this.renderings = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "NAME_")
+ 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;
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TNotification)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ super.equals(object, equalsBuilder);
+ final TNotification that = ((TNotification) object);
+ equalsBuilder.append(this.getInterface(), that.getInterface());
+ equalsBuilder.append(this.getPriority(), that.getPriority());
+ equalsBuilder.append(this.getPeopleAssignments(), that.getPeopleAssignments());
+ equalsBuilder.append(this.getPresentationElements(), that.getPresentationElements());
+ equalsBuilder.append(this.getRenderings(), that.getRenderings());
+ equalsBuilder.append(this.getName(), that.getName());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TNotification)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ super.hashCode(hashCodeBuilder);
+ hashCodeBuilder.append(this.getInterface());
+ hashCodeBuilder.append(this.getPriority());
+ hashCodeBuilder.append(this.getPeopleAssignments());
+ hashCodeBuilder.append(this.getPresentationElements());
+ hashCodeBuilder.append(this.getRenderings());
+ hashCodeBuilder.append(this.getName());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TNotificationInterface.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TNotificationInterface.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TNotificationInterface.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,167 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import javax.persistence.Basic;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.Table;
+import javax.persistence.Transient;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.hyperjaxb3.xml.bind.annotation.adapters.QNameAsString;
+import org.jvnet.hyperjaxb3.xml.bind.annotation.adapters.XmlAdapterUtils;
+import org.jvnet.jaxb2_commons.lang.Equals;
+import org.jvnet.jaxb2_commons.lang.HashCode;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
+
+
+/**
+ * <p>Java class for tNotificationInterface complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tNotificationInterface">
+ * <complexContent>
+ * <extension base="{http://www.example.org/WS-HT}tExtensibleElements">
+ * <attribute name="portType" use="required" type="{http://www.w3.org/2001/XMLSchema}QName" />
+ * <attribute name="operation" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tNotificationInterface")
+ at Entity(name = "org.example.ws_ht.TNotificationInterface")
+ at Table(name = "TNOTIFICATIONINTERFACE")
+public class TNotificationInterface
+ extends TExtensibleElements
+ implements Equals, HashCode
+{
+
+ @XmlAttribute(required = true)
+ protected QName portType;
+ @XmlAttribute(required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NCName")
+ protected String operation;
+
+ /**
+ * Gets the value of the portType property.
+ *
+ * @return
+ * possible object is
+ * {@link QName }
+ *
+ */
+ @Transient
+ public QName getPortType() {
+ return portType;
+ }
+
+ /**
+ * Sets the value of the portType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link QName }
+ *
+ */
+ public void setPortType(QName value) {
+ this.portType = value;
+ }
+
+ /**
+ * Gets the value of the operation property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "OPERATION_")
+ public String getOperation() {
+ return operation;
+ }
+
+ /**
+ * Sets the value of the operation property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setOperation(String value) {
+ this.operation = value;
+ }
+
+ @Basic
+ @Column(name = "PORTTYPEITEM")
+ public String getPortTypeItem() {
+ return XmlAdapterUtils.unmarshall(QNameAsString.class, this.getPortType());
+ }
+
+ public void setPortTypeItem(String target) {
+ setPortType(XmlAdapterUtils.marshall(QNameAsString.class, target));
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TNotificationInterface)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ super.equals(object, equalsBuilder);
+ final TNotificationInterface that = ((TNotificationInterface) object);
+ equalsBuilder.append(this.getPortType(), that.getPortType());
+ equalsBuilder.append(this.getOperation(), that.getOperation());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TNotificationInterface)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ super.hashCode(hashCodeBuilder);
+ hashCodeBuilder.append(this.getPortType());
+ hashCodeBuilder.append(this.getOperation());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TNotifications.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TNotifications.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TNotifications.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,140 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.persistence.CascadeType;
+import javax.persistence.Entity;
+import javax.persistence.JoinColumn;
+import javax.persistence.OneToMany;
+import javax.persistence.Table;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.jaxb2_commons.lang.Equals;
+import org.jvnet.jaxb2_commons.lang.HashCode;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
+
+
+/**
+ * <p>Java class for tNotifications complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tNotifications">
+ * <complexContent>
+ * <extension base="{http://www.example.org/WS-HT}tExtensibleElements">
+ * <sequence>
+ * <element ref="{http://www.example.org/WS-HT}notification" maxOccurs="unbounded"/>
+ * </sequence>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tNotifications", propOrder = {
+ "notification"
+})
+ at Entity(name = "org.example.ws_ht.TNotifications")
+ at Table(name = "TNOTIFICATIONS")
+public class TNotifications
+ extends TExtensibleElements
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ protected List<org.drools.task.TNotification> notification;
+
+ /**
+ * Gets the value of the notification 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 notification property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getNotification().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link org.drools.task.TNotification }
+ *
+ *
+ */
+ @OneToMany(targetEntity = org.drools.task.TNotification.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "NOTIFICATION_TNOTIFICATIONS__0")
+ public List<org.drools.task.TNotification> getNotification() {
+ if (notification == null) {
+ notification = new ArrayList<org.drools.task.TNotification>();
+ }
+ return this.notification;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setNotification(List<org.drools.task.TNotification> notification) {
+ this.notification = notification;
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TNotifications)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ super.equals(object, equalsBuilder);
+ final TNotifications that = ((TNotifications) object);
+ equalsBuilder.append(this.getNotification(), that.getNotification());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TNotifications)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ super.hashCode(hashCodeBuilder);
+ hashCodeBuilder.append(this.getNotification());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TOrganizationalEntity.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TOrganizationalEntity.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TOrganizationalEntity.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,190 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import javax.persistence.CascadeType;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.GeneratedValue;
+import javax.persistence.GenerationType;
+import javax.persistence.Id;
+import javax.persistence.Inheritance;
+import javax.persistence.InheritanceType;
+import javax.persistence.JoinColumn;
+import javax.persistence.ManyToOne;
+import javax.persistence.Table;
+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 org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.jaxb2_commons.lang.Equals;
+import org.jvnet.jaxb2_commons.lang.HashCode;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
+
+
+/**
+ * <p>Java class for tOrganizationalEntity complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tOrganizationalEntity">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice>
+ * <element ref="{http://www.example.org/WS-HT}users"/>
+ * <element ref="{http://www.example.org/WS-HT}groups"/>
+ * </choice>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tOrganizationalEntity", propOrder = {
+ "users",
+ "groups"
+})
+ at Entity(name = "org.example.ws_ht.TOrganizationalEntity")
+ at Table(name = "TORGANIZATIONALENTITY")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class TOrganizationalEntity
+ implements Equals, HashCode
+{
+
+ protected org.drools.task.TUserlist users;
+ protected org.drools.task.TGrouplist groups;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the users property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.task.TUserlist }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.task.TUserlist.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "USERS_TORGANIZATIONALENTITY__0")
+ public org.drools.task.TUserlist getUsers() {
+ return users;
+ }
+
+ /**
+ * Sets the value of the users property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.task.TUserlist }
+ *
+ */
+ public void setUsers(org.drools.task.TUserlist value) {
+ this.users = value;
+ }
+
+ /**
+ * Gets the value of the groups property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.task.TGrouplist }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.task.TGrouplist.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "GROUPS_TORGANIZATIONALENTITY_0")
+ public org.drools.task.TGrouplist getGroups() {
+ return groups;
+ }
+
+ /**
+ * Sets the value of the groups property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.task.TGrouplist }
+ *
+ */
+ public void setGroups(org.drools.task.TGrouplist value) {
+ this.groups = value;
+ }
+
+ /**
+ * Gets the value of the hjid property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ @Id
+ @Column(name = "HJID")
+ @GeneratedValue(strategy = GenerationType.AUTO)
+ public Long getHjid() {
+ return hjid;
+ }
+
+ /**
+ * Sets the value of the hjid property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setHjid(Long value) {
+ this.hjid = value;
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TOrganizationalEntity)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final TOrganizationalEntity that = ((TOrganizationalEntity) object);
+ equalsBuilder.append(this.getUsers(), that.getUsers());
+ equalsBuilder.append(this.getGroups(), that.getGroups());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TOrganizationalEntity)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ hashCodeBuilder.append(this.getUsers());
+ hashCodeBuilder.append(this.getGroups());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TParameter.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TParameter.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TParameter.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,171 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import javax.persistence.Basic;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.Table;
+import javax.persistence.Transient;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.hyperjaxb3.xml.bind.annotation.adapters.QNameAsString;
+import org.jvnet.hyperjaxb3.xml.bind.annotation.adapters.XmlAdapterUtils;
+import org.jvnet.jaxb2_commons.lang.Equals;
+import org.jvnet.jaxb2_commons.lang.HashCode;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
+
+
+/**
+ * <p>Java class for tParameter complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tParameter">
+ * <complexContent>
+ * <extension base="{http://www.example.org/WS-HT}tExtensibleMixedContentElements">
+ * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
+ * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}QName" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tParameter")
+ at XmlSeeAlso({
+ TPresentationParameter.class
+})
+ at Entity(name = "org.example.ws_ht.TParameter")
+ at Table(name = "TPARAMETER")
+public class TParameter
+ extends TExtensibleMixedContentElements
+ implements Equals, HashCode
+{
+
+ @XmlAttribute(required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NCName")
+ protected String name;
+ @XmlAttribute(required = true)
+ protected QName type;
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "NAME_")
+ 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 type property.
+ *
+ * @return
+ * possible object is
+ * {@link QName }
+ *
+ */
+ @Transient
+ public QName getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link QName }
+ *
+ */
+ public void setType(QName value) {
+ this.type = value;
+ }
+
+ @Basic
+ @Column(name = "TYPEITEM")
+ public String getTypeItem() {
+ return XmlAdapterUtils.unmarshall(QNameAsString.class, this.getType());
+ }
+
+ public void setTypeItem(String target) {
+ setType(XmlAdapterUtils.marshall(QNameAsString.class, target));
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TParameter)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ super.equals(object, equalsBuilder);
+ final TParameter that = ((TParameter) object);
+ equalsBuilder.append(this.getName(), that.getName());
+ equalsBuilder.append(this.getType(), that.getType());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TParameter)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ super.hashCode(hashCodeBuilder);
+ hashCodeBuilder.append(this.getName());
+ hashCodeBuilder.append(this.getType());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TPeopleAssignments.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TPeopleAssignments.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TPeopleAssignments.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,419 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.persistence.CascadeType;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.GeneratedValue;
+import javax.persistence.GenerationType;
+import javax.persistence.Id;
+import javax.persistence.Inheritance;
+import javax.persistence.InheritanceType;
+import javax.persistence.JoinColumn;
+import javax.persistence.ManyToOne;
+import javax.persistence.OneToMany;
+import javax.persistence.Table;
+import javax.persistence.Transient;
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElementRef;
+import javax.xml.bind.annotation.XmlElementRefs;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.hyperjaxb3.item.Item;
+import org.jvnet.hyperjaxb3.item.ItemUtils;
+import org.jvnet.hyperjaxb3.xml.bind.annotation.adapters.XmlAdapterUtils;
+import org.jvnet.jaxb2_commons.lang.Equals;
+import org.jvnet.jaxb2_commons.lang.HashCode;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
+
+
+/**
+ * <p>Java class for tPeopleAssignments complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tPeopleAssignments">
+ * <complexContent>
+ * <extension base="{http://www.example.org/WS-HT}tExtensibleElements">
+ * <sequence>
+ * <group ref="{http://www.example.org/WS-HT}genericHumanRole" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tPeopleAssignments", propOrder = {
+ "genericHumanRole"
+})
+ at Entity(name = "org.example.ws_ht.TPeopleAssignments")
+ at Table(name = "TPEOPLEASSIGNMENTS")
+public class TPeopleAssignments
+ extends TExtensibleElements
+ implements Equals, HashCode
+{
+
+ @XmlElementRefs({
+ @XmlElementRef(name = "businessAdministrators", namespace = "http://www.example.org/WS-HT", type = JAXBElement.class),
+ @XmlElementRef(name = "taskStakeholders", namespace = "http://www.example.org/WS-HT", type = JAXBElement.class),
+ @XmlElementRef(name = "recipients", namespace = "http://www.example.org/WS-HT", type = JAXBElement.class),
+ @XmlElementRef(name = "excludedOwners", namespace = "http://www.example.org/WS-HT", type = JAXBElement.class),
+ @XmlElementRef(name = "potentialOwners", namespace = "http://www.example.org/WS-HT", type = JAXBElement.class),
+ @XmlElementRef(name = "taskInitiator", namespace = "http://www.example.org/WS-HT", type = JAXBElement.class)
+ })
+ protected List<JAXBElement<org.drools.task.TGenericHumanRole>> genericHumanRole;
+ @XmlTransient
+ protected List<TPeopleAssignments.GenericHumanRoleItem> genericHumanRoleItems;
+
+ /**
+ * Gets the value of the genericHumanRole 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 genericHumanRole property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getGenericHumanRole().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link JAXBElement }{@code <}{@link org.drools.task.TGenericHumanRole }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.drools.task.TGenericHumanRole }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.drools.task.TGenericHumanRole }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.drools.task.TGenericHumanRole }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.drools.task.TGenericHumanRole }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.drools.task.TGenericHumanRole }{@code >}
+ *
+ *
+ */
+ @Transient
+ public List<JAXBElement<org.drools.task.TGenericHumanRole>> getGenericHumanRole() {
+ if (genericHumanRole == null) {
+ genericHumanRole = new ArrayList<JAXBElement<org.drools.task.TGenericHumanRole>>();
+ }
+ return this.genericHumanRole;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setGenericHumanRole(List<JAXBElement<org.drools.task.TGenericHumanRole>> genericHumanRole) {
+ this.genericHumanRole = genericHumanRole;
+ }
+
+ @OneToMany(targetEntity = org.drools.task.TPeopleAssignments.GenericHumanRoleItem.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "GENERICHUMANROLEITEMS_TPEOPL_0")
+ public List<TPeopleAssignments.GenericHumanRoleItem> getGenericHumanRoleItems() {
+ if (this.genericHumanRoleItems == null) {
+ this.genericHumanRoleItems = new ArrayList<TPeopleAssignments.GenericHumanRoleItem>();
+ }
+ if (ItemUtils.shouldBeWrapped(this.genericHumanRole)) {
+ this.genericHumanRole = ItemUtils.wrap(this.genericHumanRole, this.genericHumanRoleItems, TPeopleAssignments.GenericHumanRoleItem.class);
+ }
+ return this.genericHumanRoleItems;
+ }
+
+ public void setGenericHumanRoleItems(List<TPeopleAssignments.GenericHumanRoleItem> value) {
+ this.genericHumanRole = null;
+ this.genericHumanRoleItems = null;
+ this.genericHumanRoleItems = value;
+ if (this.genericHumanRoleItems == null) {
+ this.genericHumanRoleItems = new ArrayList<TPeopleAssignments.GenericHumanRoleItem>();
+ }
+ if (ItemUtils.shouldBeWrapped(this.genericHumanRole)) {
+ this.genericHumanRole = ItemUtils.wrap(this.genericHumanRole, this.genericHumanRoleItems, TPeopleAssignments.GenericHumanRoleItem.class);
+ }
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TPeopleAssignments)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ super.equals(object, equalsBuilder);
+ final TPeopleAssignments that = ((TPeopleAssignments) object);
+ equalsBuilder.append(this.getGenericHumanRole(), that.getGenericHumanRole());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TPeopleAssignments)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ super.hashCode(hashCodeBuilder);
+ hashCodeBuilder.append(this.getGenericHumanRole());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @Entity(name = "org.example.ws_ht.TPeopleAssignments$GenericHumanRoleItem")
+ @Table(name = "TPEOPLEASSIGNMENTSGENERICHUM_0")
+ @Inheritance(strategy = InheritanceType.JOINED)
+ public static class GenericHumanRoleItem
+ implements Item<JAXBElement<org.drools.task.TGenericHumanRole>> , Equals, HashCode
+ {
+
+ @XmlElementRefs({
+ @XmlElementRef(name = "businessAdministrators", namespace = "http://www.example.org/WS-HT", type = JAXBElement.class),
+ @XmlElementRef(name = "taskStakeholders", namespace = "http://www.example.org/WS-HT", type = JAXBElement.class),
+ @XmlElementRef(name = "recipients", namespace = "http://www.example.org/WS-HT", type = JAXBElement.class),
+ @XmlElementRef(name = "excludedOwners", namespace = "http://www.example.org/WS-HT", type = JAXBElement.class),
+ @XmlElementRef(name = "potentialOwners", namespace = "http://www.example.org/WS-HT", type = JAXBElement.class),
+ @XmlElementRef(name = "taskInitiator", namespace = "http://www.example.org/WS-HT", type = JAXBElement.class)
+ })
+ protected JAXBElement<org.drools.task.TGenericHumanRole> item;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ *
+ *
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link org.drools.task.TGenericHumanRole }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.drools.task.TGenericHumanRole }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.drools.task.TGenericHumanRole }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.drools.task.TGenericHumanRole }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.drools.task.TGenericHumanRole }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.drools.task.TGenericHumanRole }{@code >}
+ *
+ */
+ @Transient
+ public JAXBElement<org.drools.task.TGenericHumanRole> getItem() {
+ return item;
+ }
+
+ /**
+ *
+ *
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link org.drools.task.TGenericHumanRole }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.drools.task.TGenericHumanRole }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.drools.task.TGenericHumanRole }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.drools.task.TGenericHumanRole }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.drools.task.TGenericHumanRole }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.drools.task.TGenericHumanRole }{@code >}
+ *
+ */
+ public void setItem(JAXBElement<org.drools.task.TGenericHumanRole> value) {
+ this.item = ((JAXBElement<org.drools.task.TGenericHumanRole> ) value);
+ }
+
+ /**
+ * Gets the value of the hjid property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ @Id
+ @Column(name = "HJID")
+ @GeneratedValue(strategy = GenerationType.AUTO)
+ public Long getHjid() {
+ return hjid;
+ }
+
+ /**
+ * Sets the value of the hjid property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setHjid(Long value) {
+ this.hjid = value;
+ }
+
+ @ManyToOne(targetEntity = org.drools.task.TGenericHumanRole.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "ITEMBUSINESSADMINISTRATORS_T_0")
+ public org.drools.task.TGenericHumanRole getItemBusinessAdministrators() {
+ if (XmlAdapterUtils.isJAXBElement(org.drools.task.TGenericHumanRole.class, new QName("http://www.example.org/WS-HT", "businessAdministrators"), JAXBElement.GlobalScope.class, this.getItem())) {
+ return XmlAdapterUtils.unmarshallJAXBElement(((JAXBElement<? extends org.drools.task.TGenericHumanRole> ) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemBusinessAdministrators(org.drools.task.TGenericHumanRole target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshallJAXBElement(org.drools.task.TGenericHumanRole.class, new QName("http://www.example.org/WS-HT", "businessAdministrators"), JAXBElement.GlobalScope.class, target));
+ }
+ }
+
+ @ManyToOne(targetEntity = org.drools.task.TGenericHumanRole.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "ITEMTASKSTAKEHOLDERS_TPEOPLE_0")
+ public org.drools.task.TGenericHumanRole getItemTaskStakeholders() {
+ if (XmlAdapterUtils.isJAXBElement(org.drools.task.TGenericHumanRole.class, new QName("http://www.example.org/WS-HT", "taskStakeholders"), JAXBElement.GlobalScope.class, this.getItem())) {
+ return XmlAdapterUtils.unmarshallJAXBElement(((JAXBElement<? extends org.drools.task.TGenericHumanRole> ) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemTaskStakeholders(org.drools.task.TGenericHumanRole target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshallJAXBElement(org.drools.task.TGenericHumanRole.class, new QName("http://www.example.org/WS-HT", "taskStakeholders"), JAXBElement.GlobalScope.class, target));
+ }
+ }
+
+ @ManyToOne(targetEntity = org.drools.task.TGenericHumanRole.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "ITEMRECIPIENTS_TPEOPLEASSIGN_0")
+ public org.drools.task.TGenericHumanRole getItemRecipients() {
+ if (XmlAdapterUtils.isJAXBElement(org.drools.task.TGenericHumanRole.class, new QName("http://www.example.org/WS-HT", "recipients"), JAXBElement.GlobalScope.class, this.getItem())) {
+ return XmlAdapterUtils.unmarshallJAXBElement(((JAXBElement<? extends org.drools.task.TGenericHumanRole> ) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemRecipients(org.drools.task.TGenericHumanRole target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshallJAXBElement(org.drools.task.TGenericHumanRole.class, new QName("http://www.example.org/WS-HT", "recipients"), JAXBElement.GlobalScope.class, target));
+ }
+ }
+
+ @ManyToOne(targetEntity = org.drools.task.TGenericHumanRole.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "ITEMEXCLUDEDOWNERS_TPEOPLEAS_0")
+ public org.drools.task.TGenericHumanRole getItemExcludedOwners() {
+ if (XmlAdapterUtils.isJAXBElement(org.drools.task.TGenericHumanRole.class, new QName("http://www.example.org/WS-HT", "excludedOwners"), JAXBElement.GlobalScope.class, this.getItem())) {
+ return XmlAdapterUtils.unmarshallJAXBElement(((JAXBElement<? extends org.drools.task.TGenericHumanRole> ) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemExcludedOwners(org.drools.task.TGenericHumanRole target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshallJAXBElement(org.drools.task.TGenericHumanRole.class, new QName("http://www.example.org/WS-HT", "excludedOwners"), JAXBElement.GlobalScope.class, target));
+ }
+ }
+
+ @ManyToOne(targetEntity = org.drools.task.TGenericHumanRole.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "ITEMPOTENTIALOWNERS_TPEOPLEA_0")
+ public org.drools.task.TGenericHumanRole getItemPotentialOwners() {
+ if (XmlAdapterUtils.isJAXBElement(org.drools.task.TGenericHumanRole.class, new QName("http://www.example.org/WS-HT", "potentialOwners"), JAXBElement.GlobalScope.class, this.getItem())) {
+ return XmlAdapterUtils.unmarshallJAXBElement(((JAXBElement<? extends org.drools.task.TGenericHumanRole> ) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemPotentialOwners(org.drools.task.TGenericHumanRole target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshallJAXBElement(org.drools.task.TGenericHumanRole.class, new QName("http://www.example.org/WS-HT", "potentialOwners"), JAXBElement.GlobalScope.class, target));
+ }
+ }
+
+ @ManyToOne(targetEntity = org.drools.task.TGenericHumanRole.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "ITEMTASKINITIATOR_TPEOPLEASS_0")
+ public org.drools.task.TGenericHumanRole getItemTaskInitiator() {
+ if (XmlAdapterUtils.isJAXBElement(org.drools.task.TGenericHumanRole.class, new QName("http://www.example.org/WS-HT", "taskInitiator"), JAXBElement.GlobalScope.class, this.getItem())) {
+ return XmlAdapterUtils.unmarshallJAXBElement(((JAXBElement<? extends org.drools.task.TGenericHumanRole> ) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemTaskInitiator(org.drools.task.TGenericHumanRole target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshallJAXBElement(org.drools.task.TGenericHumanRole.class, new QName("http://www.example.org/WS-HT", "taskInitiator"), JAXBElement.GlobalScope.class, target));
+ }
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TPeopleAssignments.GenericHumanRoleItem)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final TPeopleAssignments.GenericHumanRoleItem that = ((TPeopleAssignments.GenericHumanRoleItem) object);
+ equalsBuilder.append(this.getItem(), that.getItem());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TPeopleAssignments.GenericHumanRoleItem)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ hashCodeBuilder.append(this.getItem());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TPotentialDelegatees.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TPotentialDelegatees.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TPotentialDelegatees.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,64 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for tPotentialDelegatees.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * <simpleType name="tPotentialDelegatees">
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="anybody"/>
+ * <enumeration value="nobody"/>
+ * <enumeration value="potentialOwners"/>
+ * <enumeration value="other"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+ at XmlType(name = "tPotentialDelegatees")
+ at XmlEnum
+public enum TPotentialDelegatees {
+
+ @XmlEnumValue("anybody")
+ ANYBODY("anybody"),
+ @XmlEnumValue("nobody")
+ NOBODY("nobody"),
+ @XmlEnumValue("potentialOwners")
+ POTENTIAL_OWNERS("potentialOwners"),
+ @XmlEnumValue("other")
+ OTHER("other");
+ private final String value;
+
+ TPotentialDelegatees(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static TPotentialDelegatees fromValue(String v) {
+ for (TPotentialDelegatees c: TPotentialDelegatees.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TPresentationElements.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TPresentationElements.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TPresentationElements.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,264 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.persistence.CascadeType;
+import javax.persistence.Entity;
+import javax.persistence.JoinColumn;
+import javax.persistence.ManyToOne;
+import javax.persistence.OneToMany;
+import javax.persistence.Table;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.jaxb2_commons.lang.Equals;
+import org.jvnet.jaxb2_commons.lang.HashCode;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
+
+
+/**
+ * <p>Java class for tPresentationElements complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tPresentationElements">
+ * <complexContent>
+ * <extension base="{http://www.example.org/WS-HT}tExtensibleElements">
+ * <sequence>
+ * <element name="name" type="{http://www.example.org/WS-HT}tText" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="presentationParameters" type="{http://www.example.org/WS-HT}tPresentationParameters" minOccurs="0"/>
+ * <element name="subject" type="{http://www.example.org/WS-HT}tText" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="description" type="{http://www.example.org/WS-HT}tDescription" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tPresentationElements", propOrder = {
+ "name",
+ "presentationParameters",
+ "subject",
+ "description"
+})
+ at Entity(name = "org.example.ws_ht.TPresentationElements")
+ at Table(name = "TPRESENTATIONELEMENTS")
+public class TPresentationElements
+ extends TExtensibleElements
+ implements Equals, HashCode
+{
+
+ protected List<org.drools.task.TText> name;
+ protected org.drools.task.TPresentationParameters presentationParameters;
+ protected List<org.drools.task.TText> subject;
+ protected List<org.drools.task.TDescription> description;
+
+ /**
+ * Gets the value of the name 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 name property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getName().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link org.drools.task.TText }
+ *
+ *
+ */
+ @OneToMany(targetEntity = org.drools.task.TText.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "NAME__TPRESENTATIONELEMENTS__0")
+ public List<org.drools.task.TText> getName() {
+ if (name == null) {
+ name = new ArrayList<org.drools.task.TText>();
+ }
+ return this.name;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setName(List<org.drools.task.TText> name) {
+ this.name = name;
+ }
+
+ /**
+ * Gets the value of the presentationParameters property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.task.TPresentationParameters }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.task.TPresentationParameters.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "PRESENTATIONPARAMETERS_TPRES_0")
+ public org.drools.task.TPresentationParameters getPresentationParameters() {
+ return presentationParameters;
+ }
+
+ /**
+ * Sets the value of the presentationParameters property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.task.TPresentationParameters }
+ *
+ */
+ public void setPresentationParameters(org.drools.task.TPresentationParameters value) {
+ this.presentationParameters = value;
+ }
+
+ /**
+ * Gets the value of the subject 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 subject property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getSubject().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link org.drools.task.TText }
+ *
+ *
+ */
+ @OneToMany(targetEntity = org.drools.task.TText.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "SUBJECT_TPRESENTATIONELEMENT_0")
+ public List<org.drools.task.TText> getSubject() {
+ if (subject == null) {
+ subject = new ArrayList<org.drools.task.TText>();
+ }
+ return this.subject;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setSubject(List<org.drools.task.TText> subject) {
+ this.subject = subject;
+ }
+
+ /**
+ * Gets the value of the description 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 description property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getDescription().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link org.drools.task.TDescription }
+ *
+ *
+ */
+ @OneToMany(targetEntity = org.drools.task.TDescription.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "DESCRIPTION_TPRESENTATIONELE_0")
+ public List<org.drools.task.TDescription> getDescription() {
+ if (description == null) {
+ description = new ArrayList<org.drools.task.TDescription>();
+ }
+ return this.description;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setDescription(List<org.drools.task.TDescription> description) {
+ this.description = description;
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TPresentationElements)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ super.equals(object, equalsBuilder);
+ final TPresentationElements that = ((TPresentationElements) object);
+ equalsBuilder.append(this.getName(), that.getName());
+ equalsBuilder.append(this.getPresentationParameters(), that.getPresentationParameters());
+ equalsBuilder.append(this.getSubject(), that.getSubject());
+ equalsBuilder.append(this.getDescription(), that.getDescription());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TPresentationElements)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ super.hashCode(hashCodeBuilder);
+ hashCodeBuilder.append(this.getName());
+ hashCodeBuilder.append(this.getPresentationParameters());
+ hashCodeBuilder.append(this.getSubject());
+ hashCodeBuilder.append(this.getDescription());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TPresentationParameter.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TPresentationParameter.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TPresentationParameter.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,84 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import javax.persistence.Entity;
+import javax.persistence.Table;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.jaxb2_commons.lang.Equals;
+import org.jvnet.jaxb2_commons.lang.HashCode;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
+
+
+/**
+ * <p>Java class for tPresentationParameter complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tPresentationParameter">
+ * <complexContent>
+ * <extension base="{http://www.example.org/WS-HT}tParameter">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tPresentationParameter")
+ at Entity(name = "org.example.ws_ht.TPresentationParameter")
+ at Table(name = "TPRESENTATIONPARAMETER")
+public class TPresentationParameter
+ extends TParameter
+ implements Equals, HashCode
+{
+
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TPresentationParameter)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ super.equals(object, equalsBuilder);
+ final TPresentationParameter that = ((TPresentationParameter) object);
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TPresentationParameter)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ super.hashCode(hashCodeBuilder);
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TPresentationParameters.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TPresentationParameters.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TPresentationParameters.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,176 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.persistence.Basic;
+import javax.persistence.CascadeType;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.JoinColumn;
+import javax.persistence.OneToMany;
+import javax.persistence.Table;
+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.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.jaxb2_commons.lang.Equals;
+import org.jvnet.jaxb2_commons.lang.HashCode;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
+
+
+/**
+ * <p>Java class for tPresentationParameters complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tPresentationParameters">
+ * <complexContent>
+ * <extension base="{http://www.example.org/WS-HT}tExtensibleElements">
+ * <sequence>
+ * <element name="presentationParameter" type="{http://www.example.org/WS-HT}tPresentationParameter" maxOccurs="unbounded"/>
+ * </sequence>
+ * <attribute name="expressionLanguage" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tPresentationParameters", propOrder = {
+ "presentationParameter"
+})
+ at Entity(name = "org.example.ws_ht.TPresentationParameters")
+ at Table(name = "TPRESENTATIONPARAMETERS")
+public class TPresentationParameters
+ extends TExtensibleElements
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ protected List<org.drools.task.TPresentationParameter> presentationParameter;
+ @XmlAttribute
+ @XmlSchemaType(name = "anyURI")
+ protected String expressionLanguage;
+
+ /**
+ * Gets the value of the presentationParameter 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 presentationParameter property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getPresentationParameter().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link org.drools.task.TPresentationParameter }
+ *
+ *
+ */
+ @OneToMany(targetEntity = org.drools.task.TPresentationParameter.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "PRESENTATIONPARAMETER_TPRESE_0")
+ public List<org.drools.task.TPresentationParameter> getPresentationParameter() {
+ if (presentationParameter == null) {
+ presentationParameter = new ArrayList<org.drools.task.TPresentationParameter>();
+ }
+ return this.presentationParameter;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setPresentationParameter(List<org.drools.task.TPresentationParameter> presentationParameter) {
+ this.presentationParameter = presentationParameter;
+ }
+
+ /**
+ * Gets the value of the expressionLanguage property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "EXPRESSIONLANGUAGE")
+ public String getExpressionLanguage() {
+ return expressionLanguage;
+ }
+
+ /**
+ * Sets the value of the expressionLanguage property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setExpressionLanguage(String value) {
+ this.expressionLanguage = value;
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TPresentationParameters)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ super.equals(object, equalsBuilder);
+ final TPresentationParameters that = ((TPresentationParameters) object);
+ equalsBuilder.append(this.getPresentationParameter(), that.getPresentationParameter());
+ equalsBuilder.append(this.getExpressionLanguage(), that.getExpressionLanguage());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TPresentationParameters)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ super.hashCode(hashCodeBuilder);
+ hashCodeBuilder.append(this.getPresentationParameter());
+ hashCodeBuilder.append(this.getExpressionLanguage());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TPriority.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TPriority.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TPriority.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,84 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import javax.persistence.Entity;
+import javax.persistence.Table;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.jaxb2_commons.lang.Equals;
+import org.jvnet.jaxb2_commons.lang.HashCode;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
+
+
+/**
+ * <p>Java class for tPriority complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tPriority">
+ * <complexContent>
+ * <extension base="{http://www.example.org/WS-HT}tExpression">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tPriority")
+ at Entity(name = "org.example.ws_ht.TPriority")
+ at Table(name = "TPRIORITY")
+public class TPriority
+ extends TExpression
+ implements Equals, HashCode
+{
+
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TPriority)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ super.equals(object, equalsBuilder);
+ final TPriority that = ((TPriority) object);
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TPriority)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ super.hashCode(hashCodeBuilder);
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TQuery.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TQuery.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TQuery.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,469 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.persistence.Basic;
+import javax.persistence.CascadeType;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.GeneratedValue;
+import javax.persistence.GenerationType;
+import javax.persistence.Id;
+import javax.persistence.Inheritance;
+import javax.persistence.InheritanceType;
+import javax.persistence.JoinColumn;
+import javax.persistence.Lob;
+import javax.persistence.OneToMany;
+import javax.persistence.Table;
+import javax.persistence.Transient;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlMixed;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.hyperjaxb3.item.MixedItem;
+import org.jvnet.hyperjaxb3.item.MixedItemUtils;
+import org.jvnet.hyperjaxb3.xml.bind.JAXBContextUtils;
+import org.jvnet.hyperjaxb3.xml.bind.annotation.adapters.ElementAsString;
+import org.jvnet.hyperjaxb3.xml.bind.annotation.adapters.XmlAdapterUtils;
+import org.jvnet.jaxb2_commons.lang.Equals;
+import org.jvnet.jaxb2_commons.lang.HashCode;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for tQuery complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tQuery">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * <attribute name="part" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
+ * <attribute name="queryLanguage" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tQuery", propOrder = {
+ "content"
+})
+ at Entity(name = "org.example.ws_ht.TQuery")
+ at Table(name = "TQUERY")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class TQuery
+ implements Equals, HashCode
+{
+
+ @XmlMixed
+ @XmlAnyElement(lax = true)
+ protected List<Object> content;
+ @XmlAttribute
+ @XmlSchemaType(name = "anySimpleType")
+ protected String part;
+ @XmlAttribute
+ @XmlSchemaType(name = "anyURI")
+ protected String queryLanguage;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+ @XmlTransient
+ protected List<TQuery.ContentItem> contentItems;
+
+ /**
+ * Gets the value of the content 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 content property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getContent().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link String }
+ * {@link Element }
+ *
+ *
+ */
+ @Transient
+ public List<Object> getContent() {
+ if (content == null) {
+ content = new ArrayList<Object>();
+ }
+ return this.content;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setContent(List<Object> content) {
+ this.content = content;
+ }
+
+ /**
+ * Gets the value of the part property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "PART")
+ public String getPart() {
+ return part;
+ }
+
+ /**
+ * Sets the value of the part property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPart(String value) {
+ this.part = value;
+ }
+
+ /**
+ * Gets the value of the queryLanguage property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "QUERYLANGUAGE")
+ public String getQueryLanguage() {
+ return queryLanguage;
+ }
+
+ /**
+ * Sets the value of the queryLanguage property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setQueryLanguage(String value) {
+ this.queryLanguage = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ @Transient
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+ /**
+ * Gets the value of the hjid property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ @Id
+ @Column(name = "HJID")
+ @GeneratedValue(strategy = GenerationType.AUTO)
+ public Long getHjid() {
+ return hjid;
+ }
+
+ /**
+ * Sets the value of the hjid property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setHjid(Long value) {
+ this.hjid = value;
+ }
+
+ @OneToMany(targetEntity = org.drools.task.TQuery.ContentItem.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "CONTENTITEMS_TQUERY_ID")
+ public List<TQuery.ContentItem> getContentItems() {
+ if (this.contentItems == null) {
+ this.contentItems = new ArrayList<TQuery.ContentItem>();
+ }
+ if (MixedItemUtils.shouldBeWrapped(this.content)) {
+ this.content = MixedItemUtils.wrap(this.content, this.contentItems, TQuery.ContentItem.class);
+ }
+ return this.contentItems;
+ }
+
+ public void setContentItems(List<TQuery.ContentItem> value) {
+ this.content = null;
+ this.contentItems = null;
+ this.contentItems = value;
+ if (this.contentItems == null) {
+ this.contentItems = new ArrayList<TQuery.ContentItem>();
+ }
+ if (MixedItemUtils.shouldBeWrapped(this.content)) {
+ this.content = MixedItemUtils.wrap(this.content, this.contentItems, TQuery.ContentItem.class);
+ }
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TQuery)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final TQuery that = ((TQuery) object);
+ equalsBuilder.append(this.getContent(), that.getContent());
+ equalsBuilder.append(this.getPart(), that.getPart());
+ equalsBuilder.append(this.getQueryLanguage(), that.getQueryLanguage());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TQuery)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ hashCodeBuilder.append(this.getContent());
+ hashCodeBuilder.append(this.getPart());
+ hashCodeBuilder.append(this.getQueryLanguage());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @Entity(name = "org.example.ws_ht.TQuery$ContentItem")
+ @Table(name = "TQUERYCONTENTITEM")
+ @Inheritance(strategy = InheritanceType.JOINED)
+ public static class ContentItem
+ implements MixedItem<Object> , Equals, HashCode
+ {
+
+ @XmlAnyElement(lax = true)
+ protected Object item;
+ @XmlAttribute(name = "Text")
+ protected String text;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ *
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ * {@link Element }
+ *
+ */
+ @Transient
+ public Object getItem() {
+ return item;
+ }
+
+ /**
+ *
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ * {@link Element }
+ *
+ */
+ public void setItem(Object value) {
+ this.item = value;
+ }
+
+ /**
+ * Gets the value of the text property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "TEXT")
+ @Lob
+ public String getText() {
+ return text;
+ }
+
+ /**
+ * Sets the value of the text property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setText(String value) {
+ this.text = value;
+ }
+
+ /**
+ * Gets the value of the hjid property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ @Id
+ @Column(name = "HJID")
+ @GeneratedValue(strategy = GenerationType.AUTO)
+ public Long getHjid() {
+ return hjid;
+ }
+
+ /**
+ * Sets the value of the hjid property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setHjid(Long value) {
+ this.hjid = value;
+ }
+
+ @Basic
+ @Column(name = "ITEMELEMENT")
+ @Lob
+ public String getItemElement() {
+ if (this.getItem() instanceof Element) {
+ return XmlAdapterUtils.unmarshall(ElementAsString.class, ((Element) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemElement(String target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshall(ElementAsString.class, target));
+ }
+ }
+
+ @Basic
+ @Column(name = "ITEMOBJECT")
+ @Lob
+ public String getItemObject() {
+ if (JAXBContextUtils.isElement("org.example.ws_ht", this.getItem())) {
+ return JAXBContextUtils.unmarshall("org.example.ws_ht", this.getItem());
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemObject(String target) {
+ if (target!= null) {
+ setItem(JAXBContextUtils.marshall("org.example.ws_ht", target));
+ }
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TQuery.ContentItem)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final TQuery.ContentItem that = ((TQuery.ContentItem) object);
+ equalsBuilder.append(this.getItem(), that.getItem());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TQuery.ContentItem)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ hashCodeBuilder.append(this.getItem());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TReassignment.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TReassignment.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TReassignment.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,125 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import javax.persistence.CascadeType;
+import javax.persistence.Entity;
+import javax.persistence.JoinColumn;
+import javax.persistence.ManyToOne;
+import javax.persistence.Table;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.jaxb2_commons.lang.Equals;
+import org.jvnet.jaxb2_commons.lang.HashCode;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
+
+
+/**
+ * <p>Java class for tReassignment complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tReassignment">
+ * <complexContent>
+ * <extension base="{http://www.example.org/WS-HT}tExtensibleElements">
+ * <sequence>
+ * <element ref="{http://www.example.org/WS-HT}potentialOwners"/>
+ * </sequence>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tReassignment", propOrder = {
+ "potentialOwners"
+})
+ at Entity(name = "org.example.ws_ht.TReassignment")
+ at Table(name = "TREASSIGNMENT")
+public class TReassignment
+ extends TExtensibleElements
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ protected org.drools.task.TGenericHumanRole potentialOwners;
+
+ /**
+ * Gets the value of the potentialOwners property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.task.TGenericHumanRole }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.task.TGenericHumanRole.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "POTENTIALOWNERS_TREASSIGNMEN_0")
+ public org.drools.task.TGenericHumanRole getPotentialOwners() {
+ return potentialOwners;
+ }
+
+ /**
+ * Sets the value of the potentialOwners property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.task.TGenericHumanRole }
+ *
+ */
+ public void setPotentialOwners(org.drools.task.TGenericHumanRole value) {
+ this.potentialOwners = value;
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TReassignment)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ super.equals(object, equalsBuilder);
+ final TReassignment that = ((TReassignment) object);
+ equalsBuilder.append(this.getPotentialOwners(), that.getPotentialOwners());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TReassignment)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ super.hashCode(hashCodeBuilder);
+ hashCodeBuilder.append(this.getPotentialOwners());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TRendering.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TRendering.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TRendering.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,131 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import javax.persistence.Basic;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.Table;
+import javax.persistence.Transient;
+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.namespace.QName;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.hyperjaxb3.xml.bind.annotation.adapters.QNameAsString;
+import org.jvnet.hyperjaxb3.xml.bind.annotation.adapters.XmlAdapterUtils;
+import org.jvnet.jaxb2_commons.lang.Equals;
+import org.jvnet.jaxb2_commons.lang.HashCode;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
+
+
+/**
+ * <p>Java class for tRendering complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tRendering">
+ * <complexContent>
+ * <extension base="{http://www.example.org/WS-HT}tExtensibleElements">
+ * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}QName" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tRendering")
+ at Entity(name = "org.example.ws_ht.TRendering")
+ at Table(name = "TRENDERING")
+public class TRendering
+ extends TExtensibleElements
+ implements Equals, HashCode
+{
+
+ @XmlAttribute(required = true)
+ protected QName type;
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link QName }
+ *
+ */
+ @Transient
+ public QName getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link QName }
+ *
+ */
+ public void setType(QName value) {
+ this.type = value;
+ }
+
+ @Basic
+ @Column(name = "TYPEITEM")
+ public String getTypeItem() {
+ return XmlAdapterUtils.unmarshall(QNameAsString.class, this.getType());
+ }
+
+ public void setTypeItem(String target) {
+ setType(XmlAdapterUtils.marshall(QNameAsString.class, target));
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TRendering)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ super.equals(object, equalsBuilder);
+ final TRendering that = ((TRendering) object);
+ equalsBuilder.append(this.getType(), that.getType());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TRendering)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ super.hashCode(hashCodeBuilder);
+ hashCodeBuilder.append(this.getType());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TRenderings.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TRenderings.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TRenderings.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,140 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.persistence.CascadeType;
+import javax.persistence.Entity;
+import javax.persistence.JoinColumn;
+import javax.persistence.OneToMany;
+import javax.persistence.Table;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.jaxb2_commons.lang.Equals;
+import org.jvnet.jaxb2_commons.lang.HashCode;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
+
+
+/**
+ * <p>Java class for tRenderings complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tRenderings">
+ * <complexContent>
+ * <extension base="{http://www.example.org/WS-HT}tExtensibleElements">
+ * <sequence>
+ * <element name="rendering" type="{http://www.example.org/WS-HT}tRendering" maxOccurs="unbounded"/>
+ * </sequence>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tRenderings", propOrder = {
+ "rendering"
+})
+ at Entity(name = "org.example.ws_ht.TRenderings")
+ at Table(name = "TRENDERINGS")
+public class TRenderings
+ extends TExtensibleElements
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ protected List<org.drools.task.TRendering> rendering;
+
+ /**
+ * Gets the value of the rendering 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 rendering property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getRendering().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link org.drools.task.TRendering }
+ *
+ *
+ */
+ @OneToMany(targetEntity = org.drools.task.TRendering.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "RENDERING_TRENDERINGS_ID")
+ public List<org.drools.task.TRendering> getRendering() {
+ if (rendering == null) {
+ rendering = new ArrayList<org.drools.task.TRendering>();
+ }
+ return this.rendering;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setRendering(List<org.drools.task.TRendering> rendering) {
+ this.rendering = rendering;
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TRenderings)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ super.equals(object, equalsBuilder);
+ final TRenderings that = ((TRenderings) object);
+ equalsBuilder.append(this.getRendering(), that.getRendering());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TRenderings)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ super.hashCode(hashCodeBuilder);
+ hashCodeBuilder.append(this.getRendering());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TTask.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TTask.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TTask.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,430 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import javax.persistence.Basic;
+import javax.persistence.CascadeType;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.JoinColumn;
+import javax.persistence.ManyToOne;
+import javax.persistence.Table;
+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.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.jaxb2_commons.lang.Equals;
+import org.jvnet.jaxb2_commons.lang.HashCode;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
+
+
+/**
+ * <p>Java class for tTask complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tTask">
+ * <complexContent>
+ * <extension base="{http://www.example.org/WS-HT}tExtensibleElements">
+ * <sequence>
+ * <element name="interface" type="{http://www.example.org/WS-HT}tTaskInterface"/>
+ * <element ref="{http://www.example.org/WS-HT}priority" minOccurs="0"/>
+ * <element ref="{http://www.example.org/WS-HT}peopleAssignments"/>
+ * <element name="delegation" type="{http://www.example.org/WS-HT}tDelegation" minOccurs="0"/>
+ * <element name="presentationElements" type="{http://www.example.org/WS-HT}tPresentationElements"/>
+ * <element name="outcome" type="{http://www.example.org/WS-HT}tQuery" minOccurs="0"/>
+ * <element name="searchBy" type="{http://www.example.org/WS-HT}tExpression" minOccurs="0"/>
+ * <element name="renderings" type="{http://www.example.org/WS-HT}tRenderings" minOccurs="0"/>
+ * <element name="deadlines" type="{http://www.example.org/WS-HT}tDeadlines" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tTask", propOrder = {
+ "_interface",
+ "priority",
+ "peopleAssignments",
+ "delegation",
+ "presentationElements",
+ "outcome",
+ "searchBy",
+ "renderings",
+ "deadlines"
+})
+ at Entity(name = "org.example.ws_ht.TTask")
+ at Table(name = "TTASK")
+public class TTask
+ extends TExtensibleElements
+ implements Equals, HashCode
+{
+
+ @XmlElement(name = "interface", required = true)
+ protected org.drools.task.TTaskInterface _interface;
+ protected org.drools.task.TPriority priority;
+ @XmlElement(required = true)
+ protected org.drools.task.TPeopleAssignments peopleAssignments;
+ protected org.drools.task.TDelegation delegation;
+ @XmlElement(required = true)
+ protected org.drools.task.TPresentationElements presentationElements;
+ protected org.drools.task.TQuery outcome;
+ protected org.drools.task.TExpression searchBy;
+ protected org.drools.task.TRenderings renderings;
+ protected org.drools.task.TDeadlines deadlines;
+ @XmlAttribute(required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NCName")
+ protected String name;
+
+ /**
+ * Gets the value of the interface property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.task.TTaskInterface }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.task.TTaskInterface.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "INTERFACE_TTASK_ID")
+ public org.drools.task.TTaskInterface getInterface() {
+ return _interface;
+ }
+
+ /**
+ * Sets the value of the interface property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.task.TTaskInterface }
+ *
+ */
+ public void setInterface(org.drools.task.TTaskInterface value) {
+ this._interface = value;
+ }
+
+ /**
+ * Gets the value of the priority property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.task.TPriority }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.task.TPriority.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "PRIORITY_TTASK_ID")
+ public org.drools.task.TPriority getPriority() {
+ return priority;
+ }
+
+ /**
+ * Sets the value of the priority property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.task.TPriority }
+ *
+ */
+ public void setPriority(org.drools.task.TPriority value) {
+ this.priority = value;
+ }
+
+ /**
+ * Gets the value of the peopleAssignments property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.task.TPeopleAssignments }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.task.TPeopleAssignments.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "PEOPLEASSIGNMENTS_TTASK_ID")
+ public org.drools.task.TPeopleAssignments getPeopleAssignments() {
+ return peopleAssignments;
+ }
+
+ /**
+ * Sets the value of the peopleAssignments property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.task.TPeopleAssignments }
+ *
+ */
+ public void setPeopleAssignments(org.drools.task.TPeopleAssignments value) {
+ this.peopleAssignments = value;
+ }
+
+ /**
+ * Gets the value of the delegation property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.task.TDelegation }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.task.TDelegation.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "DELEGATION_TTASK_ID")
+ public org.drools.task.TDelegation getDelegation() {
+ return delegation;
+ }
+
+ /**
+ * Sets the value of the delegation property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.task.TDelegation }
+ *
+ */
+ public void setDelegation(org.drools.task.TDelegation value) {
+ this.delegation = value;
+ }
+
+ /**
+ * Gets the value of the presentationElements property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.task.TPresentationElements }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.task.TPresentationElements.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "PRESENTATIONELEMENTS_TTASK_ID")
+ public org.drools.task.TPresentationElements getPresentationElements() {
+ return presentationElements;
+ }
+
+ /**
+ * Sets the value of the presentationElements property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.task.TPresentationElements }
+ *
+ */
+ public void setPresentationElements(org.drools.task.TPresentationElements value) {
+ this.presentationElements = value;
+ }
+
+ /**
+ * Gets the value of the outcome property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.task.TQuery }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.task.TQuery.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "OUTCOME_TTASK_ID")
+ public org.drools.task.TQuery getOutcome() {
+ return outcome;
+ }
+
+ /**
+ * Sets the value of the outcome property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.task.TQuery }
+ *
+ */
+ public void setOutcome(org.drools.task.TQuery value) {
+ this.outcome = value;
+ }
+
+ /**
+ * Gets the value of the searchBy property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.task.TExpression }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.task.TExpression.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "SEARCHBY_TTASK_ID")
+ public org.drools.task.TExpression getSearchBy() {
+ return searchBy;
+ }
+
+ /**
+ * Sets the value of the searchBy property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.task.TExpression }
+ *
+ */
+ public void setSearchBy(org.drools.task.TExpression value) {
+ this.searchBy = value;
+ }
+
+ /**
+ * Gets the value of the renderings property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.task.TRenderings }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.task.TRenderings.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "RENDERINGS_TTASK_ID")
+ public org.drools.task.TRenderings getRenderings() {
+ return renderings;
+ }
+
+ /**
+ * Sets the value of the renderings property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.task.TRenderings }
+ *
+ */
+ public void setRenderings(org.drools.task.TRenderings value) {
+ this.renderings = value;
+ }
+
+ /**
+ * Gets the value of the deadlines property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.task.TDeadlines }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.task.TDeadlines.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "DEADLINES_TTASK_ID")
+ public org.drools.task.TDeadlines getDeadlines() {
+ return deadlines;
+ }
+
+ /**
+ * Sets the value of the deadlines property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.task.TDeadlines }
+ *
+ */
+ public void setDeadlines(org.drools.task.TDeadlines value) {
+ this.deadlines = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "NAME_")
+ 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;
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TTask)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ super.equals(object, equalsBuilder);
+ final TTask that = ((TTask) object);
+ equalsBuilder.append(this.getInterface(), that.getInterface());
+ equalsBuilder.append(this.getPriority(), that.getPriority());
+ equalsBuilder.append(this.getPeopleAssignments(), that.getPeopleAssignments());
+ equalsBuilder.append(this.getDelegation(), that.getDelegation());
+ equalsBuilder.append(this.getPresentationElements(), that.getPresentationElements());
+ equalsBuilder.append(this.getOutcome(), that.getOutcome());
+ equalsBuilder.append(this.getSearchBy(), that.getSearchBy());
+ equalsBuilder.append(this.getRenderings(), that.getRenderings());
+ equalsBuilder.append(this.getDeadlines(), that.getDeadlines());
+ equalsBuilder.append(this.getName(), that.getName());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TTask)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ super.hashCode(hashCodeBuilder);
+ hashCodeBuilder.append(this.getInterface());
+ hashCodeBuilder.append(this.getPriority());
+ hashCodeBuilder.append(this.getPeopleAssignments());
+ hashCodeBuilder.append(this.getDelegation());
+ hashCodeBuilder.append(this.getPresentationElements());
+ hashCodeBuilder.append(this.getOutcome());
+ hashCodeBuilder.append(this.getSearchBy());
+ hashCodeBuilder.append(this.getRenderings());
+ hashCodeBuilder.append(this.getDeadlines());
+ hashCodeBuilder.append(this.getName());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TTaskInterface.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TTaskInterface.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TTaskInterface.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,240 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import javax.persistence.Basic;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.Table;
+import javax.persistence.Transient;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.hyperjaxb3.xml.bind.annotation.adapters.QNameAsString;
+import org.jvnet.hyperjaxb3.xml.bind.annotation.adapters.XmlAdapterUtils;
+import org.jvnet.jaxb2_commons.lang.Equals;
+import org.jvnet.jaxb2_commons.lang.HashCode;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
+
+
+/**
+ * <p>Java class for tTaskInterface complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tTaskInterface">
+ * <complexContent>
+ * <extension base="{http://www.example.org/WS-HT}tExtensibleElements">
+ * <attribute name="portType" use="required" type="{http://www.w3.org/2001/XMLSchema}QName" />
+ * <attribute name="operation" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
+ * <attribute name="responsePortType" type="{http://www.w3.org/2001/XMLSchema}QName" />
+ * <attribute name="responseOperation" type="{http://www.w3.org/2001/XMLSchema}NCName" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tTaskInterface")
+ at Entity(name = "org.example.ws_ht.TTaskInterface")
+ at Table(name = "TTASKINTERFACE")
+public class TTaskInterface
+ extends TExtensibleElements
+ implements Equals, HashCode
+{
+
+ @XmlAttribute(required = true)
+ protected QName portType;
+ @XmlAttribute(required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NCName")
+ protected String operation;
+ @XmlAttribute
+ protected QName responsePortType;
+ @XmlAttribute
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NCName")
+ protected String responseOperation;
+
+ /**
+ * Gets the value of the portType property.
+ *
+ * @return
+ * possible object is
+ * {@link QName }
+ *
+ */
+ @Transient
+ public QName getPortType() {
+ return portType;
+ }
+
+ /**
+ * Sets the value of the portType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link QName }
+ *
+ */
+ public void setPortType(QName value) {
+ this.portType = value;
+ }
+
+ /**
+ * Gets the value of the operation property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "OPERATION_")
+ public String getOperation() {
+ return operation;
+ }
+
+ /**
+ * Sets the value of the operation property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setOperation(String value) {
+ this.operation = value;
+ }
+
+ /**
+ * Gets the value of the responsePortType property.
+ *
+ * @return
+ * possible object is
+ * {@link QName }
+ *
+ */
+ @Transient
+ public QName getResponsePortType() {
+ return responsePortType;
+ }
+
+ /**
+ * Sets the value of the responsePortType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link QName }
+ *
+ */
+ public void setResponsePortType(QName value) {
+ this.responsePortType = value;
+ }
+
+ /**
+ * Gets the value of the responseOperation property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "RESPONSEOPERATION")
+ public String getResponseOperation() {
+ return responseOperation;
+ }
+
+ /**
+ * Sets the value of the responseOperation property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setResponseOperation(String value) {
+ this.responseOperation = value;
+ }
+
+ @Basic
+ @Column(name = "PORTTYPEITEM")
+ public String getPortTypeItem() {
+ return XmlAdapterUtils.unmarshall(QNameAsString.class, this.getPortType());
+ }
+
+ public void setPortTypeItem(String target) {
+ setPortType(XmlAdapterUtils.marshall(QNameAsString.class, target));
+ }
+
+ @Basic
+ @Column(name = "RESPONSEPORTTYPEITEM")
+ public String getResponsePortTypeItem() {
+ return XmlAdapterUtils.unmarshall(QNameAsString.class, this.getResponsePortType());
+ }
+
+ public void setResponsePortTypeItem(String target) {
+ setResponsePortType(XmlAdapterUtils.marshall(QNameAsString.class, target));
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TTaskInterface)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ super.equals(object, equalsBuilder);
+ final TTaskInterface that = ((TTaskInterface) object);
+ equalsBuilder.append(this.getPortType(), that.getPortType());
+ equalsBuilder.append(this.getOperation(), that.getOperation());
+ equalsBuilder.append(this.getResponsePortType(), that.getResponsePortType());
+ equalsBuilder.append(this.getResponseOperation(), that.getResponseOperation());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TTaskInterface)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ super.hashCode(hashCodeBuilder);
+ hashCodeBuilder.append(this.getPortType());
+ hashCodeBuilder.append(this.getOperation());
+ hashCodeBuilder.append(this.getResponsePortType());
+ hashCodeBuilder.append(this.getResponseOperation());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TTasks.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TTasks.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TTasks.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,140 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.persistence.CascadeType;
+import javax.persistence.Entity;
+import javax.persistence.JoinColumn;
+import javax.persistence.OneToMany;
+import javax.persistence.Table;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.jaxb2_commons.lang.Equals;
+import org.jvnet.jaxb2_commons.lang.HashCode;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
+
+
+/**
+ * <p>Java class for tTasks complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tTasks">
+ * <complexContent>
+ * <extension base="{http://www.example.org/WS-HT}tExtensibleElements">
+ * <sequence>
+ * <element ref="{http://www.example.org/WS-HT}task" maxOccurs="unbounded"/>
+ * </sequence>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tTasks", propOrder = {
+ "task"
+})
+ at Entity(name = "org.example.ws_ht.TTasks")
+ at Table(name = "TTASKS")
+public class TTasks
+ extends TExtensibleElements
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ protected List<org.drools.task.TTask> task;
+
+ /**
+ * Gets the value of the task 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 task property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getTask().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link org.drools.task.TTask }
+ *
+ *
+ */
+ @OneToMany(targetEntity = org.drools.task.TTask.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "TASK_TTASKS_ID")
+ public List<org.drools.task.TTask> getTask() {
+ if (task == null) {
+ task = new ArrayList<org.drools.task.TTask>();
+ }
+ return this.task;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setTask(List<org.drools.task.TTask> task) {
+ this.task = task;
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TTasks)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ super.equals(object, equalsBuilder);
+ final TTasks that = ((TTasks) object);
+ equalsBuilder.append(this.getTask(), that.getTask());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TTasks)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ super.hashCode(hashCodeBuilder);
+ hashCodeBuilder.append(this.getTask());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TText.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TText.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TText.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,118 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import javax.persistence.Basic;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.Table;
+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 org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.jaxb2_commons.lang.Equals;
+import org.jvnet.jaxb2_commons.lang.HashCode;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
+
+
+/**
+ * <p>Java class for tText complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tText">
+ * <complexContent>
+ * <extension base="{http://www.example.org/WS-HT}tExtensibleMixedContentElements">
+ * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tText")
+ at Entity(name = "org.example.ws_ht.TText")
+ at Table(name = "TTEXT")
+public class TText
+ extends TExtensibleMixedContentElements
+ implements Equals, HashCode
+{
+
+ @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace")
+ protected String lang;
+
+ /**
+ * Gets the value of the lang property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "LANG")
+ public String getLang() {
+ return lang;
+ }
+
+ /**
+ * Sets the value of the lang property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLang(String value) {
+ this.lang = value;
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TText)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ super.equals(object, equalsBuilder);
+ final TText that = ((TText) object);
+ equalsBuilder.append(this.getLang(), that.getLang());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TText)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ super.hashCode(hashCodeBuilder);
+ hashCodeBuilder.append(this.getLang());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TToPart.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TToPart.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TToPart.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,155 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import javax.persistence.Basic;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.Table;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.jaxb2_commons.lang.Equals;
+import org.jvnet.jaxb2_commons.lang.HashCode;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
+
+
+/**
+ * <p>Java class for tToPart complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tToPart">
+ * <complexContent>
+ * <extension base="{http://www.example.org/WS-HT}tExtensibleMixedContentElements">
+ * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
+ * <attribute name="expressionLanguage" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tToPart")
+ at Entity(name = "org.example.ws_ht.TToPart")
+ at Table(name = "TTOPART")
+public class TToPart
+ extends TExtensibleMixedContentElements
+ implements Equals, HashCode
+{
+
+ @XmlAttribute(required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NCName")
+ protected String name;
+ @XmlAttribute
+ @XmlSchemaType(name = "anyURI")
+ protected String expressionLanguage;
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "NAME_")
+ 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 expressionLanguage property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "EXPRESSIONLANGUAGE")
+ public String getExpressionLanguage() {
+ return expressionLanguage;
+ }
+
+ /**
+ * Sets the value of the expressionLanguage property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setExpressionLanguage(String value) {
+ this.expressionLanguage = value;
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TToPart)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ super.equals(object, equalsBuilder);
+ final TToPart that = ((TToPart) object);
+ equalsBuilder.append(this.getName(), that.getName());
+ equalsBuilder.append(this.getExpressionLanguage(), that.getExpressionLanguage());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TToPart)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ super.hashCode(hashCodeBuilder);
+ hashCodeBuilder.append(this.getName());
+ hashCodeBuilder.append(this.getExpressionLanguage());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TToParts.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TToParts.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TToParts.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,140 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.persistence.CascadeType;
+import javax.persistence.Entity;
+import javax.persistence.JoinColumn;
+import javax.persistence.OneToMany;
+import javax.persistence.Table;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.jaxb2_commons.lang.Equals;
+import org.jvnet.jaxb2_commons.lang.HashCode;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
+
+
+/**
+ * <p>Java class for tToParts complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tToParts">
+ * <complexContent>
+ * <extension base="{http://www.example.org/WS-HT}tExtensibleElements">
+ * <sequence>
+ * <element name="toPart" type="{http://www.example.org/WS-HT}tToPart" maxOccurs="unbounded"/>
+ * </sequence>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tToParts", propOrder = {
+ "toPart"
+})
+ at Entity(name = "org.example.ws_ht.TToParts")
+ at Table(name = "TTOPARTS")
+public class TToParts
+ extends TExtensibleElements
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ protected List<org.drools.task.TToPart> toPart;
+
+ /**
+ * Gets the value of the toPart 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 toPart property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getToPart().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link org.drools.task.TToPart }
+ *
+ *
+ */
+ @OneToMany(targetEntity = org.drools.task.TToPart.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "TOPART_TTOPARTS_ID")
+ public List<org.drools.task.TToPart> getToPart() {
+ if (toPart == null) {
+ toPart = new ArrayList<org.drools.task.TToPart>();
+ }
+ return this.toPart;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setToPart(List<org.drools.task.TToPart> toPart) {
+ this.toPart = toPart;
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TToParts)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ super.equals(object, equalsBuilder);
+ final TToParts that = ((TToParts) object);
+ equalsBuilder.append(this.getToPart(), that.getToPart());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TToParts)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ super.hashCode(hashCodeBuilder);
+ hashCodeBuilder.append(this.getToPart());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TUserlist.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TUserlist.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/TUserlist.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,305 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+
+package org.drools.task;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.persistence.Basic;
+import javax.persistence.CascadeType;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.GeneratedValue;
+import javax.persistence.GenerationType;
+import javax.persistence.Id;
+import javax.persistence.Inheritance;
+import javax.persistence.InheritanceType;
+import javax.persistence.JoinColumn;
+import javax.persistence.OneToMany;
+import javax.persistence.Table;
+import javax.persistence.Transient;
+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.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.hyperjaxb3.item.Item;
+import org.jvnet.hyperjaxb3.item.ItemUtils;
+import org.jvnet.jaxb2_commons.lang.Equals;
+import org.jvnet.jaxb2_commons.lang.HashCode;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
+import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
+
+
+/**
+ * <p>Java class for tUserlist complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tUserlist">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.example.org/WS-HT}user" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tUserlist", propOrder = {
+ "user"
+})
+ at Entity(name = "org.example.ws_ht.TUserlist")
+ at Table(name = "TUSERLIST")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class TUserlist
+ implements Equals, HashCode
+{
+
+ protected List<String> user;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+ @XmlTransient
+ protected List<TUserlist.UserItem> userItems;
+
+ /**
+ * Gets the value of the user 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 user property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getUser().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ @Transient
+ public List<String> getUser() {
+ if (user == null) {
+ user = new ArrayList<String>();
+ }
+ return this.user;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setUser(List<String> user) {
+ this.user = user;
+ }
+
+ /**
+ * Gets the value of the hjid property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ @Id
+ @Column(name = "HJID")
+ @GeneratedValue(strategy = GenerationType.AUTO)
+ public Long getHjid() {
+ return hjid;
+ }
+
+ /**
+ * Sets the value of the hjid property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setHjid(Long value) {
+ this.hjid = value;
+ }
+
+ @OneToMany(targetEntity = org.drools.task.TUserlist.UserItem.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "USERITEMS_TUSERLIST_ID")
+ public List<TUserlist.UserItem> getUserItems() {
+ if (this.userItems == null) {
+ this.userItems = new ArrayList<TUserlist.UserItem>();
+ }
+ if (ItemUtils.shouldBeWrapped(this.user)) {
+ this.user = ItemUtils.wrap(this.user, this.userItems, TUserlist.UserItem.class);
+ }
+ return this.userItems;
+ }
+
+ public void setUserItems(List<TUserlist.UserItem> value) {
+ this.user = null;
+ this.userItems = null;
+ this.userItems = value;
+ if (this.userItems == null) {
+ this.userItems = new ArrayList<TUserlist.UserItem>();
+ }
+ if (ItemUtils.shouldBeWrapped(this.user)) {
+ this.user = ItemUtils.wrap(this.user, this.userItems, TUserlist.UserItem.class);
+ }
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TUserlist)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final TUserlist that = ((TUserlist) object);
+ equalsBuilder.append(this.getUser(), that.getUser());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TUserlist)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ hashCodeBuilder.append(this.getUser());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @Entity(name = "org.example.ws_ht.TUserlist$UserItem")
+ @Table(name = "TUSERLISTUSERITEM")
+ @Inheritance(strategy = InheritanceType.JOINED)
+ public static class UserItem
+ implements Item<String> , Equals, HashCode
+ {
+
+ @XmlElement(name = "user", namespace = "http://www.example.org/WS-HT")
+ protected String item;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the item property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "ITEM")
+ public String getItem() {
+ return item;
+ }
+
+ /**
+ * Sets the value of the item property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setItem(String value) {
+ this.item = value;
+ }
+
+ /**
+ * Gets the value of the hjid property.
+ *
+ * @return
+ * possible object is
+ * {@link Long }
+ *
+ */
+ @Id
+ @Column(name = "HJID")
+ @GeneratedValue(strategy = GenerationType.AUTO)
+ public Long getHjid() {
+ return hjid;
+ }
+
+ /**
+ * Sets the value of the hjid property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Long }
+ *
+ */
+ public void setHjid(Long value) {
+ this.hjid = value;
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TUserlist.UserItem)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final TUserlist.UserItem that = ((TUserlist.UserItem) object);
+ equalsBuilder.append(this.getItem(), that.getItem());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TUserlist.UserItem)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder hashCodeBuilder) {
+ hashCodeBuilder.append(this.getItem());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/package-info.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/package-info.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/package-info.java 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,9 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+// 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: 2008.08.19 at 11:36:25 PM BST
+//
+
+ at javax.xml.bind.annotation.XmlSchema(namespace = "http://www.example.org/WS-HT", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+package org.drools.task;
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/resources/META-INF/persistence.xml
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/resources/META-INF/persistence.xml (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/resources/META-INF/persistence.xml 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<persistence version="1.0" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd
+http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_1_0.xsd" xmlns:orm="http://java.sun.com/xml/ns/persistence/orm" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/persistence">
+ <persistence-unit name="org.example.ws_ht">
+ <class>org.example.ws_ht.TExtensibleElements$AnyItem</class>
+ <class>org.example.ws_ht.TDeadlines</class>
+ <class>org.example.ws_ht.TExtensions</class>
+ <class>org.example.ws_ht.TPeopleAssignments$GenericHumanRoleItem</class>
+ <class>org.example.ws_ht.TBooleanExpr</class>
+ <class>org.example.ws_ht.TLogicalPeopleGroup</class>
+ <class>org.example.ws_ht.TRenderings</class>
+ <class>org.example.ws_ht.TText</class>
+ <class>org.example.ws_ht.TFrom</class>
+ <class>org.example.ws_ht.TPriority</class>
+ <class>org.example.ws_ht.TTask</class>
+ <class>org.example.ws_ht.TQuery$ContentItem</class>
+ <class>org.example.ws_ht.TUserlist</class>
+ <class>org.example.ws_ht.TArgument</class>
+ <class>org.example.ws_ht.TToPart</class>
+ <class>org.example.ws_ht.TRendering</class>
+ <class>org.example.ws_ht.TUserlist$UserItem</class>
+ <class>org.example.ws_ht.TLiteral$ContentItem</class>
+ <class>org.example.ws_ht.TExpression</class>
+ <class>org.example.ws_ht.TLogicalPeopleGroups</class>
+ <class>org.example.ws_ht.TTaskInterface</class>
+ <class>org.example.ws_ht.TExtensibleElements</class>
+ <class>org.example.ws_ht.TPresentationParameters</class>
+ <class>org.example.ws_ht.TToParts</class>
+ <class>org.example.ws_ht.TQuery</class>
+ <class>org.example.ws_ht.TLocalNotification</class>
+ <class>org.example.ws_ht.TNotificationInterface</class>
+ <class>org.example.ws_ht.TExtension</class>
+ <class>org.example.ws_ht.TLiteral</class>
+ <class>org.example.ws_ht.TReassignment</class>
+ <class>org.example.ws_ht.TEscalation</class>
+ <class>org.example.ws_ht.TNotifications</class>
+ <class>org.example.ws_ht.TDurationExpr</class>
+ <class>org.example.ws_ht.TTasks</class>
+ <class>org.example.ws_ht.TOrganizationalEntity</class>
+ <class>org.example.ws_ht.TGrouplist</class>
+ <class>org.example.ws_ht.TPeopleAssignments</class>
+ <class>org.example.ws_ht.TDocumentation$ContentItem</class>
+ <class>org.example.ws_ht.TPresentationElements</class>
+ <class>org.example.ws_ht.TNotification</class>
+ <class>org.example.ws_ht.TDescription</class>
+ <class>org.example.ws_ht.TParameter</class>
+ <class>org.example.ws_ht.TPresentationParameter</class>
+ <class>org.example.ws_ht.TDeadline</class>
+ <class>org.example.ws_ht.TDocumentation</class>
+ <class>org.example.ws_ht.TExtensibleMixedContentElements</class>
+ <class>org.example.ws_ht.TGenericHumanRole</class>
+ <class>org.example.ws_ht.TGrouplist$GroupItem</class>
+ <class>org.example.ws_ht.TDeadlineExpr</class>
+ <class>org.example.ws_ht.TExpression$ContentItem</class>
+ <class>org.example.ws_ht.TImport</class>
+ <class>org.example.ws_ht.TExtensibleMixedContentElements$ContentItem</class>
+ <class>org.example.ws_ht.THumanInteractions</class>
+ <class>org.example.ws_ht.TDelegation</class>
+ </persistence-unit>
+</persistence>
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/resources/META-INF/sun-jaxb.episode
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/resources/META-INF/sun-jaxb.episode (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/resources/META-INF/sun-jaxb.episode 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,150 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<bindings version="2.1" xmlns="http://java.sun.com/xml/ns/jaxb">
+ <!--
+
+This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
+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: 2008.08.19 at 11:36:25 PM BST
+
+ -->
+ <bindings scd="x-schema::tns" xmlns:tns="http://www.example.org/WS-HT">
+ <schemaBindings map="false"/>
+ <bindings scd="~tns:tDeadlines">
+ <class ref="org.example.ws_ht.TDeadlines"/>
+ </bindings>
+ <bindings scd="~tns:tExtensions">
+ <class ref="org.example.ws_ht.TExtensions"/>
+ </bindings>
+ <bindings scd="~tns:tBoolean-expr">
+ <class ref="org.example.ws_ht.TBooleanExpr"/>
+ </bindings>
+ <bindings scd="~tns:tLogicalPeopleGroup">
+ <class ref="org.example.ws_ht.TLogicalPeopleGroup"/>
+ </bindings>
+ <bindings scd="~tns:tRenderings">
+ <class ref="org.example.ws_ht.TRenderings"/>
+ </bindings>
+ <bindings scd="~tns:tText">
+ <class ref="org.example.ws_ht.TText"/>
+ </bindings>
+ <bindings scd="~tns:tFrom">
+ <class ref="org.example.ws_ht.TFrom"/>
+ </bindings>
+ <bindings scd="~tns:tPriority">
+ <class ref="org.example.ws_ht.TPriority"/>
+ </bindings>
+ <bindings scd="~tns:tTask">
+ <class ref="org.example.ws_ht.TTask"/>
+ </bindings>
+ <bindings scd="~tns:tUserlist">
+ <class ref="org.example.ws_ht.TUserlist"/>
+ </bindings>
+ <bindings scd="~tns:tArgument">
+ <class ref="org.example.ws_ht.TArgument"/>
+ </bindings>
+ <bindings scd="~tns:tToPart">
+ <class ref="org.example.ws_ht.TToPart"/>
+ </bindings>
+ <bindings scd="~tns:tRendering">
+ <class ref="org.example.ws_ht.TRendering"/>
+ </bindings>
+ <bindings scd="~tns:tExpression">
+ <class ref="org.example.ws_ht.TExpression"/>
+ </bindings>
+ <bindings scd="~tns:tLogicalPeopleGroups">
+ <class ref="org.example.ws_ht.TLogicalPeopleGroups"/>
+ </bindings>
+ <bindings scd="~tns:tTaskInterface">
+ <class ref="org.example.ws_ht.TTaskInterface"/>
+ </bindings>
+ <bindings scd="~tns:tExtensibleElements">
+ <class ref="org.example.ws_ht.TExtensibleElements"/>
+ </bindings>
+ <bindings scd="~tns:tPresentationParameters">
+ <class ref="org.example.ws_ht.TPresentationParameters"/>
+ </bindings>
+ <bindings scd="~tns:tToParts">
+ <class ref="org.example.ws_ht.TToParts"/>
+ </bindings>
+ <bindings scd="~tns:tQuery">
+ <class ref="org.example.ws_ht.TQuery"/>
+ </bindings>
+ <bindings scd="~tns:tLocalNotification">
+ <class ref="org.example.ws_ht.TLocalNotification"/>
+ </bindings>
+ <bindings scd="~tns:tNotificationInterface">
+ <class ref="org.example.ws_ht.TNotificationInterface"/>
+ </bindings>
+ <bindings scd="~tns:tExtension">
+ <class ref="org.example.ws_ht.TExtension"/>
+ </bindings>
+ <bindings scd="~tns:tLiteral">
+ <class ref="org.example.ws_ht.TLiteral"/>
+ </bindings>
+ <bindings scd="~tns:tReassignment">
+ <class ref="org.example.ws_ht.TReassignment"/>
+ </bindings>
+ <bindings scd="~tns:tEscalation">
+ <class ref="org.example.ws_ht.TEscalation"/>
+ </bindings>
+ <bindings scd="~tns:tNotifications">
+ <class ref="org.example.ws_ht.TNotifications"/>
+ </bindings>
+ <bindings scd="~tns:tDuration-expr">
+ <class ref="org.example.ws_ht.TDurationExpr"/>
+ </bindings>
+ <bindings scd="~tns:tTasks">
+ <class ref="org.example.ws_ht.TTasks"/>
+ </bindings>
+ <bindings scd="~tns:tOrganizationalEntity">
+ <class ref="org.example.ws_ht.TOrganizationalEntity"/>
+ </bindings>
+ <bindings scd="~tns:tGrouplist">
+ <class ref="org.example.ws_ht.TGrouplist"/>
+ </bindings>
+ <bindings scd="~tns:tPeopleAssignments">
+ <class ref="org.example.ws_ht.TPeopleAssignments"/>
+ </bindings>
+ <bindings scd="~tns:tPresentationElements">
+ <class ref="org.example.ws_ht.TPresentationElements"/>
+ </bindings>
+ <bindings scd="~tns:tNotification">
+ <class ref="org.example.ws_ht.TNotification"/>
+ </bindings>
+ <bindings scd="~tns:tDescription">
+ <class ref="org.example.ws_ht.TDescription"/>
+ </bindings>
+ <bindings scd="~tns:tParameter">
+ <class ref="org.example.ws_ht.TParameter"/>
+ </bindings>
+ <bindings scd="~tns:tPresentationParameter">
+ <class ref="org.example.ws_ht.TPresentationParameter"/>
+ </bindings>
+ <bindings scd="~tns:tDeadline">
+ <class ref="org.example.ws_ht.TDeadline"/>
+ </bindings>
+ <bindings scd="~tns:tDocumentation">
+ <class ref="org.example.ws_ht.TDocumentation"/>
+ </bindings>
+ <bindings scd="~tns:tExtensibleMixedContentElements">
+ <class ref="org.example.ws_ht.TExtensibleMixedContentElements"/>
+ </bindings>
+ <bindings scd="~tns:tGenericHumanRole">
+ <class ref="org.example.ws_ht.TGenericHumanRole"/>
+ </bindings>
+ <bindings scd="~tns:tDeadline-expr">
+ <class ref="org.example.ws_ht.TDeadlineExpr"/>
+ </bindings>
+ <bindings scd="~tns:tImport">
+ <class ref="org.example.ws_ht.TImport"/>
+ </bindings>
+ <bindings scd="~tns:tHumanInteractions">
+ <class ref="org.example.ws_ht.THumanInteractions"/>
+ </bindings>
+ <bindings scd="~tns:tDelegation">
+ <class ref="org.example.ws_ht.TDelegation"/>
+ </bindings>
+ </bindings>
+</bindings>
+
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/resources/ws-human-task.xsd
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/resources/ws-human-task.xsd (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/resources/ws-human-task.xsd 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,514 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema xmlns="http://www.example.org/WS-HT" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ targetNamespace="http://www.example.org/WS-HT" elementFormDefault="qualified"
+ blockDefault="#all">
+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace"
+ schemaLocation="http://www.w3.org/2001/xml.xsd" />
+<!-- base types for extensible elements -->
+ <xsd:complexType name="tExtensibleElements">
+ <xsd:sequence>
+ <xsd:element name="documentation" type="tDocumentation"
+ minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0"
+ maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other"
+ processContents="lax" />
+ </xsd:complexType>
+ <xsd:complexType name="tDocumentation" mixed="true">
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0"
+ maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute ref="xml:lang" />
+ </xsd:complexType>
+ <xsd:complexType name="tExtensibleMixedContentElements"
+ mixed="true">
+ <xsd:sequence>
+ <xsd:element name="documentation" type="tDocumentation"
+ minOccurs="0" maxOccurs="unbounded" />
+ <xsd:any namespace="##other" processContents="skip"
+ minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other"
+ processContents="lax" />
+ </xsd:complexType>
+<!-- human task definition -->
+ <xsd:element name="humanInteractions" type="tHumanInteractions" />
+ <xsd:complexType name="tHumanInteractions">
+ <xsd:complexContent>
+ <xsd:extension base="tExtensibleElements">
+ <xsd:sequence>
+ <xsd:element name="extensions" type="tExtensions"
+ minOccurs="0" />
+ <xsd:element name="import" type="tImport" minOccurs="0"
+ maxOccurs="unbounded" />
+ <xsd:element ref="logicalPeopleGroups" minOccurs="0" />
+ <xsd:element ref="tasks" minOccurs="0" />
+ <xsd:element ref="notifications" minOccurs="0" />
+ </xsd:sequence>
+ <xsd:attribute name="targetNamespace" type="xsd:anyURI"
+ use="required" />
+ <xsd:attribute name="queryLanguage" type="xsd:anyURI" />
+ <xsd:attribute name="expressionLanguage" type="xsd:anyURI" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:complexType name="tExtensions">
+ <xsd:complexContent>
+ <xsd:extension base="tExtensibleElements">
+ <xsd:sequence>
+ <xsd:element name="extension" type="tExtension"
+ maxOccurs="unbounded" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:complexType name="tExtension">
+ <xsd:complexContent>
+ <xsd:extension base="tExtensibleElements">
+ <xsd:attribute name="namespace" type="xsd:anyURI" use="required" />
+ <xsd:attribute name="mustUnderstand" type="tBoolean"
+ use="required" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="import" type="tImport" />
+ <xsd:complexType name="tImport">
+ <xsd:complexContent>
+ <xsd:extension base="tExtensibleElements">
+ <xsd:attribute name="namespace" type="xsd:anyURI" use="optional" />
+ <xsd:attribute name="location" type="xsd:anyURI" use="optional" />
+ <xsd:attribute name="importType" type="xsd:anyURI"
+ use="required" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="logicalPeopleGroups" type="tLogicalPeopleGroups" />
+ <xsd:complexType name="tLogicalPeopleGroups">
+ <xsd:complexContent>
+ <xsd:extension base="tExtensibleElements">
+ <xsd:sequence>
+ <xsd:element name="logicalPeopleGroup" type="tLogicalPeopleGroup"
+ maxOccurs="unbounded" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:complexType name="tLogicalPeopleGroup">
+ <xsd:complexContent>
+ <xsd:extension base="tExtensibleElements">
+ <xsd:sequence>
+ <xsd:element name="parameter" type="tParameter"
+ minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:NCName" use="required" />
+ <xsd:attribute name="reference" type="xsd:NCName" use="optional" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+<!-- generic human roles used in tasks and notifications -->
+ <xsd:group name="genericHumanRole">
+ <xsd:choice>
+ <xsd:element ref="potentialOwners" />
+ <xsd:element ref="excludedOwners" />
+ <xsd:element ref="taskInitiator" />
+ <xsd:element ref="taskStakeholders" />
+ <xsd:element ref="businessAdministrators" />
+ <xsd:element ref="recipients" />
+ </xsd:choice>
+ </xsd:group>
+ <xsd:element name="potentialOwners" type="tGenericHumanRole" />
+ <xsd:element name="excludedOwners" type="tGenericHumanRole" />
+ <xsd:element name="taskInitiator" type="tGenericHumanRole" />
+ <xsd:element name="taskStakeholders" type="tGenericHumanRole" />
+ <xsd:element name="businessAdministrators" type="tGenericHumanRole" />
+ <xsd:element name="recipients" type="tGenericHumanRole" />
+ <xsd:complexType name="tGenericHumanRole">
+ <xsd:complexContent>
+ <xsd:extension base="tExtensibleElements">
+ <xsd:sequence>
+ <xsd:element name="from" type="tFrom" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+<!-- elements and types for organizational entities -->
+ <xsd:element name="organizationalEntity" type="tOrganizationalEntity" />
+ <xsd:complexType name="tOrganizationalEntity">
+ <xsd:choice>
+ <xsd:element ref="users" />
+ <xsd:element ref="groups" />
+ </xsd:choice>
+ </xsd:complexType>
+ <xsd:element name="user" type="tUser" />
+ <xsd:simpleType name="tUser">
+ <xsd:restriction base="xsd:string" />
+ </xsd:simpleType>
+ <xsd:element name="users" type="tUserlist" />
+ <xsd:complexType name="tUserlist">
+ <xsd:sequence>
+ <xsd:element ref="user" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ </xsd:complexType>
+ <xsd:element name="group" type="tGroup" />
+ <xsd:simpleType name="tGroup">
+ <xsd:restriction base="xsd:string" />
+ </xsd:simpleType>
+ <xsd:element name="groups" type="tGrouplist" />
+ <xsd:complexType name="tGrouplist">
+ <xsd:sequence>
+ <xsd:element ref="group" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ </xsd:complexType>
+<!-- human tasks -->
+ <xsd:element name="tasks" type="tTasks" />
+ <xsd:complexType name="tTasks">
+ <xsd:complexContent>
+ <xsd:extension base="tExtensibleElements">
+ <xsd:sequence>
+ <xsd:element ref="task" maxOccurs="unbounded" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="task" type="tTask" />
+ <xsd:complexType name="tTask">
+ <xsd:complexContent>
+ <xsd:extension base="tExtensibleElements">
+ <xsd:sequence>
+ <xsd:element name="interface" type="tTaskInterface" />
+ <xsd:element ref="priority" minOccurs="0" />
+ <xsd:element ref="peopleAssignments" />
+ <xsd:element name="delegation" type="tDelegation"
+ minOccurs="0" />
+ <xsd:element name="presentationElements" type="tPresentationElements" />
+ <xsd:element name="outcome" type="tQuery" minOccurs="0" />
+ <xsd:element name="searchBy" type="tExpression"
+ minOccurs="0" />
+ <xsd:element name="renderings" type="tRenderings"
+ minOccurs="0" />
+ <xsd:element name="deadlines" type="tDeadlines"
+ minOccurs="0" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:NCName" use="required" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="priority" type="tPriority" />
+ <xsd:complexType name="tTaskInterface">
+ <xsd:complexContent>
+ <xsd:extension base="tExtensibleElements">
+ <xsd:attribute name="portType" type="xsd:QName" use="required" />
+ <xsd:attribute name="operation" type="xsd:NCName" use="required" />
+ <xsd:attribute name="responsePortType" type="xsd:QName"
+ use="optional" />
+ <xsd:attribute name="responseOperation" type="xsd:NCName"
+ use="optional" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+<!-- presentation elements -->
+ <xsd:complexType name="tPresentationElements">
+ <xsd:complexContent>
+ <xsd:extension base="tExtensibleElements">
+ <xsd:sequence>
+ <xsd:element name="name" type="tText" minOccurs="0"
+ maxOccurs="unbounded" />
+ <xsd:element name="presentationParameters" type="tPresentationParameters"
+ minOccurs="0" />
+ <xsd:element name="subject" type="tText" minOccurs="0"
+ maxOccurs="unbounded" />
+ <xsd:element name="description" type="tDescription"
+ minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:complexType name="tPresentationParameters">
+ <xsd:complexContent>
+ <xsd:extension base="tExtensibleElements">
+ <xsd:sequence>
+ <xsd:element name="presentationParameter" type="tPresentationParameter"
+ maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="expressionLanguage" type="xsd:anyURI" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:complexType name="tPresentationParameter">
+ <xsd:complexContent>
+ <xsd:extension base="tParameter" />
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:complexType name="tRenderings">
+ <xsd:complexContent>
+ <xsd:extension base="tExtensibleElements">
+ <xsd:sequence>
+ <xsd:element name="rendering" type="tRendering"
+ maxOccurs="unbounded" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+<!-- elements for rendering tasks -->
+ <xsd:complexType name="tRendering">
+ <xsd:complexContent>
+ <xsd:extension base="tExtensibleElements">
+ <xsd:attribute name="type" type="xsd:QName" use="required" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+<!-- elements for people assignment -->
+ <xsd:element name="peopleAssignments" type="tPeopleAssignments" />
+ <xsd:complexType name="tPeopleAssignments">
+ <xsd:complexContent>
+ <xsd:extension base="tExtensibleElements">
+ <xsd:sequence>
+ <xsd:group ref="genericHumanRole" minOccurs="0"
+ maxOccurs="unbounded" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+<!-- elements for handling timeouts and escalation -->
+ <xsd:complexType name="tDeadlines">
+ <xsd:complexContent>
+ <xsd:extension base="tExtensibleElements">
+ <xsd:sequence>
+ <xsd:element name="startDeadline" type="tDeadline"
+ minOccurs="0" maxOccurs="unbounded" />
+ <xsd:element name="completionDeadline" type="tDeadline"
+ minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:complexType name="tDeadline">
+ <xsd:complexContent>
+ <xsd:extension base="tExtensibleElements">
+ <xsd:sequence>
+ <xsd:choice>
+ <xsd:element name="for" type="tDuration-expr" />
+ <xsd:element name="until" type="tDeadline-expr" />
+ </xsd:choice>
+ <xsd:element name="escalation" type="tEscalation"
+ minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:complexType name="tEscalation">
+ <xsd:complexContent>
+ <xsd:extension base="tExtensibleElements">
+ <xsd:sequence>
+ <xsd:element name="condition" type="tBoolean-expr"
+ minOccurs="0" />
+ <xsd:element name="toParts" type="tToParts" minOccurs="0"
+ maxOccurs="unbounded" />
+ <xsd:choice>
+ <xsd:element ref="notification" />
+ <xsd:element name="localNotification" type="tLocalNotification" />
+ <xsd:element name="reassignment" type="tReassignment" />
+ </xsd:choice>
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:NCName" use="required" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:complexType name="tLocalNotification">
+ <xsd:complexContent>
+ <xsd:extension base="tExtensibleElements">
+ <xsd:choice>
+ <xsd:sequence>
+ <xsd:element ref="priority" minOccurs="0" />
+ <xsd:element ref="peopleAssignments" minOccurs="0" />
+ </xsd:sequence>
+ </xsd:choice>
+ <xsd:attribute name="reference" type="xsd:QName" use="required" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:complexType name="tReassignment">
+ <xsd:complexContent>
+ <xsd:extension base="tExtensibleElements">
+ <xsd:sequence>
+ <xsd:element ref="potentialOwners" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:complexType name="tToParts">
+ <xsd:complexContent>
+ <xsd:extension base="tExtensibleElements">
+ <xsd:sequence>
+ <xsd:element name="toPart" type="tToPart" maxOccurs="unbounded" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:complexType name="tToPart" mixed="true">
+ <xsd:complexContent>
+ <xsd:extension base="tExtensibleMixedContentElements">
+ <xsd:attribute name="name" type="xsd:NCName" use="required" />
+ <xsd:attribute name="expressionLanguage" type="xsd:anyURI" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+<!-- task delegation -->
+ <xsd:complexType name="tDelegation">
+ <xsd:complexContent>
+ <xsd:extension base="tExtensibleElements">
+ <xsd:sequence>
+ <xsd:element name="from" type="tFrom" minOccurs="0" />
+ </xsd:sequence>
+ <xsd:attribute name="potentialDelegatees" type="tPotentialDelegatees"
+ use="required" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:simpleType name="tPotentialDelegatees">
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="anybody" />
+ <xsd:enumeration value="nobody" />
+ <xsd:enumeration value="potentialOwners" />
+ <xsd:enumeration value="other" />
+ </xsd:restriction>
+ </xsd:simpleType>
+<!-- notifications -->
+ <xsd:element name="notifications" type="tNotifications" />
+ <xsd:complexType name="tNotifications">
+ <xsd:complexContent>
+ <xsd:extension base="tExtensibleElements">
+ <xsd:sequence>
+ <xsd:element ref="notification" maxOccurs="unbounded" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="notification" type="tNotification" />
+ <xsd:complexType name="tNotification">
+ <xsd:complexContent>
+ <xsd:extension base="tExtensibleElements">
+ <xsd:sequence>
+ <xsd:element name="interface" type="tNotificationInterface" />
+ <xsd:element ref="priority" minOccurs="0" />
+ <xsd:element ref="peopleAssignments" />
+ <xsd:element name="presentationElements" type="tPresentationElements" />
+ <xsd:element name="renderings" type="tRenderings"
+ minOccurs="0" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:NCName" use="required" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:complexType name="tNotificationInterface">
+ <xsd:complexContent>
+ <xsd:extension base="tExtensibleElements">
+ <xsd:attribute name="portType" type="xsd:QName" use="required" />
+ <xsd:attribute name="operation" type="xsd:NCName" use="required" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+<!-- miscellaneous helper types -->
+ <xsd:complexType name="tText" mixed="true">
+ <xsd:complexContent>
+ <xsd:extension base="tExtensibleMixedContentElements">
+ <xsd:attribute ref="xml:lang" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:complexType name="tDescription" mixed="true">
+ <xsd:complexContent>
+ <xsd:extension base="tExtensibleMixedContentElements">
+ <xsd:attribute ref="xml:lang" />
+ <xsd:attribute name="contentType" type="xsd:string" />
+<!-- any MIME type is allowed as value of contentType -->
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:complexType name="tFrom" mixed="true">
+ <xsd:complexContent>
+ <xsd:extension base="tExtensibleMixedContentElements">
+ <xsd:sequence>
+ <xsd:choice>
+ <xsd:element name="argument" type="tArgument"
+ minOccurs="0" />
+ <xsd:element name="literal" type="tLiteral" minOccurs="0" />
+ </xsd:choice>
+ </xsd:sequence>
+ <xsd:attribute name="expressionLanguage" type="xsd:anyURI" />
+ <xsd:attribute name="logicalPeopleGroup" type="xsd:QName" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:complexType name="tArgument">
+ <xsd:complexContent>
+ <xsd:extension base="tExtensibleMixedContentElements">
+ <xsd:attribute name="name" type="xsd:NCName" />
+ <xsd:attribute name="expressionLanguage" type="xsd:anyURI" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:complexType name="tParameter" mixed="true">
+ <xsd:complexContent>
+ <xsd:extension base="tExtensibleMixedContentElements">
+ <xsd:attribute name="name" type="xsd:NCName" use="required" />
+ <xsd:attribute name="type" type="xsd:QName" use="required" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:complexType name="tLiteral" mixed="true">
+ <xsd:sequence>
+ <xsd:any namespace="##any" processContents="lax" minOccurs="0"
+ maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:anyAttribute namespace="##other"
+ processContents="lax" />
+ </xsd:complexType>
+ <xsd:complexType name="tQuery" mixed="true">
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0"
+ maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="part" />
+ <xsd:attribute name="queryLanguage" type="xsd:anyURI" />
+ <xsd:anyAttribute namespace="##other"
+ processContents="lax" />
+ </xsd:complexType>
+ <xsd:complexType name="tExpression" mixed="true">
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0"
+ maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="expressionLanguage" type="xsd:anyURI" />
+ <xsd:anyAttribute namespace="##other"
+ processContents="lax" />
+ </xsd:complexType>
+ <xsd:complexType name="tPriority" mixed="true">
+ <xsd:complexContent mixed="true">
+ <xsd:extension base="tExpression" />
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:complexType name="tBoolean-expr" mixed="true">
+ <xsd:complexContent mixed="true">
+ <xsd:extension base="tExpression" />
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:complexType name="tDuration-expr" mixed="true">
+ <xsd:complexContent mixed="true">
+ <xsd:extension base="tExpression" />
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:complexType name="tDeadline-expr" mixed="true">
+ <xsd:complexContent mixed="true">
+ <xsd:extension base="tExpression" />
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:simpleType name="tBoolean">
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="yes" />
+ <xsd:enumeration value="no" />
+ </xsd:restriction>
+ </xsd:simpleType>
+</xsd:schema>
\ No newline at end of file
Added: labs/jbossrules/trunk/drools-process/pom.xml
===================================================================
--- labs/jbossrules/trunk/drools-process/pom.xml (rev 0)
+++ labs/jbossrules/trunk/drools-process/pom.xml 2008-08-19 22:58:40 UTC (rev 21629)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <artifactId>drools</artifactId>
+ <groupId>org.drools</groupId>
+ <version>5.0.0.SNAPSHOT</version>
+ </parent>
+
+ <artifactId>drools-process</artifactId>
+ <packaging>pom</packaging>
+ <name>Drools :: Process</name>
+
+ <modules>
+ <module>drools-process-task</module>
+ </modules>
+
+</project>
More information about the jboss-svn-commits
mailing list